TransportAPI · JSON-LD Context

Transportapi Context

JSON-LD context defining the semantic vocabulary for Transportapi from TransportAPI.

29 Classes 0 Properties 3 Namespaces
View Context View on GitHub

Namespaces

tapi: https://transportapi.com/vocab/
gtfs: http://vocab.gtfs.org/terms#
geo: http://www.w3.org/2003/01/geo/wgs84_pos#

Classes

TransportStop TrainStation BusStop Departure Journey RoutePart Place id name atcocode station_code latitude longitude mode line line_name operator operator_name aimed_departure_time expected_departure_time from_point_name to_point_name departure_datetime arrival_datetime duration coordinates type distance description

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://schema.org/",
    "tapi": "https://transportapi.com/vocab/",
    "gtfs": "http://vocab.gtfs.org/terms#",
    "geo": "http://www.w3.org/2003/01/geo/wgs84_pos#",
    "TransportStop": "gtfs:Stop",
    "TrainStation": "schema:TrainStation",
    "BusStop": "schema:BusStop",
    "Departure": "tapi:Departure",
    "Journey": "tapi:Journey",
    "RoutePart": "tapi:RoutePart",
    "Place": "schema:Place",
    "id": "@id",
    "name": "schema:name",
    "atcocode": "tapi:atcocode",
    "station_code": "tapi:crsCode",
    "latitude": "geo:lat",
    "longitude": "geo:long",
    "mode": "gtfs:routeType",
    "line": "gtfs:route",
    "line_name": "schema:name",
    "operator": "schema:provider",
    "operator_name": "schema:name",
    "aimed_departure_time": "gtfs:departureTime",
    "expected_departure_time": "tapi:expectedDepartureTime",
    "from_point_name": "schema:departureAirport",
    "to_point_name": "schema:arrivalAirport",
    "departure_datetime": "schema:departureTime",
    "arrival_datetime": "schema:arrivalTime",
    "duration": "schema:duration",
    "coordinates": "geo:lat",
    "type": "schema:additionalType",
    "distance": "schema:distance",
    "description": "schema:description"
  }
}