{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/inttegro-com/json-schema/inttegro-com-post-otp-lookup-response-schema.json",
  "title": "PostOtpLookupResponse",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/inttegro-com-openapi-generated.yml#/components/schemas/PostOtpLookupResponse",
  "type": "object",
  "properties": {
    "transaction": {
      "type": "object",
      "description": "OTP transaction object returned for the given ID."
    },
    "transaction.id": {
      "type": "string",
      "description": "Unique identifier for this transaction."
    },
    "transaction.expiresAt": {
      "type": "string",
      "description": "When this token expires and can no longer be verified."
    },
    "transaction.fullMessage": {
      "type": "string",
      "description": "Message template with service name substituted and token placeholder preserved."
    },
    "transaction.initiatedAt": {
      "type": "string",
      "description": "When this transaction was created."
    },
    "transaction.status": {
      "type": "string",
      "description": "Current transaction status."
    },
    "transaction.cancelReason": {
      "type": "string",
      "description": "Explanation for cancellation, if status is Canceled."
    },
    "transaction.canceledAt": {
      "type": "string",
      "description": "When the transaction was canceled, if status is Canceled."
    },
    "transaction.transmission": {
      "type": "object",
      "description": "Delivery details, omitted when not applicable."
    },
    "transaction.transmission.recipient": {
      "type": "string",
      "description": "Targeted phone number or email."
    },
    "transaction.transmission.senderId": {
      "type": "string",
      "description": "Sender identifier."
    },
    "transaction.transmission.sentAt": {
      "type": "string",
      "description": "When the message was sent."
    },
    "transaction.transmission.sentVia": {
      "type": "string",
      "description": "Delivery mechanism."
    },
    "transaction.transmission.status": {
      "type": "string",
      "description": "Delivery status."
    }
  }
}