Properties
| Name | Type | Description |
|---|---|---|
| booking_id | string | |
| status | string | The original status word, kept for older clients. |
| state | string | The state to explain to the guest. |
| state_explained | string | |
| hotel | object | |
| checkin | string | |
| checkout | string | |
| adults | integer | |
| room | string | |
| board | string | |
| total | number | A decimal amount in currency, two decimals at most. |
| currency | string | |
| taxes_at_property | array | |
| refundable | boolean | |
| free_cancellation_until | stringnull | |
| cancellation_terms | string | |
| guest | object | |
| guest_details | string | |
| pay_url | string | Only while the hold is payable. |
| expires_at | string | When an unpaid hold is released. |
| confirmation_number | string | |
| hotel_reference | string | |
| voucher_url | string | |
| refund_amount | numbernull | |
| cancellation_fee | numbernull | |
| hold_released | boolean | |
| priced_for | string | |
| booking_url | string | |
| created | string | |
| updated | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/quub-rent/json-schema/quub-rent-booking-schema.json",
"title": "Booking",
"x-generated": "2026-11-22",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/quub-rent-openapi.json#/components/schemas/Booking",
"type": "object",
"properties": {
"booking_id": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"awaiting_payment",
"confirming",
"confirmed",
"outcome_pending",
"failed",
"cancelled",
"expired"
],
"description": "The original status word, kept for older clients."
},
"state": {
"type": "string",
"enum": [
"held",
"awaiting_payment",
"paid",
"confirmed",
"cancelled",
"expired",
"failed"
],
"description": "The state to explain to the guest."
},
"state_explained": {
"type": "string"
},
"hotel": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"address": {
"type": [
"string",
"null"
]
}
}
},
"checkin": {
"type": "string",
"format": "date"
},
"checkout": {
"type": "string",
"format": "date"
},
"adults": {
"type": "integer"
},
"room": {
"type": "string"
},
"board": {
"type": "string"
},
"total": {
"type": "number",
"description": "A decimal amount in currency, two decimals at most."
},
"currency": {
"type": "string"
},
"taxes_at_property": {
"type": "array",
"items": {
"$ref": "#/$defs/Tax"
}
},
"refundable": {
"type": "boolean"
},
"free_cancellation_until": {
"type": [
"string",
"null"
]
},
"cancellation_terms": {
"type": "string"
},
"guest": {
"type": "object",
"properties": {
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
}
}
},
"guest_details": {
"type": "string",
"enum": [
"complete",
"entered_by_guest_on_pay_page"
]
},
"pay_url": {
"type": "string",
"description": "Only while the hold is payable."
},
"expires_at": {
"type": "string",
"format": "date-time",
"description": "When an unpaid hold is released."
},
"confirmation_number": {
"type": "string"
},
"hotel_reference": {
"type": "string"
},
"voucher_url": {
"type": "string"
},
"refund_amount": {
"type": [
"number",
"null"
]
},
"cancellation_fee": {
"type": [
"number",
"null"
]
},
"hold_released": {
"type": "boolean"
},
"priced_for": {
"type": "string",
"enum": [
"public",
"agent key"
]
},
"booking_url": {
"type": "string"
},
"created": {
"type": "string",
"format": "date-time"
},
"updated": {
"type": "string",
"format": "date-time"
}
},
"$defs": {
"Tax": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "A decimal amount in currency, two decimals at most."
},
"currency": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
}
}
}
}
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/quub-rent-booking"
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.