Properties
| Name | Type | Description |
|---|---|---|
| reservation_no | string | |
| status | object | |
| pickup_location | object | |
| dropoff_location | object | |
| pickup_datetime | stringnull | Local time at the airport (between two places: at the pickup), as sent in the search. The trailing `Z` does not make it UTC. |
| flight_number | stringnull | |
| passengers | object | |
| passenger | object | |
| vehicle | object | |
| driver | objectnull | Null until a driver is assigned. |
| price | object | |
| distance_km | integer | The route distance in metres, despite its name; kept as it is for existing integrations. |
| booking_type | string | |
| is_cancelable | boolean | Whether the status allows a cancellation. The 48-hour limit is checked when you cancel. |
| extra_services | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/viatovia/json-schema/viatovia-booking-resource-schema.json",
"title": "BookingResource",
"x-generated": "2026-12-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/booking-openapi.json#/components/schemas/BookingResource",
"type": "object",
"properties": {
"reservation_no": {
"type": "string"
},
"status": {
"$ref": "#/$defs/BookingStatus"
},
"pickup_location": {
"type": "object",
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"type": {
"type": "string",
"enum": [
"AIRPORT",
"PLACE"
]
}
},
"required": [
"name",
"type"
]
},
"dropoff_location": {
"type": "object",
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"type": {
"type": "string",
"enum": [
"AIRPORT",
"PLACE"
]
}
},
"required": [
"name",
"type"
]
},
"pickup_datetime": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "Local time at the airport (between two places: at the pickup), as sent in the search. The trailing `Z` does not make it UTC."
},
"flight_number": {
"type": [
"string",
"null"
]
},
"passengers": {
"type": "object",
"properties": {
"adult": {
"type": "integer"
},
"children": {
"type": "integer"
},
"infant": {
"type": "integer"
}
},
"required": [
"adult",
"children",
"infant"
]
},
"passenger": {
"type": "object",
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"surname": {
"type": [
"string",
"null"
]
},
"email": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"surname",
"email",
"phone"
]
},
"vehicle": {
"type": "object",
"properties": {
"make": {
"type": [
"string",
"null"
]
},
"model": {
"type": [
"string",
"null"
]
},
"type": {
"type": [
"string",
"null"
]
},
"image": {
"type": [
"string",
"null"
]
}
},
"required": [
"make",
"model",
"type",
"image"
]
},
"driver": {
"type": [
"object",
"null"
],
"description": "Null until a driver is assigned.",
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
]
},
"vehicle_plate": {
"type": [
"string",
"null"
]
},
"vehicle_make": {
"type": [
"string",
"null"
]
},
"vehicle_model": {
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"phone",
"vehicle_plate",
"vehicle_make",
"vehicle_model"
]
},
"price": {
"type": "object",
"properties": {
"total": {
"description": "Price of the transfer; extra services are priced in `extra_services`.",
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"currency": {
"type": "string"
},
"converted_total": {
"description": "The total in the currency asked for in the search; charging stays in `currency`.",
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
},
"converted_currency": {
"type": [
"string",
"null"
]
}
},
"required": [
"total",
"currency",
"converted_total",
"converted_currency"
]
},
"distance_km": {
"type": "integer",
"description": "The route distance in metres, despite its name; kept as it is for existing integrations."
},
"booking_type": {
"type": "string"
},
"is_cancelable": {
"type": "boolean",
"description": "Whether the status allows a cancellation. The 48-hour limit is checked when you cancel."
},
"extra_services": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"quantity": {
"type": "integer"
},
"price": {
"type": "number"
}
},
"required": [
"id",
"name",
"quantity",
"price"
]
}
}
},
"required": [
"reservation_no",
"status",
"pickup_location",
"dropoff_location",
"pickup_datetime",
"flight_number",
"passengers",
"passenger",
"vehicle",
"driver",
"price",
"distance_km",
"booking_type",
"is_cancelable",
"extra_services"
],
"$defs": {
"BookingStatus": {
"type": "string",
"enum": [
"PENDING",
"PENDING_APPROVAL",
"APPROVED",
"CANCELLED",
"FAILED",
"DECLINED",
"REFUNDED",
"COMPLETED",
"DEFAULT"
],
"title": "BookingStatus"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/viatovia-booking-resource"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.