BI_audit_KRS_person.xsd 4.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3. xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
  4. xmlns:default_db__x3A__BI_audit_KRS_person="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS_person.xsd"
  5. xmlns:default_db__x3A__BI_audit_KRS="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS.xsd"
  6. xmlns:default_db__x3A__BI_audit_ENERGA_PRACOWNICY="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_PRACOWNICY.xsd"
  7. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  8. xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
  9. xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
  10. 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"
  11. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  12. xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
  13. xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
  14. targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS_person.xsd"
  15. vc:minVersion="1.1">
  16. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS.xsd"
  17. schemaLocation="BI_audit_KRS.xsd"/>
  18. <xs:import
  19. namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_PRACOWNICY.xsd"
  20. schemaLocation="BI_audit_ENERGA_PRACOWNICY.xsd"/>
  21. <xs:complexType name="BI_audit_KRS_person" id="_KRS_person___d4e4621-1_BI_audit_K">
  22. <xs:annotation>
  23. <xs:documentation>Do dowiazania do BI_audit_KRS person</xs:documentation>
  24. </xs:annotation>
  25. <xs:sequence id="_KRS_person___d4e4625-1">
  26. <xs:element name="ID" type="xs:int" id="_KRS_person___d4e4626-1_ID"/>
  27. <xs:element name="nazwisko" type="xs:string" id="_KRS_person___d4e4651-1_nazwisko"/>
  28. <xs:element name="imiona" type="xs:string" id="_KRS_person___d4e4653-1_imiona"/>
  29. <xs:element name="pesel" type="xs:NMTOKEN" id="_KRS_person___d4e4654-1_pesel"/>
  30. <xs:element name="cached" id="_KRS_person___d5e5635-1_cached" type="xs:int"/>
  31. <xs:element ref="default_db__x3A__BI_audit_KRS:BI_audit_KRS" id="_KRS_person___d6e77132-1"
  32. maxOccurs="unbounded">
  33. <xs:annotation>
  34. <xs:appinfo>
  35. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  36. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  37. </system_cache__appinfo:flat_relation_cache>
  38. </xs:appinfo>
  39. </xs:annotation>
  40. </xs:element>
  41. <xs:element maxOccurs="unbounded" minOccurs="0"
  42. ref="default_db__x3A__BI_audit_ENERGA_PRACOWNICY:BI_audit_ENERGA_PRACOWNICY"
  43. id="_KRS_person___d15e101329-1"/>
  44. </xs:sequence>
  45. <xs:attribute name="label" type="xs:string" id="_KRS_person___d5e80455-1_label"/>
  46. <xs:attribute ref="default_db__x3A__BI_audit_KRS:label" id="_KRS_person___d6e77138-1">
  47. <xs:annotation>
  48. <xs:documentation>TODO pomysł na wyświetlenie labela z obiektów powiązanych? LUB odwołujemy się do asserts obiektu niżej...</xs:documentation>
  49. </xs:annotation>
  50. </xs:attribute>
  51. <xs:attribute name="label.backreffed" type="xs:string"
  52. id="_KRS_person___d6e77142-1_label.back">
  53. <xs:annotation>
  54. <xs:documentation>test lokalnego assert do @label.backreffed=../@label</xs:documentation>
  55. </xs:annotation>
  56. </xs:attribute>
  57. <xs:attribute name="label.backreffed_named" type="xs:string"
  58. id="_KRS_person___d6e77146-1_label.back">
  59. <xs:annotation>
  60. <xs:documentation>test lokalnego assert do nazwanego @label.backreffed_named=../@default_db__x3A__BI_audit_KRS:label</xs:documentation>
  61. </xs:annotation>
  62. </xs:attribute>
  63. <xs:assert
  64. test="@label = concat(substring(nazwisko, 0, 10), substring(imiona, 0, 10), '\n', pesel)"
  65. id="_KRS_person___d6e77107-1"/>
  66. <xs:assert test="@label.backreffed = ../@label" id="_KRS_person___d6e77151-1"/>
  67. <xs:assert test="@label.backreffed_named = ../@default_db__x3A__BI_audit_KRS:label"
  68. id="_KRS_person___d6e77152-1"/>
  69. </xs:complexType>
  70. <xs:element name="BI_audit_KRS_person"
  71. type="default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person"
  72. id="_KRS_person___d4e4655-1_BI_audit_K"/>
  73. </xs:schema>