BI_root.xsd 4.6 KB

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