{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-cognitive-services/json-schema/microsoft-cognitive-services-rai-external-safety-provider-result-schema.json",
  "title": "RaiExternalSafetyProviderResult",
  "description": "The list of cognitive services RAI External Safety Providers.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-cognitive-services-raiexternalsafetyprovider-api-openapi.yml#/components/schemas/RaiExternalSafetyProviderResult",
  "type": "object",
  "properties": {
    "nextLink": {
      "type": "string",
      "description": "The link used to get the next page of Rai External Safety Provider."
    },
    "value": {
      "type": "array",
      "description": "The list of RaiExternalSafetyProvider.",
      "items": {
        "$ref": "#/$defs/RaiExternalSafetyProviderSchema"
      },
      "x-ms-identifiers": [
        "name"
      ]
    }
  },
  "$defs": {
    "RaiExternalSafetyProviderSchema": {
      "type": "object",
      "description": "Cognitive Services Rai External Safety provider Schema.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/RaiExternalSafetyProviderSchemaProperties",
          "description": "Properties of Cognitive Services Rai External Safety provider."
        },
        "etag": {
          "type": "string",
          "description": "Resource Etag.",
          "readOnly": true
        },
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          },
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
        }
      ]
    },
    "RaiExternalSafetyProviderSchemaProperties": {
      "type": "object",
      "description": "RAI External SafetyProvider schema properties.",
      "properties": {
        "providerId": {
          "type": "string",
          "description": "The unique identifier of the safety provider."
        },
        "providerName": {
          "type": "string",
          "description": "Name of the safety provider."
        },
        "mode": {
          "type": "string",
          "description": "Safety provider mode sync/async."
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Webhook URL for the safety provider."
        },
        "secretName": {
          "type": "string",
          "description": "The name of the secret in Key Vault that contains the api key to access the webhook."
        },
        "managedIdentity": {
          "type": "string",
          "description": "The managed identity to access the Key Vault."
        },
        "keyVaultUri": {
          "type": "string",
          "format": "uri",
          "description": "The Key Vault URI that contains the api key for safety provider urls."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Creation time of the safety provider.",
          "readOnly": true
        },
        "lastModifiedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Last modified time of the safety provider.",
          "readOnly": true
        }
      }
    }
  }
}