Warning, /libraries/kpublictransport/src/lib/backends/otp/20170808/journey.graphql is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
0002 # SPDX-License-Identifier: CC0-1.0
0003 
0004 query journeys(
0005   $fromLat: Float!,
0006   $fromLon: Float!,
0007   $toLat: Float!,
0008   $toLon: Float!,
0009   $date: String!,
0010   $time: String!,
0011   $arriveBy: Boolean!,
0012   $maxResults: Int!
0013 ) {
0014   plan (
0015         from: { lat: $fromLat, lon: $fromLon }
0016         to:   { lat: $toLat,   lon: $toLon }
0017         date: $date
0018         time: $time
0019         arriveBy: $arriveBy
0020         numItineraries: $maxResults
0021     ) {
0022         itineraries {
0023             legs {
0024                 startTime
0025                 endTime
0026                 realTime
0027                 distance
0028                 mode
0029                 transitLeg
0030                 from {
0031                     name
0032                     lat
0033                     lon
0034                     stop {
0035                         id: gtfsId
0036                         platformCode
0037                         timezone
0038                     }
0039                 }
0040                 to {
0041                     name
0042                     lat
0043                     lon
0044                     stop {
0045                         id: gtfsId
0046                         platformCode
0047                         timezone
0048                     }
0049                 }
0050                 trip {
0051                     route {
0052                         type
0053                         desc
0054                         shortName
0055                         longName
0056                         color
0057                         textColor
0058                         #bikesAllowed
0059                         alerts {
0060                             alertHeaderTextTranslations {
0061                                 language
0062                                 text
0063                             }
0064                             alertDescriptionTextTranslations {
0065                                 language
0066                                 text
0067                             }
0068                         }
0069                     }
0070                     tripHeadsign
0071                     tripShortName
0072                 }
0073             }
0074         }
0075     }
0076 }