-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Typos/Definitions/Error corrections (#359)
* Change FareEstimated description * fixing include and wrapper FareResponse.xml * Lint and update documentation tables * more example wrappers. * Lint and update documentation tables --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
3e3ad09
commit dd75b51
Showing
7 changed files
with
228 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
64 changes: 36 additions & 28 deletions
64
examples/functions/availability/AvailabilityRequest_1.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ojp:OJPAvailabilityRequest xmlns:ojp="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.siri.org.uk/siri ../../../OJP.xsd"> | ||
<siri:RequestTimestamp>2022-12-12T11:46:00Z</siri:RequestTimestamp> | ||
<ojp:PublicTransport> | ||
<ojp:PickUpLocation> | ||
<ojp:CallPlace> | ||
<siri:StopPointRef>de:05766:2317:0:1</siri:StopPointRef> | ||
<ojp:Name> | ||
<ojp:Text>Kt-Kalldorf, Winterberg</ojp:Text> | ||
</ojp:Name> | ||
</ojp:CallPlace> | ||
<ojp:ServiceDeparture> | ||
<ojp:TimetabledTime>2022-12-12T11:46:00Z</ojp:TimetabledTime> | ||
</ojp:ServiceDeparture> | ||
</ojp:PickUpLocation> | ||
<ojp:SetDownLocation> | ||
<ojp:CallPlace> | ||
<siri:StopPointRef>de:05766:3437:0:2</siri:StopPointRef> | ||
<ojp:Name> | ||
<ojp:Text>Kt-Stemmen, Elfenborner Weg</ojp:Text> | ||
</ojp:Name> | ||
</ojp:CallPlace> | ||
<ojp:ServiceArrival> | ||
<ojp:TimetabledTime>2022-12-12T12:02:00Z</ojp:TimetabledTime> | ||
</ojp:ServiceArrival> | ||
</ojp:SetDownLocation> | ||
</ojp:PublicTransport> | ||
<ojp:MobilityUser/> | ||
</ojp:OJPAvailabilityRequest> | ||
<siri:OJP xmlns:ojp="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.siri.org.uk/siri ../../../OJP.xsd" version="1.1-dev"> | ||
<siri:OJPRequest> | ||
<siri:ServiceRequest> | ||
<siri:RequestTimestamp>2022-12-12T11:46:00Z</siri:RequestTimestamp> | ||
<siri:RequestorRef>OeBB</siri:RequestorRef> | ||
<ojp:OJPAvailabilityRequest> | ||
<siri:RequestTimestamp>2022-12-12T11:46:00Z</siri:RequestTimestamp> | ||
<ojp:PublicTransport> | ||
<ojp:PickUpLocation> | ||
<ojp:CallPlace> | ||
<siri:StopPointRef>de:05766:2317:0:1</siri:StopPointRef> | ||
<ojp:Name> | ||
<ojp:Text>Kt-Kalldorf, Winterberg</ojp:Text> | ||
</ojp:Name> | ||
</ojp:CallPlace> | ||
<ojp:ServiceDeparture> | ||
<ojp:TimetabledTime>2022-12-12T11:46:00Z</ojp:TimetabledTime> | ||
</ojp:ServiceDeparture> | ||
</ojp:PickUpLocation> | ||
<ojp:SetDownLocation> | ||
<ojp:CallPlace> | ||
<siri:StopPointRef>de:05766:3437:0:2</siri:StopPointRef> | ||
<ojp:Name> | ||
<ojp:Text>Kt-Stemmen, Elfenborner Weg</ojp:Text> | ||
</ojp:Name> | ||
</ojp:CallPlace> | ||
<ojp:ServiceArrival> | ||
<ojp:TimetabledTime>2022-12-12T12:02:00Z</ojp:TimetabledTime> | ||
</ojp:ServiceArrival> | ||
</ojp:SetDownLocation> | ||
</ojp:PublicTransport> | ||
<ojp:MobilityUser/> | ||
</ojp:OJPAvailabilityRequest> | ||
</siri:ServiceRequest> | ||
</siri:OJPRequest> | ||
</siri:OJP> |
64 changes: 36 additions & 28 deletions
64
examples/functions/availability/AvailabilityRequest_2.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ojp:OJPAvailabilityRequest xmlns:ojp="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.siri.org.uk/siri ../../../OJP.xsd"> | ||
<siri:RequestTimestamp>2022-12-12T11:46:00Z</siri:RequestTimestamp> | ||
<ojp:PublicTransport> | ||
<ojp:PickUpLocation> | ||
<ojp:CallPlace> | ||
<siri:StopPointRef>de:05766:2317:0:1</siri:StopPointRef> | ||
<ojp:Name> | ||
<ojp:Text>Kt-Kalldorf, Winterberg</ojp:Text> | ||
</ojp:Name> | ||
</ojp:CallPlace> | ||
<ojp:ServiceDeparture> | ||
<ojp:TimetabledTime>2022-12-14T09:46:00Z</ojp:TimetabledTime> | ||
</ojp:ServiceDeparture> | ||
</ojp:PickUpLocation> | ||
<ojp:SetDownLocation> | ||
<ojp:CallPlace> | ||
<siri:StopPointRef>de:05766:3437:0:2</siri:StopPointRef> | ||
<ojp:Name> | ||
<ojp:Text>Kt-Stemmen, Elfenborner Weg</ojp:Text> | ||
</ojp:Name> | ||
</ojp:CallPlace> | ||
<ojp:ServiceArrival> | ||
<ojp:TimetabledTime>2022-12-14T10:02:00Z</ojp:TimetabledTime> | ||
</ojp:ServiceArrival> | ||
</ojp:SetDownLocation> | ||
</ojp:PublicTransport> | ||
<ojp:MobilityUser/> | ||
</ojp:OJPAvailabilityRequest> | ||
<siri:OJP xmlns:ojp="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.siri.org.uk/siri ../../../OJP.xsd" version="1.1-dev"> | ||
<siri:OJPRequest> | ||
<siri:ServiceRequest> | ||
<siri:RequestTimestamp>2022-12-12T11:46:00Z</siri:RequestTimestamp> | ||
<siri:RequestorRef>OeBB</siri:RequestorRef> | ||
<ojp:OJPAvailabilityRequest> | ||
<siri:RequestTimestamp>2022-12-12T11:46:00Z</siri:RequestTimestamp> | ||
<ojp:PublicTransport> | ||
<ojp:PickUpLocation> | ||
<ojp:CallPlace> | ||
<siri:StopPointRef>de:05766:2317:0:1</siri:StopPointRef> | ||
<ojp:Name> | ||
<ojp:Text>Kt-Kalldorf, Winterberg</ojp:Text> | ||
</ojp:Name> | ||
</ojp:CallPlace> | ||
<ojp:ServiceDeparture> | ||
<ojp:TimetabledTime>2022-12-14T09:46:00Z</ojp:TimetabledTime> | ||
</ojp:ServiceDeparture> | ||
</ojp:PickUpLocation> | ||
<ojp:SetDownLocation> | ||
<ojp:CallPlace> | ||
<siri:StopPointRef>de:05766:3437:0:2</siri:StopPointRef> | ||
<ojp:Name> | ||
<ojp:Text>Kt-Stemmen, Elfenborner Weg</ojp:Text> | ||
</ojp:Name> | ||
</ojp:CallPlace> | ||
<ojp:ServiceArrival> | ||
<ojp:TimetabledTime>2022-12-14T10:02:00Z</ojp:TimetabledTime> | ||
</ojp:ServiceArrival> | ||
</ojp:SetDownLocation> | ||
</ojp:PublicTransport> | ||
<ojp:MobilityUser/> | ||
</ojp:OJPAvailabilityRequest> | ||
</siri:ServiceRequest> | ||
</siri:OJPRequest> | ||
</siri:OJP> |
27 changes: 18 additions & 9 deletions
27
examples/functions/availability/AvailabilityResponse notOK.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ojp:OJPAvailabilityDelivery xmlns:ojp="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.siri.org.uk/siri ../../../OJP.xsd"> | ||
<siri:ResponseTimestamp>2001-12-17T09:30:47Z</siri:ResponseTimestamp> | ||
<siri:Status>false</siri:Status> | ||
<siri:ErrorCondition> | ||
<siri:OtherError> | ||
<siri:ErrorText>Anfrage konnte nicht verarbeitet werden</siri:ErrorText> | ||
</siri:OtherError> | ||
</siri:ErrorCondition> | ||
</ojp:OJPAvailabilityDelivery> | ||
<siri:OJP xmlns:ojp="http://www.vdv.de/ojp" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:siri="http://www.siri.org.uk/siri" version="1.1-dev" xsi:schemaLocation="http://www.siri.org.uk/siri ../../../OJP.xsd"> | ||
<siri:OJPResponse> | ||
<siri:ServiceDelivery> | ||
<siri:ResponseTimestamp>2020-11-30T10:07:19Z</siri:ResponseTimestamp> | ||
<siri:ProducerRef>OJPCH_Prod</siri:ProducerRef> | ||
<siri:Status>true</siri:Status> | ||
<ojp:OJPAvailabilityDelivery> | ||
<siri:ResponseTimestamp>2001-12-17T09:30:47Z</siri:ResponseTimestamp> | ||
<siri:Status>false</siri:Status> | ||
<siri:ErrorCondition> | ||
<siri:OtherError> | ||
<siri:ErrorText>Anfrage konnte nicht verarbeitet werden</siri:ErrorText> | ||
</siri:OtherError> | ||
</siri:ErrorCondition> | ||
</ojp:OJPAvailabilityDelivery> | ||
</siri:ServiceDelivery> | ||
</siri:OJPResponse> | ||
</siri:OJP> |
61 changes: 35 additions & 26 deletions
61
examples/functions/availability/AvailabilityResponse_OK.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,36 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ojp:OJPAvailabilityDelivery xmlns:ojp="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.siri.org.uk/siri ../../../OJP.xsd"> | ||
<siri:ResponseTimestamp>2001-12-17T09:30:47Z</siri:ResponseTimestamp> | ||
<ojp:AvailabilityResult> | ||
<ojp:PublicTransport> | ||
<ojp:PickUpLocation> | ||
<ojp:CallPlace> | ||
<siri:StopPointRef>de:05766:2317</siri:StopPointRef> | ||
<ojp:Name> | ||
<ojp:Text>Winterberg/Kalldorf</ojp:Text> | ||
</ojp:Name> | ||
</ojp:CallPlace> | ||
</ojp:PickUpLocation> | ||
<ojp:SetDownLocation> | ||
<ojp:CallPlace> | ||
<siri:StopPointRef>de:05766:3437</siri:StopPointRef> | ||
<ojp:Name> | ||
<ojp:Text>Elfenborner Weg/Stemmen (Kalletal)</ojp:Text> | ||
</ojp:Name> | ||
</ojp:CallPlace> | ||
<ojp:ServiceArrival> | ||
<ojp:TimetabledTime>2022-12-14T11:02:00+01:00</ojp:TimetabledTime> | ||
</ojp:ServiceArrival> | ||
</ojp:SetDownLocation> | ||
</ojp:PublicTransport> | ||
</ojp:AvailabilityResult> | ||
</ojp:OJPAvailabilityDelivery> | ||
<siri:OJP xmlns:ojp="http://www.vdv.de/ojp" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:siri="http://www.siri.org.uk/siri" version="1.1-dev" xsi:schemaLocation="http://www.siri.org.uk/siri ../../../OJP.xsd"> | ||
<siri:OJPResponse> | ||
<siri:ServiceDelivery> | ||
<siri:ResponseTimestamp>2020-11-30T10:07:19Z</siri:ResponseTimestamp> | ||
<siri:ProducerRef>OJPCH_Prod</siri:ProducerRef> | ||
<siri:Status>true</siri:Status> | ||
<ojp:OJPAvailabilityDelivery> | ||
<siri:ResponseTimestamp>2001-12-17T09:30:47Z</siri:ResponseTimestamp> | ||
<ojp:AvailabilityResult> | ||
<ojp:PublicTransport> | ||
<ojp:PickUpLocation> | ||
<ojp:CallPlace> | ||
<siri:StopPointRef>de:05766:2317</siri:StopPointRef> | ||
<ojp:Name> | ||
<ojp:Text>Winterberg/Kalldorf</ojp:Text> | ||
</ojp:Name> | ||
</ojp:CallPlace> | ||
</ojp:PickUpLocation> | ||
<ojp:SetDownLocation> | ||
<ojp:CallPlace> | ||
<siri:StopPointRef>de:05766:3437</siri:StopPointRef> | ||
<ojp:Name> | ||
<ojp:Text>Elfenborner Weg/Stemmen (Kalletal)</ojp:Text> | ||
</ojp:Name> | ||
</ojp:CallPlace> | ||
<ojp:ServiceArrival> | ||
<ojp:TimetabledTime>2022-12-14T11:02:00+01:00</ojp:TimetabledTime> | ||
</ojp:ServiceArrival> | ||
</ojp:SetDownLocation> | ||
</ojp:PublicTransport> | ||
</ojp:AvailabilityResult> | ||
</ojp:OJPAvailabilityDelivery> | ||
</siri:ServiceDelivery> | ||
</siri:OJPResponse> | ||
</siri:OJP> |
Oops, something went wrong.