Advertisement
Guest User

XML schema

a guest
May 21st, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.83 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-16"?>
  2. <xs:schema xmlns="http://technikum-wien.at/mwi/sig/internal" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" xmlns:header="http://technikum-wien.at/mwi/sig/global" targetNamespace="http://technikum-wien.at/mwi/sig/internal" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3.     <xs:import schemaLocation="SchemasGlobal.Header" namespace="http://technikum-wien.at/mwi/sig/global" />
  4.     <xs:annotation>
  5.         <xs:appinfo>
  6.             <b:references>
  7.                 <b:reference targetNamespace="http://technikum-wien.at/mwi/sig/global" />
  8.             </b:references>
  9.         </xs:appinfo>
  10.     </xs:annotation>
  11.     <xs:element name="CommerceRegistration">
  12.         <xs:complexType>
  13.             <xs:sequence>
  14.                 <xs:element ref="header:Header" />
  15.                 <xs:element name="Data">
  16.                     <xs:complexType>
  17.                         <xs:sequence>
  18.                             <xs:element name="Applicant">
  19.                                 <xs:complexType>
  20.                                     <xs:sequence>
  21.                                         <xs:element name="PersonalData">
  22.                                             <xs:complexType>
  23.                                                 <xs:sequence>
  24.                                                     <xs:element name="FirstName" type="string256" />
  25.                                                     <xs:element name="LastName" type="string256" />
  26.                                                 </xs:sequence>
  27.                                             </xs:complexType>
  28.                                         </xs:element>
  29.                                         <xs:element name="Address" type="AddressType" />
  30.                                     </xs:sequence>
  31.                                 </xs:complexType>
  32.                             </xs:element>
  33.                             <xs:element name="CommerceRegistration">
  34.                                 <xs:complexType>
  35.                                     <xs:sequence>
  36.                                         <xs:element name="Description" type="string1024" />
  37.                                         <xs:element name="EffectiveDate" type="xs:date" />
  38.                                     </xs:sequence>
  39.                                 </xs:complexType>
  40.                             </xs:element>
  41.                             <xs:element name="Location" type="AddressType" />
  42.                             <xs:element name="Authority">
  43.                                 <xs:complexType>
  44.                                     <xs:sequence>
  45.                                         <xs:element name="Name" type="xs:string" />
  46.                                         <xs:element name="Address" type="AddressType" />
  47.                                     </xs:sequence>
  48.                                 </xs:complexType>
  49.                             </xs:element>
  50.                         </xs:sequence>
  51.                     </xs:complexType>
  52.                 </xs:element>
  53.             </xs:sequence>
  54.         </xs:complexType>
  55.     </xs:element>
  56.     <xs:complexType name="AddressType">
  57.         <xs:sequence>
  58.             <xs:element name="StreetName" type="xs:string" />
  59.             <xs:element name="Number" type="xs:string" />
  60.             <xs:element name="City" type="xs:string" />
  61.             <xs:element name="ZipCode" type="xs:string" />
  62.             <xs:element name="Complete" type="xs:string" />
  63.         </xs:sequence>
  64.     </xs:complexType>
  65.     <xs:simpleType name="string1024">
  66.         <xs:restriction base="xs:string">
  67.             <xs:maxLength value="1024" />
  68.         </xs:restriction>
  69.     </xs:simpleType>
  70.     <xs:simpleType name="string256">
  71.         <xs:restriction base="xs:string">
  72.             <xs:maxLength value="256" />
  73.         </xs:restriction>
  74.     </xs:simpleType>
  75. </xs:schema>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement