stix_schema_spy 1.0 → 1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. checksums.yaml +8 -8
  2. data/config/1.1/stix/cybox/objects/Win_Hook_Object.xsd +1 -1
  3. data/config/1.1.1/stix/campaign.xsd +220 -0
  4. data/config/1.1.1/stix/course_of_action.xsd +191 -0
  5. data/config/1.1.1/stix/cybox/cybox_common.xsd +2700 -0
  6. data/config/1.1.1/stix/cybox/cybox_core.xsd +1145 -0
  7. data/config/1.1.1/stix/cybox/cybox_default_vocabularies.xsd +5180 -0
  8. data/config/1.1.1/stix/cybox/extensions/location/ciq_address_3.0.xsd +27 -0
  9. data/config/1.1.1/stix/cybox/extensions/platform/cpe2.3.xsd +34 -0
  10. data/config/1.1.1/stix/cybox/external/cpe_2.3/cpe-language_2.3.xsd +234 -0
  11. data/config/1.1.1/stix/cybox/external/cpe_2.3/cpe-naming_2.3.xsd +45 -0
  12. data/config/1.1.1/stix/cybox/external/cpe_2.3/xml.xsd +145 -0
  13. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
  14. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
  15. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xAL.xsd +672 -0
  16. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
  17. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNAL.xsd +126 -0
  18. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
  19. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNL.xsd +284 -0
  20. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
  21. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
  22. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
  23. data/config/1.1.1/stix/cybox/objects/API_Object.xsd +55 -0
  24. data/config/1.1.1/stix/cybox/objects/ARP_Cache_Object.xsd +98 -0
  25. data/config/1.1.1/stix/cybox/objects/AS_Object.xsd +50 -0
  26. data/config/1.1.1/stix/cybox/objects/Account_Object.xsd +501 -0
  27. data/config/1.1.1/stix/cybox/objects/Address_Object.xsd +127 -0
  28. data/config/1.1.1/stix/cybox/objects/Archive_File_Object.xsd +134 -0
  29. data/config/1.1.1/stix/cybox/objects/Artifact_Object.xsd +212 -0
  30. data/config/1.1.1/stix/cybox/objects/Code_Object.xsd +417 -0
  31. data/config/1.1.1/stix/cybox/objects/Custom_Object.xsd +42 -0
  32. data/config/1.1.1/stix/cybox/objects/DNS_Cache_Object.xsd +53 -0
  33. data/config/1.1.1/stix/cybox/objects/DNS_Query_Object.xsd +164 -0
  34. data/config/1.1.1/stix/cybox/objects/DNS_Record_Object.xsd +92 -0
  35. data/config/1.1.1/stix/cybox/objects/Device_Object.xsd +65 -0
  36. data/config/1.1.1/stix/cybox/objects/Disk_Object.xsd +117 -0
  37. data/config/1.1.1/stix/cybox/objects/Disk_Partition_Object.xsd +199 -0
  38. data/config/1.1.1/stix/cybox/objects/Domain_Name_Object.xsd +57 -0
  39. data/config/1.1.1/stix/cybox/objects/Email_Message_Object.xsd +278 -0
  40. data/config/1.1.1/stix/cybox/objects/File_Object.xsd +397 -0
  41. data/config/1.1.1/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -0
  42. data/config/1.1.1/stix/cybox/objects/GUI_Object.xsd +40 -0
  43. data/config/1.1.1/stix/cybox/objects/GUI_Window_Object.xsd +46 -0
  44. data/config/1.1.1/stix/cybox/objects/HTTP_Session_Object.xsd +633 -0
  45. data/config/1.1.1/stix/cybox/objects/Hostname_Object.xsd +45 -0
  46. data/config/1.1.1/stix/cybox/objects/Image_File_Object.xsd +124 -0
  47. data/config/1.1.1/stix/cybox/objects/Library_Object.xsd +114 -0
  48. data/config/1.1.1/stix/cybox/objects/Link_Object.xsd +36 -0
  49. data/config/1.1.1/stix/cybox/objects/Linux_Package_Object.xsd +75 -0
  50. data/config/1.1.1/stix/cybox/objects/Memory_Object.xsd +141 -0
  51. data/config/1.1.1/stix/cybox/objects/Mutex_Object.xsd +40 -0
  52. data/config/1.1.1/stix/cybox/objects/Network_Connection_Object.xsd +540 -0
  53. data/config/1.1.1/stix/cybox/objects/Network_Flow_Object.xsd +1559 -0
  54. data/config/1.1.1/stix/cybox/objects/Network_Packet_Object.xsd +2934 -0
  55. data/config/1.1.1/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -0
  56. data/config/1.1.1/stix/cybox/objects/Network_Route_Object.xsd +93 -0
  57. data/config/1.1.1/stix/cybox/objects/Network_Socket_Object.xsd +529 -0
  58. data/config/1.1.1/stix/cybox/objects/Network_Subnet_Object.xsd +64 -0
  59. data/config/1.1.1/stix/cybox/objects/PDF_File_Object.xsd +595 -0
  60. data/config/1.1.1/stix/cybox/objects/Pipe_Object.xsd +40 -0
  61. data/config/1.1.1/stix/cybox/objects/Port_Object.xsd +40 -0
  62. data/config/1.1.1/stix/cybox/objects/Process_Object.xsd +199 -0
  63. data/config/1.1.1/stix/cybox/objects/Product_Object.xsd +65 -0
  64. data/config/1.1.1/stix/cybox/objects/SMS_Message_Object.xsd +79 -0
  65. data/config/1.1.1/stix/cybox/objects/Semaphore_Object.xsd +50 -0
  66. data/config/1.1.1/stix/cybox/objects/Socket_Address_Object.xsd +50 -0
  67. data/config/1.1.1/stix/cybox/objects/System_Object.xsd +410 -0
  68. data/config/1.1.1/stix/cybox/objects/URI_Object.xsd +62 -0
  69. data/config/1.1.1/stix/cybox/objects/URL_History_Object.xsd +104 -0
  70. data/config/1.1.1/stix/cybox/objects/Unix_File_Object.xsd +164 -0
  71. data/config/1.1.1/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -0
  72. data/config/1.1.1/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -0
  73. data/config/1.1.1/stix/cybox/objects/Unix_Process_Object.xsd +143 -0
  74. data/config/1.1.1/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -0
  75. data/config/1.1.1/stix/cybox/objects/Unix_Volume_Object.xsd +41 -0
  76. data/config/1.1.1/stix/cybox/objects/User_Account_Object.xsd +110 -0
  77. data/config/1.1.1/stix/cybox/objects/User_Session_Object.xsd +60 -0
  78. data/config/1.1.1/stix/cybox/objects/Volume_Object.xsd +235 -0
  79. data/config/1.1.1/stix/cybox/objects/Whois_Object.xsd +430 -0
  80. data/config/1.1.1/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -0
  81. data/config/1.1.1/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -0
  82. data/config/1.1.1/stix/cybox/objects/Win_Driver_Object.xsd +270 -0
  83. data/config/1.1.1/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -0
  84. data/config/1.1.1/stix/cybox/objects/Win_Event_Object.xsd +80 -0
  85. data/config/1.1.1/stix/cybox/objects/Win_Executable_File_Object.xsd +1311 -0
  86. data/config/1.1.1/stix/cybox/objects/Win_File_Object.xsd +269 -0
  87. data/config/1.1.1/stix/cybox/objects/Win_Filemapping_Object.xsd +175 -0
  88. data/config/1.1.1/stix/cybox/objects/Win_Handle_Object.xsd +351 -0
  89. data/config/1.1.1/stix/cybox/objects/Win_Hook_Object.xsd +152 -0
  90. data/config/1.1.1/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -0
  91. data/config/1.1.1/stix/cybox/objects/Win_Kernel_Object.xsd +128 -0
  92. data/config/1.1.1/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -0
  93. data/config/1.1.1/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -0
  94. data/config/1.1.1/stix/cybox/objects/Win_Mutex_Object.xsd +42 -0
  95. data/config/1.1.1/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -0
  96. data/config/1.1.1/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -0
  97. data/config/1.1.1/stix/cybox/objects/Win_Pipe_Object.xsd +73 -0
  98. data/config/1.1.1/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -0
  99. data/config/1.1.1/stix/cybox/objects/Win_Process_Object.xsd +174 -0
  100. data/config/1.1.1/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -0
  101. data/config/1.1.1/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -0
  102. data/config/1.1.1/stix/cybox/objects/Win_Service_Object.xsd +287 -0
  103. data/config/1.1.1/stix/cybox/objects/Win_System_Object.xsd +126 -0
  104. data/config/1.1.1/stix/cybox/objects/Win_System_Restore_Object.xsd +207 -0
  105. data/config/1.1.1/stix/cybox/objects/Win_Task_Object.xsd +755 -0
  106. data/config/1.1.1/stix/cybox/objects/Win_Thread_Object.xsd +146 -0
  107. data/config/1.1.1/stix/cybox/objects/Win_User_Account_Object.xsd +73 -0
  108. data/config/1.1.1/stix/cybox/objects/Win_Volume_Object.xsd +161 -0
  109. data/config/1.1.1/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -0
  110. data/config/1.1.1/stix/cybox/objects/X509_Certificate_Object.xsd +275 -0
  111. data/config/1.1.1/stix/data_marking.xsd +97 -0
  112. data/config/1.1.1/stix/exploit_target.xsd +324 -0
  113. data/config/1.1.1/stix/extensions/address/ciq_3.0_address.xsd +27 -0
  114. data/config/1.1.1/stix/extensions/attack_pattern/capec_2.7_attack_pattern.xsd +31 -0
  115. data/config/1.1.1/stix/extensions/identity/ciq_3.0_identity.xsd +113 -0
  116. data/config/1.1.1/stix/extensions/malware/maec_4.1_malware.xsd +31 -0
  117. data/config/1.1.1/stix/extensions/marking/simple_marking.xsd +31 -0
  118. data/config/1.1.1/stix/extensions/marking/terms_of_use_marking.xsd +31 -0
  119. data/config/1.1.1/stix/extensions/marking/tlp_marking.xsd +40 -0
  120. data/config/1.1.1/stix/extensions/structured_coa/generic_structured_coa.xsd +46 -0
  121. data/config/1.1.1/stix/extensions/test_mechanism/generic_test_mechanism.xsd +46 -0
  122. data/config/1.1.1/stix/extensions/test_mechanism/open_ioc_2010_test_mechanism.xsd +32 -0
  123. data/config/1.1.1/stix/extensions/test_mechanism/oval_5.10_test_mechanism.xsd +37 -0
  124. data/config/1.1.1/stix/extensions/test_mechanism/snort_test_mechanism.xsd +56 -0
  125. data/config/1.1.1/stix/extensions/test_mechanism/yara_test_mechanism.xsd +36 -0
  126. data/config/1.1.1/stix/extensions/vulnerability/cvrf_1.1_vulnerability.xsd +33 -0
  127. data/config/1.1.1/stix/external/capec_2.7/ap_schema_v2.7.xsd +3618 -0
  128. data/config/1.1.1/stix/external/cvrf_1.1/common.xsd +176 -0
  129. data/config/1.1.1/stix/external/cvrf_1.1/cpe-language_2.2a.xsd +182 -0
  130. data/config/1.1.1/stix/external/cvrf_1.1/cvrf.xsd +487 -0
  131. data/config/1.1.1/stix/external/cvrf_1.1/cvss-v2_0.9.xsd +415 -0
  132. data/config/1.1.1/stix/external/cvrf_1.1/dc.xsd +118 -0
  133. data/config/1.1.1/stix/external/cvrf_1.1/prod.xsd +292 -0
  134. data/config/1.1.1/stix/external/cvrf_1.1/scap-core_0.9.xsd +170 -0
  135. data/config/1.1.1/stix/external/cvrf_1.1/vuln.xsd +631 -0
  136. data/config/1.1.1/stix/external/cvrf_1.1/xml.xsd +287 -0
  137. data/config/1.1.1/stix/external/maec_4.1/maec_bundle_schema.xsd +1228 -0
  138. data/config/1.1.1/stix/external/maec_4.1/maec_container_schema.xsd +62 -0
  139. data/config/1.1.1/stix/external/maec_4.1/maec_default_vocabularies.xsd +5325 -0
  140. data/config/1.1.1/stix/external/maec_4.1/maec_package_schema.xsd +1095 -0
  141. data/config/1.1.1/stix/external/maec_4.1/metadataSharing.xsd +1712 -0
  142. data/config/1.1.1/stix/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
  143. data/config/1.1.1/stix/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
  144. data/config/1.1.1/stix/external/oasis_ciq_3.0/xAL.xsd +672 -0
  145. data/config/1.1.1/stix/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
  146. data/config/1.1.1/stix/external/oasis_ciq_3.0/xNAL.xsd +126 -0
  147. data/config/1.1.1/stix/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
  148. data/config/1.1.1/stix/external/oasis_ciq_3.0/xNL.xsd +284 -0
  149. data/config/1.1.1/stix/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
  150. data/config/1.1.1/stix/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
  151. data/config/1.1.1/stix/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
  152. data/config/1.1.1/stix/external/open_ioc_2010/ioc-TR.xsd +25 -0
  153. data/config/1.1.1/stix/external/open_ioc_2010/ioc.xsd +105 -0
  154. data/config/1.1.1/stix/external/oval_5.10/oval-common-schema.xsd +781 -0
  155. data/config/1.1.1/stix/external/oval_5.10/oval-definitions-schema.xsd +1608 -0
  156. data/config/1.1.1/stix/external/oval_5.10/oval-variables-schema.xsd +84 -0
  157. data/config/1.1.1/stix/external/oval_5.10/xmldsig-core-schema.xsd +309 -0
  158. data/config/1.1.1/stix/incident.xsd +762 -0
  159. data/config/1.1.1/stix/indicator.xsd +368 -0
  160. data/config/1.1.1/stix/stix_common.xsd +923 -0
  161. data/config/1.1.1/stix/stix_core.xsd +253 -0
  162. data/config/1.1.1/stix/stix_default_vocabularies.xsd +2081 -0
  163. data/config/1.1.1/stix/threat_actor.xsd +182 -0
  164. data/config/1.1.1/stix/ttp.xsd +430 -0
  165. data/config/1.1.1/uber_schema.xsd +149 -0
  166. data/lib/stix_schema_spy/models/attribute.rb +1 -1
  167. data/lib/stix_schema_spy/models/element.rb +2 -9
  168. data/lib/stix_schema_spy/models/external_type.rb +29 -0
  169. data/lib/stix_schema_spy/models/has_children.rb +9 -9
  170. data/lib/stix_schema_spy/models/node.rb +7 -6
  171. data/lib/stix_schema_spy/models/schema.rb +6 -4
  172. data/lib/stix_schema_spy/models/type.rb +44 -5
  173. data/lib/stix_schema_spy/util/tasks.rb +15 -14
  174. data/lib/stix_schema_spy/version.rb +1 -1
  175. metadata +171 -9
