{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telesign/json-schema/telesign-shared-msg-callback-details-schema.json",
  "title": "SharedMsgCallbackDetails",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telesign-messaging-callbacks-api-openapi.yml#/components/schemas/SharedMsgCallbackDetails",
  "type": "object",
  "properties": {
    "reference_id": {
      "type": "string",
      "description": "The service's unique identifier for the original transaction this notification is related to."
    },
    "status": {
      "$ref": "#/$defs/MsgStatus"
    }
  },
  "required": [
    "reference_id"
  ],
  "$defs": {
    "MsgStatus": {
      "title": "MsgStatus",
      "type": "object",
      "description": "Contains properties related to the processing status of this transaction or send.",
      "properties": {
        "updated_on": {
          "type": "string",
          "description": "Timestamp indicating when the status was last updated."
        },
        "description": {
          "type": "string",
          "description": "The description of the specific status code."
        },
        "code": {
          "type": "integer",
          "description": "The 4-digit status code associated with the mobile originated (MO) message."
        }
      },
      "required": [
        "updated_on",
        "description",
        "code"
      ]
    }
  }
}