diff options
author | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-04-03 14:37:05 +0200 |
---|---|---|
committer | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-04-03 14:37:05 +0200 |
commit | ffe7125b75cb188abf06dba2a3a9cd338f1be84d (patch) | |
tree | 7a4ed4bb15224f005d593ecfdc8d265987d3a820 /src/main | |
parent | 09a88f5cd921ea5f3b4f539c1cce2458ad6c827a (diff) | |
download | moa-zs-ffe7125b75cb188abf06dba2a3a9cd338f1be84d.tar.gz moa-zs-ffe7125b75cb188abf06dba2a3a9cd338f1be84d.tar.bz2 moa-zs-ffe7125b75cb188abf06dba2a3a9cd338f1be84d.zip |
Add msg:Authority and aux types to mzs_mypersondata scheme
- Aux types: msg:FullName, msg:Target, msg:Organization
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/resources/mzs/mzs_mypersondata_en.xsd | 42 |
1 files changed, 32 insertions, 10 deletions
diff --git a/src/main/resources/mzs/mzs_mypersondata_en.xsd b/src/main/resources/mzs/mzs_mypersondata_en.xsd index 9a3ca70..634f071 100644 --- a/src/main/resources/mzs/mzs_mypersondata_en.xsd +++ b/src/main/resources/mzs/mzs_mypersondata_en.xsd @@ -20,16 +20,9 @@ <!-- ### base type for person data ### --> <xs:element name="Person" type="AbstractPersonType"/> <!-- ### physical person and corporate body ### --> - <xs:element name="PhysicalPerson" type="PhysicalPersonType" substitutionGroup="Person"> - <xs:annotation> - <xs:documentation>element of physical person type, dreived from Person (abstract)</xs:documentation> - </xs:annotation> - </xs:element> - <xs:element name="CorporateBody" type="CorporateBodyType" substitutionGroup="Person"> - <xs:annotation> - <xs:documentation>element of corporate body type, derived from Person</xs:documentation> - </xs:annotation> - </xs:element> + <xs:element name="PhysicalPerson" type="PhysicalPersonType" substitutionGroup="Person" /> + <xs:element name="CorporateBody" type="CorporateBodyType" substitutionGroup="Person" /> + <xs:element name="Authority" type="AuthorityType" substitutionGroup="Person" /> <xs:element name="Name" type="PersonNameType"> <xs:annotation> <xs:documentation>data related to the person's name</xs:documentation> @@ -149,6 +142,35 @@ </xs:element> </xs:sequence> </xs:complexType> + <xs:complexType name="AuthorityType"> + <xs:annotation> + <xs:documentation>public authority</xs:documentation> + </xs:annotation> + <xs:complexContent> + <xs:extension base="AbstractPersonType"> + <xs:sequence> + <xs:element ref="FullName"/> + <xs:element ref="Organization" minOccurs="0"/> + <xs:element ref="Target" minOccurs="0"/> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:element name="FullName" type="xs:token"> + <xs:annotation> + <xs:documentation>name of corporate body (whole name), compare VollerName</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Target" type="xs:anyURI"> + <xs:annotation> + <xs:documentation>Beinhaltet die Bereichskennung und das VKZ der Zielorganisation für die das vbPK-ZU umzuschlüsseln ist. Das Target ist in der Form "urn:publicid:gv.at:ecdid+«VKZ»+«Bereich»" zu liefern. (vgl. SZR 3.0 Anwendungsdokumentation)</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Organization" type="xs:token"> + <xs:annotation> + <xs:documentation>part of an organisation, see also X.500 ou (eg departement, section, branch, ...) , compare Organisation</xs:documentation> + </xs:annotation> + </xs:element> <xs:complexType name="CorporateBodyType"> <xs:annotation> <xs:documentation>juridical person, organisation</xs:documentation> |