Bookit N Go · Schema
PreferenceInput
TravelSoftware-as-a-ServiceArtificial IntelligenceWhite LabelB2B
Properties
| Name | Type | Description |
|---|---|---|
| category | string | |
| value | object | |
| priority | integer | |
| strength | string | |
| context | object | |
| mode | string | |
| provenance | object | |
| freshUntil | string | |
| lastConfirmedAt | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/bookit-n-go/main/json-schema/bookit-n-go-preference-input-schema.json",
"title": "PreferenceInput",
"x-generated": "2026-10-02",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/bookit-n-go-openapi.yaml#/components/schemas/PreferenceInput",
"type": "object",
"additionalProperties": false,
"required": [
"category",
"value",
"provenance"
],
"properties": {
"category": {
"type": "string",
"enum": [
"FLIGHT_SEAT",
"CABIN",
"AIRLINE",
"HOTEL_ROOM",
"HOTEL_AMENITY",
"LOCATION",
"LOYALTY"
]
},
"value": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
}
]
},
"priority": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"strength": {
"type": "string",
"enum": [
"REQUIRED",
"STRONG",
"PREFERRED",
"FLEXIBLE"
],
"default": "PREFERRED"
},
"context": {
"$ref": "#/$defs/TravelContext"
},
"mode": {
"type": "string",
"enum": [
"DECLARED",
"OBSERVED"
]
},
"provenance": {
"$ref": "#/$defs/Provenance"
},
"freshUntil": {
"type": "string",
"format": "date-time"
},
"lastConfirmedAt": {
"type": "string",
"format": "date-time"
}
},
"$defs": {
"Provenance": {
"type": "object",
"additionalProperties": false,
"required": [
"source",
"observedAt",
"method"
],
"properties": {
"source": {
"type": "string",
"minLength": 1
},
"observedAt": {
"type": "string",
"format": "date-time"
},
"method": {
"type": "string",
"enum": [
"DECLARED",
"OBSERVED",
"IMPORTED"
]
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
}
}
},
"TravelContext": {
"type": "object",
"additionalProperties": false,
"properties": {
"tripPurpose": {
"type": "string",
"enum": [
"BUSINESS",
"LEISURE",
"BLEISURE",
"OTHER"
]
},
"geography": {
"type": "string",
"minLength": 1
},
"season": {
"type": "string",
"minLength": 1
},
"companions": {
"type": "string",
"enum": [
"SOLO",
"PARTNER",
"FAMILY",
"COLLEAGUES",
"GROUP"
]
}
}
}
}
}
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/bookit-n-go-preference-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.