ts_103120_Delivery.xsd 3 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns:etsi="http://uri.etsi.org/03280/common/2017/07"
           xmlns:common="http://uri.etsi.org/03120/common/2016/02/Common"
           xmlns:core="http://uri.etsi.org/03120/common/2019/10/Core"
           xmlns="http://uri.etsi.org/03120/common/2019/10/Delivery"
           targetNamespace="http://uri.etsi.org/03120/common/2019/10/Delivery"
           elementFormDefault="qualified"
           attributeFormDefault="unqualified">

11
12
13
	<xs:import namespace="http://uri.etsi.org/03120/common/2016/02/Common" />
	<xs:import namespace="http://uri.etsi.org/03120/common/2019/10/Core" />
	<xs:import namespace="http://uri.etsi.org/03280/common/2017/07" />
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

	<xs:complexType name="DeliveryObject">
		<xs:complexContent>
			<xs:extension base="core:HI1Object">
				<xs:sequence>
					<xs:element name="Reference" type="Reference" minOccurs="0"/>
					<xs:element name="DeliveryID" type="etsi:UUID" minOccurs="0"/>
					<xs:element name="SequenceNumber" type="xs:nonNegativeInteger" minOccurs="0"/>
					<xs:element name="LastSequence" type="xs:boolean" minOccurs="0"/>
					<xs:element name="Manifest" type="Manifest" minOccurs="0"/>
					<xs:element name="Delivery" type="Delivery" minOccurs="0"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>

30
  <xs:complexType name="Reference">
31
32
		<xs:choice>
			<xs:element name="LDID" type="etsi:LDID"/>
33
			<xs:element name="LIID" type="etsi:LIID"/>
34
35
36
37
		</xs:choice>
	</xs:complexType>

	<xs:complexType name="Manifest">
38
39
40
41
42
43
44
		<xs:choice>
			<xs:element name="Specification" type="common:DictionaryEntry"/>
			<xs:element name="ExternalSchema" type="ExternalSchema"/>
		</xs:choice>
	</xs:complexType>	

	<xs:complexType name="ExternalSchema">
45
46
		<xs:sequence>
			<xs:element name="ManifestID" type="etsi:LongString" minOccurs="0"/>
47
			<xs:element name="ManifestContents" type="ManifestContents" minOccurs="0"/>
48
49
50
		</xs:sequence>
	</xs:complexType>

51
52
53
54
55
56
57
58
59
60
61
62
63
	<xs:complexType name="ManifestContents">
		<xs:choice>
			<xs:element name="BinaryData" type="EmbeddedBinaryData"/>
			<xs:element name="XMLSchema" type="SchemaContent"/>
		</xs:choice>
	</xs:complexType>

	<xs:complexType name="SchemaContent">
		<xs:sequence>
			<xs:element name="schema" xmlns="http://www.w3.org/2001/XMLSchema"></xs:element>
		</xs:sequence>
	</xs:complexType>	

64
	<xs:complexType name="Delivery">
65
66
67
68
69
70
71
		<xs:choice>
			<xs:element name="BinaryData" type="EmbeddedBinaryData"/>
			<xs:element name="XMLData" type="EmbeddedXMLData"/>
		</xs:choice>
	</xs:complexType>

	<xs:complexType name="EmbeddedBinaryData">
72
		<xs:sequence>
73
			<xs:element name="Data" type="xs:base64Binary" />
74
			<xs:element name="ContentType" type="etsi:ShortString" minOccurs="0"/>
75
			<xs:element name="Checksum" type="etsi:ShortString" minOccurs="0"/>
76
77
		</xs:sequence>
	</xs:complexType>
78
79
80
81
82
83

	<xs:complexType name="EmbeddedXMLData">
		<xs:sequence>
		<xs:any namespace="##other" minOccurs="1" maxOccurs="unbounded"></xs:any>
		</xs:sequence>
	</xs:complexType>	
84
</xs:schema>