{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-cognitive-services/json-schema/microsoft-cognitive-services-rai-blocklist-items-bulk-add-request-schema.json",
  "title": "RaiBlocklistItemsBulkAddRequest",
  "description": "The list of Cognitive Services RaiBlocklist Items for batch add.",
  "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/RaiBlocklistItemsBulkAddRequest",
  "type": "array",
  "items": {
    "$ref": "#/$defs/RaiBlocklistItemBulkRequest"
  },
  "$defs": {
    "RaiBlocklistItemBulkRequest": {
      "type": "object",
      "description": "The Cognitive Services RaiBlocklist Item request body.",
      "properties": {
        "name": {
          "type": "string"
        },
        "properties": {
          "$ref": "#/$defs/RaiBlocklistItemProperties",
          "description": "Properties of Cognitive Services RaiBlocklist Item."
        }
      }
    },
    "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."
        }
      }
    }
  }
}