procesy5_objects_item_links.xsd 4.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  3. xmlns:system_cache__procesy5_objects_item_links="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/procesy5_objects_item_links.xsd"
  4. xmlns:default_db_ITEM_LINKS="http://biuro.biall-net.pl/xmlschema_procesy5/default_db/ITEM_LINKS"
  5. xmlns:default_db_ITEM_LINK_TYPES="http://biuro.biall-net.pl/xmlschema_procesy5/default_db/ITEM_LINK_TYPES"
  6. xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
  7. targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/procesy5_objects_item_links.xsd"
  8. vc:minVersion="1.1" xmlns:default_db="http://biuro.biall-net.pl/xmlschema_procesy5/default_db"
  9. xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning">
  10. <xs:annotation id="system_cache__procesy5_objects_item_links___d189e3">
  11. <xs:documentation>TODO @2015-02-15 to chyba nie jest używane i nie ma sensu. System relacyjny w silniku powinien wyprzeć jakieś tabele typu ITEM LINKS?</xs:documentation>
  12. </xs:annotation>
  13. <xs:import namespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db"
  14. schemaLocation="../default_db/default_db.xsd"/>
  15. <xs:element name="SOURCE_TABLE_RELATION" abstract="true">
  16. <xs:annotation>
  17. <xs:documentation>@2015-09-16 propozycja draft konfiga dla relacji pomiedzy tabelami w SE z proba ustalania schematow</xs:documentation>
  18. </xs:annotation>
  19. <xs:complexType>
  20. <xs:sequence>
  21. <xs:element name="SINGLE_RELATION">
  22. <xs:complexType>
  23. <xs:attribute name="remote_table_name" type="xs:string" use="required"/>
  24. <xs:attribute name="local_key_column" type="xs:string" use="required"/>
  25. <xs:attribute name="remote_key_column" type="xs:string" use="required"/>
  26. <xs:attribute name="remote_object_name" type="xs:string">
  27. <xs:annotation>
  28. <xs:documentation>TODO chodzi o zdefiniowanie filtra do relacji, w przypadku, kiedy oczekujemy konkretnego obiektu z filterm - np:
  29. xmlns:default_db__USERS2_OFFERS="default_db:USERS2_OFFERS"
  30. default_db__USERS2_OFFERS, ktore jest oferta typu NET
  31. </xs:documentation>
  32. </xs:annotation>
  33. </xs:attribute>
  34. </xs:complexType>
  35. </xs:element>
  36. <xs:element name="MULTI_RELATION_BY_TABLE">
  37. <xs:complexType>
  38. <xs:attribute name="remote_table_name" type="xs:string" use="required"/>
  39. <xs:attribute name="local_key_column" type="xs:string" use="required"/>
  40. <xs:attribute name="remote_key_column" type="xs:string" use="required"/>
  41. <xs:attribute name="relation_table_name" type="xs:string" use="required"/>
  42. <xs:attribute name="local_occurs_separator">
  43. <xs:simpleType>
  44. <xs:restriction base="xs:string">
  45. <xs:length value="1"/>
  46. <xs:enumeration value=","/>
  47. <xs:enumeration value=" "/>
  48. </xs:restriction>
  49. </xs:simpleType>
  50. </xs:attribute>
  51. <xs:attribute name="max_Occurs" type="xs:int"/>
  52. </xs:complexType>
  53. </xs:element>
  54. <xs:element name="MULTI_RELATION_BY_ITEM_LINKS">
  55. <xs:complexType>
  56. <xs:attribute name="remote_table_name" type="xs:string" use="required"/>
  57. <xs:attribute name="local_key_column" type="xs:string" use="required"/>
  58. <xs:attribute name="remote_key_column" type="xs:string" use="required"/>
  59. <xs:attribute name="local_occurs_separator">
  60. <xs:simpleType>
  61. <xs:restriction base="xs:string">
  62. <xs:length value="1"/>
  63. <xs:enumeration value=","/>
  64. <xs:enumeration value=" "/>
  65. </xs:restriction>
  66. </xs:simpleType>
  67. </xs:attribute>
  68. <xs:attribute name="max_Occurs" type="xs:int"/>
  69. </xs:complexType>
  70. </xs:element>
  71. </xs:sequence>
  72. <xs:attribute name="source_table_name" type="xs:string" use="required"/>
  73. </xs:complexType>
  74. </xs:element>
  75. </xs:schema>