{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gatewayapi/main/json-schema/gatewayapi-post-example-callback-request-schema.json",
  "title": "PostExampleCallbackRequest",
  "x-generated": "2026-10-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/gatewayapi-openapi-generated.yml#/components/schemas/PostExampleCallbackRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The ID of the SMS the notification concerns"
    },
    "msisdn": {
      "type": "integer",
      "description": "The MSISDN of the mobile recipient"
    },
    "time": {
      "type": "integer",
      "description": "The UNIX Timestamp for the delivery status event"
    },
    "status": {
      "type": "string",
      "description": "One of the states, in all-caps, i.e. DELIVERED"
    },
    "error": {
      "type": "string",
      "description": "Optional error description, if available"
    },
    "code": {
      "type": "string",
      "description": "Optional hexadecimal error code"
    },
    "userref": {
      "type": "string",
      "description": "If you specified a reference when sending the message, it is returned to you"
    },
    "country_code": {
      "type": "string",
      "description": "Optional country code of the msisdn"
    },
    "country_prefix": {
      "type": "integer",
      "description": "Optional country prefix of the msisdn"
    },
    "mcc": {
      "type": "string",
      "description": "Optional MCC for the msisdn"
    },
    "mnc": {
      "type": "string",
      "description": "Optional MNC for the msisdn"
    }
  },
  "required": [
    "id",
    "msisdn",
    "time",
    "status"
  ]
}