@@ -0,0 +1,36 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns="urn:oasis:names:tc:ciq:xnal:3" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oasis:names:tc:ciq:xnal:3" elementFormDefault="qualified" attributeFormDefault="qualified">
3
+ <xs:annotation>
4
+ <xs:documentation>
5
+ Specification Name: OASIS CIQ TC - extensible Name and Address Language Types (xNAL-types)
6
+ Description: Defines the W3C schema that provides enumeration lists to support xNAL v3.0
7
+ (Using XML Schema based standard code list/enumeration mechanism - OPTION 1 AND DEFAULT)
8
+ Produced by: OASIS Customer Information Quality Technical Committee
9
+ URL: http://www.oasis-open.org/committees/ciq
10
+ Version: 3.0
11
+ Status: Committee Specification CS02
12
+ Copyright: 2007-09, OASIS, http://www.oasis-open.org
13
+ Last Modified: 20 September 2008
14
+ Last Modified by: Ram Kumar, Chair, OASIS CIQ TC
15
+
16
+ NOTE: This is the schema that users can customise the enumeration lists to meet their
17
+ exchange requirements. The enumeration values provided are ONLY SAMPLES and
18
+ is not complete. It is upto the application to decide what the values should be. To achieve
19
+ interoperability between applications using this specification, it is recommended that an
20
+ SLA/agreement is in place as to what the enumeration values will be used in this file
21
+ </xs:documentation>
22
+ <xs:documentation>Please note: These schemas have been modified by the STIX team to support remote validation. The only change made is to the schemaLocation attribute(s).</xs:documentation>
23
+ </xs:annotation>
24
+ <xs:simpleType name="DependencyTypeList">
25
+ <xs:annotation>
26
+ <xs:documentation>A list of possible values for dependency name type</xs:documentation>
27
+ </xs:annotation>
28
+ <xs:restriction base="xs:normalizedString"/>
29
+ </xs:simpleType>
30
+ <xs:simpleType name="RecordIDTypeList">
31
+ <xs:annotation>
32
+ <xs:documentation>A list of all types of Record IDs</xs:documentation>
33
+ </xs:annotation>
34
+ <xs:restriction base="xs:normalizedString"/>
35
+ </xs:simpleType>
36
+ </xs:schema>
@@ -0,0 +1,126 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xal="urn:oasis:names:tc:ciq:xal:3" xmlns:xnl="urn:oasis:names:tc:ciq:xnl:3" xmlns="urn:oasis:names:tc:ciq:xnal:3" xmlns:ct="urn:oasis:names:tc:ciq:ct:3" targetNamespace="urn:oasis:names:tc:ciq:xnal:3" elementFormDefault="qualified" attributeFormDefault="qualified">
3
+ <xs:annotation>
4
+ <xs:documentation>
5
+ Specification Name: OASIS CIQ TC - extensible Name and Address Language (xNAL)
6
+ Description: Defines the W3C schema for representing name and address together
7
+ (Using XML Schema based standard code list/enumeration mechanism - OPTION 1 AND DEFAULT)
8
+ Produced by: OASIS Customer Information Quality Technical Committee
9
+ URL: http://www.oasis-open.org/committees/ciq
10
+ Version: 3.0
11
+ Status: Committee Specification CS02
12
+ Copyright: 2007-09, OASIS, http://www.oasis-open.org
13
+ Last Modified: 20 September 2008
14
+ Last Modified by: Ram Kumar, Chair, OASIS CIQ TC
15
+
16
+ NOTE: Do not modify this schema as it will break specifications compatibility
17
+ </xs:documentation>
18
+ <xs:documentation>Please note: These schemas have been modified by the STIX team to support remote validation. The only change made is to the schemaLocation attribute(s).</xs:documentation>
19
+ </xs:annotation>
20
+ <xs:include schemaLocation="xNAL-types.xsd"/>
21
+ <xs:import namespace="urn:oasis:names:tc:ciq:xnl:3" schemaLocation="xNL.xsd"/>
22
+ <xs:import namespace="urn:oasis:names:tc:ciq:xal:3" schemaLocation="xAL.xsd"/>
23
+ <xs:import namespace="urn:oasis:names:tc:ciq:ct:3" schemaLocation="CommonTypes.xsd"/>
24
+ <xs:element name="Record">
25
+ <xs:annotation>
26
+ <xs:documentation>This is a generic contianer to combine name and address. Any cardinality of names and addresses is permitted.</xs:documentation>
27
+ </xs:annotation>
28
+ <xs:complexType>
29
+ <xs:sequence>
30
+ <xs:element ref="xnl:PartyName" maxOccurs="unbounded"/>
31
+ <xs:element ref="xal:Address" maxOccurs="unbounded"/>
32
+ </xs:sequence>
33
+ <xs:attribute name="RecordID" type="ct:String">
34
+ <xs:annotation>
35
+ <xs:documentation>A unique identifier of a record</xs:documentation>
36
+ </xs:annotation>
37
+ </xs:attribute>
38
+ <xs:attribute name="RecordIDType" type="RecordIDTypeList">
39
+ <xs:annotation>
40
+ <xs:documentation>Type of Record ID</xs:documentation>
41
+ </xs:annotation>
42
+ </xs:attribute>
43
+ <xs:attribute name="Status" type="ct:StatusList">
44
+ <xs:annotation>
45
+ <xs:documentation>Status of the entity. e.g. Old, Current, Inactive, Active, etc</xs:documentation>
46
+ </xs:annotation>
47
+ </xs:attribute>
48
+ <xs:attributeGroup ref="ct:grValidityDate"/>
49
+ <xs:attribute name="RecordKey" type="ct:String">
50
+ <xs:annotation>
51
+ <xs:documentation>Primary key for referencing record</xs:documentation>
52
+ </xs:annotation>
53
+ </xs:attribute>
54
+ <xs:attribute name="RecordKeyRef" type="ct:String">
55
+ <xs:annotation>
56
+ <xs:documentation>Foreign key to reference record</xs:documentation>
57
+ </xs:annotation>
58
+ </xs:attribute>
59
+ <xs:attributeGroup ref="ct:grDataQuality"/>
60
+ <xs:attributeGroup ref="ct:grLanguageCode"/>
61
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
62
+ </xs:complexType>
63
+ </xs:element>
64
+ <xs:element name="PostalLabel">
65
+ <xs:annotation>
66
+ <xs:documentation>This is a specialised container to combine name and address for postal purposes, e.g. a label on an envelope that has two parts, an addressee and the address.</xs:documentation>
67
+ </xs:annotation>
68
+ <xs:complexType>
69
+ <xs:sequence>
70
+ <xs:element name="Addressee" minOccurs="0" maxOccurs="unbounded">
71
+ <xs:annotation>
72
+ <xs:documentation>Addressee is the party that is the recipient of the postal mail delivery. </xs:documentation>
73
+ </xs:annotation>
74
+ <xs:complexType>
75
+ <xs:sequence>
76
+ <xs:element name="Designation" minOccurs="0" maxOccurs="unbounded">
77
+ <xs:annotation>
78
+ <xs:documentation>When the name of the recipient is not known or the designation is still required to appear on the label.
79
+ E.g. Attention CEO, General Manager, the household owner, etc.</xs:documentation>
80
+ </xs:annotation>
81
+ <xs:complexType>
82
+ <xs:simpleContent>
83
+ <xs:extension base="ct:String">
84
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
85
+ </xs:extension>
86
+ </xs:simpleContent>
87
+ </xs:complexType>
88
+ </xs:element>
89
+ <xs:element ref="xnl:PartyName" minOccurs="0"/>
90
+ <xs:element name="DependencyName" minOccurs="0" maxOccurs="unbounded">
91
+ <xs:annotation>
92
+ <xs:documentation>The main name has a relationship with a dependant name.
93
+ The dependant name should be put under this element and the relationship described.
94
+ E.g. Eastbourne Goats Trust in care of Wellingon Lawers Ltd., Ram Kumar, C/O Sakthisoft, etc</xs:documentation>
95
+ </xs:annotation>
96
+ <xs:complexType>
97
+ <xs:complexContent>
98
+ <xs:extension base="xnl:PartyNameType">
99
+ <xs:attribute name="Type" type="DependencyTypeList" use="required">
100
+ <xs:annotation>
101
+ <xs:documentation>This attribute describes the nature/type of relationship between the main name and the dependency. E.g. 'C/O', 'in care of' or 'a son of'.</xs:documentation>
102
+ </xs:annotation>
103
+ </xs:attribute>
104
+ </xs:extension>
105
+ </xs:complexContent>
106
+ </xs:complexType>
107
+ </xs:element>
108
+ </xs:sequence>
109
+ <xs:attributeGroup ref="ct:grLanguageCode"/>
110
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
111
+ </xs:complexType>
112
+ </xs:element>
113
+ <xs:element ref="xal:Address"/>
114
+ </xs:sequence>
115
+ <xs:attribute name="Status" type="ct:StatusList">
116
+ <xs:annotation>
117
+ <xs:documentation>Status of the entity. e.g. Old, Current, Inactive, Active, etc</xs:documentation>
118
+ </xs:annotation>
119
+ </xs:attribute>
120
+ <xs:attributeGroup ref="ct:grValidityDate"/>
121
+ <xs:attributeGroup ref="ct:grDataQuality"/>
122
+ <xs:attributeGroup ref="ct:grLanguageCode"/>
123
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
124
+ </xs:complexType>
125
+ </xs:element>
126
+ </xs:schema>
@@ -0,0 +1,222 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns="urn:oasis:names:tc:ciq:xnl:3" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oasis:names:tc:ciq:xnl:3" elementFormDefault="qualified" attributeFormDefault="qualified">
3
+ <xs:annotation>
4
+ <xs:documentation>
5
+ Specification Name: OASIS CIQ TC - extensible Name Language Types (xNL-types)
6
+ Description: Defines the W3C schema that provides enumeration lists to support xNL v3.0
7
+ (Using XML Schema based standard code list/enumeration mechanism - OPTION 1 AND DEFAULT)
8
+ Produced by: OASIS Customer Information Quality Technical Committee
9
+ URL: http://www.oasis-open.org/committees/ciq
10
+ Version: 3.0
11
+ Status: Committee Specification CS02
12
+ Copyright: 2007-09, OASIS, http://www.oasis-open.org
13
+ Last Modified: 20 September 2008
14
+ Last Modified by: Ram Kumar, Chair, OASIS CIQ TC
15
+
16
+ NOTE: This is the schema that users can customise the enumeration lists to meet their
17
+ exchange requirements. The enumeration values provided are ONLY SAMPLES and
18
+ is not complete. It is upto the application to decide what the values should be. To achieve
19
+ interoperability between applications using this specification, it is recommended that an
20
+ SLA/agreement is in place as to what the enumeration values will be used in this file
21
+ </xs:documentation>
22
+ <xs:documentation>Please note: These schemas have been modified by the STIX team to support remote validation. The only change made is to the schemaLocation attribute(s).</xs:documentation>
23
+ </xs:annotation>
24
+ <xs:simpleType name="JointNameConnectorList">
25
+ <xs:annotation>
26
+ <xs:documentation>A list of possible values for joint name connector</xs:documentation>
27
+ </xs:annotation>
28
+ <xs:restriction base="xs:normalizedString"/>
29
+ </xs:simpleType>
30
+ <xs:simpleType name="NameLineTypeList">
31
+ <xs:annotation>
32
+ <xs:documentation>A list of possible values for types of name lines</xs:documentation>
33
+ </xs:annotation>
34
+ <xs:restriction base="xs:normalizedString"/>
35
+ </xs:simpleType>
36
+ <xs:simpleType name="PartyNameIDTypeList">
37
+ <xs:annotation>
38
+ <xs:documentation>A list of all types of Party Name IDs</xs:documentation>
39
+ </xs:annotation>
40
+ <xs:restriction base="xs:normalizedString"/>
41
+ </xs:simpleType>
42
+ <xs:simpleType name="PartyNameUsageList">
43
+ <xs:annotation>
44
+ <xs:documentation>A list of usage types of party name</xs:documentation>
45
+ </xs:annotation>
46
+ <xs:restriction base="xs:string"/>
47
+ </xs:simpleType>
48
+ <xs:simpleType name="PersonNameElementList">
49
+ <xs:annotation>
50
+ <xs:documentation>A list of person name element types, e.g. First Name, Last Name, Title, etc.</xs:documentation>
51
+ </xs:annotation>
52
+ <xs:restriction base="xs:normalizedString">
53
+ <xs:enumeration value="PrecedingTitle">
54
+ <xs:annotation>
55
+ <xs:documentation>His Excellency, Honorable, etc.</xs:documentation>
56
+ </xs:annotation>
57
+ </xs:enumeration>
58
+ <xs:enumeration value="Title">
59
+ <xs:annotation>
60
+ <xs:documentation>A title signifies some sort of status, such as Mr, Miss, Ms (marriage status), or education such as Professor, PhD, Dr, etc.</xs:documentation>
61
+ </xs:annotation>
62
+ </xs:enumeration>
63
+ <xs:enumeration value="FirstName">
64
+ <xs:annotation>
65
+ <xs:documentation>The most important name element by which this particular individual is identified in the group. E.g. John, Sam, Brian for Anglo-Saxon cultures.</xs:documentation>
66
+ </xs:annotation>
67
+ </xs:enumeration>
68
+ <xs:enumeration value="MiddleName">
69
+ <xs:annotation>
70
+ <xs:documentation>Name elements related to additional identification of the individual, such as names are parents or places.</xs:documentation>
71
+ </xs:annotation>
72
+ </xs:enumeration>
73
+ <xs:enumeration value="LastName">
74
+ <xs:annotation>
75
+ <xs:documentation>Name element that identifies the group the individual belongs to and is identified by, such as Last Name, Surname, Family Name, etc. </xs:documentation>
76
+ </xs:annotation>
77
+ </xs:enumeration>
78
+ <xs:enumeration value="OtherName">
79
+ <xs:annotation>
80
+ <xs:documentation>Any other additional names that are not directly used to identify or call the individual, such as names of ancestors, saints, etc.</xs:documentation>
81
+ </xs:annotation>
82
+ </xs:enumeration>
83
+ <xs:enumeration value="Alias">
84
+ <xs:annotation>
85
+ <xs:documentation>A simple nick name that is commonly used as part of the name. E.g. a fancy kick-boxer can be commonly known as Bill "Storm" Bababoons, where "Storm" is obviously an alias.</xs:documentation>
86
+ </xs:annotation>
87
+ </xs:enumeration>
88
+ <xs:enumeration value="GenerationIdentifier">
89
+ <xs:annotation>
90
+ <xs:documentation>Junior, Senior, The Second, IV, etc.</xs:documentation>
91
+ </xs:annotation>
92
+ </xs:enumeration>
93
+ <xs:enumeration value="Degree"/>
94
+ </xs:restriction>
95
+ </xs:simpleType>
96
+ <xs:simpleType name="PersonNameUsageList">
97
+ <xs:annotation>
98
+ <xs:documentation>A list of usage types of person name</xs:documentation>
99
+ </xs:annotation>
100
+ <xs:restriction base="xs:normalizedString"/>
101
+ </xs:simpleType>
102
+ <xs:simpleType name="PersonIDTypeList">
103
+ <xs:annotation>
104
+ <xs:documentation>A list of all types of person name IDs</xs:documentation>
105
+ </xs:annotation>
106
+ <xs:restriction base="xs:normalizedString"/>
107
+ </xs:simpleType>
108
+ <xs:simpleType name="OrganisationIDTypeList">
109
+ <xs:annotation>
110
+ <xs:documentation>A list of all types of organisation name IDs</xs:documentation>
111
+ </xs:annotation>
112
+ <xs:restriction base="xs:normalizedString"/>
113
+ </xs:simpleType>
114
+ <xs:simpleType name="OrganisationNameElementList">
115
+ <xs:annotation>
116
+ <xs:documentation>A list of organisation name element types, e.g. Name, propriety type, liability type, etc.</xs:documentation>
117
+ </xs:annotation>
118
+ <xs:restriction base="xs:normalizedString">
119
+ <xs:enumeration value="NameOnly">
120
+ <xs:annotation>
121
+ <xs:documentation>"Sakthisoft" in "Sakthisoft Pty. Ltd". "Pty.Ltd" is the legal entity for the organisation name "Sakthisoft"</xs:documentation>
122
+ </xs:annotation>
123
+ </xs:enumeration>
124
+ <xs:enumeration value="TypeOnly">
125
+ <xs:annotation>
126
+ <xs:documentation>"Pty. Ltd" in Sakthisoft Pty.Ltd, where "Sakthisoft" is the name of the organisation.
127
+
128
+ ""Inc" in ABC Inc, where "ABC" is organisation name</xs:documentation>
129
+ </xs:annotation>
130
+ </xs:enumeration>
131
+ <xs:enumeration value="FullName">
132
+ <xs:annotation>
133
+ <xs:documentation>Full Name of the organisation. e.g. Sakthisoft Pty. Ltd</xs:documentation>
134
+ </xs:annotation>
135
+ </xs:enumeration>
136
+ </xs:restriction>
137
+ </xs:simpleType>
138
+ <xs:simpleType name="OrganisationNameUsageList">
139
+ <xs:annotation>
140
+ <xs:documentation>A list of usage types for organisation name</xs:documentation>
141
+ </xs:annotation>
142
+ <xs:restriction base="xs:normalizedString"/>
143
+ </xs:simpleType>
144
+ <xs:simpleType name="PersonNameTypeList">
145
+ <xs:annotation>
146
+ <xs:documentation>A list of common types for person names</xs:documentation>
147
+ </xs:annotation>
148
+ <xs:restriction base="xs:normalizedString">
149
+ <xs:enumeration value="Alias"/>
150
+ <xs:enumeration value="LegalName"/>
151
+ <xs:enumeration value="KnownAs"/>
152
+ <xs:enumeration value="MaidenName">
153
+ <xs:annotation>
154
+ <xs:documentation>Name of an individual before marriage.</xs:documentation>
155
+ </xs:annotation>
156
+ </xs:enumeration>
157
+ <xs:enumeration value="FormerName">
158
+ <xs:annotation>
159
+ <xs:documentation>Former name of the person</xs:documentation>
160
+ </xs:annotation>
161
+ </xs:enumeration>
162
+ <xs:enumeration value="CommonUse">
163
+ <xs:annotation>
164
+ <xs:documentation>Name that is commonly used by others, e.g. a simplified form of the official name.</xs:documentation>
165
+ </xs:annotation>
166
+ </xs:enumeration>
167
+ <xs:enumeration value="NameAtBirth">
168
+ <xs:annotation>
169
+ <xs:documentation>A name given to an individual at birth, but later changed (common in some cultures)</xs:documentation>
170
+ </xs:annotation>
171
+ </xs:enumeration>
172
+ <xs:enumeration value="PreferredName">
173
+ <xs:annotation>
174
+ <xs:documentation>Indicates that the party prefers to be called by this name</xs:documentation>
175
+ </xs:annotation>
176
+ </xs:enumeration>
177
+ <xs:enumeration value="OfficialName">
178
+ <xs:annotation>
179
+ <xs:documentation>An official name of the person, e.g. as in the passport. incorporation certificate, etc.</xs:documentation>
180
+ </xs:annotation>
181
+ </xs:enumeration>
182
+ <xs:enumeration value="UnofficialName"/>
183
+ <xs:enumeration value="NickName"/>
184
+ <xs:enumeration value="PetName"/>
185
+ </xs:restriction>
186
+ </xs:simpleType>
187
+ <xs:simpleType name="OrganisationNameTypeList">
188
+ <xs:annotation>
189
+ <xs:documentation>A list of common types for organisation names</xs:documentation>
190
+ </xs:annotation>
191
+ <xs:restriction base="xs:normalizedString">
192
+ <xs:enumeration value="LegalName"/>
193
+ <xs:enumeration value="FormerName">
194
+ <xs:annotation>
195
+ <xs:documentation>Former name of the organisation</xs:documentation>
196
+ </xs:annotation>
197
+ </xs:enumeration>
198
+ <xs:enumeration value="CommonUse"/>
199
+ <xs:enumeration value="PublishingName"/>
200
+ <xs:enumeration value="OfficialName"/>
201
+ <xs:enumeration value="UnofficialName"/>
202
+ <xs:enumeration value="Undefined">
203
+ <xs:annotation>
204
+ <xs:documentation>unknown</xs:documentation>
205
+ </xs:annotation>
206
+ </xs:enumeration>
207
+ </xs:restriction>
208
+ </xs:simpleType>
209
+ <xs:simpleType name="SubDivisionTypeList">
210
+ <xs:annotation>
211
+ <xs:documentation>A list of common types for subdivisions</xs:documentation>
212
+ </xs:annotation>
213
+ <xs:restriction base="xs:normalizedString">
214
+ <xs:enumeration value="Department"/>
215
+ <xs:enumeration value="Division"/>
216
+ <xs:enumeration value="Branch"/>
217
+ <xs:enumeration value="BusinessUnit"/>
218
+ <xs:enumeration value="School"/>
219
+ <xs:enumeration value="Section"/>
220
+ </xs:restriction>
221
+ </xs:simpleType>
222
+ </xs:schema>