enum-tokendata-1.0.xml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <schema targetNamespace="urn:ietf:params:xml:ns:enum-tokendata-1.0"
  3. xmlns:enum-tokendata="urn:ietf:params:xml:ns:enum-tokendata-1.0"
  4. xmlns="http://www.w3.org/2001/XMLSchema"
  5. elementFormDefault="qualified">
  6. <element name="tokendata" type="enum-tokendata:tokenDataType"/>
  7. <simpleType name="E115String">
  8. <restriction base="string">
  9. <pattern value="[&#x20;-&#x7A;&#xA0;-&#xD7FF;&#xE000;-&#xFFFD;]*"/>
  10. </restriction>
  11. </simpleType>
  12. <simpleType name="E115StringUb256">
  13. <restriction base="enum-tokendata:E115String">
  14. <minLength value="1"/>
  15. <maxLength value="256"/>
  16. </restriction>
  17. </simpleType>
  18. <simpleType name="countryCodeType">
  19. <restriction base="token">
  20. <minLength value="2"/>
  21. <maxLength value="2"/>
  22. </restriction>
  23. </simpleType>
  24. <simpleType name="TokenType">
  25. <restriction base="token">
  26. <minLength value="1"/>
  27. <maxLength value="64"/>
  28. </restriction>
  29. </simpleType>
  30. <complexType name="addressType">
  31. <all>
  32. <element name="streetName" minOccurs="0"
  33. type="enum-tokendata:E115StringUb256" />
  34. <element name="houseNumber" minOccurs="0"
  35. type="enum-tokendata:E115StringUb256"/>
  36. <element name="postalCode" minOccurs="0"
  37. type="enum-tokendata:E115StringUb256"/>
  38. <element name="locality" minOccurs="0"
  39. type="enum-tokendata:E115StringUb256"/>
  40. <element name="countyStateOrProvince" minOccurs="0"
  41. type="enum-tokendata:E115StringUb256"/>
  42. <element name="ISOcountryCode" minOccurs="0"
  43. type="enum-tokendata:countryCodeType"/>
  44. </all>
  45. </complexType>
  46. <group name="tokenContactBaseGroup">
  47. <sequence>
  48. <element name="organisation" minOccurs="0"
  49. type="enum-tokendata:E115StringUb256"/>
  50. <element name="commercialregisternumber" minOccurs="0"
  51. type="enum-tokendata:TokenType"/>
  52. <element name="title" minOccurs="0"
  53. type="enum-tokendata:TokenType"/>
  54. <element name="firstname" minOccurs="0"
  55. type="enum-tokendata:E115StringUb256"/>
  56. <element name="lastname" minOccurs="0"
  57. type="enum-tokendata:E115StringUb256"/>
  58. <element name="address" minOccurs="0"
  59. type="enum-tokendata:addressType"/>
  60. <element name="phone" type="enum-tokendata:TokenType"
  61. minOccurs="0" maxOccurs="10" />
  62. <element name="fax" type="enum-tokendata:TokenType"
  63. minOccurs="0" maxOccurs="10" />
  64. <element name="email" type="enum-tokendata:TokenType"
  65. minOccurs="0" maxOccurs="10" />
  66. </sequence>
  67. </group>
  68. <complexType name="contactType">
  69. <sequence>
  70. <group ref="enum-tokendata:tokenContactBaseGroup"/>
  71. </sequence>
  72. </complexType>
  73. <complexType name="tokenDataType">
  74. <sequence>
  75. <element name="contact" type="enum-tokendata:contactType"/>
  76. </sequence>
  77. </complexType>
  78. </schema>