// Copyright (c) Microsoft. All rights reserved.
using System.Text.Json.Serialization;
namespace ContentSafety.Services.PromptShield;
///
/// Flags potential vulnerabilities within user prompt and documents.
/// More information here: https://learn.microsoft.com/en-us/azure/ai-services/content-safety/quickstart-jailbreak#interpret-the-api-response
///
public class PromptShieldResponse
{
///
/// Contains analysis results for the user prompt.
///
[JsonPropertyName("userPromptAnalysis")]
public PromptShieldAnalysis? UserPromptAnalysis { get; set; }
///
/// Contains a list of analysis results for each document provided.
///
[JsonPropertyName("documentsAnalysis")]
public List? DocumentsAnalysis { get; set; }
}