{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/webex/main/json-schema/webex-bulk-response-dto-schema.json",
  "title": "BulkResponseDTO",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-ai-feature-api-openapi.yml#/components/schemas/BulkResponseDTO",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BulkResponseItemDTO"
      }
    }
  },
  "$defs": {
    "ApiErrorResponse": {
      "description": "Response body for an API error.",
      "type": "object",
      "properties": {
        "trackingId": {
          "type": "string",
          "description": "An opaque identifier for mapping protocol failures to service internal codes. \n\nWhen specified in a request, it can be used for co-relating events across services"
        },
        "error": {
          "description": "An object containing details about the error.",
          "$ref": "#/$defs/ErrorDetails"
        }
      }
    },
    "BulkResponseItemDTO": {
      "type": "object",
      "properties": {
        "itemIdentifier": {
          "type": "integer",
          "description": "Unique item identifier for a bulk operation.",
          "format": "int32"
        },
        "status": {
          "type": "integer",
          "description": "Indicates the error status code.",
          "format": "int32"
        },
        "operationType": {
          "type": "string",
          "description": "The kind of operation desired of an entity.",
          "enum": [
            "CREATE",
            "UPDATE",
            "DELETE",
            "GET"
          ]
        },
        "href": {
          "type": "string",
          "description": "The resource URI of an entity."
        },
        "apiError": {
          "$ref": "#/$defs/ApiErrorResponse"
        }
      }
    },
    "ErrorDetails": {
      "description": "Details of an error.",
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "An application defined error code."
        },
        "message": {
          "type": "array",
          "description": "A message providing details about the error.",
          "items": {
            "$ref": "#/$defs/OperationError"
          }
        }
      }
    },
    "OperationError": {
      "description": "An error message providing details about the operation failure.",
      "type": "object",
      "properties": {
        "description": {
          "type": "string",
          "description": "A human readable explanation for the occurrence of an error."
        }
      }
    }
  }
}