{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-cognitive-services/json-schema/microsoft-cognitive-services-rai-blocklist-item-schema.json",
  "title": "RaiBlocklistItem",
  "description": "Cognitive Services RaiBlocklist Item.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-cognitive-services-raiblocklists-api-openapi.yml#/components/schemas/RaiBlocklistItem",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/RaiBlocklistItemProperties",
      "description": "Properties of Cognitive Services RaiBlocklist Item."
    },
    "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"
    }
  ],
  "$defs": {
    "RaiBlocklistItemProperties": {
      "type": "object",
      "description": "RAI Custom Blocklist Item properties.",
      "properties": {
        "pattern": {
          "type": "string",
          "description": "Pattern to match against."
        },
        "isRegex": {
          "type": "boolean",
          "description": "If the pattern is a regex pattern."
        }
      }
    }
  }
}