summaryrefslogtreecommitdiff
path: root/ebics/src/main/resources/xsd/ebics_hev.xsd
blob: 8ee8458713ab3bbd8b2609205a830aefdfee1b97 (plain)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ebics="http://www.ebics.org/H000" targetNamespace="http://www.ebics.org/H000" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
	<xs:annotation>
		<xs:documentation xml:lang="de">ebics_hev.xsd ist das EBICS-Protokollschema entweder für Anfragen oder Rückmeldungen der Bank zu unterstützten EBICS-Versionen.</xs:documentation>
		<xs:documentation xml:lang="en">ebics_hev.xsd is the appropriate EBICS protocol schema either for requests or responses according the EBICS versions supported by a bank.</xs:documentation>
	</xs:annotation>
	<xs:simpleType name="HostIDType">
		<xs:annotation>
			<xs:documentation xml:lang="de">Datentyp für die Host-ID.</xs:documentation>
			<xs:documentation xml:lang="en">Dataype for Host-ID.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:token">
			<xs:maxLength value="35"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="OrderTBaseType">
		<xs:annotation>
			<xs:documentation xml:lang="de">Datentyp für allgemeine Auftragsarten (Grundtyp).</xs:documentation>
			<xs:documentation xml:lang="en">Datatype for general order types (basic type).</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:token">
			<xs:length value="3"/>
			<xs:pattern value="HEV"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ReturnCodeType">
		<xs:annotation>
			<xs:documentation xml:lang="de">Datentyp für Antwortcodes.</xs:documentation>
			<xs:documentation xml:lang="en">Datatype for the return code</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:token">
			<xs:length value="6"/>
			<xs:pattern value="\d{6}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ReportTextType">
		<xs:annotation>
			<xs:documentation xml:lang="de">Datentyp für den Erklärungstext zum Antwortcode.</xs:documentation>
			<xs:documentation xml:lang="en">Datatype for report text with respect to the return code</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:normalizedString">
			<xs:maxLength value="256"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="VersionNumberType">
		<xs:annotation>
			<xs:documentation xml:lang="de">Datentyp für eine Versionsnummer</xs:documentation>
			<xs:documentation xml:lang="en">Datatype for a release number </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:token">
			<xs:length value="5"/>
			<xs:pattern value="[0-9]{2}[.][0-9]{2}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ProtocolVersionType">
		<xs:annotation>
			<xs:documentation xml:lang="de">Datentyp für Versionsnummer des EBICS-schemas</xs:documentation>
			<xs:documentation xml:lang="en">Datatype for release-number of the EBICS scheme</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:token">
			<xs:length value="4"/>
			<xs:pattern value="H\d{3}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="SystemReturnCodeType">
		<xs:annotation>
			<xs:documentation xml:lang="de">Datentyp für technische Fehler.</xs:documentation>
			<xs:documentation xml:lang="en">Datatype for technical error</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ReturnCode" type="ebics:ReturnCodeType">
				<xs:annotation>
					<xs:documentation xml:lang="de">Rückmeldung des Ausführungsstatus mit einer eindeutigen Fehlernummer.</xs:documentation>
					<xs:documentation xml:lang="en">Confirmation of the carried out status with a unique error code.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ReportText" type="ebics:ReportTextType">
				<xs:annotation>
					<xs:documentation xml:lang="de">Klartext der Rückmeldung des Ausführungsstatus.</xs:documentation>
					<xs:documentation xml:lang="en">Clear text of the response (carried out status).</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="HEVRequestDataType">
		<xs:annotation>
			<xs:documentation xml:lang="de">Datentyp für die Request-Daten</xs:documentation>
			<xs:documentation xml:lang="en">Data type for Request data</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="HostID" type="ebics:HostIDType"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="HEVResponseDataType">
		<xs:annotation>
			<xs:documentation xml:lang="en">Datentyp für die Response-Daten</xs:documentation>
			<xs:documentation xml:lang="en">Data type for Request data</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="SystemReturnCode" type="ebics:SystemReturnCodeType"/>
			<xs:element name="VersionNumber" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="de">Von der Bank unterstützte EBICS-Versionen, z.B.  2.4</xs:documentation>
					<xs:documentation xml:lang="en">EBICS-releases supported by the bank, e.g. 2.4</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:simpleContent>
						<xs:extension base="ebics:VersionNumberType">
							<xs:attribute name="ProtocolVersion" type="ebics:ProtocolVersionType" use="required">
								<xs:annotation>
									<xs:documentation xml:lang="de">der EBICS-Version eindeutig zugeordnete Schema-Version, z.B. H003</xs:documentation>
									<xs:documentation xml:lang="en">EBICS-scheme-version, e.g. H003, well-defined for EBICS-release-Version</xs:documentation>
								</xs:annotation>
							</xs:attribute>
						</xs:extension>
					</xs:simpleContent>
				</xs:complexType>
			</xs:element>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="ebicsHEVRequest" type="ebics:HEVRequestDataType">
		<xs:annotation>
			<xs:documentation xml:lang="de">Requestdaten</xs:documentation>
			<xs:documentation xml:lang="en">request data</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ebicsHEVResponse" type="ebics:HEVResponseDataType">
		<xs:annotation>
			<xs:documentation xml:lang="de">Responsedaten</xs:documentation>
			<xs:documentation xml:lang="en">response data</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>