rubyhealthvault 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (477) hide show
  1. data/LICENSE +52 -0
  2. data/README +19 -0
  3. data/Rakefile +149 -0
  4. data/bin/certs/HelloWorld-SDK_ID-05a059c9-c309-46af-9b86-b06d42510550.pfx +0 -0
  5. data/bin/certs/helloWorld.pem +52 -0
  6. data/bin/example.rb +80 -0
  7. data/bin/hv.log +118 -0
  8. data/lib/application.rb +37 -0
  9. data/lib/code_generation/xsd_parser.rb +376 -0
  10. data/lib/config.rb +28 -0
  11. data/lib/connection.rb +61 -0
  12. data/lib/healthvault.rb +2 -0
  13. data/lib/request.rb +113 -0
  14. data/lib/response.rb +50 -0
  15. data/lib/templates/complex_type_template.erb +64 -0
  16. data/lib/templates/simple_type_template.erb +65 -0
  17. data/lib/templates/thing_class_extension_template.erb +22 -0
  18. data/lib/utils/crypto_utils.rb +69 -0
  19. data/lib/utils/string_utils.rb +35 -0
  20. data/lib/wc_data/complex_type.rb +249 -0
  21. data/lib/wc_data/generated/application/app.rb +217 -0
  22. data/lib/wc_data/generated/application/app_id_and_incr_auth.rb +118 -0
  23. data/lib/wc_data/generated/application/app_large_logo.rb +56 -0
  24. data/lib/wc_data/generated/application/app_large_logo_info.rb +66 -0
  25. data/lib/wc_data/generated/application/app_persistent_tokens.rb +64 -0
  26. data/lib/wc_data/generated/application/app_small_logo.rb +56 -0
  27. data/lib/wc_data/generated/application/app_small_logo_info.rb +66 -0
  28. data/lib/wc_data/generated/application/app_with_logos.rb +291 -0
  29. data/lib/wc_data/generated/application/public_key.rb +43 -0
  30. data/lib/wc_data/generated/application/public_keys.rb +48 -0
  31. data/lib/wc_data/generated/application/statement.rb +30 -0
  32. data/lib/wc_data/generated/application/statement_info.rb +66 -0
  33. data/lib/wc_data/generated/auth/app_record_auth_action.rb +61 -0
  34. data/lib/wc_data/generated/auth/associated_cred_info.rb +70 -0
  35. data/lib/wc_data/generated/auth/auth.rb +44 -0
  36. data/lib/wc_data/generated/auth/auth_session_credential.rb +68 -0
  37. data/lib/wc_data/generated/auth/auth_session_sub_credential.rb +45 -0
  38. data/lib/wc_data/generated/auth/auth_xml.rb +44 -0
  39. data/lib/wc_data/generated/auth/federating_cred.rb +48 -0
  40. data/lib/wc_data/generated/auth/rule.rb +187 -0
  41. data/lib/wc_data/generated/auth/rules.rb +48 -0
  42. data/lib/wc_data/generated/auth/set.rb +70 -0
  43. data/lib/wc_data/generated/auth/simple_card_space_credential.rb +48 -0
  44. data/lib/wc_data/generated/auth/simple_passport_credential.rb +47 -0
  45. data/lib/wc_data/generated/auth/simple_user_pass_credential.rb +48 -0
  46. data/lib/wc_data/generated/auth/textual_permissions.rb +66 -0
  47. data/lib/wc_data/generated/auth/textual_permissions_type.rb +81 -0
  48. data/lib/wc_data/generated/auth/textual_rule.rb +154 -0
  49. data/lib/wc_data/generated/auth/token.rb +90 -0
  50. data/lib/wc_data/generated/auth/user_pass_auth_session_cred.rb +92 -0
  51. data/lib/wc_data/generated/auth/user_pass_cred.rb +70 -0
  52. data/lib/wc_data/generated/dates/approx_date.rb +82 -0
  53. data/lib/wc_data/generated/dates/approx_date_time.rb +62 -0
  54. data/lib/wc_data/generated/dates/date.rb +86 -0
  55. data/lib/wc_data/generated/dates/date_time.rb +82 -0
  56. data/lib/wc_data/generated/dates/day.rb +56 -0
  57. data/lib/wc_data/generated/dates/hour.rb +56 -0
  58. data/lib/wc_data/generated/dates/millisecond.rb +56 -0
  59. data/lib/wc_data/generated/dates/minute.rb +56 -0
  60. data/lib/wc_data/generated/dates/month.rb +56 -0
  61. data/lib/wc_data/generated/dates/second.rb +56 -0
  62. data/lib/wc_data/generated/dates/structured_approx_date.rb +82 -0
  63. data/lib/wc_data/generated/dates/time.rb +102 -0
  64. data/lib/wc_data/generated/dates/year.rb +56 -0
  65. data/lib/wc_data/generated/methods/add_application/info.rb +375 -0
  66. data/lib/wc_data/generated/methods/create_authenticated_session_token/auth_token_info.rb +72 -0
  67. data/lib/wc_data/generated/methods/create_authenticated_session_token/credential.rb +88 -0
  68. data/lib/wc_data/generated/methods/create_authenticated_session_token/info.rb +50 -0
  69. data/lib/wc_data/generated/methods/create_connect_request/info.rb +136 -0
  70. data/lib/wc_data/generated/methods/delete_open_query/info.rb +50 -0
  71. data/lib/wc_data/generated/methods/delete_pending_connect_request/info.rb +49 -0
  72. data/lib/wc_data/generated/methods/get_authorized_connect_requests/info.rb +48 -0
  73. data/lib/wc_data/generated/methods/get_authorized_records/info.rb +52 -0
  74. data/lib/wc_data/generated/methods/get_open_query_info/info.rb +50 -0
  75. data/lib/wc_data/generated/methods/get_person_info/info.rb +48 -0
  76. data/lib/wc_data/generated/methods/get_thing_type/info.rb +118 -0
  77. data/lib/wc_data/generated/methods/get_thing_type/thing_type_section_spec.rb +63 -0
  78. data/lib/wc_data/generated/methods/get_things/info.rb +51 -0
  79. data/lib/wc_data/generated/methods/get_things/thing_filter_spec.rb +296 -0
  80. data/lib/wc_data/generated/methods/get_things/thing_format_spec.rb +75 -0
  81. data/lib/wc_data/generated/methods/get_things/thing_request_group.rb +197 -0
  82. data/lib/wc_data/generated/methods/get_things/thing_section_spec.rb +67 -0
  83. data/lib/wc_data/generated/methods/get_vocabulary/info.rb +48 -0
  84. data/lib/wc_data/generated/methods/get_vocabulary/vocabulary_parameters.rb +73 -0
  85. data/lib/wc_data/generated/methods/put_things/info.rb +51 -0
  86. data/lib/wc_data/generated/methods/query_permissions/info.rb +51 -0
  87. data/lib/wc_data/generated/methods/remove_things/info.rb +52 -0
  88. data/lib/wc_data/generated/methods/response/add_application/info.rb +51 -0
  89. data/lib/wc_data/generated/methods/response/any/info.rb +52 -0
  90. data/lib/wc_data/generated/methods/response/create_authenticated_session_token/app_auth_token_absence_reason.rb +72 -0
  91. data/lib/wc_data/generated/methods/response/create_authenticated_session_token/auth_token_absence_reason.rb +49 -0
  92. data/lib/wc_data/generated/methods/response/create_authenticated_session_token/info.rb +78 -0
  93. data/lib/wc_data/generated/methods/response/create_connect_request/info.rb +52 -0
  94. data/lib/wc_data/generated/methods/response/delete_open_query/info.rb +52 -0
  95. data/lib/wc_data/generated/methods/response/get_application_settings/app_settings.rb +54 -0
  96. data/lib/wc_data/generated/methods/response/get_application_settings/info.rb +70 -0
  97. data/lib/wc_data/generated/methods/response/get_authorized_connect_requests/connect_request.rb +114 -0
  98. data/lib/wc_data/generated/methods/response/get_authorized_connect_requests/info.rb +72 -0
  99. data/lib/wc_data/generated/methods/response/get_authorized_records/info.rb +53 -0
  100. data/lib/wc_data/generated/methods/response/get_people_for_record/info.rb +76 -0
  101. data/lib/wc_data/generated/methods/response/get_person_info/info.rb +52 -0
  102. data/lib/wc_data/generated/methods/response/get_service_definition/configuration_entry.rb +71 -0
  103. data/lib/wc_data/generated/methods/response/get_service_definition/info.rb +141 -0
  104. data/lib/wc_data/generated/methods/response/get_service_definition/platform.rb +98 -0
  105. data/lib/wc_data/generated/methods/response/get_service_definition/sdk_assembly.rb +94 -0
  106. data/lib/wc_data/generated/methods/response/get_service_definition/shell.rb +95 -0
  107. data/lib/wc_data/generated/methods/response/get_service_definition/shell_redirect_token.rb +93 -0
  108. data/lib/wc_data/generated/methods/response/get_service_definition/xml_method.rb +75 -0
  109. data/lib/wc_data/generated/methods/response/get_service_definition/xml_method_version.rb +92 -0
  110. data/lib/wc_data/generated/methods/response/get_thing_type/column.rb +130 -0
  111. data/lib/wc_data/generated/methods/response/get_thing_type/columns.rb +52 -0
  112. data/lib/wc_data/generated/methods/response/get_thing_type/image.rb +71 -0
  113. data/lib/wc_data/generated/methods/response/get_thing_type/info.rb +53 -0
  114. data/lib/wc_data/generated/methods/response/get_thing_type/thing_type_info.rb +232 -0
  115. data/lib/wc_data/generated/methods/response/get_thing_type/transform_source.rb +72 -0
  116. data/lib/wc_data/generated/methods/response/get_thing_type/transforms.rb +52 -0
  117. data/lib/wc_data/generated/methods/response/get_things/info.rb +54 -0
  118. data/lib/wc_data/generated/methods/response/get_things/thing_response_group.rb +118 -0
  119. data/lib/wc_data/generated/methods/response/get_things/unprocessed_thing_key_info.rb +95 -0
  120. data/lib/wc_data/generated/methods/response/get_vocabulary/info.rb +76 -0
  121. data/lib/wc_data/generated/methods/response/put_things/info.rb +53 -0
  122. data/lib/wc_data/generated/methods/response/query_permissions/info.rb +54 -0
  123. data/lib/wc_data/generated/methods/response/query_permissions/permissions.rb +53 -0
  124. data/lib/wc_data/generated/methods/response/query_permissions/thing_type_permission.rb +89 -0
  125. data/lib/wc_data/generated/methods/response/search_vocabulary/info.rb +74 -0
  126. data/lib/wc_data/generated/methods/save_open_query/info.rb +227 -0
  127. data/lib/wc_data/generated/methods/search_vocabulary/info.rb +70 -0
  128. data/lib/wc_data/generated/methods/search_vocabulary/vocabulary_search_params.rb +69 -0
  129. data/lib/wc_data/generated/methods/search_vocabulary/vocabulary_search_string.rb +68 -0
  130. data/lib/wc_data/generated/methods/send_insecure_message/info.rb +155 -0
  131. data/lib/wc_data/generated/methods/send_insecure_message_from_application/from_mailbox.rb +71 -0
  132. data/lib/wc_data/generated/methods/send_insecure_message_from_application/info.rb +178 -0
  133. data/lib/wc_data/generated/methods/set_application_settings/app_settings.rb +52 -0
  134. data/lib/wc_data/generated/methods/set_application_settings/info.rb +48 -0
  135. data/lib/wc_data/generated/methods/update_application/info.rb +384 -0
  136. data/lib/wc_data/generated/methods/update_external_id/info.rb +70 -0
  137. data/lib/wc_data/generated/record/active_app_authorization.rb +196 -0
  138. data/lib/wc_data/generated/record/active_person_authorization.rb +290 -0
  139. data/lib/wc_data/generated/record/active_person_authorization_no_ids.rb +250 -0
  140. data/lib/wc_data/generated/record/authorized_record_state.rb +53 -0
  141. data/lib/wc_data/generated/record/non_active_authorization.rb +340 -0
  142. data/lib/wc_data/generated/record/non_active_authorization_no_ids.rb +300 -0
  143. data/lib/wc_data/generated/request/authenticated_session_info.rb +88 -0
  144. data/lib/wc_data/generated/request/header.rb +274 -0
  145. data/lib/wc_data/generated/request/info.rb +48 -0
  146. data/lib/wc_data/generated/request/offline_person_info.rb +46 -0
  147. data/lib/wc_data/generated/request/request.rb +86 -0
  148. data/lib/wc_data/generated/request/xsl.rb +64 -0
  149. data/lib/wc_data/generated/thing/access_avenue.rb +49 -0
  150. data/lib/wc_data/generated/thing/aerobic/aerobic_session.rb +112 -0
  151. data/lib/wc_data/generated/thing/aerobic_profile/aerobic_profile.rb +153 -0
  152. data/lib/wc_data/generated/thing/aerobic_profile/heartrate_zone.rb +90 -0
  153. data/lib/wc_data/generated/thing/aerobic_profile/heartrate_zone_group.rb +72 -0
  154. data/lib/wc_data/generated/thing/aerobic_profile/max_vo2.rb +68 -0
  155. data/lib/wc_data/generated/thing/aerobic_profile/zone_boundary.rb +68 -0
  156. data/lib/wc_data/generated/thing/aerobic_weekly/aerobic_weekly.rb +72 -0
  157. data/lib/wc_data/generated/thing/allergic_episode/allergic_episode.rb +108 -0
  158. data/lib/wc_data/generated/thing/allergy/allergy.rb +186 -0
  159. data/lib/wc_data/generated/thing/annotation/annotation.rb +144 -0
  160. data/lib/wc_data/generated/thing/application/app_specific.rb +137 -0
  161. data/lib/wc_data/generated/thing/appointment/appointment.rb +166 -0
  162. data/lib/wc_data/generated/thing/audit.rb +150 -0
  163. data/lib/wc_data/generated/thing/audit_action.rb +53 -0
  164. data/lib/wc_data/generated/thing/basic/basic.rb +180 -0
  165. data/lib/wc_data/generated/thing/basic/birthyear.rb +58 -0
  166. data/lib/wc_data/generated/thing/basic/country.rb +45 -0
  167. data/lib/wc_data/generated/thing/basic/firstdow.rb +58 -0
  168. data/lib/wc_data/generated/thing/basic/gender.rb +51 -0
  169. data/lib/wc_data/generated/thing/blood_glucose/blood_glucose.rb +172 -0
  170. data/lib/wc_data/generated/thing/blood_pressure/blood_pressure.rb +133 -0
  171. data/lib/wc_data/generated/thing/cardiac_profile/cardiac_profile.rb +209 -0
  172. data/lib/wc_data/generated/thing/cholesterol_profile/cholesterol_profile.rb +129 -0
  173. data/lib/wc_data/generated/thing/common.rb +126 -0
  174. data/lib/wc_data/generated/thing/concern/concern.rb +71 -0
  175. data/lib/wc_data/generated/thing/condition/condition.rb +127 -0
  176. data/lib/wc_data/generated/thing/contact/contact.rb +49 -0
  177. data/lib/wc_data/generated/thing/contraindication/contraindication.rb +129 -0
  178. data/lib/wc_data/generated/thing/daily_medication_usage/daily_medication_usage.rb +218 -0
  179. data/lib/wc_data/generated/thing/data_other.rb +82 -0
  180. data/lib/wc_data/generated/thing/data_xml.rb +80 -0
  181. data/lib/wc_data/generated/thing/diabetic_profile/diabetic_profile.rb +92 -0
  182. data/lib/wc_data/generated/thing/diabetic_profile/target_glucose_zone.rb +90 -0
  183. data/lib/wc_data/generated/thing/diabetic_profile/target_glucose_zone_group.rb +72 -0
  184. data/lib/wc_data/generated/thing/diabetic_profile/zone_boundary.rb +68 -0
  185. data/lib/wc_data/generated/thing/dietary_intake_daily/dietary_intake_daily.rb +249 -0
  186. data/lib/wc_data/generated/thing/directive/directive.rb +343 -0
  187. data/lib/wc_data/generated/thing/discharge_summary/discharge_summary.rb +366 -0
  188. data/lib/wc_data/generated/thing/effective_permissions.rb +66 -0
  189. data/lib/wc_data/generated/thing/emotion/emotion.rb +109 -0
  190. data/lib/wc_data/generated/thing/encounter/encounter.rb +143 -0
  191. data/lib/wc_data/generated/thing/equipment/device.rb +163 -0
  192. data/lib/wc_data/generated/thing/extension.rb +123 -0
  193. data/lib/wc_data/generated/thing/family_history/family_history.rb +203 -0
  194. data/lib/wc_data/generated/thing/family_history_condition/family_history_condition.rb +49 -0
  195. data/lib/wc_data/generated/thing/family_history_person/family_history_person.rb +107 -0
  196. data/lib/wc_data/generated/thing/file/file.rb +90 -0
  197. data/lib/wc_data/generated/thing/guid_and_name.rb +66 -0
  198. data/lib/wc_data/generated/thing/hb_a1_c/hb_a1_c.rb +111 -0
  199. data/lib/wc_data/generated/thing/healthcare_proxy/healthcare_proxy.rb +144 -0
  200. data/lib/wc_data/generated/thing/height/height.rb +71 -0
  201. data/lib/wc_data/generated/thing/immunization/immunization.rb +244 -0
  202. data/lib/wc_data/generated/thing/inhaler/alert.rb +74 -0
  203. data/lib/wc_data/generated/thing/inhaler/asthma_inhaler.rb +272 -0
  204. data/lib/wc_data/generated/thing/inhaler/dow.rb +58 -0
  205. data/lib/wc_data/generated/thing/inhaler/purpose.rb +55 -0
  206. data/lib/wc_data/generated/thing/inhaler_use/asthma_inhaler_use.rb +152 -0
  207. data/lib/wc_data/generated/thing/insulin/insulin_injection.rb +93 -0
  208. data/lib/wc_data/generated/thing/insulin_injection_use/diabetes_insulin_injection_use.rb +114 -0
  209. data/lib/wc_data/generated/thing/lab_test_results/lab_test_results.rb +89 -0
  210. data/lib/wc_data/generated/thing/life_goal/life_goal.rb +68 -0
  211. data/lib/wc_data/generated/thing/link/link.rb +68 -0
  212. data/lib/wc_data/generated/thing/medication/dose_value.rb +107 -0
  213. data/lib/wc_data/generated/thing/medication/medication.rb +491 -0
  214. data/lib/wc_data/generated/thing/microbiology/microbiology_lab_results.rb +186 -0
  215. data/lib/wc_data/generated/thing/password/protected/package/algorithm_name.rb +59 -0
  216. data/lib/wc_data/generated/thing/password/protected/package/package_encryption_type.rb +71 -0
  217. data/lib/wc_data/generated/thing/password/protected/package/password_protected_package.rb +53 -0
  218. data/lib/wc_data/generated/thing/password/protected/package/pbe_parameters_type.rb +97 -0
  219. data/lib/wc_data/generated/thing/payer/payer.rb +265 -0
  220. data/lib/wc_data/generated/thing/personal/personal.rb +303 -0
  221. data/lib/wc_data/generated/thing/personal_image/personal_image.rb +28 -0
  222. data/lib/wc_data/generated/thing/problem/importance.rb +45 -0
  223. data/lib/wc_data/generated/thing/problem/problem.rb +114 -0
  224. data/lib/wc_data/generated/thing/procedure/procedure.rb +125 -0
  225. data/lib/wc_data/generated/thing/radiology_lab_results/radiology_lab_results.rb +106 -0
  226. data/lib/wc_data/generated/thing/related_thing.rb +88 -0
  227. data/lib/wc_data/generated/thing/respiratory_profile/respiratory_profile.rb +109 -0
  228. data/lib/wc_data/generated/thing/sjam/awakening.rb +70 -0
  229. data/lib/wc_data/generated/thing/sjam/sleep_am.rb +195 -0
  230. data/lib/wc_data/generated/thing/sjam/wake_state.rb +58 -0
  231. data/lib/wc_data/generated/thing/sjpm/activity.rb +70 -0
  232. data/lib/wc_data/generated/thing/sjpm/sleep_pm.rb +162 -0
  233. data/lib/wc_data/generated/thing/sjpm/sleepiness.rb +58 -0
  234. data/lib/wc_data/generated/thing/spirometer/spirometer.rb +317 -0
  235. data/lib/wc_data/generated/thing/spirometer/volume_value.rb +69 -0
  236. data/lib/wc_data/generated/thing/thing.rb +213 -0
  237. data/lib/wc_data/generated/thing/thing_key.rb +66 -0
  238. data/lib/wc_data/generated/thing/thing_state.rb +49 -0
  239. data/lib/wc_data/generated/thing/thing_type.rb +64 -0
  240. data/lib/wc_data/generated/thing/types/address.rb +176 -0
  241. data/lib/wc_data/generated/thing/types/aerobic_lap_session.rb +86 -0
  242. data/lib/wc_data/generated/thing/types/aerobic_session.rb +745 -0
  243. data/lib/wc_data/generated/thing/types/aerobic_session_samples.rb +310 -0
  244. data/lib/wc_data/generated/thing/types/altitude_value.rb +70 -0
  245. data/lib/wc_data/generated/thing/types/blood_glucose_value.rb +69 -0
  246. data/lib/wc_data/generated/thing/types/codable_value.rb +74 -0
  247. data/lib/wc_data/generated/thing/types/coded_value.rb +112 -0
  248. data/lib/wc_data/generated/thing/types/communication_type.rb +112 -0
  249. data/lib/wc_data/generated/thing/types/condition.rb +148 -0
  250. data/lib/wc_data/generated/thing/types/contact.rb +97 -0
  251. data/lib/wc_data/generated/thing/types/display_value.rb +90 -0
  252. data/lib/wc_data/generated/thing/types/document_reference_type.rb +112 -0
  253. data/lib/wc_data/generated/thing/types/double_range.rb +70 -0
  254. data/lib/wc_data/generated/thing/types/dow.rb +58 -0
  255. data/lib/wc_data/generated/thing/types/duration_value.rb +69 -0
  256. data/lib/wc_data/generated/thing/types/email.rb +89 -0
  257. data/lib/wc_data/generated/thing/types/flow_value.rb +69 -0
  258. data/lib/wc_data/generated/thing/types/general_measurement.rb +74 -0
  259. data/lib/wc_data/generated/thing/types/goal.rb +86 -0
  260. data/lib/wc_data/generated/thing/types/goal_status.rb +55 -0
  261. data/lib/wc_data/generated/thing/types/insulin_injection_value.rb +69 -0
  262. data/lib/wc_data/generated/thing/types/lab_result_type.rb +149 -0
  263. data/lib/wc_data/generated/thing/types/lab_test_result_type.rb +167 -0
  264. data/lib/wc_data/generated/thing/types/lab_test_result_value_type.rb +99 -0
  265. data/lib/wc_data/generated/thing/types/lab_test_results_group_type.rb +138 -0
  266. data/lib/wc_data/generated/thing/types/lab_test_type.rb +209 -0
  267. data/lib/wc_data/generated/thing/types/language.rb +69 -0
  268. data/lib/wc_data/generated/thing/types/length_value.rb +69 -0
  269. data/lib/wc_data/generated/thing/types/name.rb +148 -0
  270. data/lib/wc_data/generated/thing/types/non_negative_double.rb +45 -0
  271. data/lib/wc_data/generated/thing/types/one_to_five.rb +58 -0
  272. data/lib/wc_data/generated/thing/types/organization.rb +106 -0
  273. data/lib/wc_data/generated/thing/types/pace_value.rb +69 -0
  274. data/lib/wc_data/generated/thing/types/percentage.rb +58 -0
  275. data/lib/wc_data/generated/thing/types/person.rb +146 -0
  276. data/lib/wc_data/generated/thing/types/phone.rb +89 -0
  277. data/lib/wc_data/generated/thing/types/positive_double.rb +45 -0
  278. data/lib/wc_data/generated/thing/types/power_value.rb +69 -0
  279. data/lib/wc_data/generated/thing/types/sample.rb +88 -0
  280. data/lib/wc_data/generated/thing/types/sample_set.rb +116 -0
  281. data/lib/wc_data/generated/thing/types/speed_value.rb +69 -0
  282. data/lib/wc_data/generated/thing/types/structured_measurement.rb +71 -0
  283. data/lib/wc_data/generated/thing/types/temperature_value.rb +69 -0
  284. data/lib/wc_data/generated/thing/types/test_result_range.rb +71 -0
  285. data/lib/wc_data/generated/thing/types/torque_value.rb +69 -0
  286. data/lib/wc_data/generated/thing/types/weight_value.rb +69 -0
  287. data/lib/wc_data/generated/thing/vital_signs/vital_sign_result_type.rb +166 -0
  288. data/lib/wc_data/generated/thing/vital_signs/vital_signs.rb +110 -0
  289. data/lib/wc_data/generated/thing/weight/weight.rb +70 -0
  290. data/lib/wc_data/generated/thing/weight_goal/weight_goal.rb +106 -0
  291. data/lib/wc_data/generated/types/address.rb +162 -0
  292. data/lib/wc_data/generated/types/app_info.rb +66 -0
  293. data/lib/wc_data/generated/types/app_server_cred.rb +70 -0
  294. data/lib/wc_data/generated/types/app_server_cred_info.rb +70 -0
  295. data/lib/wc_data/generated/types/app_settings.rb +50 -0
  296. data/lib/wc_data/generated/types/base64_sha1.rb +56 -0
  297. data/lib/wc_data/generated/types/card_space_cred.rb +50 -0
  298. data/lib/wc_data/generated/types/char2.rb +56 -0
  299. data/lib/wc_data/generated/types/codable_value.rb +72 -0
  300. data/lib/wc_data/generated/types/coded_value.rb +110 -0
  301. data/lib/wc_data/generated/types/culture.rb +64 -0
  302. data/lib/wc_data/generated/types/date_range.rb +62 -0
  303. data/lib/wc_data/generated/types/email.rb +82 -0
  304. data/lib/wc_data/generated/types/email_address.rb +56 -0
  305. data/lib/wc_data/generated/types/gender.rb +49 -0
  306. data/lib/wc_data/generated/types/group.rb +91 -0
  307. data/lib/wc_data/generated/types/groups.rb +50 -0
  308. data/lib/wc_data/generated/types/guid.rb +43 -0
  309. data/lib/wc_data/generated/types/hash_finalized.rb +48 -0
  310. data/lib/wc_data/generated/types/hash_finalized_data.rb +68 -0
  311. data/lib/wc_data/generated/types/hmac_algorithm.rb +48 -0
  312. data/lib/wc_data/generated/types/hmac_algorithm_data.rb +68 -0
  313. data/lib/wc_data/generated/types/hmac_finalized.rb +48 -0
  314. data/lib/wc_data/generated/types/hmac_finalized_data.rb +68 -0
  315. data/lib/wc_data/generated/types/iso3166.rb +1001 -0
  316. data/lib/wc_data/generated/types/iso4217.rb +733 -0
  317. data/lib/wc_data/generated/types/iso639_1.rb +585 -0
  318. data/lib/wc_data/generated/types/language_competency.rb +64 -0
  319. data/lib/wc_data/generated/types/localized_string.rb +64 -0
  320. data/lib/wc_data/generated/types/login_name.rb +56 -0
  321. data/lib/wc_data/generated/types/name_match_type.rb +53 -0
  322. data/lib/wc_data/generated/types/omb_ethnicity.rb +65 -0
  323. data/lib/wc_data/generated/types/open_query_info.rb +149 -0
  324. data/lib/wc_data/generated/types/permission.rb +61 -0
  325. data/lib/wc_data/generated/types/person_info.rb +214 -0
  326. data/lib/wc_data/generated/types/phone.rb +82 -0
  327. data/lib/wc_data/generated/types/positive_long.rb +43 -0
  328. data/lib/wc_data/generated/types/puid.rb +43 -0
  329. data/lib/wc_data/generated/types/rcpt_address.rb +69 -0
  330. data/lib/wc_data/generated/types/rcpt_person.rb +68 -0
  331. data/lib/wc_data/generated/types/rcpt_record.rb +48 -0
  332. data/lib/wc_data/generated/types/record.rb +264 -0
  333. data/lib/wc_data/generated/types/record_state.rb +57 -0
  334. data/lib/wc_data/generated/types/sig.rb +112 -0
  335. data/lib/wc_data/generated/types/string1024.rb +56 -0
  336. data/lib/wc_data/generated/types/string128.rb +56 -0
  337. data/lib/wc_data/generated/types/string16.rb +56 -0
  338. data/lib/wc_data/generated/types/string255.rb +56 -0
  339. data/lib/wc_data/generated/types/string32.rb +56 -0
  340. data/lib/wc_data/generated/types/string512.rb +56 -0
  341. data/lib/wc_data/generated/types/string64.rb +56 -0
  342. data/lib/wc_data/generated/types/stringnz.rb +43 -0
  343. data/lib/wc_data/generated/types/stringz1024.rb +56 -0
  344. data/lib/wc_data/generated/types/stringz128.rb +56 -0
  345. data/lib/wc_data/generated/types/stringz16.rb +56 -0
  346. data/lib/wc_data/generated/types/stringz255.rb +56 -0
  347. data/lib/wc_data/generated/types/stringz32.rb +56 -0
  348. data/lib/wc_data/generated/types/stringz512.rb +56 -0
  349. data/lib/wc_data/generated/types/stringz64.rb +56 -0
  350. data/lib/wc_data/generated/types/url.rb +56 -0
  351. data/lib/wc_data/generated/types/version.rb +56 -0
  352. data/lib/wc_data/generated/vocab/info_xml.rb +46 -0
  353. data/lib/wc_data/generated/vocab/vocabulary_code_item.rb +104 -0
  354. data/lib/wc_data/generated/vocab/vocabulary_code_set.rb +133 -0
  355. data/lib/wc_data/generated/vocab/vocabulary_key.rb +106 -0
  356. data/lib/wc_data/generated/vocab/vocabulary_key_info.rb +26 -0
  357. data/lib/wc_data/init.rb +27 -0
  358. data/lib/wc_data/raw_info_xml.rb +12 -0
  359. data/lib/wc_data/simple_type.rb +16 -0
  360. data/lib/wc_data/thing.rb +78 -0
  361. data/lib/xsd/bootstrap/request.xsd +107 -0
  362. data/lib/xsd/bootstrap/response-getservicedefinition.xsd +119 -0
  363. data/lib/xsd/bootstrap/types.xsd +1117 -0
  364. data/lib/xsd/common/application.xsd +766 -0
  365. data/lib/xsd/common/auth.xsd +1093 -0
  366. data/lib/xsd/common/dates.xsd +510 -0
  367. data/lib/xsd/common/record.xsd +1160 -0
  368. data/lib/xsd/common/request.xsd +524 -0
  369. data/lib/xsd/common/thing.xsd +881 -0
  370. data/lib/xsd/common/types.xsd +3131 -0
  371. data/lib/xsd/common/vocab.xsd +359 -0
  372. data/lib/xsd/requests/method-addapplication.xsd +349 -0
  373. data/lib/xsd/requests/method-createauthenticatedsessiontoken.xsd +216 -0
  374. data/lib/xsd/requests/method-createconnectrequest.xsd +143 -0
  375. data/lib/xsd/requests/method-deleteopenquery.xsd +75 -0
  376. data/lib/xsd/requests/method-deletependingconnectrequest.xsd +77 -0
  377. data/lib/xsd/requests/method-getauthorizedconnectrequests.xsd +78 -0
  378. data/lib/xsd/requests/method-getauthorizedrecords.xsd +82 -0
  379. data/lib/xsd/requests/method-getopenqueryinfo.xsd +74 -0
  380. data/lib/xsd/requests/method-getpersoninfo.xsd +80 -0
  381. data/lib/xsd/requests/method-getthings.xsd +516 -0
  382. data/lib/xsd/requests/method-getthingtype.xsd +201 -0
  383. data/lib/xsd/requests/method-getvocabulary.xsd +135 -0
  384. data/lib/xsd/requests/method-putthings.xsd +80 -0
  385. data/lib/xsd/requests/method-querypermissions.xsd +79 -0
  386. data/lib/xsd/requests/method-removethings.xsd +78 -0
  387. data/lib/xsd/requests/method-saveopenquery.xsd +219 -0
  388. data/lib/xsd/requests/method-searchvocabulary.xsd +222 -0
  389. data/lib/xsd/requests/method-sendinsecuremessage.xsd +185 -0
  390. data/lib/xsd/requests/method-sendinsecuremessagefromapplication.xsd +274 -0
  391. data/lib/xsd/requests/method-setapplicationsettings.xsd +166 -0
  392. data/lib/xsd/requests/method-updateapplication.xsd +357 -0
  393. data/lib/xsd/requests/method-updateexternalid.xsd +84 -0
  394. data/lib/xsd/responses/response-addapplication.xsd +79 -0
  395. data/lib/xsd/responses/response-any.xsd +59 -0
  396. data/lib/xsd/responses/response-createauthenticatedsessiontoken.xsd +167 -0
  397. data/lib/xsd/responses/response-createconnectrequest.xsd +88 -0
  398. data/lib/xsd/responses/response-deleteopenquery.xsd +87 -0
  399. data/lib/xsd/responses/response-getapplicationsettings.xsd +192 -0
  400. data/lib/xsd/responses/response-getauthorizedconnectrequests.xsd +135 -0
  401. data/lib/xsd/responses/response-getauthorizedrecords.xsd +76 -0
  402. data/lib/xsd/responses/response-getopenqueryinfo.xsd +64 -0
  403. data/lib/xsd/responses/response-getpeopleforrecord.xsd +95 -0
  404. data/lib/xsd/responses/response-getpersoninfo.xsd +87 -0
  405. data/lib/xsd/responses/response-getservicedefinition.xsd +515 -0
  406. data/lib/xsd/responses/response-getthings.xsd +198 -0
  407. data/lib/xsd/responses/response-getthingtype.xsd +457 -0
  408. data/lib/xsd/responses/response-getvocabulary.xsd +93 -0
  409. data/lib/xsd/responses/response-putthings.xsd +63 -0
  410. data/lib/xsd/responses/response-querypermissions.xsd +182 -0
  411. data/lib/xsd/responses/response-saveopenquery.xsd +62 -0
  412. data/lib/xsd/responses/response-searchvocabulary.xsd +90 -0
  413. data/lib/xsd/things/Advance Directive.xsd +60 -0
  414. data/lib/xsd/things/Aerobic Exercise Session.xsd +19 -0
  415. data/lib/xsd/things/Aerobic Profile.xsd +143 -0
  416. data/lib/xsd/things/Allergic Episode.xsd +17 -0
  417. data/lib/xsd/things/Allergy.xsd +39 -0
  418. data/lib/xsd/things/Application-Specific Information.xsd +42 -0
  419. data/lib/xsd/things/Appointment.xsd +24 -0
  420. data/lib/xsd/things/Asthma Inhaler Usage.xsd +44 -0
  421. data/lib/xsd/things/Asthma Inhaler.xsd +99 -0
  422. data/lib/xsd/things/Base Thing Type.xsd +1000 -0
  423. data/lib/xsd/things/Basic Demographic Information.xsd +49 -0
  424. data/lib/xsd/things/Blood Glucose Measurement.xsd +28 -0
  425. data/lib/xsd/things/Blood Pressure Measurement.xsd +30 -0
  426. data/lib/xsd/things/Cardiac Profile.xsd +80 -0
  427. data/lib/xsd/things/Cholesterol Profile (Lipid Profile).xsd +38 -0
  428. data/lib/xsd/things/Concern.xsd +17 -0
  429. data/lib/xsd/things/Condition.xsd +28 -0
  430. data/lib/xsd/things/Continuity of Care Record.xsd +3 -0
  431. data/lib/xsd/things/Contraindication.xsd +27 -0
  432. data/lib/xsd/things/Daily Dietary Intake.xsd +51 -0
  433. data/lib/xsd/things/Daily Medication Usage.xsd +41 -0
  434. data/lib/xsd/things/Device.xsd +24 -0
  435. data/lib/xsd/things/Diabetes Insulin Injection Use.xsd +26 -0
  436. data/lib/xsd/things/Diabetic Profile.xsd +92 -0
  437. data/lib/xsd/things/Discharge Summary.xsd +43 -0
  438. data/lib/xsd/things/Emergency or Provider Contact.xsd +11 -0
  439. data/lib/xsd/things/Emotional State.xsd +24 -0
  440. data/lib/xsd/things/Encounter (old).xsd +21 -0
  441. data/lib/xsd/things/Encounter.xsd +19 -0
  442. data/lib/xsd/things/Family History Condition.xsd +12 -0
  443. data/lib/xsd/things/Family History Person.xsd +18 -0
  444. data/lib/xsd/things/Family History.xsd +27 -0
  445. data/lib/xsd/things/File.xsd +28 -0
  446. data/lib/xsd/things/HL7 Continuity of Care Document.xsd +33 -0
  447. data/lib/xsd/things/HbA1C Measurement.xsd +23 -0
  448. data/lib/xsd/things/Healthcare Proxy.xsd +21 -0
  449. data/lib/xsd/things/Height Measurement.xsd +13 -0
  450. data/lib/xsd/things/Immunization.xsd +32 -0
  451. data/lib/xsd/things/Insulin Injection.xsd +30 -0
  452. data/lib/xsd/things/Insurance Plan.xsd +46 -0
  453. data/lib/xsd/things/Lab Test Result.xsd +11 -0
  454. data/lib/xsd/things/Life Goal.xsd +19 -0
  455. data/lib/xsd/things/Link.xsd +12 -0
  456. data/lib/xsd/things/Medical Annotation.xsd +21 -0
  457. data/lib/xsd/things/Medical Problem.xsd +15 -0
  458. data/lib/xsd/things/Medication.xsd +82 -0
  459. data/lib/xsd/things/Microbiology Lab Test Result.xsd +25 -0
  460. data/lib/xsd/things/Password Protected Package.xsd +23 -0
  461. data/lib/xsd/things/Personal Contact Information.xsd +18 -0
  462. data/lib/xsd/things/Personal Demographic Information.xsd +63 -0
  463. data/lib/xsd/things/Personal Image.xsd +13 -0
  464. data/lib/xsd/things/Procedure.xsd +19 -0
  465. data/lib/xsd/things/Radiology Lab Result.xsd +19 -0
  466. data/lib/xsd/things/Respiratory Profile.xsd +33 -0
  467. data/lib/xsd/things/Sleep Related Activity.xsd +45 -0
  468. data/lib/xsd/things/Sleep Session.xsd +51 -0
  469. data/lib/xsd/things/Spirometer Measurement.xsd +113 -0
  470. data/lib/xsd/things/Vital Signs.xsd +31 -0
  471. data/lib/xsd/things/Weekly Aerobic Exercise Goal.xsd +25 -0
  472. data/lib/xsd/things/Weight Goal.xsd +33 -0
  473. data/lib/xsd/things/Weight Measurement.xsd +10 -0
  474. data/spec/connection_spec.rb +17 -0
  475. data/spec/request_spec.rb +42 -0
  476. data/spec/support/test_server.rb +42 -0
  477. metadata +646 -0
