{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ErrorBean",
  "title": "ErrorBean",
  "type": "object",
  "description": "Represents an error that occurred during disable calling location operations.",
  "properties": {
    "itemNumber": {
      "type": "integer",
      "description": "Sequential number of the error item."
    },
    "item": {
      "type": "string",
      "description": "The item that caused the error."
    },
    "errorType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ErrorType"
        },
        {
          "description": "Type of the error."
        }
      ]
    },
    "error": {
      "type": "object",
      "description": "Error details.",
      "properties": {
        "key": {
          "type": "string",
          "description": "Error key or status code."
        },
        "message": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "description": "Error description."
              },
              "code": {
                "type": "string",
                "description": "Error code for disable calling location operations."
              },
              "locationId": {
                "type": "string",
                "description": "Related location ID, can be null.",
                "nullable": true
              }
            }
          },
          "description": "Array of error message details."
        }
      }
    },
    "trackingId": {
      "type": "string",
      "description": "Tracking ID for the error."
    }
  }
}