{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/transfer-book-vehicle-schema.json", "title": "Vehicle", "description": "Vehicle schema from Transfer Booking", "type": "object", "properties": { "code": { "type": "string", "enum": [ "CAR", "SED", "WGN", "ELC", "VAN", "SUV", "LMS", "MBR", "TRN", "BUS" ], "description": "vehicle type, which can take following values\n\nvalue | description\n-------------- | ------------------------\nCAR | Car\nSED | Sedan\nWGN | Wagon\nELC | Electric car\nVAN | Van or minivan\nSUV | Sport utility vehicle\nLMS | Limousine\nMBR | Motorbike\nTRN | Train\nBUS | Bus\n", "example": "CAR" }, "category": { "type": "string", "enum": [ "ST", "BU", "FC" ], "description": "category of the vehicle, which can take following values\n\nvalue | description\n-------------- | ------------------------\nST | Standard\nBU | Business\nFC | First class\n", "example": "ST" }, "description": { "type": "string", "description": "description of the vehicle. Can describe a list of potential vehicles, e.g. VW Polo or similar", "example": "Sample description text." }, "seats": { "type": "array", "items": { "type": "object", "properties": { "count": { "type": "integer", "description": "seat capacity", "example": 3 }, "row": { "type": "string", "description": "seat row", "example": "front" }, "size": { "type": "string", "description": "seat size", "example": "XL" } } } }, "baggages": { "type": "array", "items": { "type": "object", "properties": { "count": { "type": "integer", "description": "baggage capacity", "example": 3 }, "size": { "type": "string", "description": "baggage size\n\ncode | name \n------ | ---------------------------- \nS \t | Small\nM \t | Medium\nL \t | Large\n", "enum": [ "S", "M", "L" ], "example": "S" } } } }, "imageURL": { "type": "string", "description": "URL to vehicle image", "example": "https://example.com/resource" } }, "required": [ "code", "category", "description", "seats" ] }