Arriva NL - GTFS RT Stop arrival question

36 views
Skip to first unread message

Tony Chufarovsky

unread,
Jun 22, 2022, 4:26:15 AM6/22/22
to openov
Hi,
In the following response example, you can see that stopId=2423018 has no fields and the record it gets from the response resonver, has no time reference
SCHEDULED, , 2423018, , , 17792, , , , , 152930283,

On the other hand stopId= 2422122 which has only one meaningless fields get this from the response resonver :
SCHEDULED, 1655817190, 2422122, 21-06-2022T15:13:10, , 17792, , , , 21-06-2022T15:13:10, 152930283, 10

We don't know the meaning of that web response, when there is only stops, with no ETA and no relation. What's the reality ( is it on time? or no info) , and how it should be handled.

{
    "id": "152930283",
    "tripUpdate": {
      "trip": {
        "tripId": "152930283",
        "startTime": "15:13:00",
        "startDate": "20220621",
        "scheduleRelationship": "SCHEDULED",
        "routeId": "17792",
        "directionId": 0
      },
      "stopTimeUpdate": [{
        "departure": {
          "delay": 10,
          "time": "1655817190"
        },
        "stopId": "2422122",
        "scheduleRelationship": "SCHEDULED"
      }, {
        "stopId": "2423018"
      }, {
        "stopId": "2422770",
        "scheduleRelationship": "SKIPPED"
      }, {
        "stopId": "2423240",
        "scheduleRelationship": "SKIPPED"
      }, {
        "arrival": {
          "delay": 131,
          "time": "1655818091"
        },
        "departure": {
          "delay": 26,
          "time": "1655818346"
        }

Thank you!

Reply all
Reply to author
Forward
0 new messages