stix_schema_spy 1.0

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 (482) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +24 -0
  5. data/README.md +41 -0
  6. data/Rakefile +3 -0
  7. data/config/1.0.1/stix/README.md +20 -0
  8. data/config/1.0.1/stix/campaign.xsd +210 -0
  9. data/config/1.0.1/stix/course_of_action.xsd +166 -0
  10. data/config/1.0.1/stix/cybox/README.md +13 -0
  11. data/config/1.0.1/stix/cybox/cybox_common.xsd +2319 -0
  12. data/config/1.0.1/stix/cybox/cybox_core.xsd +1095 -0
  13. data/config/1.0.1/stix/cybox/cybox_default_vocabularies.xsd +3326 -0
  14. data/config/1.0.1/stix/cybox/extensions/platform/README.txt +1 -0
  15. data/config/1.0.1/stix/cybox/extensions/platform/cpe-language_2.3.xsd +234 -0
  16. data/config/1.0.1/stix/cybox/extensions/platform/cpe-naming_2.3.xsd +45 -0
  17. data/config/1.0.1/stix/cybox/extensions/platform/cpe2.3.xsd +40 -0
  18. data/config/1.0.1/stix/cybox/extensions/platform/xml.xsd +145 -0
  19. data/config/1.0.1/stix/cybox/objects/API_Object.xsd +55 -0
  20. data/config/1.0.1/stix/cybox/objects/Account_Object.xsd +50 -0
  21. data/config/1.0.1/stix/cybox/objects/Address_Object.xsd +122 -0
  22. data/config/1.0.1/stix/cybox/objects/Artifact_Object.xsd +206 -0
  23. data/config/1.0.1/stix/cybox/objects/Code_Object.xsd +417 -0
  24. data/config/1.0.1/stix/cybox/objects/Custom_Object.xsd +43 -0
  25. data/config/1.0.1/stix/cybox/objects/DNS_Cache_Object.xsd +53 -0
  26. data/config/1.0.1/stix/cybox/objects/DNS_Query_Object.xsd +159 -0
  27. data/config/1.0.1/stix/cybox/objects/DNS_Record_Object.xsd +87 -0
  28. data/config/1.0.1/stix/cybox/objects/Device_Object.xsd +55 -0
  29. data/config/1.0.1/stix/cybox/objects/Disk_Object.xsd +117 -0
  30. data/config/1.0.1/stix/cybox/objects/Disk_Partition_Object.xsd +199 -0
  31. data/config/1.0.1/stix/cybox/objects/Email_Message_Object.xsd +273 -0
  32. data/config/1.0.1/stix/cybox/objects/File_Object.xsd +359 -0
  33. data/config/1.0.1/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -0
  34. data/config/1.0.1/stix/cybox/objects/GUI_Object.xsd +40 -0
  35. data/config/1.0.1/stix/cybox/objects/GUI_Window_Object.xsd +46 -0
  36. data/config/1.0.1/stix/cybox/objects/HTTP_Session_Object.xsd +623 -0
  37. data/config/1.0.1/stix/cybox/objects/Library_Object.xsd +114 -0
  38. data/config/1.0.1/stix/cybox/objects/Link_Object.xsd +36 -0
  39. data/config/1.0.1/stix/cybox/objects/Linux_Package_Object.xsd +119 -0
  40. data/config/1.0.1/stix/cybox/objects/Memory_Object.xsd +70 -0
  41. data/config/1.0.1/stix/cybox/objects/Mutex_Object.xsd +40 -0
  42. data/config/1.0.1/stix/cybox/objects/Network_Connection_Object.xsd +609 -0
  43. data/config/1.0.1/stix/cybox/objects/Network_Flow_Object.xsd +1559 -0
  44. data/config/1.0.1/stix/cybox/objects/Network_Packet_Object.xsd +2948 -0
  45. data/config/1.0.1/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -0
  46. data/config/1.0.1/stix/cybox/objects/Network_Route_Object.xsd +93 -0
  47. data/config/1.0.1/stix/cybox/objects/Network_Socket_Object.xsd +524 -0
  48. data/config/1.0.1/stix/cybox/objects/Network_Subnet_Object.xsd +64 -0
  49. data/config/1.0.1/stix/cybox/objects/PDF_File_Object.xsd +601 -0
  50. data/config/1.0.1/stix/cybox/objects/Pipe_Object.xsd +40 -0
  51. data/config/1.0.1/stix/cybox/objects/Port_Object.xsd +74 -0
  52. data/config/1.0.1/stix/cybox/objects/Process_Object.xsd +197 -0
  53. data/config/1.0.1/stix/cybox/objects/Product_Object.xsd +60 -0
  54. data/config/1.0.1/stix/cybox/objects/Semaphore_Object.xsd +50 -0
  55. data/config/1.0.1/stix/cybox/objects/Socket_Address_Object.xsd +42 -0
  56. data/config/1.0.1/stix/cybox/objects/System_Object.xsd +409 -0
  57. data/config/1.0.1/stix/cybox/objects/URI_Object.xsd +62 -0
  58. data/config/1.0.1/stix/cybox/objects/Unix_File_Object.xsd +164 -0
  59. data/config/1.0.1/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -0
  60. data/config/1.0.1/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -0
  61. data/config/1.0.1/stix/cybox/objects/Unix_Process_Object.xsd +143 -0
  62. data/config/1.0.1/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -0
  63. data/config/1.0.1/stix/cybox/objects/Unix_Volume_Object.xsd +41 -0
  64. data/config/1.0.1/stix/cybox/objects/User_Account_Object.xsd +110 -0
  65. data/config/1.0.1/stix/cybox/objects/User_Session_Object.xsd +60 -0
  66. data/config/1.0.1/stix/cybox/objects/Volume_Object.xsd +235 -0
  67. data/config/1.0.1/stix/cybox/objects/Whois_Object.xsd +456 -0
  68. data/config/1.0.1/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -0
  69. data/config/1.0.1/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -0
  70. data/config/1.0.1/stix/cybox/objects/Win_Driver_Object.xsd +269 -0
  71. data/config/1.0.1/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -0
  72. data/config/1.0.1/stix/cybox/objects/Win_Event_Object.xsd +80 -0
  73. data/config/1.0.1/stix/cybox/objects/Win_Executable_File_Object.xsd +1333 -0
  74. data/config/1.0.1/stix/cybox/objects/Win_File_Object.xsd +269 -0
  75. data/config/1.0.1/stix/cybox/objects/Win_Handle_Object.xsd +186 -0
  76. data/config/1.0.1/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -0
  77. data/config/1.0.1/stix/cybox/objects/Win_Kernel_Object.xsd +128 -0
  78. data/config/1.0.1/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -0
  79. data/config/1.0.1/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -0
  80. data/config/1.0.1/stix/cybox/objects/Win_Mutex_Object.xsd +42 -0
  81. data/config/1.0.1/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -0
  82. data/config/1.0.1/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -0
  83. data/config/1.0.1/stix/cybox/objects/Win_Pipe_Object.xsd +73 -0
  84. data/config/1.0.1/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -0
  85. data/config/1.0.1/stix/cybox/objects/Win_Process_Object.xsd +167 -0
  86. data/config/1.0.1/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -0
  87. data/config/1.0.1/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -0
  88. data/config/1.0.1/stix/cybox/objects/Win_Service_Object.xsd +287 -0
  89. data/config/1.0.1/stix/cybox/objects/Win_System_Object.xsd +126 -0
  90. data/config/1.0.1/stix/cybox/objects/Win_System_Restore_Object.xsd +199 -0
  91. data/config/1.0.1/stix/cybox/objects/Win_Task_Object.xsd +755 -0
  92. data/config/1.0.1/stix/cybox/objects/Win_Thread_Object.xsd +146 -0
  93. data/config/1.0.1/stix/cybox/objects/Win_User_Account_Object.xsd +73 -0
  94. data/config/1.0.1/stix/cybox/objects/Win_Volume_Object.xsd +161 -0
  95. data/config/1.0.1/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -0
  96. data/config/1.0.1/stix/cybox/objects/X509_Certificate_Object.xsd +270 -0
  97. data/config/1.0.1/stix/data_marking.xsd +92 -0
  98. data/config/1.0.1/stix/exploit_target.xsd +224 -0
  99. data/config/1.0.1/stix/extensions/address/ciq_address_3.0.xsd +27 -0
  100. data/config/1.0.1/stix/extensions/address/readme.txt +1 -0
  101. data/config/1.0.1/stix/extensions/attack_pattern/capec_2.6.1.xsd +31 -0
  102. data/config/1.0.1/stix/extensions/attack_pattern/readme.txt +1 -0
  103. data/config/1.0.1/stix/extensions/identity/ciq_identity_3.0.xsd +108 -0
  104. data/config/1.0.1/stix/extensions/identity/readme.txt +1 -0
  105. data/config/1.0.1/stix/extensions/malware/maec_4.0.1.xsd +31 -0
  106. data/config/1.0.1/stix/extensions/malware/readme.txt +1 -0
  107. data/config/1.0.1/stix/extensions/marking/simple_marking.xsd +30 -0
  108. data/config/1.0.1/stix/extensions/marking/tlp.xsd +39 -0
  109. data/config/1.0.1/stix/extensions/structured_coa/generic.xsd +46 -0
  110. data/config/1.0.1/stix/extensions/test_mechanism/generic.xsd +46 -0
  111. data/config/1.0.1/stix/extensions/test_mechanism/open_ioc_2010.xsd +32 -0
  112. data/config/1.0.1/stix/extensions/test_mechanism/oval_5.10.xsd +37 -0
  113. data/config/1.0.1/stix/extensions/test_mechanism/snort.xsd +36 -0
  114. data/config/1.0.1/stix/extensions/test_mechanism/yara.xsd +36 -0
  115. data/config/1.0.1/stix/extensions/vulnerability/cvrf_1.1.xsd +33 -0
  116. data/config/1.0.1/stix/extensions/vulnerability/readme.txt +1 -0
  117. data/config/1.0.1/stix/external/capec_2.6.1/ap_schema_v2.6.1.xsd +3618 -0
  118. data/config/1.0.1/stix/external/cvrf_1.1/common.xsd +176 -0
  119. data/config/1.0.1/stix/external/cvrf_1.1/cpe-language_2.2a.xsd +182 -0
  120. data/config/1.0.1/stix/external/cvrf_1.1/cvrf.xsd +487 -0
  121. data/config/1.0.1/stix/external/cvrf_1.1/cvss-v2_0.9.xsd +415 -0
  122. data/config/1.0.1/stix/external/cvrf_1.1/dc.xsd +118 -0
  123. data/config/1.0.1/stix/external/cvrf_1.1/prod.xsd +292 -0
  124. data/config/1.0.1/stix/external/cvrf_1.1/scap-core_0.9.xsd +170 -0
  125. data/config/1.0.1/stix/external/cvrf_1.1/vuln.xsd +631 -0
  126. data/config/1.0.1/stix/external/cvrf_1.1/xml.xsd +287 -0
  127. data/config/1.0.1/stix/external/maec_4.0.1/maec_bundle_schema.xsd +1139 -0
  128. data/config/1.0.1/stix/external/maec_4.0.1/maec_package_schema.xsd +938 -0
  129. data/config/1.0.1/stix/external/maec_4.0.1/metadataSharing.xsd +1712 -0
  130. data/config/1.0.1/stix/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
  131. data/config/1.0.1/stix/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
  132. data/config/1.0.1/stix/external/oasis_ciq_3.0/xAL.xsd +672 -0
  133. data/config/1.0.1/stix/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
  134. data/config/1.0.1/stix/external/oasis_ciq_3.0/xNAL.xsd +126 -0
  135. data/config/1.0.1/stix/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
  136. data/config/1.0.1/stix/external/oasis_ciq_3.0/xNL.xsd +284 -0
  137. data/config/1.0.1/stix/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
  138. data/config/1.0.1/stix/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
  139. data/config/1.0.1/stix/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
  140. data/config/1.0.1/stix/external/open_ioc_2010/ioc-TR.xsd +25 -0
  141. data/config/1.0.1/stix/external/open_ioc_2010/ioc.xsd +105 -0
  142. data/config/1.0.1/stix/external/oval_5.10/oval-common-schema.xsd +781 -0
  143. data/config/1.0.1/stix/external/oval_5.10/oval-definitions-schema.xsd +1608 -0
  144. data/config/1.0.1/stix/external/oval_5.10/oval-variables-schema.xsd +84 -0
  145. data/config/1.0.1/stix/external/oval_5.10/xmldsig-core-schema.xsd +309 -0
  146. data/config/1.0.1/stix/incident.xsd +787 -0
  147. data/config/1.0.1/stix/indicator.xsd +310 -0
  148. data/config/1.0.1/stix/stix_common.xsd +762 -0
  149. data/config/1.0.1/stix/stix_core.xsd +218 -0
  150. data/config/1.0.1/stix/stix_default_vocabularies.xsd +1684 -0
  151. data/config/1.0.1/stix/threat_actor.xsd +174 -0
  152. data/config/1.0.1/stix/ttp.xsd +341 -0
  153. data/config/1.0/stix/campaign.xsd +209 -0
  154. data/config/1.0/stix/course_of_action.xsd +165 -0
  155. data/config/1.0/stix/cybox/cybox_common.xsd +2319 -0
  156. data/config/1.0/stix/cybox/cybox_core.xsd +1090 -0
  157. data/config/1.0/stix/cybox/cybox_default_vocabularies.xsd +3106 -0
  158. data/config/1.0/stix/cybox/extensions/platform/README.txt +1 -0
  159. data/config/1.0/stix/cybox/extensions/platform/cpe2.3.xsd +40 -0
  160. data/config/1.0/stix/cybox/objects/API_Object.xsd +55 -0
  161. data/config/1.0/stix/cybox/objects/Account_Object.xsd +50 -0
  162. data/config/1.0/stix/cybox/objects/Address_Object.xsd +122 -0
  163. data/config/1.0/stix/cybox/objects/Artifact_Object.xsd +206 -0
  164. data/config/1.0/stix/cybox/objects/Code_Object.xsd +417 -0
  165. data/config/1.0/stix/cybox/objects/Custom_Object.xsd +43 -0
  166. data/config/1.0/stix/cybox/objects/DNS_Cache_Object.xsd +53 -0
  167. data/config/1.0/stix/cybox/objects/DNS_Query_Object.xsd +159 -0
  168. data/config/1.0/stix/cybox/objects/DNS_Record_Object.xsd +87 -0
  169. data/config/1.0/stix/cybox/objects/Device_Object.xsd +55 -0
  170. data/config/1.0/stix/cybox/objects/Disk_Object.xsd +117 -0
  171. data/config/1.0/stix/cybox/objects/Disk_Partition_Object.xsd +199 -0
  172. data/config/1.0/stix/cybox/objects/Email_Message_Object.xsd +273 -0
  173. data/config/1.0/stix/cybox/objects/File_Object.xsd +359 -0
  174. data/config/1.0/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -0
  175. data/config/1.0/stix/cybox/objects/GUI_Object.xsd +40 -0
  176. data/config/1.0/stix/cybox/objects/GUI_Window_Object.xsd +46 -0
  177. data/config/1.0/stix/cybox/objects/HTTP_Session_Object.xsd +623 -0
  178. data/config/1.0/stix/cybox/objects/Library_Object.xsd +114 -0
  179. data/config/1.0/stix/cybox/objects/Link_Object.xsd +24 -0
  180. data/config/1.0/stix/cybox/objects/Linux_Package_Object.xsd +119 -0
  181. data/config/1.0/stix/cybox/objects/Memory_Object.xsd +70 -0
  182. data/config/1.0/stix/cybox/objects/Mutex_Object.xsd +40 -0
  183. data/config/1.0/stix/cybox/objects/Network_Connection_Object.xsd +609 -0
  184. data/config/1.0/stix/cybox/objects/Network_Flow_Object.xsd +1559 -0
  185. data/config/1.0/stix/cybox/objects/Network_Packet_Object.xsd +2948 -0
  186. data/config/1.0/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -0
  187. data/config/1.0/stix/cybox/objects/Network_Route_Object.xsd +93 -0
  188. data/config/1.0/stix/cybox/objects/Network_Socket_Object.xsd +524 -0
  189. data/config/1.0/stix/cybox/objects/Network_Subnet_Object.xsd +64 -0
  190. data/config/1.0/stix/cybox/objects/PDF_File_Object.xsd +601 -0
  191. data/config/1.0/stix/cybox/objects/Pipe_Object.xsd +40 -0
  192. data/config/1.0/stix/cybox/objects/Port_Object.xsd +74 -0
  193. data/config/1.0/stix/cybox/objects/Process_Object.xsd +197 -0
  194. data/config/1.0/stix/cybox/objects/Product_Object.xsd +60 -0
  195. data/config/1.0/stix/cybox/objects/Semaphore_Object.xsd +50 -0
  196. data/config/1.0/stix/cybox/objects/Socket_Address_Object.xsd +42 -0
  197. data/config/1.0/stix/cybox/objects/System_Object.xsd +409 -0
  198. data/config/1.0/stix/cybox/objects/URI_Object.xsd +62 -0
  199. data/config/1.0/stix/cybox/objects/Unix_File_Object.xsd +164 -0
  200. data/config/1.0/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -0
  201. data/config/1.0/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -0
  202. data/config/1.0/stix/cybox/objects/Unix_Process_Object.xsd +143 -0
  203. data/config/1.0/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -0
  204. data/config/1.0/stix/cybox/objects/Unix_Volume_Object.xsd +41 -0
  205. data/config/1.0/stix/cybox/objects/User_Account_Object.xsd +110 -0
  206. data/config/1.0/stix/cybox/objects/User_Session_Object.xsd +60 -0
  207. data/config/1.0/stix/cybox/objects/Volume_Object.xsd +235 -0
  208. data/config/1.0/stix/cybox/objects/Whois_Object.xsd +456 -0
  209. data/config/1.0/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -0
  210. data/config/1.0/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -0
  211. data/config/1.0/stix/cybox/objects/Win_Driver_Object.xsd +269 -0
  212. data/config/1.0/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -0
  213. data/config/1.0/stix/cybox/objects/Win_Event_Object.xsd +80 -0
  214. data/config/1.0/stix/cybox/objects/Win_Executable_File_Object.xsd +1333 -0
  215. data/config/1.0/stix/cybox/objects/Win_File_Object.xsd +269 -0
  216. data/config/1.0/stix/cybox/objects/Win_Handle_Object.xsd +186 -0
  217. data/config/1.0/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -0
  218. data/config/1.0/stix/cybox/objects/Win_Kernel_Object.xsd +128 -0
  219. data/config/1.0/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -0
  220. data/config/1.0/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -0
  221. data/config/1.0/stix/cybox/objects/Win_Mutex_Object.xsd +42 -0
  222. data/config/1.0/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -0
  223. data/config/1.0/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -0
  224. data/config/1.0/stix/cybox/objects/Win_Pipe_Object.xsd +73 -0
  225. data/config/1.0/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -0
  226. data/config/1.0/stix/cybox/objects/Win_Process_Object.xsd +167 -0
  227. data/config/1.0/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -0
  228. data/config/1.0/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -0
  229. data/config/1.0/stix/cybox/objects/Win_Service_Object.xsd +287 -0
  230. data/config/1.0/stix/cybox/objects/Win_System_Object.xsd +126 -0
  231. data/config/1.0/stix/cybox/objects/Win_System_Restore_Object.xsd +199 -0
  232. data/config/1.0/stix/cybox/objects/Win_Task_Object.xsd +755 -0
  233. data/config/1.0/stix/cybox/objects/Win_Thread_Object.xsd +146 -0
  234. data/config/1.0/stix/cybox/objects/Win_User_Account_Object.xsd +73 -0
  235. data/config/1.0/stix/cybox/objects/Win_Volume_Object.xsd +161 -0
  236. data/config/1.0/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -0
  237. data/config/1.0/stix/cybox/objects/X509_Certificate_Object.xsd +270 -0
  238. data/config/1.0/stix/data_marking.xsd +92 -0
  239. data/config/1.0/stix/exploit_target.xsd +223 -0
  240. data/config/1.0/stix/extensions/address/ciq_address_3.0.xsd +27 -0
  241. data/config/1.0/stix/extensions/address/readme.txt +1 -0
  242. data/config/1.0/stix/extensions/attack_pattern/capec_2.5.xsd +31 -0
  243. data/config/1.0/stix/extensions/identity/ciq_identity_3.0.xsd +108 -0
  244. data/config/1.0/stix/extensions/identity/readme.txt +1 -0
  245. data/config/1.0/stix/extensions/malware/maec_4.0.xsd +32 -0
  246. data/config/1.0/stix/extensions/malware/readme.txt +3 -0
  247. data/config/1.0/stix/extensions/marking/simple_marking.xsd +30 -0
  248. data/config/1.0/stix/extensions/marking/tlp.xsd +39 -0
  249. data/config/1.0/stix/extensions/structured_coa/generic.xsd +46 -0
  250. data/config/1.0/stix/extensions/test_mechanism/generic.xsd +46 -0
  251. data/config/1.0/stix/extensions/test_mechanism/open_ioc_2010.xsd +32 -0
  252. data/config/1.0/stix/extensions/test_mechanism/oval_5.10.xsd +37 -0
  253. data/config/1.0/stix/extensions/test_mechanism/snort.xsd +36 -0
  254. data/config/1.0/stix/extensions/test_mechanism/yara.xsd +36 -0
  255. data/config/1.0/stix/extensions/vulnerability/cvrf_1.1.xsd +33 -0
  256. data/config/1.0/stix/extensions/vulnerability/readme.txt +1 -0
  257. data/config/1.0/stix/external/capec_2.5/ap_schema_v2.5.xsd +2671 -0
  258. data/config/1.0/stix/external/cvrf_1.1/common.xsd +176 -0
  259. data/config/1.0/stix/external/cvrf_1.1/cpe-language_2.2a.xsd +182 -0
  260. data/config/1.0/stix/external/cvrf_1.1/cvrf.xsd +487 -0
  261. data/config/1.0/stix/external/cvrf_1.1/cvss-v2_0.9.xsd +415 -0
  262. data/config/1.0/stix/external/cvrf_1.1/dc.xsd +118 -0
  263. data/config/1.0/stix/external/cvrf_1.1/prod.xsd +292 -0
  264. data/config/1.0/stix/external/cvrf_1.1/scap-core_0.9.xsd +170 -0
  265. data/config/1.0/stix/external/cvrf_1.1/vuln.xsd +631 -0
  266. data/config/1.0/stix/external/cvrf_1.1/xml.xsd +287 -0
  267. data/config/1.0/stix/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
  268. data/config/1.0/stix/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
  269. data/config/1.0/stix/external/oasis_ciq_3.0/xAL.xsd +672 -0
  270. data/config/1.0/stix/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
  271. data/config/1.0/stix/external/oasis_ciq_3.0/xNAL.xsd +126 -0
  272. data/config/1.0/stix/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
  273. data/config/1.0/stix/external/oasis_ciq_3.0/xNL.xsd +284 -0
  274. data/config/1.0/stix/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
  275. data/config/1.0/stix/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
  276. data/config/1.0/stix/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
  277. data/config/1.0/stix/external/open_ioc_2010/ioc-TR.xsd +25 -0
  278. data/config/1.0/stix/external/open_ioc_2010/ioc.xsd +105 -0
  279. data/config/1.0/stix/external/oval_5.10/oval-common-schema.xsd +781 -0
  280. data/config/1.0/stix/external/oval_5.10/oval-definitions-schema.xsd +1608 -0
  281. data/config/1.0/stix/external/oval_5.10/oval-variables-schema.xsd +84 -0
  282. data/config/1.0/stix/external/oval_5.10/xmldsig-core-schema.xsd +309 -0
  283. data/config/1.0/stix/incident.xsd +786 -0
  284. data/config/1.0/stix/indicator.xsd +309 -0
  285. data/config/1.0/stix/stix_common.xsd +762 -0
  286. data/config/1.0/stix/stix_core.xsd +217 -0
  287. data/config/1.0/stix/stix_default_vocabularies.xsd +1578 -0
  288. data/config/1.0/stix/threat_actor.xsd +173 -0
  289. data/config/1.0/stix/ttp.xsd +340 -0
  290. data/config/1.1/stix/campaign.xsd +223 -0
  291. data/config/1.1/stix/course_of_action.xsd +190 -0
  292. data/config/1.1/stix/cybox/cybox_common.xsd +2700 -0
  293. data/config/1.1/stix/cybox/cybox_core.xsd +1145 -0
  294. data/config/1.1/stix/cybox/cybox_default_vocabularies.xsd +5180 -0
  295. data/config/1.1/stix/cybox/extensions/location/ciq_address_3.0.xsd +27 -0
  296. data/config/1.1/stix/cybox/extensions/platform/README.txt +1 -0
  297. data/config/1.1/stix/cybox/extensions/platform/cpe2.3.xsd +34 -0
  298. data/config/1.1/stix/cybox/external/cpe_2.3/cpe-language_2.3.xsd +234 -0
  299. data/config/1.1/stix/cybox/external/cpe_2.3/cpe-naming_2.3.xsd +45 -0
  300. data/config/1.1/stix/cybox/external/cpe_2.3/xml.xsd +145 -0
  301. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
  302. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
  303. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xAL.xsd +672 -0
  304. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
  305. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xNAL.xsd +126 -0
  306. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
  307. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xNL.xsd +284 -0
  308. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
  309. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
  310. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
  311. data/config/1.1/stix/cybox/objects/API_Object.xsd +55 -0
  312. data/config/1.1/stix/cybox/objects/ARP_Cache_Object.xsd +98 -0
  313. data/config/1.1/stix/cybox/objects/AS_Object.xsd +50 -0
  314. data/config/1.1/stix/cybox/objects/Account_Object.xsd +501 -0
  315. data/config/1.1/stix/cybox/objects/Address_Object.xsd +127 -0
  316. data/config/1.1/stix/cybox/objects/Archive_File_Object.xsd +134 -0
  317. data/config/1.1/stix/cybox/objects/Artifact_Object.xsd +212 -0
  318. data/config/1.1/stix/cybox/objects/Code_Object.xsd +417 -0
  319. data/config/1.1/stix/cybox/objects/Custom_Object.xsd +42 -0
  320. data/config/1.1/stix/cybox/objects/DNS_Cache_Object.xsd +53 -0
  321. data/config/1.1/stix/cybox/objects/DNS_Query_Object.xsd +164 -0
  322. data/config/1.1/stix/cybox/objects/DNS_Record_Object.xsd +92 -0
  323. data/config/1.1/stix/cybox/objects/Device_Object.xsd +65 -0
  324. data/config/1.1/stix/cybox/objects/Disk_Object.xsd +117 -0
  325. data/config/1.1/stix/cybox/objects/Disk_Partition_Object.xsd +199 -0
  326. data/config/1.1/stix/cybox/objects/Domain_Name_Object.xsd +57 -0
  327. data/config/1.1/stix/cybox/objects/Email_Message_Object.xsd +278 -0
  328. data/config/1.1/stix/cybox/objects/File_Object.xsd +397 -0
  329. data/config/1.1/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -0
  330. data/config/1.1/stix/cybox/objects/GUI_Object.xsd +40 -0
  331. data/config/1.1/stix/cybox/objects/GUI_Window_Object.xsd +46 -0
  332. data/config/1.1/stix/cybox/objects/HTTP_Session_Object.xsd +633 -0
  333. data/config/1.1/stix/cybox/objects/Hostname_Object.xsd +45 -0
  334. data/config/1.1/stix/cybox/objects/Image_File_Object.xsd +124 -0
  335. data/config/1.1/stix/cybox/objects/Library_Object.xsd +114 -0
  336. data/config/1.1/stix/cybox/objects/Link_Object.xsd +36 -0
  337. data/config/1.1/stix/cybox/objects/Linux_Package_Object.xsd +75 -0
  338. data/config/1.1/stix/cybox/objects/Memory_Object.xsd +141 -0
  339. data/config/1.1/stix/cybox/objects/Mutex_Object.xsd +40 -0
  340. data/config/1.1/stix/cybox/objects/Network_Connection_Object.xsd +540 -0
  341. data/config/1.1/stix/cybox/objects/Network_Flow_Object.xsd +1559 -0
  342. data/config/1.1/stix/cybox/objects/Network_Packet_Object.xsd +2934 -0
  343. data/config/1.1/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -0
  344. data/config/1.1/stix/cybox/objects/Network_Route_Object.xsd +93 -0
  345. data/config/1.1/stix/cybox/objects/Network_Socket_Object.xsd +529 -0
  346. data/config/1.1/stix/cybox/objects/Network_Subnet_Object.xsd +64 -0
  347. data/config/1.1/stix/cybox/objects/PDF_File_Object.xsd +595 -0
  348. data/config/1.1/stix/cybox/objects/Pipe_Object.xsd +40 -0
  349. data/config/1.1/stix/cybox/objects/Port_Object.xsd +40 -0
  350. data/config/1.1/stix/cybox/objects/Process_Object.xsd +199 -0
  351. data/config/1.1/stix/cybox/objects/Product_Object.xsd +65 -0
  352. data/config/1.1/stix/cybox/objects/SMS_Message_Object.xsd +79 -0
  353. data/config/1.1/stix/cybox/objects/Semaphore_Object.xsd +50 -0
  354. data/config/1.1/stix/cybox/objects/Socket_Address_Object.xsd +50 -0
  355. data/config/1.1/stix/cybox/objects/System_Object.xsd +410 -0
  356. data/config/1.1/stix/cybox/objects/URI_Object.xsd +62 -0
  357. data/config/1.1/stix/cybox/objects/URL_History_Object.xsd +104 -0
  358. data/config/1.1/stix/cybox/objects/Unix_File_Object.xsd +164 -0
  359. data/config/1.1/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -0
  360. data/config/1.1/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -0
  361. data/config/1.1/stix/cybox/objects/Unix_Process_Object.xsd +143 -0
  362. data/config/1.1/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -0
  363. data/config/1.1/stix/cybox/objects/Unix_Volume_Object.xsd +41 -0
  364. data/config/1.1/stix/cybox/objects/User_Account_Object.xsd +110 -0
  365. data/config/1.1/stix/cybox/objects/User_Session_Object.xsd +60 -0
  366. data/config/1.1/stix/cybox/objects/Volume_Object.xsd +235 -0
  367. data/config/1.1/stix/cybox/objects/Whois_Object.xsd +430 -0
  368. data/config/1.1/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -0
  369. data/config/1.1/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -0
  370. data/config/1.1/stix/cybox/objects/Win_Driver_Object.xsd +270 -0
  371. data/config/1.1/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -0
  372. data/config/1.1/stix/cybox/objects/Win_Event_Object.xsd +80 -0
  373. data/config/1.1/stix/cybox/objects/Win_Executable_File_Object.xsd +1311 -0
  374. data/config/1.1/stix/cybox/objects/Win_File_Object.xsd +269 -0
  375. data/config/1.1/stix/cybox/objects/Win_Filemapping_Object.xsd +175 -0
  376. data/config/1.1/stix/cybox/objects/Win_Handle_Object.xsd +351 -0
  377. data/config/1.1/stix/cybox/objects/Win_Hook_Object.xsd +152 -0
  378. data/config/1.1/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -0
  379. data/config/1.1/stix/cybox/objects/Win_Kernel_Object.xsd +128 -0
  380. data/config/1.1/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -0
  381. data/config/1.1/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -0
  382. data/config/1.1/stix/cybox/objects/Win_Mutex_Object.xsd +42 -0
  383. data/config/1.1/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -0
  384. data/config/1.1/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -0
  385. data/config/1.1/stix/cybox/objects/Win_Pipe_Object.xsd +73 -0
  386. data/config/1.1/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -0
  387. data/config/1.1/stix/cybox/objects/Win_Process_Object.xsd +174 -0
  388. data/config/1.1/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -0
  389. data/config/1.1/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -0
  390. data/config/1.1/stix/cybox/objects/Win_Service_Object.xsd +287 -0
  391. data/config/1.1/stix/cybox/objects/Win_System_Object.xsd +126 -0
  392. data/config/1.1/stix/cybox/objects/Win_System_Restore_Object.xsd +207 -0
  393. data/config/1.1/stix/cybox/objects/Win_Task_Object.xsd +755 -0
  394. data/config/1.1/stix/cybox/objects/Win_Thread_Object.xsd +146 -0
  395. data/config/1.1/stix/cybox/objects/Win_User_Account_Object.xsd +73 -0
  396. data/config/1.1/stix/cybox/objects/Win_Volume_Object.xsd +161 -0
  397. data/config/1.1/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -0
  398. data/config/1.1/stix/cybox/objects/X509_Certificate_Object.xsd +275 -0
  399. data/config/1.1/stix/data_marking.xsd +96 -0
  400. data/config/1.1/stix/exploit_target.xsd +323 -0
  401. data/config/1.1/stix/extensions/address/ciq_3.0_address.xsd +27 -0
  402. data/config/1.1/stix/extensions/address/readme.txt +1 -0
  403. data/config/1.1/stix/extensions/attack_pattern/capec_2.7_attack_pattern.xsd +31 -0
  404. data/config/1.1/stix/extensions/attack_pattern/readme.txt +1 -0
  405. data/config/1.1/stix/extensions/identity/ciq_3.0_identity.xsd +113 -0
  406. data/config/1.1/stix/extensions/identity/readme.txt +1 -0
  407. data/config/1.1/stix/extensions/malware/maec_4.1_malware.xsd +31 -0
  408. data/config/1.1/stix/extensions/malware/readme.txt +1 -0
  409. data/config/1.1/stix/extensions/marking/simple_marking.xsd +31 -0
  410. data/config/1.1/stix/extensions/marking/terms_of_use_marking.xsd +31 -0
  411. data/config/1.1/stix/extensions/marking/tlp_marking.xsd +40 -0
  412. data/config/1.1/stix/extensions/structured_coa/generic_structured_coa.xsd +46 -0
  413. data/config/1.1/stix/extensions/test_mechanism/generic_test_mechanism.xsd +46 -0
  414. data/config/1.1/stix/extensions/test_mechanism/open_ioc_2010_test_mechanism.xsd +32 -0
  415. data/config/1.1/stix/extensions/test_mechanism/oval_5.10_test_mechanism.xsd +37 -0
  416. data/config/1.1/stix/extensions/test_mechanism/snort_test_mechanism.xsd +56 -0
  417. data/config/1.1/stix/extensions/test_mechanism/yara_test_mechanism.xsd +36 -0
  418. data/config/1.1/stix/extensions/vulnerability/cvrf_1.1_vulnerability.xsd +33 -0
  419. data/config/1.1/stix/extensions/vulnerability/readme.txt +1 -0
  420. data/config/1.1/stix/external/capec_2.7/ap_schema_v2.7.xsd +3618 -0
  421. data/config/1.1/stix/external/cvrf_1.1/common.xsd +176 -0
  422. data/config/1.1/stix/external/cvrf_1.1/cpe-language_2.2a.xsd +182 -0
  423. data/config/1.1/stix/external/cvrf_1.1/cvrf.xsd +487 -0
  424. data/config/1.1/stix/external/cvrf_1.1/cvss-v2_0.9.xsd +415 -0
  425. data/config/1.1/stix/external/cvrf_1.1/dc.xsd +118 -0
  426. data/config/1.1/stix/external/cvrf_1.1/prod.xsd +292 -0
  427. data/config/1.1/stix/external/cvrf_1.1/scap-core_0.9.xsd +170 -0
  428. data/config/1.1/stix/external/cvrf_1.1/vuln.xsd +631 -0
  429. data/config/1.1/stix/external/cvrf_1.1/xml.xsd +287 -0
  430. data/config/1.1/stix/external/maec_4.1/maec_bundle_schema.xsd +1228 -0
  431. data/config/1.1/stix/external/maec_4.1/maec_container_schema.xsd +62 -0
  432. data/config/1.1/stix/external/maec_4.1/maec_default_vocabularies.xsd +5325 -0
  433. data/config/1.1/stix/external/maec_4.1/maec_package_schema.xsd +1095 -0
  434. data/config/1.1/stix/external/maec_4.1/metadataSharing.xsd +1712 -0
  435. data/config/1.1/stix/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
  436. data/config/1.1/stix/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
  437. data/config/1.1/stix/external/oasis_ciq_3.0/xAL.xsd +672 -0
  438. data/config/1.1/stix/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
  439. data/config/1.1/stix/external/oasis_ciq_3.0/xNAL.xsd +126 -0
  440. data/config/1.1/stix/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
  441. data/config/1.1/stix/external/oasis_ciq_3.0/xNL.xsd +284 -0
  442. data/config/1.1/stix/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
  443. data/config/1.1/stix/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
  444. data/config/1.1/stix/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
  445. data/config/1.1/stix/external/open_ioc_2010/ioc-TR.xsd +25 -0
  446. data/config/1.1/stix/external/open_ioc_2010/ioc.xsd +105 -0
  447. data/config/1.1/stix/external/oval_5.10/oval-common-schema.xsd +781 -0
  448. data/config/1.1/stix/external/oval_5.10/oval-definitions-schema.xsd +1608 -0
  449. data/config/1.1/stix/external/oval_5.10/oval-variables-schema.xsd +84 -0
  450. data/config/1.1/stix/external/oval_5.10/xmldsig-core-schema.xsd +309 -0
  451. data/config/1.1/stix/incident.xsd +759 -0
  452. data/config/1.1/stix/indicator.xsd +367 -0
  453. data/config/1.1/stix/stix_common.xsd +932 -0
  454. data/config/1.1/stix/stix_core.xsd +253 -0
  455. data/config/1.1/stix/stix_default_vocabularies.xsd +2015 -0
  456. data/config/1.1/stix/threat_actor.xsd +181 -0
  457. data/config/1.1/stix/ttp.xsd +429 -0
  458. data/config/1.1/uber_schema.xsd +149 -0
  459. data/config/mappings.json +30 -0
  460. data/lib/stix_schema_spy.rb +18 -0
  461. data/lib/stix_schema_spy/models/attribute.rb +20 -0
  462. data/lib/stix_schema_spy/models/complex_type.rb +50 -0
  463. data/lib/stix_schema_spy/models/element.rb +26 -0
  464. data/lib/stix_schema_spy/models/external_type.rb +48 -0
  465. data/lib/stix_schema_spy/models/has_children.rb +83 -0
  466. data/lib/stix_schema_spy/models/node.rb +71 -0
  467. data/lib/stix_schema_spy/models/schema.rb +217 -0
  468. data/lib/stix_schema_spy/models/simple_type.rb +47 -0
  469. data/lib/stix_schema_spy/models/special_field.rb +21 -0
  470. data/lib/stix_schema_spy/models/type.rb +106 -0
  471. data/lib/stix_schema_spy/util/schema_naming.rb +106 -0
  472. data/lib/stix_schema_spy/util/tasks.rb +69 -0
  473. data/lib/stix_schema_spy/version.rb +3 -0
  474. data/spec/lib/schema_naming_spec.rb +190 -0
  475. data/spec/models/complex_type_spec.rb +68 -0
  476. data/spec/models/node_spec.rb +47 -0
  477. data/spec/models/schema_spec.rb +63 -0
  478. data/spec/models/simple_type_spec.rb +38 -0
  479. data/spec/models/type_spec.rb +43 -0
  480. data/spec/spec_helper.rb +8 -0
  481. data/stix_schema_spy.gemspec +27 -0
  482. metadata +602 -0
