COMPANIES.xsd 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3. xmlns:default_db__x3A__COMPANIES="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
  4. xmlns:gml="http://www.opengis.net/gml/3.2"
  5. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  6. xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
  7. xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
  8. xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
  9. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  10. xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
  11. xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
  12. elementFormDefault="qualified"
  13. targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
  14. vc:minVersion="1.1">
  15. <xs:import namespace="http://www.opengis.net/gml/3.2"
  16. schemaLocation="../Types/gml.xsd"/>
  17. <xs:complexType name="COMPANIES" id="__COMPANIES___d5e7424-1_COMPANIES">
  18. <xs:annotation>
  19. <xs:documentation>TODO do rozbudowy, obiekt konatku dla firmy lub kowalskiego, trzeba
  20. dobrze zamodelowac </xs:documentation>
  21. <xs:appinfo>
  22. <system_cache__appinfo:heritage>
  23. <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:COMPANIES"
  24. system_cache__appinfo:heritage_acl="true">
  25. <system_cache__appinfo:acl_rule_inherit_to_all_same_name_elements_and_refs/>
  26. <acl_rule_inherit_to_all_refs_by_primary/>
  27. <acl_rule_inherit_to_all_refs_by_local_element system_cache__appinfo:acl_rule_inherit_local_element_name="P_NAME"/>
  28. </system_cache__appinfo:inherit>
  29. <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true"
  30. system_cache__appinfo:heritage_sort="true"/>
  31. </system_cache__appinfo:heritage>
  32. </xs:appinfo>
  33. </xs:annotation>
  34. <xs:sequence id="__COMPANIES___d5e7428-1">
  35. <xs:element name="ID" type="xs:int" id="__COMPANIES___d5e7429-1_ID"/>
  36. <xs:element maxOccurs="1"
  37. minOccurs="0"
  38. name="P_NAME"
  39. id="__COMPANIES___d5e7430-1_P_NAME">
  40. <xs:simpleType id="__COMPANIES___d5e7431-1">
  41. <xs:restriction base="xs:string">
  42. <xs:maxLength value="100"/>
  43. </xs:restriction>
  44. </xs:simpleType>
  45. </xs:element>
  46. <xs:element maxOccurs="1"
  47. minOccurs="0"
  48. name="P_NAME_SECOND"
  49. id="__COMPANIES___d5e7434-1_P_NAME_SEC">
  50. <xs:simpleType id="__COMPANIES___d5e7435-1">
  51. <xs:restriction base="xs:string">
  52. <xs:maxLength value="255"/>
  53. </xs:restriction>
  54. </xs:simpleType>
  55. </xs:element>
  56. <xs:element maxOccurs="1"
  57. minOccurs="0"
  58. name="P_NIP"
  59. id="__COMPANIES___d5e7438-1_P_NIP">
  60. <xs:simpleType id="__COMPANIES___d5e7439-1">
  61. <xs:restriction base="xs:string">
  62. <xs:maxLength value="100"/>
  63. </xs:restriction>
  64. </xs:simpleType>
  65. </xs:element>
  66. <xs:element maxOccurs="1"
  67. minOccurs="0"
  68. name="P_OTHER_DOC"
  69. id="__COMPANIES___d5e7442-1_P_OTHER_DO">
  70. <xs:simpleType id="__COMPANIES___d5e7443-1">
  71. <xs:restriction base="xs:string">
  72. <xs:maxLength value="40"/>
  73. </xs:restriction>
  74. </xs:simpleType>
  75. </xs:element>
  76. <xs:element maxOccurs="1"
  77. minOccurs="0"
  78. name="P_PHONE"
  79. id="__COMPANIES___d5e7446-1_P_PHONE">
  80. <xs:simpleType id="__COMPANIES___d5e7447-1">
  81. <xs:restriction base="xs:string">
  82. <xs:maxLength value="100"/>
  83. </xs:restriction>
  84. </xs:simpleType>
  85. </xs:element>
  86. <xs:element maxOccurs="1"
  87. minOccurs="0"
  88. name="P_PHONE_SMS"
  89. id="__COMPANIES___d5e7450-1_P_PHONE_SM">
  90. <xs:simpleType id="__COMPANIES___d5e7451-1">
  91. <xs:restriction base="xs:string">
  92. <xs:maxLength value="100"/>
  93. </xs:restriction>
  94. </xs:simpleType>
  95. </xs:element>
  96. <xs:element maxOccurs="1"
  97. minOccurs="0"
  98. name="P_FAX"
  99. id="__COMPANIES___d5e7454-1_P_FAX">
  100. <xs:simpleType id="__COMPANIES___d5e7455-1">
  101. <xs:restriction base="xs:string">
  102. <xs:maxLength value="100"/>
  103. </xs:restriction>
  104. </xs:simpleType>
  105. </xs:element>
  106. <xs:element maxOccurs="1"
  107. minOccurs="0"
  108. name="P_CONTACT_PERSON"
  109. id="__COMPANIES___d5e7458-1_P_CONTACT_">
  110. <xs:simpleType id="__COMPANIES___d5e7459-1">
  111. <xs:restriction base="xs:string"/>
  112. </xs:simpleType>
  113. </xs:element>
  114. </xs:sequence>
  115. <xs:attribute name="label" type="xs:string" id="__COMPANIES___d15e3104-1_label"/>
  116. <xs:assert test="@label = concat(P_NAME, ' ', P_NAME_SECOND)"
  117. id="__COMPANIES___d15e3105-1"/>
  118. </xs:complexType>
  119. <xs:element name="COMPANIES"
  120. type="default_db__x3A__COMPANIES:COMPANIES"
  121. id="__COMPANIES___d5e7461-1_COMPANIES">
  122. <xs:key name="COMPANIES">
  123. <xs:selector xpath="."/>
  124. <xs:field xpath="P_NAME"/>
  125. <xs:field xpath="P_NAME_SECOND"/>
  126. </xs:key>
  127. </xs:element>
  128. <xs:element name="ID_BILLING_USERS"
  129. id="__COMPANIES___d5e7466-1_ID_BILLING"
  130. type="default_db__x3A__COMPANIES:COMPANIES">
  131. <xs:key name="ID_BILLING_USERS">
  132. <xs:selector xpath="."/>
  133. <xs:field xpath="P_NAME"/>
  134. <xs:field xpath="P_NAME_SECOND"/>
  135. </xs:key>
  136. </xs:element>
  137. <xs:element name="KONTRAHENT"
  138. type="default_db__x3A__COMPANIES:COMPANIES"
  139. id="__COMPANIES___d5e7475-1_KONTRAHENT">
  140. <xs:key name="KONTRAHENT">
  141. <xs:selector xpath="."/>
  142. <xs:field xpath="P_NAME"/>
  143. <xs:field xpath="P_NAME_SECOND"/>
  144. </xs:key>
  145. </xs:element>
  146. </xs:schema>