{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/voixcall-com/json-schema/voixcall-com-quote-schema.json",
  "title": "Quote",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/voixcall-com-openapi.yml#/components/schemas/Quote",
  "additionalProperties": false,
  "properties": {
    "billing_increment_seconds": {
      "format": "int64",
      "type": "integer"
    },
    "caller_id_note": {
      "description": "Why your own number is not shown to the destination, when it is not.",
      "type": [
        "string",
        "null"
      ]
    },
    "currency": {
      "enum": [
        "USD"
      ],
      "type": "string"
    },
    "expires_at": {
      "description": "The quote is single use and must be placed before this time.",
      "format": "date-time",
      "type": "string"
    },
    "id": {
      "pattern": "^q_[0-9a-f]{32}$",
      "type": "string"
    },
    "leg_b_caller_id": {
      "description": "The caller ID the destination will see.",
      "type": "string"
    },
    "livemode": {
      "type": "boolean"
    },
    "max_duration_seconds": {
      "description": "The longest bridge the balance allows; the carrier enforces it.",
      "format": "int64",
      "type": "integer"
    },
    "object": {
      "description": "Always \"quote\".",
      "enum": [
        "quote"
      ],
      "type": "string"
    },
    "provider": {
      "enum": [
        "twilio"
      ],
      "type": "string"
    },
    "rate_destination": {
      "description": "Per-minute rate for the destination leg, decimal string.",
      "pattern": "^[0-9]+\\.[0-9]{4}$",
      "type": "string"
    },
    "rate_per_minute": {
      "description": "What the bridged call costs per minute: both legs together.",
      "pattern": "^[0-9]+\\.[0-9]{4}$",
      "type": "string"
    },
    "rate_ring": {
      "description": "Per-minute rate for ringing your own number, decimal string.",
      "pattern": "^[0-9]+\\.[0-9]{4}$",
      "type": "string"
    },
    "record": {
      "type": "boolean"
    },
    "recording_notice": {
      "description": "true when a recording notice will play to the destination.",
      "type": "boolean"
    },
    "resolved_name": {
      "description": "Contact name matching the destination, when one is saved.",
      "type": [
        "string",
        "null"
      ]
    },
    "ring_caller_id": {
      "description": "The VoixCall number shown on your phone when it rings.",
      "type": "string"
    },
    "ring_number": {
      "description": "Your verified number that will ring first, E.164.",
      "type": "string"
    },
    "to": {
      "description": "Destination, E.164.",
      "type": "string"
    }
  },
  "required": [
    "id",
    "object",
    "livemode",
    "to",
    "resolved_name",
    "ring_number",
    "ring_caller_id",
    "leg_b_caller_id",
    "caller_id_note",
    "provider",
    "rate_destination",
    "rate_ring",
    "rate_per_minute",
    "currency",
    "billing_increment_seconds",
    "max_duration_seconds",
    "record",
    "recording_notice",
    "expires_at"
  ],
  "type": "object"
}