All OTP Transit entities should extend this class. The purpose of the class is to enforce a common implementation of the identity:
name | data type | description |
---|---|---|
stops | array of StopLocation | |
trip | Trip | |
Properties inherited from TransitEntity |
||
id | FeedScopedId |
Example
{ "stops" : [ { "geometry" : { "length" : 12345.0, "numGeometries" : 12345, "precisionModel" : { }, "interiorPoint" : { }, "rectangle" : true, "area" : 12345.0, "boundary" : { }, "boundaryDimension" : 12345, "numPoints" : 12345, "coordinates" : [ { }, { } ], "dimension" : 12345, "envelopeInternal" : { }, "empty" : true, "coordinate" : { }, "centroid" : { }, "factory" : { }, "SRID" : 12345, "simple" : true, "userData" : { }, "geometryType" : "...", "envelope" : { }, "valid" : true }, "parentStation" : { "name" : "...", "coordinate" : { }, "code" : "...", "description" : "...", "url" : "...", "priority" : "DISCOURAGED", "timezone" : { }, "childStops" : [ { }, { } ], "lat" : 12345.0, "lon" : 12345.0, "geometry" : { }, "id" : { } }, "platformCode" : "...", "name" : "...", "partOfStation" : true, "lon" : 12345.0, "firstZoneAsString" : "...", "description" : "...", "vehicleSubmode" : "...", "fareZones" : [ { "name" : "...", "id" : { } }, { "name" : "...", "id" : { } } ], "priority" : "DISCOURAGED", "timeZone" : { "rawOffset" : 12345, "DSTSavings" : 12345, "availableIDs" : [ "...", "..." ], "default" : { }, "displayName" : "...", "ID" : "..." }, "url" : "...", "code" : "...", "wheelchairBoarding" : "NO_INFORMATION", "lat" : 12345.0, "id" : { "feedId" : "...", "id" : "..." }, "coordinate" : { }, "vehicleType" : "MONORAIL" }, { "geometry" : { "length" : 12345.0, "numGeometries" : 12345, "precisionModel" : { }, "interiorPoint" : { }, "rectangle" : true, "area" : 12345.0, "boundary" : { }, "boundaryDimension" : 12345, "numPoints" : 12345, "coordinates" : [ { }, { } ], "dimension" : 12345, "envelopeInternal" : { }, "empty" : true, "coordinate" : { }, "centroid" : { }, "factory" : { }, "SRID" : 12345, "simple" : true, "userData" : { }, "geometryType" : "...", "envelope" : { }, "valid" : true }, "parentStation" : { "name" : "...", "coordinate" : { }, "code" : "...", "description" : "...", "url" : "...", "priority" : "DISCOURAGED", "timezone" : { }, "childStops" : [ { }, { } ], "lat" : 12345.0, "lon" : 12345.0, "geometry" : { }, "id" : { } }, "platformCode" : "...", "name" : "...", "partOfStation" : true, "lon" : 12345.0, "firstZoneAsString" : "...", "description" : "...", "vehicleSubmode" : "...", "fareZones" : [ { "name" : "...", "id" : { } }, { "name" : "...", "id" : { } } ], "priority" : "ALLOWED", "timeZone" : { "rawOffset" : 12345, "DSTSavings" : 12345, "availableIDs" : [ "...", "..." ], "default" : { }, "displayName" : "...", "ID" : "..." }, "url" : "...", "code" : "...", "wheelchairBoarding" : "POSSIBLE", "lat" : 12345.0, "id" : { "feedId" : "...", "id" : "..." }, "coordinate" : { }, "vehicleType" : "FUNICULAR" } ], "trip" : { "operator" : { "name" : "...", "url" : "...", "phone" : "...", "id" : { } }, "tripOperator" : { "name" : "...", "url" : "...", "phone" : "...", "id" : { } }, "route" : { "branding" : { }, "agency" : { }, "operator" : { }, "shortName" : "...", "longName" : "...", "desc" : "...", "gtfsType" : 12345, "mode" : "BUS", "url" : "...", "color" : "...", "textColor" : "...", "bikesAllowed" : "UNKNOWN", "sortOrderSet" : true, "sortOrder" : 12345, "flexibleLineType" : "...", "name" : "...", "netexSubmode" : "...", "id" : { } }, "serviceId" : { "feedId" : "...", "id" : "..." }, "mode" : "COACH", "netexSubmode" : "...", "tripShortName" : "...", "internalPlanningCode" : "...", "tripHeadsign" : "...", "routeShortName" : "...", "direction" : "ANTICLOCKWISE", "blockId" : "...", "shapeId" : { "feedId" : "...", "id" : "..." }, "wheelchairAccessible" : 12345, "bikesAllowed" : "NOT_ALLOWED", "fareId" : "...", "tripAlteration" : "REPLACED", "id" : { "feedId" : "...", "id" : "..." } }, "id" : { "feedId" : "...", "id" : "..." } }