summaryrefslogtreecommitdiff
path: root/src/main/resources/wsdl/mis/mis_2.0/mis-2.0.0.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/wsdl/mis/mis_2.0/mis-2.0.0.xsd')
-rw-r--r--src/main/resources/wsdl/mis/mis_2.0/mis-2.0.0.xsd56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/main/resources/wsdl/mis/mis_2.0/mis-2.0.0.xsd b/src/main/resources/wsdl/mis/mis_2.0/mis-2.0.0.xsd
new file mode 100644
index 0000000..9a49f1f
--- /dev/null
+++ b/src/main/resources/wsdl/mis/mis_2.0/mis-2.0.0.xsd
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#" xmlns="http://reference.e-government.gv.at/namespace/mandates/mis/2.0/xsd" targetNamespace="http://reference.e-government.gv.at/namespace/mandates/mis/2.0/xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:import namespace="urn:oasis:names:tc:SAML:2.0:assertion" schemaLocation="https://docs.oasis-open.org/security/saml/v2.0/saml-schema-assertion-2.0.xsd"/>
+ <xs:import namespace="http://reference.e-government.gv.at/namespace/persondata/20020228#" schemaLocation="PersonData_20_en_moaWID.xsd"/>
+ <!-- Request to get mandates-->
+ <xs:element name="GetMandatesRequest" type="GetMandatesRequestType">
+ <xs:annotation>
+ <xs:documentation>Request to MIS</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:complexType name="GetMandatesRequestType">
+ <xs:choice>
+ <xs:element name="PersonInformation" type="PersonInformationType"/>
+ <xs:element name="MandateCollectionToken" type="xs:anyURI"/>
+ </xs:choice>
+ </xs:complexType>
+ <xs:complexType name="PersonInformationType">
+ <xs:annotation>
+ <xs:documentation>Deprecated request to get mandates from a specific person</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element ref="pr:Identification" minOccurs="1" maxOccurs="1"/>
+ <xs:element name="GivenName" type="xs:string" minOccurs="1" maxOccurs="1"/>
+ <xs:element name="FamilyName" type="xs:string" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="pr:DateOfBirth" minOccurs="1" maxOccurs="1"/>
+ </xs:sequence>
+ </xs:complexType>
+ <!-- Response with a set of mandates -->
+ <xs:element name="GetMandatesResponse" type="GetMandatesResponseType">
+ <xs:annotation>
+ <xs:documentation>Response from MIS</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:complexType name="GetMandatesResponseType">
+ <xs:sequence>
+ <xs:element name="MisMandate" type="MisMandateType" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="MisMandateType">
+ <xs:sequence>
+ <xs:element ref="saml2:Attribute" minOccurs="1" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <!-- Response in case of an error -->
+ <xs:element name="GetMandatesError" type="GetMandatesErrorType">
+ <xs:annotation>
+ <xs:documentation>Response in case of an error</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:complexType name="GetMandatesErrorType">
+ <xs:sequence>
+ <xs:element name="Code" type="xs:positiveInteger"/>
+ <xs:element name="Text" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>