{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sinch/main/json-schema/sinch-inbound-message-schema.json",
  "title": "InboundMessage",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sinch-inbounds-api-openapi.yml#/components/schemas/InboundMessage",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique inbound message identifier"
    },
    "from": {
      "type": "string",
      "description": "The sender phone number"
    },
    "to": {
      "type": "string",
      "description": "The destination number"
    },
    "body": {
      "type": "string",
      "description": "The message body"
    },
    "type": {
      "type": "string",
      "description": "The message type"
    },
    "received_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the message was received"
    },
    "operator_id": {
      "type": "string",
      "description": "The mobile operator identifier"
    },
    "client_reference": {
      "type": "string",
      "description": "Client reference from the original batch"
    }
  }
}