Transit · JSON-LD Context

Transit Context

JSON-LD context defining the semantic vocabulary for Transit from Transit.

Transit Context is a JSON-LD context published by Transit on the APIs.io network.

It defines 32 semantic classes.

Top classes include Stop, Route, Trip, Agency, Network, and 27 more. Namespace prefixes: transit, gtfs, and geo. Tagged areas include Public Transit, Real-Time, Trip Planning, Multimodal, and GTFS.

32 Classes 0 Properties 3 Namespaces
View Context View on GitHub

Namespaces

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

Classes

Stop Route Trip Agency Network Departure Alert MobilityVehicle id name description lat lon route_id route_name headsign scheduled_time real_time wheelchair_accessible vehicle_id network_id mode routes stops departure_time arrival_time duration distance city country battery_level provider

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://schema.org/",
    "transit": "https://transitapp.com/vocab/",
    "gtfs": "http://vocab.gtfs.org/terms#",
    "geo": "http://www.w3.org/2003/01/geo/wgs84_pos#",
    "Stop": "gtfs:Stop",
    "Route": "gtfs:Route",
    "Trip": "gtfs:Trip",
    "Agency": "gtfs:Agency",
    "Network": "transit:Network",
    "Departure": "transit:Departure",
    "Alert": "transit:ServiceAlert",
    "MobilityVehicle": "transit:MobilityVehicle",
    "id": "@id",
    "name": "schema:name",
    "description": "schema:description",
    "lat": "geo:lat",
    "lon": "geo:long",
    "route_id": "gtfs:route",
    "route_name": "schema:name",
    "headsign": "gtfs:headsign",
    "scheduled_time": "schema:scheduledTime",
    "real_time": "transit:realTimeDeparture",
    "wheelchair_accessible": "gtfs:wheelchairAccessible",
    "vehicle_id": "gtfs:vehicle",
    "network_id": "transit:network",
    "mode": "gtfs:routeType",
    "routes": "gtfs:route",
    "stops": "gtfs:stop",
    "departure_time": "gtfs:departureTime",
    "arrival_time": "gtfs:arrivalTime",
    "duration": "schema:duration",
    "distance": "schema:distance",
    "city": "schema:addressLocality",
    "country": "schema:addressCountry",
    "battery_level": "transit:batteryLevel",
    "provider": "schema:provider"
  }
}