@htilabs/platform-common-models 0.8.17 → 0.8.18

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.
package/src/cvcs/index.ts CHANGED
@@ -180,6 +180,7 @@ import sessionTemplateSot from "./sessionTemplate.v1.0.0.json" with { type: "jso
180
180
  import serviceDeliveryChannelSot from "./serviceDeliveryChannel.v1.0.0.json" with { type: "json" };
181
181
  import whyNotsSot from "./whyNots.v1.0.0.json" with { type: "json" };
182
182
  import citizenshipSot from "./citizenship.v1.0.0.json" with { type: "json" };
183
+ import countriesSot from "./countries.v1.0.0.json" with { type: "json" };
183
184
  import traffickingRelevantRoleSot from "./traffickingRelevantRole.v1.0.0.json" with { type: "json" };
184
185
  // Domains that were never exported from this barrel (found by the CVC drift gate).
185
186
  import activityTypeSot from "./activityType.v1.0.0.json" with { type: "json" };
@@ -373,6 +374,7 @@ export {
373
374
  serviceDeliveryChannelSot,
374
375
  whyNotsSot,
375
376
  citizenshipSot,
377
+ countriesSot,
376
378
  traffickingRelevantRoleSot,
377
379
  activityTypeSot,
378
380
  assertionDomainSot,
@@ -5084,6 +5084,270 @@ export const CitizenshipKeys = {
5084
5084
 
5085
5085
  export type CitizenshipKey = keyof typeof CitizenshipKeys;
5086
5086
 
5087
+ /**
5088
+ * Key → positional code map for the `countries` CVC domain (CVC-181, provisional-pending-notion-ratification). The neutral ISO 3166-1 country/territory list: 249 countries + the workspace-standard 3-value missingness set + `non_us_unspecified` (a flagged local extension). Positional codes are MINTED platform-common-side: the upstream Notion codebook's Code column is blank on all 249 rows. The authoritative ISO 3166-1 alpha-2 code rides on each entry as `iso31661Alpha2`. The 249 country KEYS are identical to CVC-182 `citizenship`; the positional ORDINALS are NOT (the two codebooks sort differently) — reconcile by key, never by rewriting segment 1.
5089
+ *
5090
+ * Domain: `countries` · Version: 1.0.0 · Entries: 254
5091
+ */
5092
+ export const CountryKeys = {
5093
+ missingness_root: "181-000-000-000-000-000-000",
5094
+ unknown: "181-000-000-000-000-000-001",
5095
+ anonymous: "181-000-000-000-000-000-002",
5096
+ data_not_collected: "181-000-000-000-000-000-003",
5097
+ afghanistan: "181-001-000-000-000-000-000",
5098
+ aland_islands: "181-002-000-000-000-000-000",
5099
+ albania: "181-003-000-000-000-000-000",
5100
+ algeria: "181-004-000-000-000-000-000",
5101
+ american_samoa: "181-005-000-000-000-000-000",
5102
+ andorra: "181-006-000-000-000-000-000",
5103
+ angola: "181-007-000-000-000-000-000",
5104
+ anguilla: "181-008-000-000-000-000-000",
5105
+ antarctica: "181-009-000-000-000-000-000",
5106
+ antigua_and_barbuda: "181-010-000-000-000-000-000",
5107
+ argentina: "181-011-000-000-000-000-000",
5108
+ armenia: "181-012-000-000-000-000-000",
5109
+ aruba: "181-013-000-000-000-000-000",
5110
+ australia: "181-014-000-000-000-000-000",
5111
+ austria: "181-015-000-000-000-000-000",
5112
+ azerbaijan: "181-016-000-000-000-000-000",
5113
+ bahamas: "181-017-000-000-000-000-000",
5114
+ bahrain: "181-018-000-000-000-000-000",
5115
+ bangladesh: "181-019-000-000-000-000-000",
5116
+ barbados: "181-020-000-000-000-000-000",
5117
+ belarus: "181-021-000-000-000-000-000",
5118
+ belgium: "181-022-000-000-000-000-000",
5119
+ belize: "181-023-000-000-000-000-000",
5120
+ benin: "181-024-000-000-000-000-000",
5121
+ bermuda: "181-025-000-000-000-000-000",
5122
+ bhutan: "181-026-000-000-000-000-000",
5123
+ bolivia_plurinational_state_of: "181-027-000-000-000-000-000",
5124
+ bonaire_sint_eustatius_and_saba: "181-028-000-000-000-000-000",
5125
+ bosnia_and_herzegovina: "181-029-000-000-000-000-000",
5126
+ botswana: "181-030-000-000-000-000-000",
5127
+ bouvet_island: "181-031-000-000-000-000-000",
5128
+ brazil: "181-032-000-000-000-000-000",
5129
+ british_indian_ocean_territory: "181-033-000-000-000-000-000",
5130
+ brunei_darussalam: "181-034-000-000-000-000-000",
5131
+ bulgaria: "181-035-000-000-000-000-000",
5132
+ burkina_faso: "181-036-000-000-000-000-000",
5133
+ burundi: "181-037-000-000-000-000-000",
5134
+ cambodia: "181-038-000-000-000-000-000",
5135
+ cameroon: "181-039-000-000-000-000-000",
5136
+ canada: "181-040-000-000-000-000-000",
5137
+ cape_verde: "181-041-000-000-000-000-000",
5138
+ cayman_islands: "181-042-000-000-000-000-000",
5139
+ central_african_republic: "181-043-000-000-000-000-000",
5140
+ chad: "181-044-000-000-000-000-000",
5141
+ chile: "181-045-000-000-000-000-000",
5142
+ china: "181-046-000-000-000-000-000",
5143
+ christmas_island: "181-047-000-000-000-000-000",
5144
+ cocos_keeling_islands: "181-048-000-000-000-000-000",
5145
+ colombia: "181-049-000-000-000-000-000",
5146
+ comoros: "181-050-000-000-000-000-000",
5147
+ congo: "181-051-000-000-000-000-000",
5148
+ congo_the_democratic_republic_of_the: "181-052-000-000-000-000-000",
5149
+ cook_islands: "181-053-000-000-000-000-000",
5150
+ costa_rica: "181-054-000-000-000-000-000",
5151
+ cote_d_ivoire: "181-055-000-000-000-000-000",
5152
+ croatia: "181-056-000-000-000-000-000",
5153
+ cuba: "181-057-000-000-000-000-000",
5154
+ curacao: "181-058-000-000-000-000-000",
5155
+ cyprus: "181-059-000-000-000-000-000",
5156
+ czech_republic: "181-060-000-000-000-000-000",
5157
+ denmark: "181-061-000-000-000-000-000",
5158
+ djibouti: "181-062-000-000-000-000-000",
5159
+ dominica: "181-063-000-000-000-000-000",
5160
+ dominican_republic: "181-064-000-000-000-000-000",
5161
+ ecuador: "181-065-000-000-000-000-000",
5162
+ egypt: "181-066-000-000-000-000-000",
5163
+ el_salvador: "181-067-000-000-000-000-000",
5164
+ equatorial_guinea: "181-068-000-000-000-000-000",
5165
+ eritrea: "181-069-000-000-000-000-000",
5166
+ estonia: "181-070-000-000-000-000-000",
5167
+ ethiopia: "181-071-000-000-000-000-000",
5168
+ falkland_islands_malvinas: "181-072-000-000-000-000-000",
5169
+ faroe_islands: "181-073-000-000-000-000-000",
5170
+ fiji: "181-074-000-000-000-000-000",
5171
+ finland: "181-075-000-000-000-000-000",
5172
+ france: "181-076-000-000-000-000-000",
5173
+ french_guiana: "181-077-000-000-000-000-000",
5174
+ french_polynesia: "181-078-000-000-000-000-000",
5175
+ french_southern_territories: "181-079-000-000-000-000-000",
5176
+ gabon: "181-080-000-000-000-000-000",
5177
+ gambia: "181-081-000-000-000-000-000",
5178
+ georgia: "181-082-000-000-000-000-000",
5179
+ germany: "181-083-000-000-000-000-000",
5180
+ ghana: "181-084-000-000-000-000-000",
5181
+ gibraltar: "181-085-000-000-000-000-000",
5182
+ greece: "181-086-000-000-000-000-000",
5183
+ greenland: "181-087-000-000-000-000-000",
5184
+ grenada: "181-088-000-000-000-000-000",
5185
+ guadeloupe: "181-089-000-000-000-000-000",
5186
+ guam: "181-090-000-000-000-000-000",
5187
+ guatemala: "181-091-000-000-000-000-000",
5188
+ guernsey: "181-092-000-000-000-000-000",
5189
+ guinea: "181-093-000-000-000-000-000",
5190
+ guinea_bissau: "181-094-000-000-000-000-000",
5191
+ guyana: "181-095-000-000-000-000-000",
5192
+ haiti: "181-096-000-000-000-000-000",
5193
+ heard_island_and_mcdonald_islands: "181-097-000-000-000-000-000",
5194
+ holy_see_vatican_city_state: "181-098-000-000-000-000-000",
5195
+ honduras: "181-099-000-000-000-000-000",
5196
+ hong_kong: "181-100-000-000-000-000-000",
5197
+ hungary: "181-101-000-000-000-000-000",
5198
+ iceland: "181-102-000-000-000-000-000",
5199
+ india: "181-103-000-000-000-000-000",
5200
+ indonesia: "181-104-000-000-000-000-000",
5201
+ iran_islamic_republic_of: "181-105-000-000-000-000-000",
5202
+ iraq: "181-106-000-000-000-000-000",
5203
+ ireland: "181-107-000-000-000-000-000",
5204
+ israel: "181-108-000-000-000-000-000",
5205
+ isle_of_man: "181-109-000-000-000-000-000",
5206
+ italy: "181-110-000-000-000-000-000",
5207
+ jamaica: "181-111-000-000-000-000-000",
5208
+ japan: "181-112-000-000-000-000-000",
5209
+ jersey: "181-113-000-000-000-000-000",
5210
+ jordan: "181-114-000-000-000-000-000",
5211
+ kazakhstan: "181-115-000-000-000-000-000",
5212
+ kenya: "181-116-000-000-000-000-000",
5213
+ kiribati: "181-117-000-000-000-000-000",
5214
+ korea_democratic_people_s_republic_of: "181-118-000-000-000-000-000",
5215
+ korea_republic_of: "181-119-000-000-000-000-000",
5216
+ kuwait: "181-120-000-000-000-000-000",
5217
+ kyrgyzstan: "181-121-000-000-000-000-000",
5218
+ latvia: "181-122-000-000-000-000-000",
5219
+ lao_people_s_democratic_republic: "181-123-000-000-000-000-000",
5220
+ lebanon: "181-124-000-000-000-000-000",
5221
+ lesotho: "181-125-000-000-000-000-000",
5222
+ liberia: "181-126-000-000-000-000-000",
5223
+ libya: "181-127-000-000-000-000-000",
5224
+ liechtenstein: "181-128-000-000-000-000-000",
5225
+ lithuania: "181-129-000-000-000-000-000",
5226
+ luxembourg: "181-130-000-000-000-000-000",
5227
+ macao: "181-131-000-000-000-000-000",
5228
+ macedonia_the_former_yugoslav_republic_of: "181-132-000-000-000-000-000",
5229
+ madagascar: "181-133-000-000-000-000-000",
5230
+ malawi: "181-134-000-000-000-000-000",
5231
+ malaysia: "181-135-000-000-000-000-000",
5232
+ maldives: "181-136-000-000-000-000-000",
5233
+ mali: "181-137-000-000-000-000-000",
5234
+ malta: "181-138-000-000-000-000-000",
5235
+ marshall_islands: "181-139-000-000-000-000-000",
5236
+ martinique: "181-140-000-000-000-000-000",
5237
+ mauritania: "181-141-000-000-000-000-000",
5238
+ mauritius: "181-142-000-000-000-000-000",
5239
+ mayotte: "181-143-000-000-000-000-000",
5240
+ mexico: "181-144-000-000-000-000-000",
5241
+ micronesia_federated_states_of: "181-145-000-000-000-000-000",
5242
+ moldova_republic_of: "181-146-000-000-000-000-000",
5243
+ monaco: "181-147-000-000-000-000-000",
5244
+ mongolia: "181-148-000-000-000-000-000",
5245
+ montenegro: "181-149-000-000-000-000-000",
5246
+ montserrat: "181-150-000-000-000-000-000",
5247
+ morocco: "181-151-000-000-000-000-000",
5248
+ mozambique: "181-152-000-000-000-000-000",
5249
+ myanmar: "181-153-000-000-000-000-000",
5250
+ namibia: "181-154-000-000-000-000-000",
5251
+ nauru: "181-155-000-000-000-000-000",
5252
+ nepal: "181-156-000-000-000-000-000",
5253
+ netherlands: "181-157-000-000-000-000-000",
5254
+ new_caledonia: "181-158-000-000-000-000-000",
5255
+ new_zealand: "181-159-000-000-000-000-000",
5256
+ nicaragua: "181-160-000-000-000-000-000",
5257
+ niger: "181-161-000-000-000-000-000",
5258
+ nigeria: "181-162-000-000-000-000-000",
5259
+ niue: "181-163-000-000-000-000-000",
5260
+ norfolk_island: "181-164-000-000-000-000-000",
5261
+ northern_mariana_islands: "181-165-000-000-000-000-000",
5262
+ norway: "181-166-000-000-000-000-000",
5263
+ oman: "181-167-000-000-000-000-000",
5264
+ pakistan: "181-168-000-000-000-000-000",
5265
+ palau: "181-169-000-000-000-000-000",
5266
+ palestine_state_of: "181-170-000-000-000-000-000",
5267
+ panama: "181-171-000-000-000-000-000",
5268
+ papua_new_guinea: "181-172-000-000-000-000-000",
5269
+ paraguay: "181-173-000-000-000-000-000",
5270
+ peru: "181-174-000-000-000-000-000",
5271
+ philippines: "181-175-000-000-000-000-000",
5272
+ pitcairn: "181-176-000-000-000-000-000",
5273
+ poland: "181-177-000-000-000-000-000",
5274
+ portugal: "181-178-000-000-000-000-000",
5275
+ puerto_rico: "181-179-000-000-000-000-000",
5276
+ qatar: "181-180-000-000-000-000-000",
5277
+ reunion: "181-181-000-000-000-000-000",
5278
+ romania: "181-182-000-000-000-000-000",
5279
+ russian_federation: "181-183-000-000-000-000-000",
5280
+ saint_barthelemy: "181-184-000-000-000-000-000",
5281
+ rwanda: "181-185-000-000-000-000-000",
5282
+ saint_helena_ascension_and_tristan_da_cunha: "181-186-000-000-000-000-000",
5283
+ saint_kitts_and_nevis: "181-187-000-000-000-000-000",
5284
+ saint_lucia: "181-188-000-000-000-000-000",
5285
+ saint_martin_french_part: "181-189-000-000-000-000-000",
5286
+ saint_pierre_and_miquelon: "181-190-000-000-000-000-000",
5287
+ saint_vincent_and_the_grenadines: "181-191-000-000-000-000-000",
5288
+ samoa: "181-192-000-000-000-000-000",
5289
+ san_marino: "181-193-000-000-000-000-000",
5290
+ sao_tome_and_principe: "181-194-000-000-000-000-000",
5291
+ saudi_arabia: "181-195-000-000-000-000-000",
5292
+ senegal: "181-196-000-000-000-000-000",
5293
+ serbia: "181-197-000-000-000-000-000",
5294
+ seychelles: "181-198-000-000-000-000-000",
5295
+ sierra_leone: "181-199-000-000-000-000-000",
5296
+ singapore: "181-200-000-000-000-000-000",
5297
+ sint_maarten_dutch_part: "181-201-000-000-000-000-000",
5298
+ slovakia: "181-202-000-000-000-000-000",
5299
+ slovenia: "181-203-000-000-000-000-000",
5300
+ solomon_islands: "181-204-000-000-000-000-000",
5301
+ somalia: "181-205-000-000-000-000-000",
5302
+ south_africa: "181-206-000-000-000-000-000",
5303
+ south_georgia_and_the_south_sandwich_islands: "181-207-000-000-000-000-000",
5304
+ south_sudan: "181-208-000-000-000-000-000",
5305
+ spain: "181-209-000-000-000-000-000",
5306
+ sri_lanka: "181-210-000-000-000-000-000",
5307
+ sudan: "181-211-000-000-000-000-000",
5308
+ suriname: "181-212-000-000-000-000-000",
5309
+ svalbard_and_jan_mayen: "181-213-000-000-000-000-000",
5310
+ eswatini: "181-214-000-000-000-000-000",
5311
+ switzerland: "181-215-000-000-000-000-000",
5312
+ sweden: "181-216-000-000-000-000-000",
5313
+ syrian_arab_republic: "181-217-000-000-000-000-000",
5314
+ taiwan_province_of_china: "181-218-000-000-000-000-000",
5315
+ tajikistan: "181-219-000-000-000-000-000",
5316
+ tanzania_united_republic_of: "181-220-000-000-000-000-000",
5317
+ thailand: "181-221-000-000-000-000-000",
5318
+ timor_leste: "181-222-000-000-000-000-000",
5319
+ togo: "181-223-000-000-000-000-000",
5320
+ tokelau: "181-224-000-000-000-000-000",
5321
+ tonga: "181-225-000-000-000-000-000",
5322
+ trinidad_and_tobago: "181-226-000-000-000-000-000",
5323
+ tunisia: "181-227-000-000-000-000-000",
5324
+ turkey: "181-228-000-000-000-000-000",
5325
+ turkmenistan: "181-229-000-000-000-000-000",
5326
+ turks_and_caicos_islands: "181-230-000-000-000-000-000",
5327
+ uganda: "181-231-000-000-000-000-000",
5328
+ tuvalu: "181-232-000-000-000-000-000",
5329
+ ukraine: "181-233-000-000-000-000-000",
5330
+ united_arab_emirates: "181-234-000-000-000-000-000",
5331
+ united_kingdom: "181-235-000-000-000-000-000",
5332
+ united_states: "181-236-000-000-000-000-000",
5333
+ united_states_minor_outlying_islands: "181-237-000-000-000-000-000",
5334
+ uruguay: "181-238-000-000-000-000-000",
5335
+ uzbekistan: "181-239-000-000-000-000-000",
5336
+ vanuatu: "181-240-000-000-000-000-000",
5337
+ venezuela_bolivarian_republic_of: "181-241-000-000-000-000-000",
5338
+ viet_nam: "181-242-000-000-000-000-000",
5339
+ virgin_islands_british: "181-243-000-000-000-000-000",
5340
+ virgin_islands_u_s: "181-244-000-000-000-000-000",
5341
+ wallis_and_futuna: "181-245-000-000-000-000-000",
5342
+ western_sahara: "181-246-000-000-000-000-000",
5343
+ yemen: "181-247-000-000-000-000-000",
5344
+ zambia: "181-248-000-000-000-000-000",
5345
+ zimbabwe: "181-249-000-000-000-000-000",
5346
+ non_us_unspecified: "181-250-000-000-000-000-000",
5347
+ } as const;
5348
+
5349
+ export type CountryKey = keyof typeof CountryKeys;
5350
+
5087
5351
  /**
5088
5352
  * Key → positional code map for the `trafficking_relevant_role` CVC domain (CVC-235, canonical). The 4 top-level supply/demand/enabling/adjacent roles: worker_provider, facilitator_controller, buyer_client_direct_beneficiary, other_associate. Asserting a role does NOT assert victim or offender status.
5089
5353
  *