{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/call2me-app/json-schema/call2me-app-reservation-info-schema.json",
  "title": "ReservationInfo",
  "description": "Reservation detail shown to user.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/call2me-app-demo-numbers-api-openapi.yml#/components/schemas/ReservationInfo",
  "properties": {
    "reservation_id": {
      "type": "string",
      "title": "Reservation Id"
    },
    "phone_number": {
      "type": "string",
      "title": "Phone Number"
    },
    "country_code": {
      "type": "string",
      "title": "Country Code"
    },
    "display_name": {
      "type": "string",
      "title": "Display Name"
    },
    "agent_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Id"
    },
    "reserved_at": {
      "type": "string",
      "format": "date-time",
      "title": "Reserved At"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "title": "Expires At"
    },
    "minutes_remaining": {
      "type": "integer",
      "title": "Minutes Remaining"
    }
  },
  "type": "object",
  "required": [
    "reservation_id",
    "phone_number",
    "country_code",
    "display_name",
    "agent_id",
    "reserved_at",
    "expires_at",
    "minutes_remaining"
  ]
}