HIST_CONTACTS.xsd 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3. xmlns:gml="http://www.opengis.net/gml/3.2"
  4. xmlns:Types__x3A__default_Default="https://biuro.biall-net.pl/wfs/default_db/Types/Default.xsd"
  5. xmlns:default_db__x3A__IN7_DZIENNIK_KORESP="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
  6. xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
  7. xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
  8. xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
  9. xmlns:SystemObjects__x3A__AccessGroup="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
  10. xmlns:SystemObjects__x3A__AccessOwner="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessOwner.xsd"
  11. xmlns:default_db__x3A__HIST_CONTACTS="https://biuro.biall-net.pl/wfs/default_db/table/HIST_CONTACTS.xsd"
  12. xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
  13. xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
  14. xmlns:default_db__x3A__COMPANIES="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
  15. xmlns:default_db__x3A__SERVICES="https://biuro.biall-net.pl/wfs/default_db/table/SERVICES.xsd"
  16. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  17. xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
  18. xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
  19. 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"
  20. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  21. xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
  22. xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
  23. xmlns:ant-object="http://biuro.biall-net.pl/xmlschema_procesy5/ant-object/ant-object.xsd"
  24. xmlns:p5ant-interface="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd"
  25. targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/HIST_CONTACTS.xsd"
  26. vc:minVersion="1.1">
  27. <xs:import namespace="http://biuro.biall-net.pl/p5/schema/types"
  28. schemaLocation="../../../types.xsd"/>
  29. <xs:import namespace="http://www.opengis.net/gml/3.2"
  30. schemaLocation="http://www.opengis.net/gml/3.2"/>
  31. <!---->
  32. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
  33. schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
  34. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
  35. schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
  36. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
  37. schemaLocation="../../default_db.COMPANIES/COMPANIES/COMPANIES.xsd"/>
  38. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/SERVICES.xsd"
  39. schemaLocation="../../default_db.SERVICES/SERVICES/SERVICES.xsd"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  40. <xs:annotation>
  41. <xs:documentation>Services potrzebne do raportu sprzedazy</xs:documentation>
  42. </xs:annotation>
  43. </xs:import>
  44. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
  45. schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
  46. <xs:complexType name="HIST_CONTACTS" id="ST_CONTACTS___d5e79638-1_HIST_CONTA"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  47. <xs:annotation>
  48. <xs:appinfo>
  49. <system_cache__appinfo:heritage>
  50. <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:HIST_CONTACTS"
  51. system_cache__appinfo:heritage_acl="true">
  52. <system_cache__appinfo:acl_rule_inherit_to_all_same_name_elements_and_refs/>
  53. <acl_rule_inherit_to_all_refs_by_primary/>
  54. <acl_rule_inherit_to_all_refs_by_local_element system_cache__appinfo:acl_rule_inherit_local_element_name="A_STATUS"/>
  55. </system_cache__appinfo:inherit>
  56. <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true"
  57. system_cache__appinfo:heritage_sort="true"/>
  58. </system_cache__appinfo:heritage>
  59. </xs:appinfo>
  60. <xs:documentation>Tabela do komunikacji mailowej z klientami</xs:documentation>
  61. </xs:annotation>
  62. <xs:sequence id="ST_CONTACTS___d5e79639-1">
  63. <xs:element minOccurs="0"
  64. name="ID"
  65. type="xs:integer"
  66. id="ST_CONTACTS___d5e79655-1_ID"/>
  67. <xs:element minOccurs="0"
  68. name="ID_BILLING_USERS"
  69. type="xs:integer"
  70. id="ST_CONTACTS___d5e79656-1_ID_BILLING"/>
  71. <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"
  72. minOccurs="0"
  73. id="ST_CONTACTS___d18e44362-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  74. <xs:annotation>
  75. <xs:appinfo>
  76. <system_cache__appinfo:flat_relation_cache>
  77. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  78. system_cache__appinfo:name="ID_BILLING_USERS"
  79. system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
  80. </system_cache__appinfo:flat_relation_cache>
  81. </xs:appinfo>
  82. <xs:documentation>
  83. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #3992 !!!
  84. </xs:documentation>
  85. </xs:annotation>
  86. </xs:element>
  87. <xs:element minOccurs="0"
  88. name="ID_BILLING_NUMBERS"
  89. type="xs:integer"
  90. id="ST_CONTACTS___d5e79657-1_ID_BILLING"/>
  91. <xs:element minOccurs="0"
  92. name="ID_SERVICES"
  93. type="xs:integer"
  94. id="ST_CONTACTS___d5e79658-1_ID_SERVICE"/>
  95. <xs:element ref="default_db__x3A__SERVICES:SERVICES"
  96. minOccurs="0"
  97. id="ST_CONTACTS___d18e44371-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  98. <xs:annotation>
  99. <xs:appinfo>
  100. <system_cache__appinfo:flat_relation_cache>
  101. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  102. system_cache__appinfo:name="ID_SERVICES"
  103. system_cache__appinfo:xpath="default_db__x3A__SERVICES:SERVICES/ID"/>
  104. </system_cache__appinfo:flat_relation_cache>
  105. </xs:appinfo>
  106. <xs:documentation>
  107. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #183
  108. </xs:documentation>
  109. </xs:annotation>
  110. </xs:element>
  111. <xs:element minOccurs="0"
  112. name="PARENT_ID"
  113. type="xs:integer"
  114. id="ST_CONTACTS___d5e79659-1_PARENT_ID"/>
  115. <xs:element minOccurs="0"
  116. ref="default_db__x3A__HIST_CONTACTS:HIST_CONTACTS"
  117. id="ST_CONTACTS___d18e44379-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  118. <xs:annotation>
  119. <xs:appinfo>
  120. <system_cache__appinfo:flat_relation_cache>
  121. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  122. system_cache__appinfo:name="ID"
  123. system_cache__appinfo:xpath="default_db__x3A__HIST_CONTACTS:HIST_CONTACTS/PARENT_ID"/>
  124. </system_cache__appinfo:flat_relation_cache>
  125. </xs:appinfo>
  126. <xs:documentation>Drzewo korespondencji - w dol </xs:documentation>
  127. </xs:annotation>
  128. </xs:element>
  129. <xs:element minOccurs="0"
  130. name="SUBJECT"
  131. type="xs:string"
  132. id="ST_CONTACTS___d5e79660-1_SUBJECT"/>
  133. <xs:element minOccurs="0"
  134. name="documents_id"
  135. type="xs:string"
  136. id="ST_CONTACTS___d5e79661-1_documents_"/>
  137. <xs:element minOccurs="0"
  138. name="documents_array"
  139. type="xs:string"
  140. id="ST_CONTACTS___d5e79662-1_documents_"/>
  141. <xs:element minOccurs="0"
  142. name="BODY_HTML"
  143. type="xs:string"
  144. id="ST_CONTACTS___d5e79664-1_BODY_HTML"/>
  145. <xs:element minOccurs="0"
  146. name="BODY_IMAGE"
  147. type="xs:string"
  148. id="ST_CONTACTS___d5e79665-1_BODY_IMAGE"/>
  149. <xs:element minOccurs="0"
  150. name="BODY_URL"
  151. type="xs:string"
  152. id="ST_CONTACTS___d5e79666-1_BODY_URL"/>
  153. <xs:element minOccurs="0"
  154. name="REQUEST_STATUS_MAIL"
  155. type="xs:string"
  156. id="ST_CONTACTS___d5e79667-1_REQUEST_ST"/>
  157. <xs:element minOccurs="0"
  158. name="STATUS_MAIL"
  159. type="xs:string"
  160. id="ST_CONTACTS___d5e79668-1_STATUS_MAI"/>
  161. <xs:element minOccurs="0"
  162. name="REQUEST_STATUS_POST"
  163. type="xs:string"
  164. id="ST_CONTACTS___d5e79669-1_REQUEST_ST"/>
  165. <xs:element minOccurs="0"
  166. name="STATUS_POST"
  167. type="xs:string"
  168. id="ST_CONTACTS___d5e79670-1_STATUS_POS"/>
  169. <xs:element minOccurs="0"
  170. name="REQUEST_STATUS_DELIVERY"
  171. type="xs:string"
  172. id="ST_CONTACTS___d5e79671-1_REQUEST_ST"/>
  173. <xs:element minOccurs="0"
  174. name="STATUS_DELIVERY"
  175. type="xs:string"
  176. id="ST_CONTACTS___d5e79672-1_STATUS_DEL"/>
  177. <xs:element minOccurs="0"
  178. name="STATUS_SUCCESS_TYPE"
  179. type="xs:string"
  180. id="ST_CONTACTS___d5e79673-1_STATUS_SUC"/>
  181. <xs:element minOccurs="0"
  182. name="TIMESTAMP"
  183. type="xs:string"
  184. id="ST_CONTACTS___d5e79674-1_TIMESTAMP"/>
  185. <xs:element minOccurs="0"
  186. name="STATUS_SUCCESS_DATE"
  187. type="xs:token"
  188. id="ST_CONTACTS___d5e79676-1_STATUS_SUC"/>
  189. <xs:element minOccurs="0"
  190. name="STATUS_SUCCESS_INFO"
  191. type="xs:string"
  192. id="ST_CONTACTS___d5e79677-1_STATUS_SUC"/>
  193. <xs:element minOccurs="0"
  194. name="EMAIL_FROM_ADDRESS"
  195. type="xs:string"
  196. id="ST_CONTACTS___d18e44404-1_EMAIL_FROM"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  197. <xs:annotation>
  198. <xs:documentation>Z jakiego adresu była wysyłana poczta email - wykryte z serwera</xs:documentation>
  199. </xs:annotation>
  200. </xs:element>
  201. <xs:element minOccurs="0"
  202. name="EMAIL_TO_ADDRESS_CONCAT"
  203. type="xs:string"
  204. id="ST_CONTACTS___d18e44408-1_EMAIL_TO_A"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  205. <xs:annotation>
  206. <xs:documentation>Na jakie adresy email była wysyłana poczta - po spacji</xs:documentation>
  207. </xs:annotation>
  208. </xs:element>
  209. <xs:element minOccurs="0"
  210. name="A_CLASSIFIED"
  211. type="xs:string"
  212. id="ST_CONTACTS___d18e44412-1_A_CLASSIFI"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  213. <xs:annotation>
  214. <xs:documentation>TODO pola dziedziczone z ID_BILLING_USERS/SERVICES</xs:documentation>
  215. </xs:annotation>
  216. </xs:element>
  217. <xs:element minOccurs="0"
  218. name="A_ADM_COMPANY"
  219. type="xs:string"
  220. id="ST_CONTACTS___d18e44416-1_A_ADM_COMP"/>
  221. <xs:element minOccurs="0"
  222. name="L_APPOITMENT_USER"
  223. type="xs:string"
  224. id="ST_CONTACTS___d18e44417-1_L_APPOITME"/>
  225. <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"
  226. minOccurs="0"
  227. id="ST_CONTACTS___d18e44418-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  228. <xs:annotation>
  229. <xs:appinfo>
  230. <system_cache__appinfo:flat_relation_cache>
  231. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  232. system_cache__appinfo:name="L_APPOITMENT_USER"
  233. system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
  234. </system_cache__appinfo:flat_relation_cache>
  235. </xs:appinfo>
  236. <xs:documentation>
  237. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
  238. </xs:documentation>
  239. </xs:annotation>
  240. </xs:element>
  241. <xs:element minOccurs="0"
  242. name="L_APPOITMENT_INFO"
  243. type="xs:string"
  244. id="ST_CONTACTS___d18e44425-1_L_APPOITME"/>
  245. <xs:element minOccurs="0"
  246. name="L_APPOITMENT_DATE"
  247. type="xs:date"
  248. id="ST_CONTACTS___d18e44426-1_L_APPOITME"/>
  249. </xs:sequence>
  250. <xs:assert test="A_CLASSIFIED = default_db__x3A__SERVICES:SERVICES/A_CLASSIFIED"
  251. id="ST_CONTACTS___d18e44427-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  252. <xs:annotation>
  253. <xs:documentation>dziedziczenie uprawnien domyslne</xs:documentation>
  254. </xs:annotation>
  255. </xs:assert>
  256. <xs:assert test="A_ADM_COMPANY = default_db__x3A__SERVICES:SERVICES/A_ADM_COMPANY"
  257. id="ST_CONTACTS___d18e44431-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  258. <xs:annotation>
  259. <xs:documentation>dziedziczenie uprawnien domyslne</xs:documentation>
  260. </xs:annotation>
  261. </xs:assert>
  262. </xs:complexType>
  263. <xs:element name="HIST_CONTACTS"
  264. type="default_db__x3A__HIST_CONTACTS:HIST_CONTACTS"
  265. id="ST_CONTACTS___d5e79678-1_HIST_CONTA"/>
  266. </xs:schema>