Skip to content

Commit

Permalink
Lint and update documentation tables
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 20, 2024
1 parent 7269bc0 commit fbdca21
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/occupancy/ext_estimatedTimetable_response.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@
</EstimatedJourneyVersionFrame>
</EstimatedTimetableDelivery>
</ServiceDelivery>
</Siri>
</Siri>
25 changes: 16 additions & 9 deletions examples/occupancy/exv_vehicleMonitoring_response.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@
<RecordedAtTime>2023-11-16T09:30:47-05:00</RecordedAtTime>
<ValidUntilTime>22023-11-17T09:30:47-05:00</ValidUntilTime>
<MonitoredVehicleJourney>
<LineRef>unknown</LineRef> <!-- slnid -->
<DirectionRef>ch:1:Direction:H</DirectionRef> <!-- you didn't have this in the JSON, but I think it would be good, if we know this -->
<LineRef>unknown</LineRef>
<!-- slnid -->
<DirectionRef>ch:1:Direction:H</DirectionRef>
<!-- you didn't have this in the JSON, but I think it would be good, if we know this -->
<FramedVehicleJourneyRef>
<DataFrameRef>2023-11-16</DataFrameRef> <!-- operating day -->
<DatedVehicleJourneyRef>ch:1:sjyid:11:11293191923919</DatedVehicleJourneyRef> <!-- not yet available -->
<DataFrameRef>2023-11-16</DataFrameRef>
<!-- operating day -->
<DatedVehicleJourneyRef>ch:1:sjyid:11:11293191923919</DatedVehicleJourneyRef>
<!-- not yet available -->
</FramedVehicleJourneyRef>
<OperatorRef>11</OperatorRef>
<OriginRef>8504300</OriginRef>
Expand All @@ -34,25 +38,28 @@
<TrainNumberRef>504</TrainNumberRef>
</TrainNumbers>
<OnwardCalls>
<OnwardCall> <!-- we can do it for all stops in the train. It is OnwardCall, because it is in the future -->
<OnwardCall>
<!-- we can do it for all stops in the train. It is OnwardCall, because it is in the future -->
<StopPointRef>8504300</StopPointRef>
<VisitNumber>1</VisitNumber>
<StopPointName>Biel/Bienne</StopPointName>
<ExpectedDepartureTime>2023-11-16T05:14:00Z</ExpectedDepartureTime> <!-- Zulu time usually -->
<ExpectedDepartureTime>2023-11-16T05:14:00Z</ExpectedDepartureTime>
<!-- Zulu time usually -->
<ExpectedDepartureOccupancy>
<FareClass>businessClass</FareClass> <!-- or firstClass -->
<FareClass>businessClass</FareClass>
<!-- or firstClass -->
<OccupancyLevel>fewSeatsAvailable</OccupancyLevel>
<OccupancyPercentage>65</OccupancyPercentage>
</ExpectedDepartureOccupancy>
<ExpectedDepartureOccupancy>
<FareClass>secondClass</FareClass>
<OccupancyLevel>manySeatsAvailable</OccupancyLevel>
<OccupancyPercentage>24</OccupancyPercentage>
</ExpectedDepartureOccupancy>
</ExpectedDepartureOccupancy>
</OnwardCall>
</OnwardCalls>
</MonitoredVehicleJourney>
</VehicleActivity>
</VehicleMonitoringDelivery>
</ServiceDelivery>
</Siri>
</Siri>

0 comments on commit fbdca21

Please sign in to comment.