BI_root.xsd 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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:SystemObjects__x3A__BI_root="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/BI_root.xsd"
  5. xmlns:p5="https://biuro.biall-net.pl/wfs"
  6. xmlns:SystemObjects__x3A__BI="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/BI.xsd"
  7. xmlns:SystemObjects__x3A__BI_from="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/BI_from.xsd"
  8. xmlns:SystemObjects__x3A__BI_to="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/BI_to.xsd"
  9. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  10. xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
  11. xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
  12. 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"
  13. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  14. xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
  15. xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
  16. elementFormDefault="qualified"
  17. targetNamespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/BI_root.xsd"
  18. vc:minVersion="1.1">
  19. <xs:annotation>
  20. <xs:documentation>@2018-03 Bindera: propozycja dla bazowych dziedziczen do tworzenia patternow dla silnik a BI.
  21. Ten obiekt powinien kontrolować sensowne unikalne typy wyszukiwan dla BI pod kątem poczatku oraz celu
  22. </xs:documentation>
  23. </xs:annotation>
  24. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/BI.xsd"
  25. schemaLocation="BI.xsd"/>
  26. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/BI_from.xsd"
  27. schemaLocation="BI_from.xsd"/>
  28. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/BI_to.xsd"
  29. schemaLocation="BI_to.xsd"/>
  30. <xs:complexType name="BI_root" id="_3A__BI_root___d15e8885-1_BI_root">
  31. <xs:annotation>
  32. <xs:documentation> ewentualna abstrakcyjna definicja kontroli obiektow BI - w celu zapobiegniecia bezsensownych duplikacji OD oraz DO w ramach tego samego typu wyszukiwania</xs:documentation>
  33. </xs:annotation>
  34. <xs:sequence id="_3A__BI_root___d15e8889-1">
  35. <xs:element name="ID" id="_3A__BI_root___d15e8890-1_ID">
  36. <xs:annotation>
  37. <xs:documentation>Primary</xs:documentation>
  38. </xs:annotation>
  39. </xs:element>
  40. <xs:element name="PatternName"
  41. type="xs:string"
  42. id="_3A__BI_root___d15e8894-1_PatternNam">
  43. <xs:annotation>
  44. <xs:documentation>Unikalna nazwa patternu brana z nazwy pierwotnego schema z patterns/*xsd - np BI_PERSON_to_COMPANY.xsd</xs:documentation>
  45. </xs:annotation>
  46. </xs:element>
  47. </xs:sequence>
  48. <xs:attribute name="label" type="xs:string" id="_3A__BI_root___d15e8898-1_label"/>
  49. <xs:assert test="label = concat('Definicja patternu nr:', ID, ' o nazwie:', PatternName)"
  50. id="_3A__BI_root___d15e8899-1">
  51. <xs:annotation>
  52. <xs:documentation>Przykładowy label z primary KEY</xs:documentation>
  53. </xs:annotation>
  54. </xs:assert>
  55. </xs:complexType>
  56. <xs:element abstract="false"
  57. name="BI_root"
  58. id="_3A__BI_root___d15e8903-1_BI_root">
  59. <xs:annotation>
  60. <xs:documentation>Abstrakcyjny element dla budowania przykładowej struktury</xs:documentation>
  61. </xs:annotation>
  62. <xs:complexType id="_3A__BI_root___d15e8907-1">
  63. <xs:complexContent id="_3A__BI_root___d15e8908-1">
  64. <xs:extension base="SystemObjects__x3A__BI_root:BI_root"
  65. id="_3A__BI_root___d15e8909-1">
  66. <xs:sequence id="_3A__BI_root___d15e8910-1">
  67. <xs:element maxOccurs="unbounded"
  68. ref="SystemObjects__x3A__BI:BI"
  69. id="_3A__BI_root___d15e8911-1"/>
  70. </xs:sequence>
  71. </xs:extension>
  72. </xs:complexContent>
  73. </xs:complexType>
  74. <xs:unique name="BI_root">
  75. <xs:annotation>
  76. <xs:documentation>Unikalnosc sensu wyszukiwan</xs:documentation>
  77. </xs:annotation>
  78. <xs:selector xpath="SystemObjects__x3A__BI:BI"/>
  79. <xs:field xpath="SystemObjects__x3A__BI_from:BI_from/targetNamespace"/>
  80. <xs:field xpath="SystemObjects__x3A__BI_from:BI_from/p5:primaryKey"/>
  81. <xs:field xpath="SystemObjects__x3A__BI_to:BI_to/BI_to/targetNamespace"/>
  82. <xs:field xpath="SystemObjects__x3A__BI_to:BI_to/BI_to/p5:primaryKey"/>
  83. </xs:unique>
  84. </xs:element>
  85. <xs:group name="BI_root">
  86. <xs:annotation>
  87. <xs:documentation>Abstrakcyjny przykladowy typowy model
  88. </xs:documentation>
  89. </xs:annotation>
  90. <xs:sequence id="_3A__BI_root___d15e8925-1">
  91. <xs:element ref="SystemObjects__x3A__BI_root:BI_root"
  92. id="_3A__BI_root___d15e8926-1"/>
  93. </xs:sequence>
  94. </xs:group>
  95. </xs:schema>