{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telesign/json-schema/telesign-delivery-status-notification-schema.json",
  "title": "DeliveryStatusNotification",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telesign-bulk-sms-callbacks-api-openapi.yml#/components/schemas/DeliveryStatusNotification",
  "type": "object",
  "properties": {
    "reference_id": {
      "type": "string",
      "description": "The service's unique identifier for the original transaction this notification is related to.",
      "minLength": 32,
      "maxLength": 32
    },
    "status": {
      "$ref": "#/$defs/Status"
    },
    "submit_timestamp": {
      "type": "string",
      "description": "An ISO 8601 UTC timestamp indicating when the request was received."
    }
  },
  "required": [
    "status"
  ],
  "$defs": {
    "Status": {
      "title": "Status",
      "type": "object",
      "description": "Contains properties related to the processing status of this transaction or send.",
      "properties": {
        "code": {
          "type": "integer",
          "description": "Numeric code that indicates the processing status of this transaction or send."
        },
        "description": {
          "type": "string",
          "description": "Text that describes the processing status of this transaction or send."
        },
        "updated_on": {
          "type": "string",
          "description": "Timestamp that indicates when the status of this transaction or send was last updated."
        }
      },
      "required": [
        "code",
        "description",
        "updated_on"
      ]
    }
  }
}