Warning, /libraries/kpublictransport/src/lib/backends/otp/20170808/departure.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 departures($lat: Float!, $lon: Float!, $startTime: Long!) {
0005   nearest(lat: $lat, lon: $lon, maxDistance: 500, filterByPlaceTypes: DEPARTURE_ROW) {
0006     edges {
0007       node {
0008         place {
0009           ...on DepartureRow {
0010             stop {
0011               id: gtfsId
0012               name
0013               lat
0014               lon
0015               timezone
0016               parentStation {
0017                 id: gtfsId
0018                 name
0019                 lat
0020                 lon
0021                 timezone
0022               }
0023             }
0024             stoptimes(startTime: $startTime, numberOfDepartures: 12) {
0025               stop {
0026                 platformCode
0027               }
0028               serviceDay
0029               scheduledArrival
0030               realtimeArrival
0031               scheduledDeparture
0032               realtimeDeparture
0033               realtime
0034               trip {
0035                 tripHeadsign
0036                 tripShortName
0037                 route {
0038                   type
0039                   desc
0040                   shortName
0041                   longName
0042                   color
0043                   textColor
0044                   #bikesAllowed
0045                   alerts {
0046                     alertHeaderTextTranslations {
0047                       language
0048                       text
0049                     }
0050                     alertDescriptionTextTranslations {
0051                       language
0052                       text
0053                     }
0054                   }
0055                 }
0056               }
0057             }
0058           }
0059         }
0060       }
0061     }
0062   }
0063 }