{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-cognitive-services/json-schema/microsoft-cognitive-services-defender-for-aisetting-result-schema.json",
  "title": "DefenderForAISettingResult",
  "description": "The list of cognitive services Defender for AI Settings.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-cognitive-services-defenderforaisettings-api-openapi.yml#/components/schemas/DefenderForAISettingResult",
  "type": "object",
  "properties": {
    "nextLink": {
      "type": "string",
      "description": "The link used to get the next page of Defender for AI Settings."
    },
    "value": {
      "type": "array",
      "description": "The list of Defender for AI Settings.",
      "items": {
        "$ref": "#/$defs/DefenderForAISetting"
      },
      "x-ms-identifiers": [
        "name"
      ]
    }
  },
  "$defs": {
    "DefenderForAISetting": {
      "type": "object",
      "description": "The Defender for AI resource.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/DefenderForAISettingProperties",
          "description": "The Defender for AI resource properties.",
          "x-ms-client-flatten": true
        },
        "etag": {
          "type": "string",
          "description": "Resource Etag.",
          "readOnly": true
        },
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          },
          "x-ms-mutability": [
            "read",
            "update",
            "create"
          ]
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
        }
      ]
    },
    "DefenderForAISettingProperties": {
      "type": "object",
      "description": "The Defender for AI resource properties.",
      "properties": {
        "state": {
          "$ref": "#/$defs/DefenderForAISettingState",
          "description": "Defender for AI state on the AI resource."
        }
      }
    },
    "DefenderForAISettingState": {
      "type": "string",
      "description": "Defender for AI state on the AI resource.",
      "enum": [
        "Disabled",
        "Enabled"
      ],
      "x-ms-enum": {
        "name": "DefenderForAISettingState",
        "modelAsString": true,
        "values": [
          {
            "name": "Disabled",
            "value": "Disabled"
          },
          {
            "name": "Enabled",
            "value": "Enabled"
          }
        ]
      }
    }
  }
}