@@ -0,0 +1,1117 @@
1
+ <?xml version="1.0"?>
2
+ <schema
3
+ targetNamespace="urn:com.microsoft.wc.types"
4
+ xmlns:wc-types="urn:com.microsoft.wc.types"
5
+ xmlns="http://www.w3.org/2001/XMLSchema" >
6
+
7
+ <!--
8
+
9
+ TYPES.XSD
10
+ Microsoft Wildcat
11
+
12
+ Platform API: Shared types
13
+
14
+ -->
15
+ <complexType name="Phone">
16
+ <sequence>
17
+ <element name="description" type="string"
18
+ minOccurs="0" maxOccurs="1" >
19
+ </element>
20
+ <element name="is-primary" type="boolean"
21
+ minOccurs="0" maxOccurs="1" >
22
+ </element>
23
+ <element name="number" type="string" >
24
+ </element>
25
+ </sequence>
26
+ </complexType>
27
+ <complexType name="Email">
28
+ <sequence>
29
+ <element name="description" type="string"
30
+ minOccurs="0" maxOccurs="1" >
31
+ </element>
32
+ <element name="is-primary" type="boolean"
33
+ minOccurs="0" maxOccurs="1" >
34
+ </element>
35
+ <element name="address" type="wc-types:EmailAddress" >
36
+ </element>
37
+ </sequence>
38
+ </complexType>
39
+ <simpleType name="EmailAddress">
40
+ <restriction base="string">
41
+ <minLength value="6" />
42
+ <maxLength value="128" />
43
+ </restriction>
44
+ </simpleType>
45
+ <complexType name="RcptAddress">
46
+ <sequence>
47
+ <element name="address" type="string" >
48
+ </element>
49
+ <element name="name" type="string" >
50
+ </element>
51
+ </sequence>
52
+ </complexType>
53
+ <complexType name="RcptPerson">
54
+ <simpleContent>
55
+ <extension base="wc-types:guid">
56
+ <attribute name="validated" type="boolean" use="required" >
57
+ </attribute>
58
+ </extension>
59
+ </simpleContent>
60
+ </complexType>
61
+ <complexType name="RcptRecord">
62
+ <sequence />
63
+ <attribute name="validated" type="boolean" use="required" >
64
+ </attribute>
65
+ </complexType>
66
+ <simpleType name="LoginName">
67
+ <restriction base="string">
68
+ <minLength value="6" />
69
+ <maxLength value="128" />
70
+ </restriction>
71
+ </simpleType>
72
+ <simpleType name="Version">
73
+ <restriction base="string">
74
+ <minLength value="7" />
75
+ <maxLength value="19" />
76
+ </restriction>
77
+ </simpleType>
78
+ <complexType name="Address">
79
+ <sequence>
80
+ <element name="description" type="string"
81
+ minOccurs="0" maxOccurs="1" >
82
+ </element>
83
+ <element name="is-primary" type="boolean"
84
+ minOccurs="0" maxOccurs="1" >
85
+ </element>
86
+ <element name="street" type="string"
87
+ minOccurs="1" maxOccurs="unbounded" >
88
+ </element>
89
+ <element name="city" type="string" >
90
+ </element>
91
+ <element name="state" type="string" >
92
+ </element>
93
+ <element name="postcode" type="string"
94
+ minOccurs="0" maxOccurs="1" >
95
+ </element>
96
+ <element name="country" type="wc-types:iso3166" >
97
+ </element>
98
+ </sequence>
99
+ </complexType>
100
+ <complexType name="Sig">
101
+ <simpleContent>
102
+ <extension base="wc-types:string512">
103
+ <attribute name="digestMethod"
104
+ type="wc-types:string16" use="required">
105
+ </attribute>
106
+ <attribute name="sigMethod"
107
+ type="wc-types:string16" use="required">
108
+ </attribute>
109
+ <attribute name="thumbprint"
110
+ type="string" use="required" >
111
+ </attribute>
112
+ </extension>
113
+ </simpleContent>
114
+ </complexType>
115
+ <complexType name="HashFinalizedData">
116
+ <simpleContent>
117
+ <extension base="wc-types:string512">
118
+ <attribute name="algName"
119
+ type="wc-types:stringnz" use="required">
120
+ </attribute>
121
+ </extension>
122
+ </simpleContent>
123
+ </complexType>
124
+ <complexType name="HashFinalized">
125
+ <sequence>
126
+ <element name="hash-data" type="wc-types:HashFinalizedData">
127
+ </element>
128
+ </sequence>
129
+ </complexType>
130
+ <complexType name="HMACAlgorithmData">
131
+ <simpleContent>
132
+ <!-- element value is KeyMaterial for HMAC -->
133
+ <extension base="wc-types:string512">
134
+ <attribute name="algName"
135
+ type="wc-types:stringnz" use="required">
136
+ </attribute>
137
+ </extension>
138
+ </simpleContent>
139
+ </complexType>
140
+ <complexType name="HMACAlgorithm">
141
+ <sequence>
142
+ <element name="hmac-alg" type="wc-types:HMACAlgorithmData">
143
+ </element>
144
+ </sequence>
145
+ </complexType>
146
+ <complexType name="HMACFinalizedData">
147
+ <simpleContent>
148
+ <extension base="wc-types:string512">
149
+ <attribute name="algName"
150
+ type="wc-types:stringnz" use="required">
151
+ </attribute>
152
+ </extension>
153
+ </simpleContent>
154
+ </complexType>
155
+ <complexType name="HMACFinalized">
156
+ <sequence>
157
+ <element name="hmac-data" type="wc-types:HMACFinalizedData">
158
+ </element>
159
+ </sequence>
160
+ </complexType>
161
+ <complexType name="CardSpaceCred">
162
+ <sequence>
163
+ <any minOccurs="1" maxOccurs="unbounded"
164
+ namespace="##any" processContents="skip">
165
+ </any>
166
+ </sequence>
167
+ </complexType>
168
+ <complexType name="AppInfo">
169
+ <simpleContent>
170
+ <extension base="wc-types:guid">
171
+ <attribute name="is-multi-record-app"
172
+ type="boolean" use="optional">
173
+ </attribute>
174
+ </extension>
175
+ </simpleContent>
176
+ </complexType>
177
+ <complexType name="AppServerCredInfo">
178
+ <sequence>
179
+ <element name="app-id"
180
+ type="wc-types:guid" >
181
+ </element>
182
+ <element name="shared-secret"
183
+ type="wc-types:HMACAlgorithm">
184
+ </element>
185
+ </sequence>
186
+ </complexType>
187
+ <complexType name="AppServerCred">
188
+ <sequence>
189
+ <element name="sig" type="wc-types:Sig" >
190
+ </element>
191
+ <element name="content"
192
+ type="wc-types:AppServerCredInfo" >
193
+ </element>
194
+ </sequence>
195
+ </complexType>
196
+ <simpleType name="Gender">
197
+ <restriction base="string">
198
+ <enumeration value="m">
199
+ </enumeration>
200
+ <enumeration value="f">
201
+ </enumeration>
202
+ </restriction>
203
+ </simpleType>
204
+ <simpleType name="Url">
205
+ <restriction base="string">
206
+ <minLength value="1" />
207
+ <maxLength value="1024" />
208
+ </restriction>
209
+ </simpleType>
210
+ <simpleType name="positiveLong">
211
+ <restriction base="long">
212
+ <minInclusive value="0" />
213
+ </restriction>
214
+ </simpleType>
215
+ <simpleType name="guid">
216
+ <restriction base="string">
217
+ <pattern value="[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"/>
218
+ </restriction>
219
+ </simpleType>
220
+ <simpleType name="puid">
221
+ <restriction base="string">
222
+ <pattern value="[a-fA-F0-9]{16}"/>
223
+ </restriction>
224
+ </simpleType>
225
+ <complexType name="DateRange">
226
+ <sequence>
227
+ <element name="date-min" type="dateTime"
228
+ minOccurs="0" maxOccurs="1" >
229
+ </element>
230
+ <element name="date-max" type="dateTime"
231
+ minOccurs="0" maxOccurs="1" >
232
+ </element>
233
+ </sequence>
234
+ </complexType>
235
+ <simpleType name="Permission">
236
+ <restriction base="string">
237
+ <enumeration value="All">
238
+ </enumeration>
239
+ <enumeration value="Read">
240
+ </enumeration>
241
+ <enumeration value="Update">
242
+ </enumeration>
243
+ <enumeration value="Create">
244
+ </enumeration>
245
+ <enumeration value="Delete">
246
+ </enumeration>
247
+ </restriction>
248
+ </simpleType>
249
+ <simpleType name="NameMatchType">
250
+ <restriction base="string">
251
+ <enumeration value="exact">
252
+ </enumeration>
253
+ <enumeration value="prefix">
254
+ </enumeration>
255
+ <enumeration value="contains">
256
+ </enumeration>
257
+ </restriction>
258
+ </simpleType>
259
+ <simpleType name="base64Sha1">
260
+ <restriction base="string">
261
+ <minLength value="28" />
262
+ <maxLength value="28" />
263
+ </restriction>
264
+ </simpleType>
265
+ <simpleType name="string1024">
266
+ <restriction base="string">
267
+ <minLength value="1" />
268
+ <maxLength value="1024" />
269
+ </restriction>
270
+ </simpleType>
271
+
272
+ <simpleType name="string512">
273
+ <restriction base="string">
274
+ <minLength value="1" />
275
+ <maxLength value="512" />
276
+ </restriction>
277
+ </simpleType>
278
+ <simpleType name="string255">
279
+ <restriction base="string">
280
+ <minLength value="1" />
281
+ <maxLength value="255" />
282
+ </restriction>
283
+ </simpleType>
284
+ <simpleType name="string128">
285
+ <restriction base="string">
286
+ <minLength value="1" />
287
+ <maxLength value="128" />
288
+ </restriction>
289
+ </simpleType>
290
+ <simpleType name="string64">
291
+ <restriction base="string">
292
+ <minLength value="1" />
293
+ <maxLength value="64" />
294
+ </restriction>
295
+ </simpleType>
296
+ <simpleType name="string32">
297
+ <restriction base="string">
298
+ <minLength value="1" />
299
+ <maxLength value="32" />
300
+ </restriction>
301
+ </simpleType>
302
+ <simpleType name="string16">
303
+ <restriction base="string">
304
+ <minLength value="1" />
305
+ <maxLength value="16" />
306
+ </restriction>
307
+ </simpleType>
308
+ <simpleType name="stringz1024">
309
+ <restriction base="string">
310
+ <minLength value="0" />
311
+ <maxLength value="1024" />
312
+ </restriction>
313
+ </simpleType>
314
+ <simpleType name="stringz512">
315
+ <restriction base="string">
316
+ <minLength value="0" />
317
+ <maxLength value="512" />
318
+ </restriction>
319
+ </simpleType>
320
+ <simpleType name="stringz255">
321
+ <restriction base="string">
322
+ <minLength value="0" />
323
+ <maxLength value="255" />
324
+ </restriction>
325
+ </simpleType>
326
+ <simpleType name="stringz128">
327
+ <restriction base="string">
328
+ <minLength value="0" />
329
+ <maxLength value="128" />
330
+ </restriction>
331
+ </simpleType>
332
+ <simpleType name="stringz64">
333
+ <restriction base="string">
334
+ <minLength value="0" />
335
+ <maxLength value="64" />
336
+ </restriction>
337
+ </simpleType>
338
+ <simpleType name="stringz32">
339
+ <restriction base="string">
340
+ <minLength value="0" />
341
+ <maxLength value="32" />
342
+ </restriction>
343
+ </simpleType>
344
+ <simpleType name="stringz16">
345
+ <restriction base="string">
346
+ <minLength value="0" />
347
+ <maxLength value="16" />
348
+ </restriction>
349
+ </simpleType>
350
+ <simpleType name="stringnz">
351
+ <restriction base="string">
352
+ <minLength value="1" />
353
+ </restriction>
354
+ </simpleType>
355
+ <simpleType name="char2">
356
+ <restriction base="string">
357
+ <minLength value="2" />
358
+ <maxLength value="2" />
359
+ </restriction>
360
+ </simpleType>
361
+ <simpleType name="OmbEthnicity">
362
+ <restriction base="string">
363
+ <enumeration value="American Indian or Alaska Native" />
364
+ <enumeration value="Asian" />
365
+ <enumeration value="Black or African American" />
366
+ <enumeration value="Hispanic or Latino" />
367
+ <enumeration value="Native Hawaiian or Other Pacific Islander" />
368
+ <enumeration value="White" />
369
+ </restriction>
370
+ </simpleType>
371
+
372
+ <complexType name="Culture">
373
+ <sequence>
374
+ <element name="language" type="wc-types:iso639-1"
375
+ minOccurs="0" maxOccurs="1" >
376
+ </element>
377
+ <element name="country" type="wc-types:iso3166"
378
+ minOccurs="0" maxOccurs="1" >
379
+ </element>
380
+ </sequence>
381
+ </complexType>
382
+ <simpleType name="iso639-1">
383
+ <restriction base="string">
384
+ <enumeration value="aa" />
385
+ <enumeration value="ab" />
386
+ <enumeration value="af" />
387
+ <enumeration value="am" />
388
+ <enumeration value="ar" />
389
+ <enumeration value="as" />
390
+ <enumeration value="ay" />
391
+ <enumeration value="az" />
392
+ <enumeration value="ba" />
393
+ <enumeration value="be" />
394
+ <enumeration value="bg" />
395
+ <enumeration value="bh" />
396
+ <enumeration value="bi" />
397
+ <enumeration value="bn" />
398
+ <enumeration value="bo" />
399
+ <enumeration value="br" />
400
+ <enumeration value="ca" />
401
+ <enumeration value="co" />
402
+ <enumeration value="cs" />
403
+ <enumeration value="cy" />
404
+ <enumeration value="da" />
405
+ <enumeration value="de" />
406
+ <enumeration value="dz" />
407
+ <enumeration value="el" />
408
+ <enumeration value="en" />
409
+ <enumeration value="eo" />
410
+ <enumeration value="es" />
411
+ <enumeration value="et" />
412
+ <enumeration value="eu" />
413
+ <enumeration value="fa" />
414
+ <enumeration value="fi" />
415
+ <enumeration value="fj" />
416
+ <enumeration value="fo" />
417
+ <enumeration value="fr" />
418
+ <enumeration value="fy" />
419
+ <enumeration value="ga" />
420
+ <enumeration value="gd" />
421
+ <enumeration value="gl" />
422
+ <enumeration value="gn" />
423
+ <enumeration value="gu" />
424
+ <enumeration value="ha" />
425
+ <enumeration value="hi" />
426
+ <enumeration value="hr" />
427
+ <enumeration value="hu" />
428
+ <enumeration value="hy" />
429
+ <enumeration value="ia" />
430
+ <enumeration value="ie" />
431
+ <enumeration value="ik" />
432
+ <enumeration value="in" />
433
+ <enumeration value="is" />
434
+ <enumeration value="it" />
435
+ <enumeration value="iw" />
436
+ <enumeration value="ja" />
437
+ <enumeration value="ji" />
438
+ <enumeration value="jw" />
439
+ <enumeration value="ka" />
440
+ <enumeration value="kk" />
441
+ <enumeration value="kl" />
442
+ <enumeration value="km" />
443
+ <enumeration value="kn" />
444
+ <enumeration value="ko" />
445
+ <enumeration value="ks" />
446
+ <enumeration value="ku" />
447
+ <enumeration value="ky" />
448
+ <enumeration value="la" />
449
+ <enumeration value="ln" />
450
+ <enumeration value="lo" />
451
+ <enumeration value="lt" />
452
+ <enumeration value="lv" />
453
+ <enumeration value="mg" />
454
+ <enumeration value="mi" />
455
+ <enumeration value="mk" />
456
+ <enumeration value="ml" />
457
+ <enumeration value="mn" />
458
+ <enumeration value="mo" />
459
+ <enumeration value="mr" />
460
+ <enumeration value="ms" />
461
+ <enumeration value="mt" />
462
+ <enumeration value="my" />
463
+ <enumeration value="na" />
464
+ <enumeration value="ne" />
465
+ <enumeration value="nl" />
466
+ <enumeration value="no" />
467
+ <enumeration value="oc" />
468
+ <enumeration value="om" />
469
+ <enumeration value="or" />
470
+ <enumeration value="pa" />
471
+ <enumeration value="pl" />
472
+ <enumeration value="ps" />
473
+ <enumeration value="pt" />
474
+ <enumeration value="qu" />
475
+ <enumeration value="rm" />
476
+ <enumeration value="rn" />
477
+ <enumeration value="ro" />
478
+ <enumeration value="ru" />
479
+ <enumeration value="rw" />
480
+ <enumeration value="sa" />
481
+ <enumeration value="sd" />
482
+ <enumeration value="sg" />
483
+ <enumeration value="sh" />
484
+ <enumeration value="si" />
485
+ <enumeration value="sk" />
486
+ <enumeration value="sl" />
487
+ <enumeration value="sm" />
488
+ <enumeration value="sn" />
489
+ <enumeration value="so" />
490
+ <enumeration value="sq" />
491
+ <enumeration value="sr" />
492
+ <enumeration value="ss" />
493
+ <enumeration value="st" />
494
+ <enumeration value="su" />
495
+ <enumeration value="sv" />
496
+ <enumeration value="sw" />
497
+ <enumeration value="ta" />
498
+ <enumeration value="te" />
499
+ <enumeration value="tg" />
500
+ <enumeration value="th" />
501
+ <enumeration value="ti" />
502
+ <enumeration value="tk" />
503
+ <enumeration value="tl" />
504
+ <enumeration value="tn" />
505
+ <enumeration value="to" />
506
+ <enumeration value="tr" />
507
+ <enumeration value="ts" />
508
+ <enumeration value="tt" />
509
+ <enumeration value="tw" />
510
+ <enumeration value="uk" />
511
+ <enumeration value="ur" />
512
+ <enumeration value="uz" />
513
+ <enumeration value="vi" />
514
+ <enumeration value="vo" />
515
+ <enumeration value="wo" />
516
+ <enumeration value="xh" />
517
+ <enumeration value="yo" />
518
+ <enumeration value="zh" />
519
+ <enumeration value="zu" />
520
+ </restriction>
521
+ </simpleType>
522
+ <simpleType name="iso3166">
523
+ <restriction base="string">
524
+ <enumeration value="AF" />
525
+ <enumeration value="AX" />
526
+ <enumeration value="AL" />
527
+ <enumeration value="DZ" />
528
+ <enumeration value="AS" />
529
+ <enumeration value="AD" />
530
+ <enumeration value="AO" />
531
+ <enumeration value="AI" />
532
+ <enumeration value="AQ" />
533
+ <enumeration value="AG" />
534
+ <enumeration value="AR" />
535
+ <enumeration value="AM" />
536
+ <enumeration value="AW" />
537
+ <enumeration value="AU" />
538
+ <enumeration value="AT" />
539
+ <enumeration value="AZ" />
540
+ <enumeration value="BS" />
541
+ <enumeration value="BH" />
542
+ <enumeration value="BD" />
543
+ <enumeration value="BB" />
544
+ <enumeration value="BY" />
545
+ <enumeration value="BE" />
546
+ <enumeration value="BZ" />
547
+ <enumeration value="BJ" />
548
+ <enumeration value="BM" />
549
+ <enumeration value="BT" />
550
+ <enumeration value="BO" />
551
+ <enumeration value="BA" />
552
+ <enumeration value="BW" />
553
+ <enumeration value="BV" />
554
+ <enumeration value="BR" />
555
+ <enumeration value="IO" />
556
+ <enumeration value="BN" />
557
+ <enumeration value="BG" />
558
+ <enumeration value="BF" />
559
+ <enumeration value="BI" />
560
+ <enumeration value="KH" />
561
+ <enumeration value="CM" />
562
+ <enumeration value="CA" />
563
+ <enumeration value="CV" />
564
+ <enumeration value="KY" />
565
+ <enumeration value="CF" />
566
+ <enumeration value="TD" />
567
+ <enumeration value="CL" />
568
+ <enumeration value="CN" />
569
+ <enumeration value="CX" />
570
+ <enumeration value="CC" />
571
+ <enumeration value="CO" />
572
+ <enumeration value="KM" />
573
+ <enumeration value="CG" />
574
+ <enumeration value="CD" />
575
+ <enumeration value="CK" />
576
+ <enumeration value="CR" />
577
+ <enumeration value="CI" />
578
+ <enumeration value="HR" />
579
+ <enumeration value="CU" />
580
+ <enumeration value="CY" />
581
+ <enumeration value="CZ" />
582
+ <enumeration value="DK" />
583
+ <enumeration value="DJ" />
584
+ <enumeration value="DM" />
585
+ <enumeration value="DO" />
586
+ <enumeration value="EC" />
587
+ <enumeration value="EG" />
588
+ <enumeration value="SV" />
589
+ <enumeration value="GQ" />
590
+ <enumeration value="ER" />
591
+ <enumeration value="EE" />
592
+ <enumeration value="ET" />
593
+ <enumeration value="FK" />
594
+ <enumeration value="FO" />
595
+ <enumeration value="FJ" />
596
+ <enumeration value="FI" />
597
+ <enumeration value="FR" />
598
+ <enumeration value="GF" />
599
+ <enumeration value="PF" />
600
+ <enumeration value="TF" />
601
+ <enumeration value="GA" />
602
+ <enumeration value="GM" />
603
+ <enumeration value="GE" />
604
+ <enumeration value="DE" />
605
+ <enumeration value="GH" />
606
+ <enumeration value="GI" />
607
+ <enumeration value="GR" />
608
+ <enumeration value="GL" />
609
+ <enumeration value="GD" />
610
+ <enumeration value="GP" />
611
+ <enumeration value="GU" />
612
+ <enumeration value="GT" />
613
+ <enumeration value="GN" />
614
+ <enumeration value="GW" />
615
+ <enumeration value="GY" />
616
+ <enumeration value="HT" />
617
+ <enumeration value="HM" />
618
+ <enumeration value="VA" />
619
+ <enumeration value="HN" />
620
+ <enumeration value="HK" />
621
+ <enumeration value="HU" />
622
+ <enumeration value="IS" />
623
+ <enumeration value="IN" />
624
+ <enumeration value="ID" />
625
+ <enumeration value="IR" />
626
+ <enumeration value="IQ" />
627
+ <enumeration value="IE" />
628
+ <enumeration value="IL" />
629
+ <enumeration value="IT" />
630
+ <enumeration value="JM" />
631
+ <enumeration value="JP" />
632
+ <enumeration value="JO" />
633
+ <enumeration value="KZ" />
634
+ <enumeration value="KE" />
635
+ <enumeration value="KI" />
636
+ <enumeration value="KP" />
637
+ <enumeration value="KR" />
638
+ <enumeration value="KW" />
639
+ <enumeration value="KG" />
640
+ <enumeration value="LA" />
641
+ <enumeration value="LV" />
642
+ <enumeration value="LB" />
643
+ <enumeration value="LS" />
644
+ <enumeration value="LR" />
645
+ <enumeration value="LY" />
646
+ <enumeration value="LI" />
647
+ <enumeration value="LT" />
648
+ <enumeration value="LU" />
649
+ <enumeration value="MO" />
650
+ <enumeration value="MK" />
651
+ <enumeration value="MG" />
652
+ <enumeration value="MW" />
653
+ <enumeration value="MY" />
654
+ <enumeration value="MV" />
655
+ <enumeration value="ML" />
656
+ <enumeration value="MT" />
657
+ <enumeration value="MH" />
658
+ <enumeration value="MQ" />
659
+ <enumeration value="MR" />
660
+ <enumeration value="MU" />
661
+ <enumeration value="YT" />
662
+ <enumeration value="MX" />
663
+ <enumeration value="FM" />
664
+ <enumeration value="MD" />
665
+ <enumeration value="MC" />
666
+ <enumeration value="MN" />
667
+ <enumeration value="MS" />
668
+ <enumeration value="MA" />
669
+ <enumeration value="MZ" />
670
+ <enumeration value="MM" />
671
+ <enumeration value="NA" />
672
+ <enumeration value="NR" />
673
+ <enumeration value="NP" />
674
+ <enumeration value="NL" />
675
+ <enumeration value="AN" />
676
+ <enumeration value="NC" />
677
+ <enumeration value="NZ" />
678
+ <enumeration value="NI" />
679
+ <enumeration value="NE" />
680
+ <enumeration value="NG" />
681
+ <enumeration value="NU" />
682
+ <enumeration value="NF" />
683
+ <enumeration value="MP" />
684
+ <enumeration value="NO" />
685
+ <enumeration value="OM" />
686
+ <enumeration value="PK" />
687
+ <enumeration value="PW" />
688
+ <enumeration value="PS" />
689
+ <enumeration value="PA" />
690
+ <enumeration value="PG" />
691
+ <enumeration value="PY" />
692
+ <enumeration value="PE" />
693
+ <enumeration value="PH" />
694
+ <enumeration value="PN" />
695
+ <enumeration value="PL" />
696
+ <enumeration value="PT" />
697
+ <enumeration value="PR" />
698
+ <enumeration value="QA" />
699
+ <enumeration value="RE" />
700
+ <enumeration value="RO" />
701
+ <enumeration value="RU" />
702
+ <enumeration value="RW" />
703
+ <enumeration value="SH" />
704
+ <enumeration value="KN" />
705
+ <enumeration value="LC" />
706
+ <enumeration value="PM" />
707
+ <enumeration value="VC" />
708
+ <enumeration value="WS" />
709
+ <enumeration value="SM" />
710
+ <enumeration value="ST" />
711
+ <enumeration value="SA" />
712
+ <enumeration value="SN" />
713
+ <enumeration value="CS" />
714
+ <enumeration value="SC" />
715
+ <enumeration value="SL" />
716
+ <enumeration value="SG" />
717
+ <enumeration value="SK" />
718
+ <enumeration value="SI" />
719
+ <enumeration value="SB" />
720
+ <enumeration value="SO" />
721
+ <enumeration value="ZA" />
722
+ <enumeration value="GS" />
723
+ <enumeration value="ES" />
724
+ <enumeration value="LK" />
725
+ <enumeration value="SD" />
726
+ <enumeration value="SR" />
727
+ <enumeration value="SJ" />
728
+ <enumeration value="SZ" />
729
+ <enumeration value="SE" />
730
+ <enumeration value="CH" />
731
+ <enumeration value="SY" />
732
+ <enumeration value="TW" />
733
+ <enumeration value="TJ" />
734
+ <enumeration value="TZ" />
735
+ <enumeration value="TH" />
736
+ <enumeration value="TL" />
737
+ <enumeration value="TG" />
738
+ <enumeration value="TK" />
739
+ <enumeration value="TO" />
740
+ <enumeration value="TT" />
741
+ <enumeration value="TN" />
742
+ <enumeration value="TR" />
743
+ <enumeration value="TM" />
744
+ <enumeration value="TC" />
745
+ <enumeration value="TV" />
746
+ <enumeration value="UG" />
747
+ <enumeration value="UA" />
748
+ <enumeration value="AE" />
749
+ <enumeration value="GB" />
750
+ <enumeration value="US" />
751
+ <enumeration value="UM" />
752
+ <enumeration value="UY" />
753
+ <enumeration value="UZ" />
754
+ <enumeration value="VU" />
755
+ <enumeration value="VE" />
756
+ <enumeration value="VN" />
757
+ <enumeration value="VG" />
758
+ <enumeration value="VI" />
759
+ <enumeration value="WF" />
760
+ <enumeration value="EH" />
761
+ <enumeration value="YE" />
762
+ <enumeration value="ZM" />
763
+ <enumeration value="ZW" />
764
+ </restriction>
765
+ </simpleType>
766
+ <simpleType name="iso4217">
767
+ <restriction base="string">
768
+ <enumeration value="aed" />
769
+ <enumeration value="afa" />
770
+ <enumeration value="all" />
771
+ <enumeration value="amd" />
772
+ <enumeration value="ang" />
773
+ <enumeration value="aoa" />
774
+ <enumeration value="ars" />
775
+ <enumeration value="aud" />
776
+ <enumeration value="awg" />
777
+ <enumeration value="azm" />
778
+ <enumeration value="bam" />
779
+ <enumeration value="bbd" />
780
+ <enumeration value="bdt" />
781
+ <enumeration value="bgn" />
782
+ <enumeration value="bhd" />
783
+ <enumeration value="bif" />
784
+ <enumeration value="bmd" />
785
+ <enumeration value="bnd" />
786
+ <enumeration value="bob" />
787
+ <enumeration value="brl" />
788
+ <enumeration value="bsd" />
789
+ <enumeration value="btn" />
790
+ <enumeration value="bwp" />
791
+ <enumeration value="byr" />
792
+ <enumeration value="bzd" />
793
+ <enumeration value="cad" />
794
+ <enumeration value="cdf" />
795
+ <enumeration value="chf" />
796
+ <enumeration value="clp" />
797
+ <enumeration value="cny" />
798
+ <enumeration value="cop" />
799
+ <enumeration value="crc" />
800
+ <enumeration value="csd" />
801
+ <enumeration value="cup" />
802
+ <enumeration value="cve" />
803
+ <enumeration value="cyp" />
804
+ <enumeration value="czk" />
805
+ <enumeration value="djf" />
806
+ <enumeration value="dkk" />
807
+ <enumeration value="dop" />
808
+ <enumeration value="dzd" />
809
+ <enumeration value="eek" />
810
+ <enumeration value="egp" />
811
+ <enumeration value="ern" />
812
+ <enumeration value="etb" />
813
+ <enumeration value="eur" />
814
+ <enumeration value="fjd" />
815
+ <enumeration value="fkp" />
816
+ <enumeration value="gbp" />
817
+ <enumeration value="gel" />
818
+ <enumeration value="ggp" />
819
+ <enumeration value="ghc" />
820
+ <enumeration value="gip" />
821
+ <enumeration value="gmd" />
822
+ <enumeration value="gnf" />
823
+ <enumeration value="gtq" />
824
+ <enumeration value="gyd" />
825
+ <enumeration value="hkd" />
826
+ <enumeration value="hnl" />
827
+ <enumeration value="hrk" />
828
+ <enumeration value="htg" />
829
+ <enumeration value="huf" />
830
+ <enumeration value="idr" />
831
+ <enumeration value="ils" />
832
+ <enumeration value="imp" />
833
+ <enumeration value="inr" />
834
+ <enumeration value="iqd" />
835
+ <enumeration value="irr" />
836
+ <enumeration value="isk" />
837
+ <enumeration value="jep" />
838
+ <enumeration value="jmd" />
839
+ <enumeration value="jod" />
840
+ <enumeration value="jpy" />
841
+ <enumeration value="kes" />
842
+ <enumeration value="kgs" />
843
+ <enumeration value="khr" />
844
+ <enumeration value="kmf" />
845
+ <enumeration value="kpw" />
846
+ <enumeration value="krw" />
847
+ <enumeration value="kwd" />
848
+ <enumeration value="kyd" />
849
+ <enumeration value="kzt" />
850
+ <enumeration value="lak" />
851
+ <enumeration value="lbp" />
852
+ <enumeration value="lkr" />
853
+ <enumeration value="lrd" />
854
+ <enumeration value="lsl" />
855
+ <enumeration value="ltl" />
856
+ <enumeration value="lvl" />
857
+ <enumeration value="lyd" />
858
+ <enumeration value="mad" />
859
+ <enumeration value="mdl" />
860
+ <enumeration value="mga" />
861
+ <enumeration value="mkd" />
862
+ <enumeration value="mmk" />
863
+ <enumeration value="mnt" />
864
+ <enumeration value="mop" />
865
+ <enumeration value="mro" />
866
+ <enumeration value="mtl" />
867
+ <enumeration value="mur" />
868
+ <enumeration value="mvr" />
869
+ <enumeration value="mwk" />
870
+ <enumeration value="mxn" />
871
+ <enumeration value="myr" />
872
+ <enumeration value="mzm" />
873
+ <enumeration value="nad" />
874
+ <enumeration value="ngn" />
875
+ <enumeration value="nio" />
876
+ <enumeration value="nok" />
877
+ <enumeration value="npr" />
878
+ <enumeration value="nzd" />
879
+ <enumeration value="omr" />
880
+ <enumeration value="pab" />
881
+ <enumeration value="pen" />
882
+ <enumeration value="pgk" />
883
+ <enumeration value="php" />
884
+ <enumeration value="pkr" />
885
+ <enumeration value="pln" />
886
+ <enumeration value="pyg" />
887
+ <enumeration value="qar" />
888
+ <enumeration value="rol" />
889
+ <enumeration value="rub" />
890
+ <enumeration value="rwf" />
891
+ <enumeration value="sar" />
892
+ <enumeration value="sbd" />
893
+ <enumeration value="scr" />
894
+ <enumeration value="sdd" />
895
+ <enumeration value="sek" />
896
+ <enumeration value="sgd" />
897
+ <enumeration value="shp" />
898
+ <enumeration value="sit" />
899
+ <enumeration value="skk" />
900
+ <enumeration value="sll" />
901
+ <enumeration value="sos" />
902
+ <enumeration value="spl" />
903
+ <enumeration value="srd" />
904
+ <enumeration value="std" />
905
+ <enumeration value="svc" />
906
+ <enumeration value="syp" />
907
+ <enumeration value="szl" />
908
+ <enumeration value="thb" />
909
+ <enumeration value="tjs" />
910
+ <enumeration value="tmm" />
911
+ <enumeration value="tnd" />
912
+ <enumeration value="top" />
913
+ <enumeration value="trl" />
914
+ <enumeration value="try" />
915
+ <enumeration value="ttd" />
916
+ <enumeration value="tvd" />
917
+ <enumeration value="twd" />
918
+ <enumeration value="tzs" />
919
+ <enumeration value="uah" />
920
+ <enumeration value="ugx" />
921
+ <enumeration value="usd" />
922
+ <enumeration value="uyu" />
923
+ <enumeration value="uzs" />
924
+ <enumeration value="veb" />
925
+ <enumeration value="vnd" />
926
+ <enumeration value="vuv" />
927
+ <enumeration value="wst" />
928
+ <enumeration value="xaf" />
929
+ <enumeration value="xag" />
930
+ <enumeration value="xau" />
931
+ <enumeration value="xcd" />
932
+ <enumeration value="xdr" />
933
+ <enumeration value="xof" />
934
+ <enumeration value="xpd" />
935
+ <enumeration value="xpf" />
936
+ <enumeration value="xpt" />
937
+ <enumeration value="yer" />
938
+ <enumeration value="zar" />
939
+ <enumeration value="zmk" />
940
+ <enumeration value="zwd" />
941
+ </restriction>
942
+ </simpleType>
943
+ <complexType name="Group">
944
+ <sequence>
945
+ <element name="name" type="wc-types:string255">
946
+ </element>
947
+ <element name="id" type="wc-types:guid">
948
+ </element>
949
+ <element name="contact-email" type="wc-types:EmailAddress">
950
+ </element>
951
+ </sequence>
952
+ </complexType>
953
+
954
+ <complexType name="Groups">
955
+ <sequence>
956
+ <element name="group" type="wc-types:Group"
957
+ minOccurs="1" maxOccurs="unbounded">
958
+ </element>
959
+ </sequence>
960
+ </complexType>
961
+
962
+ <complexType name="PersonInfo">
963
+ <sequence>
964
+ <element name="person-id" type="wc-types:guid">
965
+ </element>
966
+
967
+ <element name="name" type="wc-types:string255">
968
+ </element>
969
+
970
+ <element name="app-settings" type="wc-types:AppSettings"
971
+ minOccurs="0" maxOccurs="1">
972
+ </element>
973
+
974
+
975
+ <element name="selected-record-id" type="wc-types:guid"
976
+ minOccurs="0" maxOccurs="1">
977
+ </element>
978
+
979
+ <element name="more-records" type="boolean" minOccurs="0">
980
+ </element>
981
+
982
+ <element name="record" type="wc-types:Record"
983
+ minOccurs="0" maxOccurs="unbounded" >
984
+ </element>
985
+
986
+
987
+ <element name="groups" type="wc-types:Groups"
988
+ minOccurs="0" maxOccurs="1" >
989
+ </element>
990
+
991
+ <element name="preferred-culture" type="wc-types:Culture"
992
+ minOccurs="0" maxOccurs="1" >
993
+ </element>
994
+
995
+ <element name="preferred-uiculture" type="wc-types:Culture"
996
+ minOccurs="0" maxOccurs="1" >
997
+ </element>
998
+ </sequence>
999
+ </complexType>
1000
+
1001
+ <complexType name="AppSettings">
1002
+ <sequence>
1003
+ <any namespace="##any"
1004
+ minOccurs="0"
1005
+ maxOccurs="unbounded"
1006
+ processContents="skip">
1007
+ </any>
1008
+ </sequence>
1009
+ </complexType>
1010
+
1011
+ <simpleType name="RecordState">
1012
+ <restriction base="string">
1013
+ <enumeration value="Active">
1014
+ </enumeration>
1015
+ <enumeration value="ReadOnly">
1016
+ </enumeration>
1017
+ <enumeration value="Suspended">
1018
+ </enumeration>
1019
+ <enumeration value="Deleted">
1020
+ </enumeration>
1021
+ </restriction>
1022
+ </simpleType>
1023
+
1024
+ <complexType name="Record">
1025
+ <simpleContent>
1026
+ <extension base="wc-types:string255">
1027
+ <attribute name="id" type="wc-types:guid" use="required">
1028
+ </attribute>
1029
+ <attribute name="record-custodian" type="boolean"
1030
+ use="optional">
1031
+ </attribute>
1032
+ <attribute name="rel-type" type="int" use="required">
1033
+ </attribute>
1034
+ <attribute name="rel-name" type="wc-types:string255" use="optional">
1035
+ </attribute>
1036
+ <attribute name="auth-expires" type="dateTime"
1037
+ use="optional">
1038
+ </attribute>
1039
+ <attribute name="auth-expired" type="boolean" use="optional">
1040
+ </attribute>
1041
+ <attribute name="display-name" type="wc-types:string255"
1042
+ use="optional">
1043
+ </attribute>
1044
+ <attribute name="state" type="wc-types:RecordState" >
1045
+ </attribute>
1046
+ <attribute name="date-created" type="dateTime" use="optional">
1047
+ </attribute>
1048
+ <attribute name="max-size-bytes" type="wc-types:positiveLong" use="optional">
1049
+ </attribute>
1050
+ <attribute name="size-bytes" type="wc-types:positiveLong" use="optional">
1051
+ </attribute>
1052
+ </extension>
1053
+ </simpleContent>
1054
+ </complexType>
1055
+ <complexType name="LanguageCompetency">
1056
+ <simpleContent>
1057
+ <extension base="wc-types:iso639-1">
1058
+ <attribute name="is-primary" type="boolean" use="optional">
1059
+ </attribute>
1060
+ </extension>
1061
+ </simpleContent>
1062
+ </complexType>
1063
+ <complexType name="LocalizedString">
1064
+ <simpleContent>
1065
+ <extension base="string">
1066
+ <attribute name="language"
1067
+ type="wc-types:iso639-1" use="optional">
1068
+ </attribute>
1069
+ </extension>
1070
+ </simpleContent>
1071
+ </complexType>
1072
+
1073
+ <complexType name="OpenQueryInfo">
1074
+ <sequence>
1075
+ <element name="query-id" type="wc-types:guid" >
1076
+ </element>
1077
+
1078
+ <element name="app-name" type="wc-types:string255" >
1079
+ </element>
1080
+
1081
+ <element name="date-created" type="dateTime" >>
1082
+ </element>
1083
+
1084
+ <element name="expires-date" type="dateTime"
1085
+ minOccurs="0" maxOccurs="1" >
1086
+ </element>
1087
+
1088
+ <element name="pin-required" type="boolean" >
1089
+ </element>
1090
+
1091
+ <element name="note" type="wc-types:string128"
1092
+ minOccurs="0" maxOccurs="1" >
1093
+ </element>
1094
+ </sequence>
1095
+ </complexType>
1096
+
1097
+ <complexType name="coded-value">
1098
+ <sequence>
1099
+ <element name="value" type="string">
1100
+ </element>
1101
+ <element name="family" type="string" minOccurs="0">
1102
+ </element>
1103
+ <element name="type" type="string">
1104
+ </element>
1105
+ <element name="version" type="string" minOccurs="0">
1106
+ </element>
1107
+ </sequence>
1108
+ </complexType>
1109
+ <complexType name="codable-value">
1110
+ <sequence>
1111
+ <element name="text" type="string">
1112
+ </element>
1113
+ <element name="code" type="wc-types:coded-value" minOccurs="0" maxOccurs="unbounded">
1114
+ </element>
1115
+ </sequence>
1116
+ </complexType>
1117
+ </schema>