-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Stefan de Konink <[email protected]> Co-authored-by: Stephan Großberndt <[email protected]>
- Loading branch information
1 parent
a77556f
commit 18a10a2
Showing
9 changed files
with
188 additions
and
18 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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xs:schema xmlns="http://www.vdv.de/ojp" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:siri="http://www.siri.org.uk/siri" targetNamespace="http://www.vdv.de/ojp" elementFormDefault="qualified" attributeFormDefault="unqualified" id="OJP_siri_service"> | ||
<xs:annotation> | ||
<xs:documentation>OJP/OJP_Status.xsd - OJP Status request and response</xs:documentation> | ||
</xs:annotation> | ||
<xs:import namespace="http://www.siri.org.uk/siri" schemaLocation="../siri/siri_model/siri_all-v2.0.xsd"/> | ||
<xs:include schemaLocation="OJP_All.xsd"/> | ||
<xs:import namespace="http://www.siri.org.uk/siri" schemaLocation="../siri/siri_model/siri_modes-v1.1.xsd"/> | ||
<xs:annotation> | ||
<xs:documentation>=============================== Status Service ==========================================</xs:documentation> | ||
</xs:annotation> | ||
<xs:simpleType name="StatusProblemTypeEnumeration"> | ||
<xs:annotation> | ||
<xs:documentation>Types of problems that may be returned in responses to status requests.</xs:documentation> | ||
</xs:annotation> | ||
<xs:restriction base="xs:string"> | ||
<xs:enumeration value="STATUS_INSTANCE_USAGE_DEPRECATED"> | ||
<xs:annotation> | ||
<xs:documentation>Usage of this instance is deprecated. Contact the provider for more information.</xs:documentation> | ||
</xs:annotation> | ||
</xs:enumeration> | ||
<xs:enumeration value="STATUS_OTHER"> | ||
<xs:annotation> | ||
<xs:documentation>A problem has occurred that does not have a specific problem type.</xs:documentation> | ||
</xs:annotation> | ||
</xs:enumeration> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
<xs:element name="StatusProblemType" type="StatusProblemTypeEnumeration" substitutionGroup="ErrorType"/> | ||
<xs:element name="OJPStatusResponse" type="OJPStatusResponseStructure" substitutionGroup="siri:AbstractFunctionalServiceCapabilitiesResponse"/> | ||
<xs:complexType name="OJPStatusResponseStructure"> | ||
<xs:complexContent> | ||
<xs:extension base="siri:AbstractServiceCapabilitiesResponseStructure"> | ||
<xs:sequence> | ||
<xs:group ref="ServiceResponseContextGroup"/> | ||
<xs:group ref="OJPStatusResponseGroup"/> | ||
<xs:element ref="siri:Extensions" minOccurs="0"/> | ||
</xs:sequence> | ||
</xs:extension> | ||
</xs:complexContent> | ||
</xs:complexType> | ||
<xs:annotation> | ||
<xs:documentation>=============================== Status Response Group ==========================================</xs:documentation> | ||
</xs:annotation> | ||
<xs:group name="OJPStatusResponseGroup"> | ||
<xs:annotation> | ||
<xs:documentation>Status response group.</xs:documentation> | ||
</xs:annotation> | ||
<xs:sequence> | ||
<xs:element name="ServiceStarted" type="xs:dateTime" minOccurs="0"> | ||
<xs:annotation> | ||
<xs:documentation>Time when the service was started.</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="ServiceReady" type="xs:dateTime" minOccurs="0"> | ||
<xs:annotation> | ||
<xs:documentation>Time when the service started responding to queries.</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="LastTimetableUpdate" type="xs:dateTime" minOccurs="0"> | ||
<xs:annotation> | ||
<xs:documentation>Time when the timetable was last updated.</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="ServerBuildVersion" type="xs:normalizedString" minOccurs="0"> | ||
<xs:annotation> | ||
<xs:documentation>Information about the server build.</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:sequence> | ||
</xs:group> | ||
</xs:schema> |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<OJP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.siri.org.uk/siri" xmlns:ojp="http://www.vdv.de/ojp" version="1.1-dev" xsi:schemaLocation="http://www.siri.org.uk/siri ../../../OJP.xsd"> | ||
<OJPRequest> | ||
<ServiceRequest> | ||
<RequestTimestamp>2020-01-19T12:00:00Z</RequestTimestamp> | ||
<RequestorRef>IRMA</RequestorRef> | ||
<ojp:OJPStatusRequest> | ||
<RequestTimestamp>2020-01-19T12:00:00Z</RequestTimestamp> | ||
<MessageIdentifier>4711</MessageIdentifier> | ||
</ojp:OJPStatusRequest> | ||
</ServiceRequest> | ||
</OJPRequest> | ||
</OJP> |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<siri:OJP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:siri="http://www.siri.org.uk/siri" xmlns:ojp="http://www.vdv.de/ojp" version="1.1-dev" xsi:schemaLocation="http://www.siri.org.uk/siri ../../../OJP.xsd"> | ||
<siri:OJPResponse> | ||
<siri:ServiceDelivery> | ||
<siri:ResponseTimestamp>2020-10-01T17:54:38Z</siri:ResponseTimestamp> | ||
<siri:ProducerRef>OJPCH_Prod</siri:ProducerRef> | ||
<siri:Status>true</siri:Status> | ||
<ojp:OJPStatusDelivery> | ||
<siri:ResponseTimestamp>2020-10-01T17:54:38Z</siri:ResponseTimestamp> | ||
<siri:RequestMessageRef>4711</siri:RequestMessageRef> | ||
<siri:Status>true</siri:Status> | ||
<ojp:CalcTime>20</ojp:CalcTime> | ||
<ojp:ServiceStarted>2022-06-27T11:08:45Z</ojp:ServiceStarted> | ||
<ojp:ServiceReady>2022-06-27T11:08:49Z</ojp:ServiceReady> | ||
<ojp:LastTimetableUpdate>2022-08-23T11:08:45Z</ojp:LastTimetableUpdate> | ||
<ojp:ServerBuildVersion>12.2.1.2 (2022-05-03)</ojp:ServerBuildVersion> | ||
</ojp:OJPStatusDelivery> | ||
</siri:ServiceDelivery> | ||
</siri:OJPResponse> | ||
</siri:OJP> |