Warning, /libraries/kpublictransport/src/lib/backends/otp/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, omitCanceled: false) { 0025 stop { 0026 platformCode 0027 } 0028 serviceDay 0029 scheduledArrival 0030 realtimeArrival 0031 scheduledDeparture 0032 realtimeDeparture 0033 realtime 0034 trip { 0035 tripHeadsign 0036 route { 0037 type 0038 desc 0039 shortName 0040 longName 0041 color 0042 textColor 0043 #bikesAllowed 0044 alerts { 0045 alertHeaderTextTranslations { 0046 language 0047 text 0048 } 0049 alertDescriptionTextTranslations { 0050 language 0051 text 0052 } 0053 alertEffect 0054 alertCause 0055 alertSeverityLevel 0056 } 0057 } 0058 } 0059 } 0060 } 0061 } 0062 } 0063 } 0064 } 0065 }