OneBusAway · Schema

Route

TransitPublic TransitReal-TimeArrivalsDeparturesBusGTFSOpen SourceStop DataTrip PlanningService AlertsVehicle PositionsOpen Data

Properties

Name Type Description
agencyId string
color string
description string
id string
longName string
nullSafeShortName string
shortName string
textColor string
type integer
url string
View JSON Schema on GitHub

JSON Schema

Route.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Route",
  "type": "object",
  "properties": {
    "agencyId": {
      "type": "string"
    },
    "color": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "longName": {
      "type": "string"
    },
    "nullSafeShortName": {
      "type": "string"
    },
    "shortName": {
      "type": "string"
    },
    "textColor": {
      "type": "string"
    },
    "type": {
      "type": "integer"
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "type",
    "agencyId"
  ]
}