{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telesign/json-schema/telesign-post-bulk-smsresponse-schema.json",
  "title": "postBulkSMSResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telesign-bulk-sms-api-openapi.yml#/components/schemas/postBulkSMSResponse",
  "type": "object",
  "properties": {
    "reference_id": {
      "type": "string",
      "minLength": 32,
      "maxLength": 32,
      "description": "The service's unique identifier for this transaction."
    },
    "sub_resource": {
      "type": "string",
      "description": "The Telesign service you made this request to."
    },
    "status": {
      "$ref": "#/$defs/BulkSMSStatus"
    },
    "errors": {
      "type": "array",
      "description": "Each object in this array describes an error that occurred during the processing of this request.",
      "items": {
        "$ref": "#/$defs/BulkSMSError"
      }
    }
  },
  "required": [
    "reference_id"
  ],
  "$defs": {
    "BulkSMSError": {
      "title": "BulkSMSError",
      "type": "object",
      "properties": {
        "code": {
          "type": "integer",
          "description": "A 1 to 5-digit error code (possibly negative) that indicates the type of error that occurred."
        },
        "description": {
          "type": "string",
          "description": "Text describing the error that occurred."
        }
      },
      "required": [
        "code",
        "description"
      ]
    },
    "BulkSMSStatus": {
      "title": "BulkSMSStatus",
      "type": "object",
      "description": "Contains properties related to the processing status of the transaction.",
      "properties": {
        "code": {
          "type": "integer",
          "description": "One of the status codes or error codes."
        },
        "description": {
          "type": "string",
          "description": "Text describing the transaction status."
        },
        "updated_on": {
          "type": "string",
          "description": "An [RFC 3339](http://www.ietf.org/rfc/rfc3339.txt) timestamp indicating when the transaction status was updated. "
        }
      }
    }
  }
}