Skip to content

Commit

Permalink
Reformat schema
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Sep 26, 2024
1 parent 3ea7524 commit bb83e0c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/resources/org/opentripplanner/apis/gtfs/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -4323,24 +4323,24 @@ Represents an element that must be visited by the routing result.
Right now only stop or station IDs are supported but this will be extended to support via point
coordinates as well.
"""
input ViaElementInput {
input ViaLocationInput {
"""
The list of *stop location ids* which define the pass-through point. At least one id is required.
Stop and Station are supported location types.
The journey must pass through at least one of these entities - not all of them.
"""
placeIds: [String!]
locationIds: [String!]
}

"Defines a point which the routing result must visit."
input ViaPointInput {
"Optional label of the via point for debugging and logging. It is not used in routing."
label: String
"""
The place that must be visited by the via routing result. Right now only stops and stations are
supported but this will be extended to cover coordinates as well.
"""
element: ViaElementInput!
"Optional name of the via point for debugging and logging. It is not used in routing."
name: String
place: ViaLocationInput!
}

"Preferences related to walking (excluding walking a bicycle or a scooter)."
Expand Down

0 comments on commit bb83e0c

Please sign in to comment.