ViaToVia · JSON-LD Context
Viatovia Context
JSON-LD context defining the semantic vocabulary for Viatovia from ViaToVia.
14 Classes
46 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
viatovia:
https://viatovia.com/schema#
Classes
AirportLocation
BookingApiErrorResource
BookingResource
BookingStatus
CancellationReasonsResource
CreateBookingRequest
CreateBookingResource
PointLocation
SearchRequest
SearchResource
AssignDriverRequest
FleetBookingResource
FleetCancelBookingRequest
FleetDriverResource
Properties
| Property | Type | Container |
|---|---|---|
| type | string | |
| iata_code | string | |
| status | string | |
| code | integer | |
| message | string | |
| reservation_no | string | |
| pickup_location | ||
| dropoff_location | ||
| pickup_datetime | dateTime | |
| flight_number | string | |
| passengers | ||
| passenger | ||
| vehicle | ||
| driver | ||
| price | ||
| distance_km | integer | |
| booking_type | string | |
| is_cancelable | boolean | |
| extra_services | list | |
| id | integer | |
| name | string | |
| description | string | |
| position | integer | |
| search_id | string | |
| vehicle_id | ||
| travel_details | ||
| suitcase | integer | |
| small_bags | integer | |
| booking | reference | |
| lat | decimal | |
| lng | decimal | |
| currency | string | |
| travelers | ||
| distance_in_km | decimal | |
| vehicles | list | |
| meeting_point | string | |
| pickup_instructions | string | |
| booking_reference | string | |
| cancellation_requested | boolean | |
| services | list | |
| total | string | |
| reason | string | |
| cancellation_type_id | integer | |
| driver_name | string | |
| driver_phone | string | |
| vehicle_plate | string |
JSON-LD Document
{
"@context": {
"@vocab": "https://viatovia.com/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"viatovia": "https://viatovia.com/schema#",
"AirportLocation": "viatovia:AirportLocation",
"type": {
"@id": "viatovia:type",
"@type": "xsd:string"
},
"iata_code": {
"@id": "viatovia:iata_code",
"@type": "xsd:string"
},
"BookingApiErrorResource": "viatovia:BookingApiErrorResource",
"status": {
"@id": "viatovia:status",
"@type": "xsd:string"
},
"code": {
"@id": "viatovia:code",
"@type": "xsd:integer"
},
"message": {
"@id": "viatovia:message",
"@type": "xsd:string"
},
"reservation_no": {
"@id": "viatovia:reservation_no",
"@type": "xsd:string"
},
"BookingResource": "viatovia:BookingResource",
"pickup_location": {
"@id": "viatovia:pickup_location"
},
"dropoff_location": {
"@id": "viatovia:dropoff_location"
},
"pickup_datetime": {
"@id": "viatovia:pickup_datetime",
"@type": "xsd:dateTime"
},
"flight_number": {
"@id": "viatovia:flight_number",
"@type": "xsd:string"
},
"passengers": {
"@id": "viatovia:passengers"
},
"passenger": {
"@id": "viatovia:passenger"
},
"vehicle": {
"@id": "viatovia:vehicle"
},
"driver": {
"@id": "viatovia:driver"
},
"price": {
"@id": "viatovia:price"
},
"distance_km": {
"@id": "viatovia:distance_km",
"@type": "xsd:integer"
},
"booking_type": {
"@id": "viatovia:booking_type",
"@type": "xsd:string"
},
"is_cancelable": {
"@id": "viatovia:is_cancelable",
"@type": "xsd:boolean"
},
"extra_services": {
"@id": "viatovia:extra_services",
"@container": "@list"
},
"BookingStatus": "viatovia:BookingStatus",
"CancellationReasonsResource": "viatovia:CancellationReasonsResource",
"id": {
"@id": "viatovia:id",
"@type": "xsd:integer"
},
"name": {
"@id": "viatovia:name",
"@type": "xsd:string"
},
"description": {
"@id": "viatovia:description",
"@type": "xsd:string"
},
"position": {
"@id": "viatovia:position",
"@type": "xsd:integer"
},
"CreateBookingRequest": "viatovia:CreateBookingRequest",
"search_id": {
"@id": "viatovia:search_id",
"@type": "xsd:string"
},
"vehicle_id": {
"@id": "viatovia:vehicle_id"
},
"travel_details": {
"@id": "viatovia:travel_details"
},
"suitcase": {
"@id": "viatovia:suitcase",
"@type": "xsd:integer"
},
"small_bags": {
"@id": "viatovia:small_bags",
"@type": "xsd:integer"
},
"CreateBookingResource": "viatovia:CreateBookingResource",
"booking": {
"@id": "viatovia:booking",
"@type": "@id"
},
"PointLocation": "viatovia:PointLocation",
"lat": {
"@id": "viatovia:lat",
"@type": "xsd:decimal"
},
"lng": {
"@id": "viatovia:lng",
"@type": "xsd:decimal"
},
"SearchRequest": "viatovia:SearchRequest",
"currency": {
"@id": "viatovia:currency",
"@type": "xsd:string"
},
"travelers": {
"@id": "viatovia:travelers"
},
"SearchResource": "viatovia:SearchResource",
"distance_in_km": {
"@id": "viatovia:distance_in_km",
"@type": "xsd:decimal"
},
"vehicles": {
"@id": "viatovia:vehicles",
"@container": "@list"
},
"AssignDriverRequest": "viatovia:AssignDriverRequest",
"meeting_point": {
"@id": "viatovia:meeting_point",
"@type": "xsd:string"
},
"pickup_instructions": {
"@id": "viatovia:pickup_instructions",
"@type": "xsd:string"
},
"FleetBookingResource": "viatovia:FleetBookingResource",
"booking_reference": {
"@id": "viatovia:booking_reference",
"@type": "xsd:string"
},
"cancellation_requested": {
"@id": "viatovia:cancellation_requested",
"@type": "xsd:boolean"
},
"services": {
"@id": "viatovia:services",
"@container": "@list"
},
"total": {
"@id": "viatovia:total",
"@type": "xsd:string"
},
"FleetCancelBookingRequest": "viatovia:FleetCancelBookingRequest",
"reason": {
"@id": "viatovia:reason",
"@type": "xsd:string"
},
"cancellation_type_id": {
"@id": "viatovia:cancellation_type_id",
"@type": "xsd:integer"
},
"FleetDriverResource": "viatovia:FleetDriverResource",
"driver_name": {
"@id": "viatovia:driver_name",
"@type": "xsd:string"
},
"driver_phone": {
"@id": "viatovia:driver_phone",
"@type": "xsd:string"
},
"vehicle_plate": {
"@id": "viatovia:vehicle_plate",
"@type": "xsd:string"
}
},
"@type": "schema:Dataset",
"schema:name": "ViaToVia API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects ViaToVia's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-12-04) from openapi/booking-openapi.json, openapi/fleet-openapi.json.",
"dcterms:created": "2026-12-04",
"dcterms:source": [
"openapi/booking-openapi.json",
"openapi/fleet-openapi.json"
]
}