ts_103120v010501p0_Document.xsd 3.21 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/2016/02/Document"
           targetNamespace="http://uri.etsi.org/03120/common/2016/02/Document"
           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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

	<xs:complexType name="DocumentObject">
		<xs:complexContent>
			<xs:extension base="core:HI1Object">
				<xs:sequence>
					<xs:element name="DocumentReference" type="etsi:LongString" minOccurs="0"></xs:element>
					<xs:element name="DocumentName" type="etsi:LongString" minOccurs="0"></xs:element>
					<xs:element name="DocumentStatus" type="common:DictionaryEntry" minOccurs="0"></xs:element>
					<xs:element name="DocumentDesiredStatus" type="common:DictionaryEntry" minOccurs="0"></xs:element>
					<xs:element name="DocumentTimespan" type="DocumentTimespan" minOccurs="0"></xs:element>
					<xs:element name="DocumentType" type="common:DictionaryEntry" minOccurs="0"></xs:element>
					<xs:element name="DocumentProperties" type="DocumentProperties" minOccurs="0"></xs:element>
					<xs:element name="DocumentBody" type="DocumentBody" minOccurs="0"></xs:element>
					<xs:element name="DocumentSignature" type="common:ApprovalDetails" minOccurs="0"></xs:element>
					<xs:element name="DocumentInvalidReason" type="core:ActionUnsuccesfulInformation" minOccurs="0"/>
					<xs:element name="NationalDocumentParameters" type="NationalDocumentParameters" minOccurs="0"></xs:element>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="DocumentTimespan">
		<xs:sequence>
			<xs:element name="StartTime" type="etsi:QualifiedDateTime" minOccurs="0"></xs:element>
			<xs:element name="EndTime" type="etsi:QualifiedDateTime" minOccurs="0"></xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DocumentProperties">
		<xs:sequence>
			<xs:element name="DocumentProperty" type="DocumentProperty" minOccurs="0" maxOccurs="unbounded"></xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DocumentProperty">
		<xs:sequence>
			<xs:element name="PropertyType" type="common:DictionaryEntry"></xs:element>
			<xs:element name="PropertyValue" type="etsi:LongString"></xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DocumentBody">
		<xs:sequence>
			<xs:element name="Contents" type="xs:base64Binary" minOccurs="0"></xs:element>
			<xs:element name="ContentType" type="etsi:ShortString" minOccurs="0"></xs:element>
			<xs:element name="Checksum" type="etsi:ShortString" minOccurs="0"></xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="NationalDocumentParameters" abstract="true">
		<xs:sequence>
			<xs:element name="CountryCode" type="etsi:ISOCountryCode"/>
		</xs:sequence>
	</xs:complexType>
</xs:schema>