summaryrefslogtreecommitdiff
path: root/src/main/resources/wsdl/mandate/Mandate_1.0.0.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/wsdl/mandate/Mandate_1.0.0.xsd')
-rw-r--r--src/main/resources/wsdl/mandate/Mandate_1.0.0.xsd267
1 files changed, 267 insertions, 0 deletions
diff --git a/src/main/resources/wsdl/mandate/Mandate_1.0.0.xsd b/src/main/resources/wsdl/mandate/Mandate_1.0.0.xsd
new file mode 100644
index 0000000..48dd47e
--- /dev/null
+++ b/src/main/resources/wsdl/mandate/Mandate_1.0.0.xsd
@@ -0,0 +1,267 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--Schema fuer elektronische Vollmachten - V 1.0.0
+ (c) Chief Information Office Austria, Stabsstelle IKT-Strategie des Bundes
+ Kontakt: Arno Hollosi (arno.hollosi@cio.gv.at), Thomas Roessler (thomas.roessler@a-sit.at)
+ Die freie Verwendung dieses Schemas in Applikationen (behoerdenintern, kommerziell, privat) ist erlaubt und erwuenscht.
+-->
+<xs:schema xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:md="http://reference.e-government.gv.at/namespace/mandates/20040701#" xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#" targetNamespace="http://reference.e-government.gv.at/namespace/mandates/20040701#" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.0.4">
+ <!--#### includes of several other schemes ####-->
+ <xs:import namespace="http://reference.e-government.gv.at/namespace/persondata/20020228#" schemaLocation="PersonData.xsd"/>
+ <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="W3C-XMLDSig.xsd"/>
+ <!--#### Main Elements ####-->
+ <xs:element name="Mandate">
+ <xs:annotation>
+ <xs:documentation>electronic mandate</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="md:Annotation" minOccurs="0"/>
+ <xs:element ref="md:StatusInformationService" minOccurs="0"/>
+ <xs:element ref="md:Representative"/>
+ <xs:element ref="md:Mandator"/>
+ <xs:element ref="md:Intermediary" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="md:Issued"/>
+ <xs:element ref="md:Properties" minOccurs="0"/>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="md:SimpleMandateContent"/>
+ </xs:choice>
+ <xs:element ref="dsig:Signature"/>
+ </xs:sequence>
+ <xs:attribute name="MandateID" type="xs:token" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <!--#### Global Element Definitions ####-->
+ <xs:element name="StatusInformationService" type="xs:anyURI">
+ <xs:annotation>
+ <xs:documentation>location to retrieve current status information</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="Annotation">
+ <xs:annotation>
+ <xs:documentation>arbitrary annotation containing a short description of the mandate</xs:documentation>
+ </xs:annotation>
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:whiteSpace value="collapse"/>
+ <xs:maxLength value="255"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="Representative">
+ <xs:annotation>
+ <xs:documentation>personal data defining the representative</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:choice>
+ <xs:element ref="pr:PhysicalPerson"/>
+ <xs:element ref="pr:CorporateBody"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Mandator">
+ <xs:annotation>
+ <xs:documentation>personal data defining the mandator</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:choice>
+ <xs:element ref="pr:PhysicalPerson"/>
+ <xs:element ref="pr:CorporateBody"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Intermediary" type="pr:PhysicalPersonType">
+ <xs:annotation>
+ <xs:documentation>personal data defining the intermediary</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="Issued">
+ <xs:annotation>
+ <xs:documentation>the place and the date of issuing the mandate</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Place" type="xs:token"/>
+ <xs:element name="Date" type="md:DateType"/>
+ <xs:element name="Time" type="xs:time" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Properties" type="md:PropertiesType">
+ <xs:annotation>
+ <xs:documentation>element contains arbitrary properties of a mandate</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="SimpleMandateContent" type="md:SimpleMandateContentType">
+ <xs:annotation>
+ <xs:documentation>element contains the content of a mandate</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="AnyConstraints" type="md:TextualDescriptionType">
+ <xs:annotation>
+ <xs:documentation>element contains arbitrary restrictions</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="ValidFrom" type="md:DateType">
+ <xs:annotation>
+ <xs:documentation>element describes beginning of the validity period</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="ValidTo" type="md:DateType">
+ <xs:annotation>
+ <xs:documentation>element describes endpoint of the validity period</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="ParameterisedDescription" type="md:ParameterisedDescriptionType">
+ <xs:annotation>
+ <xs:documentation>element contains a parameterised description of a mandate's content</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="ParameterisedText" type="md:ParameterisedTextType">
+ <xs:annotation>
+ <xs:documentation>element contains parameterised text and the definition of the parameters</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="TextualDescription" type="md:TextualDescriptionType">
+ <xs:annotation>
+ <xs:documentation>element contians parameterised text</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="ParameterDefinition">
+ <xs:annotation>
+ <xs:documentation>element contains the definition of parameters used</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="md:SetParameter"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="PasteParameter">
+ <xs:annotation>
+ <xs:documentation>element represent a parameter to be replaced in the parameterised text</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attribute name="Name" type="xs:token"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="SetParameter">
+ <xs:annotation>
+ <xs:documentation>element defines a parameter</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:token">
+ <xs:attribute name="Name" type="xs:token"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ <!--#### Datatypes, Groups,... ####-->
+ <xs:simpleType name="DateType">
+ <xs:annotation>
+ <xs:documentation>simple type for dates (union), which may omit day and/or month</xs:documentation>
+ </xs:annotation>
+ <xs:union memberTypes="xs:date xs:gYearMonth xs:gYear"/>
+ </xs:simpleType>
+ <xs:simpleType name="TextualDescriptionType">
+ <xs:annotation>
+ <xs:documentation>simple type for textual descriptions of mandates, constraints,..</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:token">
+ <xs:whiteSpace value="collapse"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:complexType name="PropertiesType">
+ <xs:annotation>
+ <xs:documentation>complex type for describing arbitrary properties of mandates</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="SubstitutionAllowed" type="xs:boolean" default="false" minOccurs="0"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>any additional properties</xs:documentation>
+ </xs:annotation>
+ </xs:any>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="SimpleMandateContentType">
+ <xs:annotation>
+ <xs:documentation>complex type for describing the mandate using some textual descriptions</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="md:TextualDescription"/>
+ <xs:element ref="md:ParameterisedDescription"/>
+ </xs:choice>
+ <xs:element name="References" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence maxOccurs="unbounded">
+ <xs:element name="MandateID">
+ <xs:annotation>
+ <xs:documentation>the ID of the Mandate which is referenced by the TextualDescription-Element</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:token"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:group ref="md:ConstraintsGroup"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:group name="ConstraintsGroup">
+ <xs:annotation>
+ <xs:documentation>group of constraints applicable for a mandate content</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="TimeConstraint" minOccurs="0">
+ <xs:complexType>
+ <xs:choice>
+ <xs:sequence>
+ <xs:element ref="md:ValidFrom" minOccurs="0"/>
+ <xs:element ref="md:ValidTo" minOccurs="0"/>
+ </xs:sequence>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="CollectiveConstraint" minOccurs="0">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="pr:PhysicalPerson"/>
+ <xs:element ref="pr:CorporateBody"/>
+ <xs:element ref="md:AnyConstraints"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="TransactionLimit" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Amount" type="xs:float"/>
+ <xs:element name="Currency" type="xs:token" default="EUR"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element ref="md:AnyConstraints" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:complexType name="ParameterisedTextType" mixed="true">
+ <xs:annotation>
+ <xs:documentation>complex type for describing a parameterised text</xs:documentation>
+ </xs:annotation>
+ <xs:sequence minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="md:PasteParameter"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="ParameterisedDescriptionType">
+ <xs:annotation>
+ <xs:documentation>complex type for a parameterised description</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element ref="md:ParameterisedText"/>
+ <xs:element ref="md:ParameterDefinition"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>