Implement this interface to include more info into the toString.
| name | data type | constraints | description |
|---|---|---|---|
| agency | Agency | required | The 'agency' property represent a GTFS Agency and NeTEx the Authority. Note that Agency does NOT map 1-1 to Authority, it is rather a mix between Authority and Operator. |
| operator | Operator | NeTEx Operator, not in use when importing GTFS files. | |
| branding | Branding | ||
| groupsOfRoutes | array of GroupOfRoutes | required | |
| shortName | string | ||
| longName | I18NString | ||
| mode | TransitMode | required | |
| description | string | ||
| gtfsType | number | ||
| gtfsSortOrder | number | ||
| netexSubmode | object | required | |
| url | string | ||
| color | string | ||
| textColor | string | ||
| bikesAllowed | BikeAccess | required | |
| flexibleLineType | string | Pass-through information from NeTEx FlexibleLineType. This information is not used by OTP. | |
| name | string | required | the route's short name, or the long name if the short name is null. |
Properties inherited from AbstractTransitEntity |
|||
| id | FeedScopedId | ||
Example
{
"agency" : {
"name" : "...",
"timezone" : "...",
"url" : "...",
"lang" : "...",
"phone" : "...",
"fareUrl" : "...",
"brandingUrl" : "...",
"id" : {
"feedId" : "...",
"id" : "..."
}
},
"operator" : {
"name" : "...",
"url" : "...",
"phone" : "...",
"id" : {
"feedId" : "...",
"id" : "..."
}
},
"branding" : {
"name" : "...",
"shortName" : "...",
"url" : "...",
"image" : "...",
"description" : "...",
"id" : {
"feedId" : "...",
"id" : "..."
}
},
"groupsOfRoutes" : [ {
"name" : "...",
"shortName" : "...",
"privateCode" : "...",
"description" : "...",
"id" : {
"feedId" : "...",
"id" : "..."
}
}, {
"name" : "...",
"shortName" : "...",
"privateCode" : "...",
"description" : "...",
"id" : {
"feedId" : "...",
"id" : "..."
}
} ],
"shortName" : "...",
"longName" : { },
"mode" : "FUNICULAR",
"description" : "...",
"gtfsType" : 12345,
"gtfsSortOrder" : 12345,
"netexSubmode" : { },
"url" : "...",
"color" : "...",
"textColor" : "...",
"bikesAllowed" : "ALLOWED",
"flexibleLineType" : "...",
"name" : "...",
"id" : {
"feedId" : "...",
"id" : "..."
}
}