-
Notifications
You must be signed in to change notification settings - Fork 0
/
OJP.xsd
52 lines (52 loc) · 2.43 KB
/
OJP.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2016 rel. 2 sp1 (x64) (http://www.altova.com) by Christophe Duquesne (Aurige) -->
<xs:schema xmlns:ojp="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns="http://www.siri.org.uk/siri" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.siri.org.uk/siri" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0" id="OJP_siri">
<!-- ===Dependencies ======================================= -->
<xs:import namespace="http://www.vdv.de/ojp" schemaLocation="OJP_Requests.xsd"/>
<!-- ======================================================================= -->
<xs:include schemaLocation="siri/siri_all_framework-v2.0.xsd"/>
<!--== SIRI Request include OJP Requests ===================================================================== -->
<xs:element name="OJP">
<xs:annotation>
<xs:documentation>Root element for OJP messages based on SIRI message exchange protocol.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:choice>
<xs:element ref="OJPRequest"/>
<xs:element ref="OJPResponse"/>
</xs:choice>
<xs:element ref="Extensions" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="version" type="xs:NMTOKEN" use="required" fixed="1.0"/>
</xs:complexType>
</xs:element>
<!-- ======================================================================= -->
<xs:element name="OJPRequest" type="OJPRequestStructure">
<xs:annotation>
<xs:documentation>OJP Request - Groups individual functional requests.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="OJPRequestStructure">
<xs:annotation>
<xs:documentation>Type for OJP Request - Groups individual functional requests.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="RequestGroup"/>
</xs:sequence>
</xs:complexType>
<!-- ======================================================================= -->
<xs:element name="OJPResponse" type="OJPResponseStructure">
<xs:annotation>
<xs:documentation>OJP Request - Groups individual functional responses.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="OJPResponseStructure">
<xs:annotation>
<xs:documentation>Type for OJP Response - Groups individual functional responses.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="ResponseGroup"/>
</xs:sequence>
</xs:complexType>
</xs:schema>