@@ -0,0 +1,287 @@
1
+ <?xml version='1.0'?>
2
+ <?xml-stylesheet href="../2008/09/xsd.xsl" type="text/xsl"?>
3
+ <xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace"
4
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
5
+ xmlns ="http://www.w3.org/1999/xhtml"
6
+ xml:lang="en">
7
+
8
+ <xs:annotation>
9
+ <xs:documentation>
10
+ <div>
11
+ <h1>About the XML namespace</h1>
12
+
13
+ <div class="bodytext">
14
+ <p>
15
+ This schema document describes the XML namespace, in a form
16
+ suitable for import by other schema documents.
17
+ </p>
18
+ <p>
19
+ See <a href="http://www.w3.org/XML/1998/namespace.html">
20
+ http://www.w3.org/XML/1998/namespace.html</a> and
21
+ <a href="http://www.w3.org/TR/REC-xml">
22
+ http://www.w3.org/TR/REC-xml</a> for information
23
+ about this namespace.
24
+ </p>
25
+ <p>
26
+ Note that local names in this namespace are intended to be
27
+ defined only by the World Wide Web Consortium or its subgroups.
28
+ The names currently defined in this namespace are listed below.
29
+ They should not be used with conflicting semantics by any Working
30
+ Group, specification, or document instance.
31
+ </p>
32
+ <p>
33
+ See further below in this document for more information about <a
34
+ href="#usage">how to refer to this schema document from your own
35
+ XSD schema documents</a> and about <a href="#nsversioning">the
36
+ namespace-versioning policy governing this schema document</a>.
37
+ </p>
38
+ </div>
39
+ </div>
40
+ </xs:documentation>
41
+ </xs:annotation>
42
+
43
+ <xs:attribute name="lang">
44
+ <xs:annotation>
45
+ <xs:documentation>
46
+ <div>
47
+
48
+ <h3>lang (as an attribute name)</h3>
49
+ <p>
50
+ denotes an attribute whose value
51
+ is a language code for the natural language of the content of
52
+ any element; its value is inherited. This name is reserved
53
+ by virtue of its definition in the XML specification.</p>
54
+
55
+ </div>
56
+ <div>
57
+ <h4>Notes</h4>
58
+ <p>
59
+ Attempting to install the relevant ISO 2- and 3-letter
60
+ codes as the enumerated possible values is probably never
61
+ going to be a realistic possibility.
62
+ </p>
63
+ <p>
64
+ See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
65
+ http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
66
+ and the IANA language subtag registry at
67
+ <a href="http://www.iana.org/assignments/language-subtag-registry">
68
+ http://www.iana.org/assignments/language-subtag-registry</a>
69
+ for further information.
70
+ </p>
71
+ <p>
72
+ The union allows for the 'un-declaration' of xml:lang with
73
+ the empty string.
74
+ </p>
75
+ </div>
76
+ </xs:documentation>
77
+ </xs:annotation>
78
+ <xs:simpleType>
79
+ <xs:union memberTypes="xs:language">
80
+ <xs:simpleType>
81
+ <xs:restriction base="xs:string">
82
+ <xs:enumeration value=""/>
83
+ </xs:restriction>
84
+ </xs:simpleType>
85
+ </xs:union>
86
+ </xs:simpleType>
87
+ </xs:attribute>
88
+
89
+ <xs:attribute name="space">
90
+ <xs:annotation>
91
+ <xs:documentation>
92
+ <div>
93
+
94
+ <h3>space (as an attribute name)</h3>
95
+ <p>
96
+ denotes an attribute whose
97
+ value is a keyword indicating what whitespace processing
98
+ discipline is intended for the content of the element; its
99
+ value is inherited. This name is reserved by virtue of its
100
+ definition in the XML specification.</p>
101
+
102
+ </div>
103
+ </xs:documentation>
104
+ </xs:annotation>
105
+ <xs:simpleType>
106
+ <xs:restriction base="xs:NCName">
107
+ <xs:enumeration value="default"/>
108
+ <xs:enumeration value="preserve"/>
109
+ </xs:restriction>
110
+ </xs:simpleType>
111
+ </xs:attribute>
112
+
113
+ <xs:attribute name="base" type="xs:anyURI"> <xs:annotation>
114
+ <xs:documentation>
115
+ <div>
116
+
117
+ <h3>base (as an attribute name)</h3>
118
+ <p>
119
+ denotes an attribute whose value
120
+ provides a URI to be used as the base for interpreting any
121
+ relative URIs in the scope of the element on which it
122
+ appears; its value is inherited. This name is reserved
123
+ by virtue of its definition in the XML Base specification.</p>
124
+
125
+ <p>
126
+ See <a
127
+ href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/</a>
128
+ for information about this attribute.
129
+ </p>
130
+ </div>
131
+ </xs:documentation>
132
+ </xs:annotation>
133
+ </xs:attribute>
134
+
135
+ <xs:attribute name="id" type="xs:ID">
136
+ <xs:annotation>
137
+ <xs:documentation>
138
+ <div>
139
+
140
+ <h3>id (as an attribute name)</h3>
141
+ <p>
142
+ denotes an attribute whose value
143
+ should be interpreted as if declared to be of type ID.
144
+ This name is reserved by virtue of its definition in the
145
+ xml:id specification.</p>
146
+
147
+ <p>
148
+ See <a
149
+ href="http://www.w3.org/TR/xml-id/">http://www.w3.org/TR/xml-id/</a>
150
+ for information about this attribute.
151
+ </p>
152
+ </div>
153
+ </xs:documentation>
154
+ </xs:annotation>
155
+ </xs:attribute>
156
+
157
+ <xs:attributeGroup name="specialAttrs">
158
+ <xs:attribute ref="xml:base"/>
159
+ <xs:attribute ref="xml:lang"/>
160
+ <xs:attribute ref="xml:space"/>
161
+ <xs:attribute ref="xml:id"/>
162
+ </xs:attributeGroup>
163
+
164
+ <xs:annotation>
165
+ <xs:documentation>
166
+ <div>
167
+
168
+ <h3>Father (in any context at all)</h3>
169
+
170
+ <div class="bodytext">
171
+ <p>
172
+ denotes Jon Bosak, the chair of
173
+ the original XML Working Group. This name is reserved by
174
+ the following decision of the W3C XML Plenary and
175
+ XML Coordination groups:
176
+ </p>
177
+ <blockquote>
178
+ <p>
179
+ In appreciation for his vision, leadership and
180
+ dedication the W3C XML Plenary on this 10th day of
181
+ February, 2000, reserves for Jon Bosak in perpetuity
182
+ the XML name "xml:Father".
183
+ </p>
184
+ </blockquote>
185
+ </div>
186
+ </div>
187
+ </xs:documentation>
188
+ </xs:annotation>
189
+
190
+ <xs:annotation>
191
+ <xs:documentation>
192
+ <div xml:id="usage" id="usage">
193
+ <h2><a name="usage">About this schema document</a></h2>
194
+
195
+ <div class="bodytext">
196
+ <p>
197
+ This schema defines attributes and an attribute group suitable
198
+ for use by schemas wishing to allow <code>xml:base</code>,
199
+ <code>xml:lang</code>, <code>xml:space</code> or
200
+ <code>xml:id</code> attributes on elements they define.
201
+ </p>
202
+ <p>
203
+ To enable this, such a schema must import this schema for
204
+ the XML namespace, e.g. as follows:
205
+ </p>
206
+ <pre>
207
+ &lt;schema . . .>
208
+ . . .
209
+ &lt;import namespace="http://www.w3.org/XML/1998/namespace"
210
+ schemaLocation="http://www.w3.org/2001/xml.xsd"/>
211
+ </pre>
212
+ <p>
213
+ or
214
+ </p>
215
+ <pre>
216
+ &lt;import namespace="http://www.w3.org/XML/1998/namespace"
217
+ schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
218
+ </pre>
219
+ <p>
220
+ Subsequently, qualified reference to any of the attributes or the
221
+ group defined below will have the desired effect, e.g.
222
+ </p>
223
+ <pre>
224
+ &lt;type . . .>
225
+ . . .
226
+ &lt;attributeGroup ref="xml:specialAttrs"/>
227
+ </pre>
228
+ <p>
229
+ will define a type which will schema-validate an instance element
230
+ with any of those attributes.
231
+ </p>
232
+ </div>
233
+ </div>
234
+ </xs:documentation>
235
+ </xs:annotation>
236
+
237
+ <xs:annotation>
238
+ <xs:documentation>
239
+ <div id="nsversioning" xml:id="nsversioning">
240
+ <h2><a name="nsversioning">Versioning policy for this schema document</a></h2>
241
+ <div class="bodytext">
242
+ <p>
243
+ In keeping with the XML Schema WG's standard versioning
244
+ policy, this schema document will persist at
245
+ <a href="http://www.w3.org/2009/01/xml.xsd">
246
+ http://www.w3.org/2009/01/xml.xsd</a>.
247
+ </p>
248
+ <p>
249
+ At the date of issue it can also be found at
250
+ <a href="http://www.w3.org/2001/xml.xsd">
251
+ http://www.w3.org/2001/xml.xsd</a>.
252
+ </p>
253
+ <p>
254
+ The schema document at that URI may however change in the future,
255
+ in order to remain compatible with the latest version of XML
256
+ Schema itself, or with the XML namespace itself. In other words,
257
+ if the XML Schema or XML namespaces change, the version of this
258
+ document at <a href="http://www.w3.org/2001/xml.xsd">
259
+ http://www.w3.org/2001/xml.xsd
260
+ </a>
261
+ will change accordingly; the version at
262
+ <a href="http://www.w3.org/2009/01/xml.xsd">
263
+ http://www.w3.org/2009/01/xml.xsd
264
+ </a>
265
+ will not change.
266
+ </p>
267
+ <p>
268
+ Previous dated (and unchanging) versions of this schema
269
+ document are at:
270
+ </p>
271
+ <ul>
272
+ <li><a href="http://www.w3.org/2009/01/xml.xsd">
273
+ http://www.w3.org/2009/01/xml.xsd</a></li>
274
+ <li><a href="http://www.w3.org/2007/08/xml.xsd">
275
+ http://www.w3.org/2007/08/xml.xsd</a></li>
276
+ <li><a href="http://www.w3.org/2004/10/xml.xsd">
277
+ http://www.w3.org/2004/10/xml.xsd</a></li>
278
+ <li><a href="http://www.w3.org/2001/03/xml.xsd">
279
+ http://www.w3.org/2001/03/xml.xsd</a></li>
280
+ </ul>
281
+ </div>
282
+ </div>
283
+ </xs:documentation>
284
+ </xs:annotation>
285
+
286
+ </xs:schema>
287
+
@@ -0,0 +1,104 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:oasis:names:tc:ciq:ct:3" targetNamespace="urn:oasis:names:tc:ciq:ct:3" elementFormDefault="qualified" attributeFormDefault="qualified">
3
+ <xs:annotation>
4
+ <xs:documentation>
5
+ Specification Name: OASIS CIQ TC - CIQ V3.0
6
+ Description: Defines the W3C schema with commonly used types in the name, address and party schemas
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
+ </xs:documentation>
16
+ <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>
17
+ </xs:annotation>
18
+ <xs:simpleType name="String">
19
+ <xs:annotation>
20
+ <xs:documentation>Normalized and Collapsed String</xs:documentation>
21
+ </xs:annotation>
22
+ <xs:restriction base="xs:normalizedString">
23
+ <xs:whiteSpace value="collapse"/>
24
+ </xs:restriction>
25
+ </xs:simpleType>
26
+ <xs:simpleType name="DataQualityTypeList">
27
+ <xs:annotation>
28
+ <xs:documentation>A list of values to indicate the level of reliability of the data</xs:documentation>
29
+ </xs:annotation>
30
+ <xs:restriction base="xs:string">
31
+ <xs:enumeration value="Valid">
32
+ <xs:annotation>
33
+ <xs:documentation>The data was validated and is considered to be true and correct.</xs:documentation>
34
+ </xs:annotation>
35
+ </xs:enumeration>
36
+ <xs:enumeration value="Invalid">
37
+ <xs:annotation>
38
+ <xs:documentation>Indicates that at least some part of the content is known to be incorrect.</xs:documentation>
39
+ </xs:annotation>
40
+ </xs:enumeration>
41
+ </xs:restriction>
42
+ </xs:simpleType>
43
+ <xs:simpleType name="StatusList">
44
+ <xs:annotation>
45
+ <xs:documentation>A list of values to indicate the status of the entity</xs:documentation>
46
+ </xs:annotation>
47
+ <xs:restriction base="xs:string"/>
48
+ </xs:simpleType>
49
+ <xs:attributeGroup name="grValidityDate">
50
+ <xs:annotation>
51
+ <xs:documentation>Date Valid from to Date Valid to</xs:documentation>
52
+ </xs:annotation>
53
+ <xs:attribute name="DateValidFrom" type="xs:dateTime">
54
+ <xs:annotation>
55
+ <xs:documentation>Could be start date, issue date, validity start date, etc</xs:documentation>
56
+ </xs:annotation>
57
+ </xs:attribute>
58
+ <xs:attribute name="DateValidTo" type="xs:dateTime">
59
+ <xs:annotation>
60
+ <xs:documentation>Could be end date, expiry date, validity end date, etc</xs:documentation>
61
+ </xs:annotation>
62
+ </xs:attribute>
63
+ </xs:attributeGroup>
64
+ <xs:attributeGroup name="grAbbreviation">
65
+ <xs:annotation>
66
+ <xs:documentation>A group of commonly used attributes for internal reuse</xs:documentation>
67
+ </xs:annotation>
68
+ <xs:attribute name="Abbreviation" type="xs:boolean">
69
+ <xs:annotation>
70
+ <xs:documentation>If set to true then indicates that the value is an abbreviation or initial. If set to false then the value is definitely not an abbreviation. If omitted then it is not known if the value is an abbreviation or not.</xs:documentation>
71
+ </xs:annotation>
72
+ </xs:attribute>
73
+ </xs:attributeGroup>
74
+ <xs:attributeGroup name="grDataQuality">
75
+ <xs:annotation>
76
+ <xs:documentation>A group of commonly used attributes for internal reuse</xs:documentation>
77
+ </xs:annotation>
78
+ <xs:attribute name="DataQualityType" type="DataQualityTypeList">
79
+ <xs:annotation>
80
+ <xs:documentation>This attribute indicates what level of trust can be given to the parent element. Omit this attribute if the data quality is unknown. If the data quality is known, the value is "Valid, else "InValid"</xs:documentation>
81
+ </xs:annotation>
82
+ </xs:attribute>
83
+ <xs:attribute name="ValidFrom" type="xs:dateTime">
84
+ <xs:annotation>
85
+ <xs:documentation>Date the data quality is valid from </xs:documentation>
86
+ </xs:annotation>
87
+ </xs:attribute>
88
+ <xs:attribute name="ValidTo" type="xs:dateTime">
89
+ <xs:annotation>
90
+ <xs:documentation>Date the data quality is valid to</xs:documentation>
91
+ </xs:annotation>
92
+ </xs:attribute>
93
+ </xs:attributeGroup>
94
+ <xs:attributeGroup name="grLanguageCode">
95
+ <xs:annotation>
96
+ <xs:documentation>The language used (name of human language, e.g. en, en-US)</xs:documentation>
97
+ </xs:annotation>
98
+ <xs:attribute name="LanguageCode" type="xs:language">
99
+ <xs:annotation>
100
+ <xs:documentation>Human Language used. e.g. "en", "en-US", "en-AUS", etc</xs:documentation>
101
+ </xs:annotation>
102
+ </xs:attribute>
103
+ </xs:attributeGroup>
104
+ </xs:schema>
@@ -0,0 +1,511 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns="urn:oasis:names:tc:ciq:xal:3" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oasis:names:tc:ciq:xal:3" elementFormDefault="qualified" attributeFormDefault="qualified">
3
+ <xs:annotation>
4
+ <xs:documentation>
5
+ Specification Name: OASIS CIQ TC - extensible AddressLanguage Types (xAL-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="AddressTypeList">
25
+ <xs:annotation>
26
+ <xs:documentation>A list of types of addresses</xs:documentation>
27
+ </xs:annotation>
28
+ <xs:restriction base="xs:normalizedString">
29
+ <xs:enumeration value="Airport"/>
30
+ <xs:enumeration value="Business"/>
31
+ <xs:enumeration value="CaravanPark"/>
32
+ <xs:enumeration value="CommercialPark"/>
33
+ <xs:enumeration value="CommunityDevelopment"/>
34
+ <xs:enumeration value="EducationalInstitution"/>
35
+ <xs:enumeration value="Entertainment"/>
36
+ <xs:enumeration value="Hospital"/>
37
+ <xs:enumeration value="Location"/>
38
+ <xs:enumeration value="Marina"/>
39
+ <xs:enumeration value="MilitaryBase"/>
40
+ <xs:enumeration value="OverseasMilitary"/>
41
+ <xs:enumeration value="Port"/>
42
+ <xs:enumeration value="Primary"/>
43
+ <xs:enumeration value="RecreationalPark"/>
44
+ <xs:enumeration value="Resort"/>
45
+ <xs:enumeration value="RetirementVillage"/>
46
+ <xs:enumeration value="Rural"/>
47
+ <xs:enumeration value="Secondary"/>
48
+ <xs:enumeration value="ShoppingCentre"/>
49
+ <xs:enumeration value="SportingCentre"/>
50
+ <xs:enumeration value="Urban"/>
51
+ </xs:restriction>
52
+ </xs:simpleType>
53
+ <xs:simpleType name="AddressIDTypeList">
54
+ <xs:annotation>
55
+ <xs:documentation>A list of types of address identiifers </xs:documentation>
56
+ </xs:annotation>
57
+ <xs:restriction base="xs:normalizedString"/>
58
+ </xs:simpleType>
59
+ <xs:simpleType name="AddressLineTypeList">
60
+ <xs:annotation>
61
+ <xs:documentation>A list of ypes of address line., e.g. street details, locality details</xs:documentation>
62
+ </xs:annotation>
63
+ <xs:restriction base="xs:normalizedString"/>
64
+ </xs:simpleType>
65
+ <xs:simpleType name="AddressUsageList">
66
+ <xs:annotation>
67
+ <xs:documentation>A list of types of usage of the address</xs:documentation>
68
+ </xs:annotation>
69
+ <xs:restriction base="xs:normalizedString">
70
+ <xs:enumeration value="Business"/>
71
+ <xs:enumeration value="Billing"/>
72
+ <xs:enumeration value="Communication"/>
73
+ <xs:enumeration value="Contact"/>
74
+ <xs:enumeration value="Mailing"/>
75
+ <xs:enumeration value="Personal"/>
76
+ <xs:enumeration value="Postal"/>
77
+ <xs:enumeration value="Residential"/>
78
+ </xs:restriction>
79
+ </xs:simpleType>
80
+ <xs:simpleType name="AdministrativeAreaTypeList">
81
+ <xs:annotation>
82
+ <xs:documentation>A list of administrative area types</xs:documentation>
83
+ </xs:annotation>
84
+ <xs:restriction base="xs:normalizedString">
85
+ <xs:enumeration value="City">
86
+ <xs:annotation>
87
+ <xs:documentation>Only name of the administrative area without its type, e.g. NSW, CA, Quebec</xs:documentation>
88
+ </xs:annotation>
89
+ </xs:enumeration>
90
+ <xs:enumeration value="State">
91
+ <xs:annotation>
92
+ <xs:documentation>The type of the area, e.g. state, district, province, etc.</xs:documentation>
93
+ </xs:annotation>
94
+ </xs:enumeration>
95
+ <xs:enumeration value="Territory"/>
96
+ <xs:enumeration value="Province"/>
97
+ </xs:restriction>
98
+ </xs:simpleType>
99
+ <xs:simpleType name="AdministrativeAreaNameTypeList">
100
+ <xs:annotation>
101
+ <xs:documentation>A list of administrative area name element types</xs:documentation>
102
+ </xs:annotation>
103
+ <xs:restriction base="xs:normalizedString">
104
+ <xs:enumeration value="Name">
105
+ <xs:annotation>
106
+ <xs:documentation>Name of the administrative area</xs:documentation>
107
+ </xs:annotation>
108
+ </xs:enumeration>
109
+ <xs:enumeration value="Number"/>
110
+ <xs:enumeration value="ReferenceLocation">
111
+ <xs:annotation>
112
+ <xs:documentation>Reference location information in support of the administrative area. e.g. Territory of France</xs:documentation>
113
+ </xs:annotation>
114
+ </xs:enumeration>
115
+ <xs:enumeration value="Type">
116
+ <xs:annotation>
117
+ <xs:documentation>Other supporting information </xs:documentation>
118
+ </xs:annotation>
119
+ </xs:enumeration>
120
+ </xs:restriction>
121
+ </xs:simpleType>
122
+ <xs:simpleType name="AdministrativeAreaNameCodeList">
123
+ <xs:annotation>
124
+ <xs:documentation>A list of codes for name of administrative area</xs:documentation>
125
+ </xs:annotation>
126
+ <xs:restriction base="xs:normalizedString"/>
127
+ </xs:simpleType>
128
+ <xs:simpleType name="CountryNameTypeList">
129
+ <xs:annotation>
130
+ <xs:documentation>A list of country name element types</xs:documentation>
131
+ </xs:annotation>
132
+ <xs:restriction base="xs:normalizedString">
133
+ <xs:enumeration value="Name">
134
+ <xs:annotation>
135
+ <xs:documentation>Name of the country e.g. AUSTRALIA</xs:documentation>
136
+ </xs:annotation>
137
+ </xs:enumeration>
138
+ <xs:enumeration value="Type">
139
+ <xs:annotation>
140
+ <xs:documentation>Although a Country, could be classified as a territory of a country. For example, "NOUVELLE CALEDONIE" is a territory of "FRANCE".</xs:documentation>
141
+ </xs:annotation>
142
+ </xs:enumeration>
143
+ </xs:restriction>
144
+ </xs:simpleType>
145
+ <xs:simpleType name="CountryNameCodeList">
146
+ <xs:annotation>
147
+ <xs:documentation>A list of codes for name of country</xs:documentation>
148
+ </xs:annotation>
149
+ <xs:restriction base="xs:normalizedString"/>
150
+ </xs:simpleType>
151
+ <xs:simpleType name="DatumCodeList">
152
+ <xs:annotation>
153
+ <xs:documentation>A list of codes for datum</xs:documentation>
154
+ </xs:annotation>
155
+ <xs:restriction base="xs:normalizedString"/>
156
+ </xs:simpleType>
157
+ <xs:simpleType name="DeliveryModeList">
158
+ <xs:annotation>
159
+ <xs:documentation>A list of codes for mode of delivery of address</xs:documentation>
160
+ </xs:annotation>
161
+ <xs:restriction base="xs:normalizedString"/>
162
+ </xs:simpleType>
163
+ <xs:simpleType name="DirectionTypeList">
164
+ <xs:annotation>
165
+ <xs:documentation>A list of directions for geo-coordinates</xs:documentation>
166
+ </xs:annotation>
167
+ <xs:restriction base="xs:normalizedString">
168
+ <xs:enumeration value="East"/>
169
+ <xs:enumeration value="West"/>
170
+ <xs:enumeration value="North"/>
171
+ <xs:enumeration value="South"/>
172
+ </xs:restriction>
173
+ </xs:simpleType>
174
+ <xs:simpleType name="IdentifierElementTypeList">
175
+ <xs:annotation>
176
+ <xs:documentation>A list of name types for commonly used Number type</xs:documentation>
177
+ </xs:annotation>
178
+ <xs:restriction base="xs:normalizedString">
179
+ <xs:enumeration value="Name">
180
+ <xs:annotation>
181
+ <xs:documentation>Applicable to mail box office names such as PO BOX, GPO BOX, MAIL BAG NO., etc. </xs:documentation>
182
+ </xs:annotation>
183
+ </xs:enumeration>
184
+ <xs:enumeration value="RangeFrom">
185
+ <xs:annotation>
186
+ <xs:documentation>Indicates that the element contains the lower value of a range, e.g. 25 in 25-37</xs:documentation>
187
+ </xs:annotation>
188
+ </xs:enumeration>
189
+ <xs:enumeration value="Range">
190
+ <xs:annotation>
191
+ <xs:documentation>Indicates that the value is a range, e.g. 25-37</xs:documentation>
192
+ </xs:annotation>
193
+ </xs:enumeration>
194
+ <xs:enumeration value="RangeTo">
195
+ <xs:annotation>
196
+ <xs:documentation>Indicates that the element contains the top value of a range, e.g. 25 in 25-37</xs:documentation>
197
+ </xs:annotation>
198
+ </xs:enumeration>
199
+ <xs:enumeration value="Prefix">
200
+ <xs:annotation>
201
+ <xs:documentation>Indocates that the element contains some value that is important, but not exactly the number itself. E.g. PoBox can be a prefix in PoBox 2020, street no. A-15, where A is the prefix and 15 is the number</xs:documentation>
202
+ </xs:annotation>
203
+ </xs:enumeration>
204
+ <xs:enumeration value="Suffix">
205
+ <xs:annotation>
206
+ <xs:documentation>Indicates that the element contains some value that is important, but not exactly the number itself. E.g. 'bis' in '45 bis'</xs:documentation>
207
+ </xs:annotation>
208
+ </xs:enumeration>
209
+ <xs:enumeration value="Number">
210
+ <xs:annotation>
211
+ <xs:documentation>Indicates that the value is number, e.g. 2020 in PoBox 2020. The actual value can be alpha-numeric. </xs:documentation>
212
+ </xs:annotation>
213
+ </xs:enumeration>
214
+ <xs:enumeration value="Separator">
215
+ <xs:annotation>
216
+ <xs:documentation>Indicates that the value is a separator that is expected to be preserved. Examples are / - #, as in 15-A where "-" is the separator</xs:documentation>
217
+ </xs:annotation>
218
+ </xs:enumeration>
219
+ <xs:enumeration value="Extension">
220
+ <xs:annotation>
221
+ <xs:documentation>Indicates that the value is an extension number of some identifier, e.g. 01 in Private Bag 2330-01, where the main number of the private bag is 2330, 12345-1223 in post code where 1223 is the extension</xs:documentation>
222
+ </xs:annotation>
223
+ </xs:enumeration>
224
+ </xs:restriction>
225
+ </xs:simpleType>
226
+ <xs:simpleType name="LocalityNameTypeList">
227
+ <xs:annotation>
228
+ <xs:documentation>A list of locality name element types such as name of locality, reference data in support of locality</xs:documentation>
229
+ </xs:annotation>
230
+ <xs:restriction base="xs:normalizedString">
231
+ <xs:enumeration value="Name">
232
+ <xs:annotation>
233
+ <xs:documentation>Name of the locality</xs:documentation>
234
+ </xs:annotation>
235
+ </xs:enumeration>
236
+ <xs:enumeration value="Number"/>
237
+ <xs:enumeration value="ReferenceLocation">
238
+ <xs:annotation>
239
+ <xs:documentation>Any reference locality data in support of the locality. e.g. Next town north of Town A, via-town name</xs:documentation>
240
+ </xs:annotation>
241
+ </xs:enumeration>
242
+ <xs:enumeration value="Type">
243
+ <xs:annotation>
244
+ <xs:documentation>Other supporting information </xs:documentation>
245
+ </xs:annotation>
246
+ </xs:enumeration>
247
+ </xs:restriction>
248
+ </xs:simpleType>
249
+ <xs:simpleType name="LocalityNameCodeList">
250
+ <xs:annotation>
251
+ <xs:documentation>A list of codes for name of locality</xs:documentation>
252
+ </xs:annotation>
253
+ <xs:restriction base="xs:normalizedString"/>
254
+ </xs:simpleType>
255
+ <xs:simpleType name="LocalityTypeList">
256
+ <xs:annotation>
257
+ <xs:documentation>A list of locality name types such as Municipality, Village, Area, etc</xs:documentation>
258
+ </xs:annotation>
259
+ <xs:restriction base="xs:normalizedString">
260
+ <xs:enumeration value="Municipality"/>
261
+ <xs:enumeration value="PostTown"/>
262
+ <xs:enumeration value="Place"/>
263
+ <xs:enumeration value="Suburb"/>
264
+ <xs:enumeration value="Town"/>
265
+ <xs:enumeration value="Village"/>
266
+ <xs:enumeration value="Area"/>
267
+ <xs:enumeration value="Zone"/>
268
+ </xs:restriction>
269
+ </xs:simpleType>
270
+ <xs:simpleType name="MeridianCodeList">
271
+ <xs:annotation>
272
+ <xs:documentation>A list of meridian codes</xs:documentation>
273
+ </xs:annotation>
274
+ <xs:restriction base="xs:normalizedString"/>
275
+ </xs:simpleType>
276
+ <xs:simpleType name="PostOfficeTypeList">
277
+ <xs:annotation>
278
+ <xs:documentation>A list of types of postal delivery offices</xs:documentation>
279
+ </xs:annotation>
280
+ <xs:restriction base="xs:normalizedString"/>
281
+ </xs:simpleType>
282
+ <xs:simpleType name="PostalDeliveryPointTypeList">
283
+ <xs:annotation>
284
+ <xs:documentation>A list of postal delivery point types</xs:documentation>
285
+ </xs:annotation>
286
+ <xs:restriction base="xs:normalizedString">
287
+ <xs:enumeration value="GPOBox"/>
288
+ <xs:enumeration value="POBox"/>
289
+ <xs:enumeration value="LockedBag"/>
290
+ <xs:enumeration value="MailStop"/>
291
+ <xs:enumeration value="PigeonHole"/>
292
+ <xs:enumeration value="PrivateBag"/>
293
+ </xs:restriction>
294
+ </xs:simpleType>
295
+ <xs:simpleType name="ProjectionCodeList">
296
+ <xs:annotation>
297
+ <xs:documentation>A list of codes for projection</xs:documentation>
298
+ </xs:annotation>
299
+ <xs:restriction base="xs:normalizedString"/>
300
+ </xs:simpleType>
301
+ <xs:simpleType name="PremisesElementTypeList">
302
+ <xs:annotation>
303
+ <xs:documentation>A list of name types for premises</xs:documentation>
304
+ </xs:annotation>
305
+ <xs:restriction base="xs:normalizedString">
306
+ <xs:enumeration value="Name">
307
+ <xs:annotation>
308
+ <xs:documentation>Names of Premises such as airport, hospital, university, military base, etc. Can also be the name of the building or house or apartment</xs:documentation>
309
+ </xs:annotation>
310
+ </xs:enumeration>
311
+ <xs:enumeration value="Location">
312
+ <xs:annotation>
313
+ <xs:documentation>Where in the building/landmark the premises is located, e.g. lobby, ground floor, penthouse, or where in a larger complex (e.g. airport) the address is located.</xs:documentation>
314
+ </xs:annotation>
315
+ </xs:enumeration>
316
+ <xs:enumeration value="SubPremisesConnector">
317
+ <xs:annotation>
318
+ <xs:documentation>Free text description that is required to logically connect the 2 premises</xs:documentation>
319
+ </xs:annotation>
320
+ </xs:enumeration>
321
+ <xs:enumeration value="InternalThoroughfare">
322
+ <xs:annotation>
323
+ <xs:documentation>Roads and streets within boundaries of larger complexes/premises such as hospitals, airports, etc.</xs:documentation>
324
+ </xs:annotation>
325
+ </xs:enumeration>
326
+ <xs:enumeration value="ReferenceLocation">
327
+ <xs:annotation>
328
+ <xs:documentation>Free text description of some other location and how this premises relates to it, e.g. 300m from water station, new the police station, etc.</xs:documentation>
329
+ </xs:annotation>
330
+ </xs:enumeration>
331
+ <xs:enumeration value="Type">
332
+ <xs:annotation>
333
+ <xs:documentation>additional supporting information</xs:documentation>
334
+ </xs:annotation>
335
+ </xs:enumeration>
336
+ </xs:restriction>
337
+ </xs:simpleType>
338
+ <xs:simpleType name="PremisesTypeList">
339
+ <xs:annotation>
340
+ <xs:documentation>A list of premises type</xs:documentation>
341
+ </xs:annotation>
342
+ <xs:restriction base="xs:normalizedString">
343
+ <xs:enumeration value="Airport"/>
344
+ <xs:enumeration value="Area"/>
345
+ <xs:enumeration value="Building"/>
346
+ <xs:enumeration value="Farm"/>
347
+ <xs:enumeration value="Hospital"/>
348
+ <xs:enumeration value="House"/>
349
+ <xs:enumeration value="LandMark"/>
350
+ <xs:enumeration value="LargeMailUser"/>
351
+ <xs:enumeration value="Lot"/>
352
+ <xs:enumeration value="RailwayStation"/>
353
+ <xs:enumeration value="ShoppingComplex"/>
354
+ <xs:enumeration value="University"/>
355
+ <xs:enumeration value="Unit"/>
356
+ </xs:restriction>
357
+ </xs:simpleType>
358
+ <xs:simpleType name="RuralDeliveryTypeList">
359
+ <xs:annotation>
360
+ <xs:documentation>A list of rural delivery types such as road, air, water</xs:documentation>
361
+ </xs:annotation>
362
+ <xs:restriction base="xs:normalizedString"/>
363
+ </xs:simpleType>
364
+ <xs:simpleType name="SubAdministrativeAreaNameTypeList">
365
+ <xs:annotation>
366
+ <xs:documentation>A list of sub administrative area name element types</xs:documentation>
367
+ </xs:annotation>
368
+ <xs:restriction base="xs:normalizedString">
369
+ <xs:enumeration value="Name">
370
+ <xs:annotation>
371
+ <xs:documentation>Name of the sub administrative area</xs:documentation>
372
+ </xs:annotation>
373
+ </xs:enumeration>
374
+ <xs:enumeration value="Number"/>
375
+ <xs:enumeration value="ReferenceLocation">
376
+ <xs:annotation>
377
+ <xs:documentation>Reference location information in support of the sub administrative area. </xs:documentation>
378
+ </xs:annotation>
379
+ </xs:enumeration>
380
+ <xs:enumeration value="Type">
381
+ <xs:annotation>
382
+ <xs:documentation>Other supporting information </xs:documentation>
383
+ </xs:annotation>
384
+ </xs:enumeration>
385
+ </xs:restriction>
386
+ </xs:simpleType>
387
+ <xs:simpleType name="SubAdministrativeAreaNameCodeList">
388
+ <xs:annotation>
389
+ <xs:documentation>A list of codes for name of sub adiministrative area</xs:documentation>
390
+ </xs:annotation>
391
+ <xs:restriction base="xs:normalizedString"/>
392
+ </xs:simpleType>
393
+ <xs:simpleType name="SubAdministrativeAreaTypeList">
394
+ <xs:annotation>
395
+ <xs:documentation>A list of sub administrative area name types</xs:documentation>
396
+ </xs:annotation>
397
+ <xs:restriction base="xs:normalizedString">
398
+ <xs:enumeration value="County"/>
399
+ <xs:enumeration value="District"/>
400
+ <xs:enumeration value="Province"/>
401
+ <xs:enumeration value="Region"/>
402
+ </xs:restriction>
403
+ </xs:simpleType>
404
+ <xs:simpleType name="SubLocalityNameTypeList">
405
+ <xs:annotation>
406
+ <xs:documentation>A list of sub locality name element types</xs:documentation>
407
+ </xs:annotation>
408
+ <xs:restriction base="xs:normalizedString">
409
+ <xs:enumeration value="Name"/>
410
+ <xs:enumeration value="Number"/>
411
+ <xs:enumeration value="ReferenceLocation"/>
412
+ <xs:enumeration value="Type">
413
+ <xs:annotation>
414
+ <xs:documentation>Other supporting information </xs:documentation>
415
+ </xs:annotation>
416
+ </xs:enumeration>
417
+ </xs:restriction>
418
+ </xs:simpleType>
419
+ <xs:simpleType name="SubLocalityNameCodeList">
420
+ <xs:annotation>
421
+ <xs:documentation>A list of codes for names of sub locality</xs:documentation>
422
+ </xs:annotation>
423
+ <xs:restriction base="xs:normalizedString"/>
424
+ </xs:simpleType>
425
+ <xs:simpleType name="SubLocalityTypeList">
426
+ <xs:annotation>
427
+ <xs:documentation>A ist of sublocality types</xs:documentation>
428
+ </xs:annotation>
429
+ <xs:restriction base="xs:normalizedString">
430
+ <xs:enumeration value="Municipality"/>
431
+ <xs:enumeration value="Village"/>
432
+ </xs:restriction>
433
+ </xs:simpleType>
434
+ <xs:simpleType name="SubPremisesTypeList">
435
+ <xs:annotation>
436
+ <xs:documentation>A list of sub premises types</xs:documentation>
437
+ </xs:annotation>
438
+ <xs:restriction base="xs:normalizedString">
439
+ <xs:enumeration value="Room"/>
440
+ <xs:enumeration value="Suite"/>
441
+ <xs:enumeration value="Apartment"/>
442
+ <xs:enumeration value="Shop"/>
443
+ <xs:enumeration value="Office"/>
444
+ <xs:enumeration value="Unit"/>
445
+ </xs:restriction>
446
+ </xs:simpleType>
447
+ <xs:simpleType name="ThoroughfareNameTypeList">
448
+ <xs:annotation>
449
+ <xs:documentation>A list of name element types for thoroughfare</xs:documentation>
450
+ </xs:annotation>
451
+ <xs:restriction base="xs:normalizedString">
452
+ <xs:enumeration value="NameOnly">
453
+ <xs:annotation>
454
+ <xs:documentation>Just the name part, such as Baker in Baker Street.</xs:documentation>
455
+ </xs:annotation>
456
+ </xs:enumeration>
457
+ <xs:enumeration value="PreDirection">
458
+ <xs:annotation>
459
+ <xs:documentation>North Archer Street, where "North" is PreDirection</xs:documentation>
460
+ </xs:annotation>
461
+ </xs:enumeration>
462
+ <xs:enumeration value="PostDirection">
463
+ <xs:annotation>
464
+ <xs:documentation>Archer Street North, where "North" is PostDirection</xs:documentation>
465
+ </xs:annotation>
466
+ </xs:enumeration>
467
+ <xs:enumeration value="NameAndNumber">
468
+ <xs:annotation>
469
+ <xs:documentation>This value indicates that the element contains the street name and street number. E.g. 39 Baker Street. Use this when you do not want to break the thoroughfare into atomic types</xs:documentation>
470
+ </xs:annotation>
471
+ </xs:enumeration>
472
+ <xs:enumeration value="NameAndType">
473
+ <xs:annotation>
474
+ <xs:documentation>Baker Street, where Baker is Name and Street is Type</xs:documentation>
475
+ </xs:annotation>
476
+ </xs:enumeration>
477
+ <xs:enumeration value="NameNumberAndType">
478
+ <xs:annotation>
479
+ <xs:documentation>21 Archer Street (Full thoroughfare details)</xs:documentation>
480
+ </xs:annotation>
481
+ </xs:enumeration>
482
+ <xs:enumeration value="Unstructured">
483
+ <xs:annotation>
484
+ <xs:documentation>Full details of a thorughfare in a single line (unstructured)
485
+ e.g. 39 Baker Street North</xs:documentation>
486
+ </xs:annotation>
487
+ </xs:enumeration>
488
+ <xs:enumeration value="SubThoroughfareConnector">
489
+ <xs:annotation>
490
+ <xs:documentation>When more than one street name is required to identify the location this type can be used to connect them with values such as CORNER OF or VIA.</xs:documentation>
491
+ </xs:annotation>
492
+ </xs:enumeration>
493
+ <xs:enumeration value="ReferenceLocation">
494
+ <xs:annotation>
495
+ <xs:documentation>Free text description of some other location and how this thoroughfare relates to it, e.g. 300m from water station, new the police station, etc.</xs:documentation>
496
+ </xs:annotation>
497
+ </xs:enumeration>
498
+ <xs:enumeration value="Type">
499
+ <xs:annotation>
500
+ <xs:documentation>Additional description like intersection, cross streets, etc</xs:documentation>
501
+ </xs:annotation>
502
+ </xs:enumeration>
503
+ </xs:restriction>
504
+ </xs:simpleType>
505
+ <xs:simpleType name="ThoroughfareTypeList">
506
+ <xs:annotation>
507
+ <xs:documentation>A list of types for thoroughfare (e.g. STREET, ROAD, CRT)</xs:documentation>
508
+ </xs:annotation>
509
+ <xs:restriction base="xs:normalizedString"/>
510
+ </xs:simpleType>
511
+ </xs:schema>