{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zoho/main/json-schema/zoho-territory-schedueled-success-code-schema.json",
  "title": "TerritorySchedueledSuccessCode",
  "description": "A `object` value.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zoho-actions-api-openapi.yml#/components/schemas/TerritorySchedueledSuccessCode",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "SCHEDULED"
            ],
            "description": "Status code indicating the result of the operation (e.g., SCHEDULED)."
          },
          "details": {
            "type": "object",
            "description": "Additional information about the created territory.",
            "properties": {
              "id": {
                "format": "string",
                "type": "string",
                "description": "Unique identifier of the created territory."
              },
              "job_id": {
                "format": "string",
                "type": "string",
                "description": "Unique identifier of the scheduled job."
              }
            },
            "required": [
              "id",
              "job_id"
            ],
            "additionalProperties": false
          },
          "message": {
            "format": "string",
            "type": "string",
            "description": "Human-readable message describing the outcome of the operation."
          },
          "status": {
            "type": "string",
            "description": "Indicates whether the operation succeeded or failed.",
            "enum": [
              "success",
              "failure",
              "error"
            ]
          }
        },
        "required": [
          "code",
          "details",
          "message",
          "status"
        ],
        "description": "Details of each territory operation.",
        "additionalProperties": false
      },
      "description": "The `data` property."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false
}