{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/blablacar-bus-api/refs/heads/main/json-schema/blablacar-bus-api-trip-schema.json", "title": "Trip", "description": "A specific coach departure on a route with pricing and availability", "type": "object", "properties": { "id": { "type": "string", "description": "Unique trip identifier", "example": "trip-500123" }, "route_id": { "type": "string", "description": "Associated route identifier", "example": "route-paris-lyon" }, "departure_datetime": { "type": "string", "format": "date-time", "description": "Departure date and time", "example": "2025-06-15T07:00:00Z" }, "arrival_datetime": { "type": "string", "format": "date-time", "description": "Arrival date and time", "example": "2025-06-15T10:00:00Z" }, "available_seats": { "type": "integer", "description": "Number of seats currently available", "example": 24 }, "price": { "type": "object", "description": "Price with amount and currency", "properties": { "amount": { "type": "integer", "example": 1299 }, "currency": { "type": "string", "example": "EUR" } } } }, "required": [ "id", "route_id", "departure_datetime" ] }