Skip to content

Instantly share code, notes, and snippets.

@albanpeignier
Created December 22, 2022 08:36
Show Gist options
  • Save albanpeignier/a65fee8e684ec2e3d49b976c14bac1e9 to your computer and use it in GitHub Desktop.
Save albanpeignier/a65fee8e684ec2e3d49b976c14bac1e9 to your computer and use it in GitHub Desktop.
SIRI Lite vs SIRI
{
"Siri": {
"ServiceDelivery": {
"ResponseTimestamp": "2012-06-15T12:47:24.675-04:00",
"StopMonitoringDelivery": [
{
"MonitoredStopVisit": [
{
"MonitoredVehicleJourney": {
"LineRef": "B63",
"DirectionRef": "1",
"FramedVehicleJourneyRef": {
"DataFrameRef": "2012-06-15",
"DatedVehicleJourneyRef": "20120408EA_071100_B63_0113_B35_5"
},
"JourneyPatternRef": "B630113",
"PublishedLineName": "B63",
"OperatorRef": "MTA NYCT",
"OriginRef": "801131",
"DestinationRef": "801042",
"DestinationName": "BAY RIDGE SHORE RD via 5 AV",
"Monitored": true,
"VehicleLocation": {
"Longitude": -74.018271,
"Latitude": 40.637455
},
"VehicleRef": "7589",
"MonitoredCall": {
"StopPointRef": "305453",
"VisitNumber": 1,
"StopPointName": "5 AV - BAY RIDGE AV",
"ExpectedDepartureTime": "2012-06-15T12:49:57-04:00"
}
},
"RecordedAtTime": "2012-06-15T12:46:57-04:00"
},
{
"MonitoredVehicleJourney": {
"LineRef": "B63",
"DirectionRef": "1",
"FramedVehicleJourneyRef": {
"DataFrameRef": "2012-06-15",
"DatedVehicleJourneyRef": "20120408EA_072300_B63_0113_B70_204"
},
"JourneyPatternRef": "B630113",
"PublishedLineName": "B63",
"OperatorRef": "MTA NYCT",
"OriginRef": "801131",
"DestinationRef": "801042",
"DestinationName": "BAY RIDGE SHORE RD via 5 AV",
"Monitored": true,
"VehicleLocation": {
"Longitude": -74.010629,
"Latitude": 40.644808
},
"VehicleRef": "7583",
"MonitoredCall": {
"StopPointRef": "305453",
"VisitNumber": 1,
"StopPointName": "5 AV - BAY RIDGE AV",
"ExpectedDepartureTime": "2012-06-15T12:55:57-04:00"
}
},
"RecordedAtTime": "2012-06-15T12:56:15.000-04:00"
},
],
"ResponseTimestamp": "2012-06-15T12:47:24.675-04:00",
"ValidUntil": "2012-06-15T12:48:24.675-04:00"
}
]
}
}
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Siri xmlns:ns2="http://www.ifopt.org.uk/acsb"
xmlns:ns4="http://datex2.eu/schema/1_0/1_0"
xmlns:ns3="http://www.ifopt.org.uk/ifopt" xmlns="http://www.siri.org.uk/siri">
<ServiceDelivery>
<ResponseTimestamp>2012-06-15T12:47:24.675-04:00</ResponseTimestamp>
<StopMonitoringDelivery version="2.0">
<ResponseTimestamp>2012-06-15T12:47:24.675-04:00</ResponseTimestamp>
<ValidUntil>2012-06-15T12:48:24.675-04:00</ValidUntil>
<MonitoredStopVisit>
<RecordedAtTime>2012-06-15T12:46:57-04:00</RecordedAtTime>
<MonitoredVehicleJourney>
<LineRef>B63</LineRef>
<DirectionRef>1</DirectionRef>
<FramedVehicleJourneyRef>
<DataFrameRef>2012-06-15</DataFrameRef>
<DatedVehicleJourneyRef>20120408EA_071100_B63_0113_B35_5</DatedVehicleJourneyRef>
</FramedVehicleJourneyRef>
<JourneyPatternRef>B630113</JourneyPatternRef>
<PublishedLineName>B63</PublishedLineName>
<OperatorRef>MTA NYCT</OperatorRef>
<OriginRef>801131</OriginRef>
<DestinationRef>801042</DestinationRef>
<DestinationName>BAY RIDGE SHORE RD via 5 AV</DestinationName>
<Monitored>true</Monitored>
<VehicleLocation>
<Longitude>-74.012167</Longitude>
<Latitude>40.64333</Latitude>
</VehicleLocation>
<VehicleRef>7589</VehicleRef>
<MonitoredCall>
<StopPointRef>305453</StopPointRef>
<VisitNumber>1</VisitNumber>
<StopPointName>5 AV - BAY RIDGE AV</StopPointName>
<ExpectedDepartureTime>2012-06-15T12:49:57-04:00</ExpectedDepartureTime>
</MonitoredCall>
</MonitoredVehicleJourney>
</MonitoredStopVisit>
<MonitoredStopVisit>
<RecordedAtTime>2012-06-15T12:47:00-04:00</RecordedAtTime>
<MonitoredVehicleJourney>
<LineRef>B63</LineRef>
<DirectionRef>1</DirectionRef>
<FramedVehicleJourneyRef>
<DataFrameRef>2012-06-15</DataFrameRef>
<DatedVehicleJourneyRef>20120408EA_072300_B63_0113_B70_204</DatedVehicleJourneyRef>
</FramedVehicleJourneyRef>
<JourneyPatternRef>B630113</JourneyPatternRef>
<PublishedLineName>B63</PublishedLineName>
<OperatorRef>MTA NYCT</OperatorRef>
<OriginRef>801131</OriginRef>
<DestinationRef>801042</DestinationRef>
<DestinationName>BAY RIDGE SHORE RD via 5 AV</DestinationName>
<Monitored>true</Monitored>
<VehicleLocation>
<Longitude>-74.000672</Longitude>
<Latitude>40.654379</Latitude>
</VehicleLocation>
<VehicleRef>7583</VehicleRef>
<MonitoredCall>
<StopPointRef>305453</StopPointRef>
<VisitNumber>1</VisitNumber>
<StopPointName>5 AV - BAY RIDGE AV</StopPointName>
<ExpectedDepartureTime>2012-06-15T12:55:57-04:00</ExpectedDepartureTime>
</MonitoredCall>
</MonitoredVehicleJourney>
</MonitoredStopVisit>
</StopMonitoringDelivery>
</ServiceDelivery>
</Siri>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment