Warning, /libraries/kpublictransport/src/lib/backends/otp/entur/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( 0005 $lat: Float!, 0006 $lon: Float!, 0007 $startDateTime: DateTime!, 0008 $modes: [Mode]! 0009 ) { 0010 nearest( 0011 latitude: $lat, 0012 longitude: $lon, 0013 maximumDistance: 500, 0014 filterByPlaceTypes: quay, 0015 filterByModes: $modes 0016 ) { 0017 edges { 0018 node { 0019 place { 0020 ... on Quay { 0021 stop: stopPlace { 0022 id 0023 name 0024 lat: latitude 0025 lon: longitude 0026 timezone 0027 } 0028 stoptimes: estimatedCalls(startTime: $startDateTime, numberOfDepartures: 12) { 0029 stop: quay { 0030 platformCode: publicCode 0031 } 0032 scheduledArrival: aimedArrivalTime 0033 realtimeArrival: expectedArrivalTime 0034 scheduledDeparture: aimedDepartureTime 0035 realtimeDeparture: expectedDepartureTime 0036 realtime 0037 trip: serviceJourney { 0038 route: line { 0039 transportMode 0040 type: transportSubmode 0041 shortName: publicCode 0042 longName: name 0043 presentation { 0044 color: colour 0045 textColor: textColour 0046 } 0047 alerts: situations { 0048 alertHeaderTextTranslations: summary { 0049 language 0050 text: value 0051 } 0052 alertDescriptionTextTranslations: description { 0053 language 0054 text: value 0055 } 0056 } 0057 } 0058 } 0059 } 0060 } 0061 } 0062 } 0063 } 0064 } 0065 }