{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cayra-io/json-schema/cayra-io-whats-app-send-response-schema.json",
  "title": "WhatsAppSendResponse",
  "description": "Response returned after attempting delivery.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cayra-io-messaging-api-openapi.yml#/components/schemas/WhatsAppSendResponse",
  "properties": {
    "success": {
      "type": "boolean",
      "title": "Success",
      "default": true
    },
    "message_sid": {
      "type": "string",
      "title": "Message Sid"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "cost_usd": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cost Usd"
    },
    "currency": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Currency"
    },
    "delivery_log_id": {
      "type": "string",
      "title": "Delivery Log Id"
    }
  },
  "type": "object",
  "required": [
    "message_sid",
    "status",
    "cost_usd",
    "currency",
    "delivery_log_id"
  ]
}