@htilabs/platform-common-models 0.8.17 → 0.8.19
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/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +4346 -21
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +6683 -2020
- package/dist/cvcs/index.d.ts +6683 -2020
- package/dist/cvcs/index.js +4344 -21
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-C0J3f169.d.ts → index-4DiJrn7y.d.ts} +1 -1
- package/dist/{index-EPjPjR0z.d.cts → index-qreOzXYS.d.cts} +1 -1
- package/dist/index.cjs +4681 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +350 -18
- package/dist/index.d.ts +350 -18
- package/dist/index.js +4677 -32
- package/dist/index.js.map +1 -1
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +25 -25
- package/dist/schemas/index.d.ts +25 -25
- package/dist/schemas/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__sot__/README.md +36 -1
- package/src/__sot__/coreIndicatorFields.ts +331 -0
- package/src/__sot__/coreIndicators.pin.json +1929 -1
- package/src/__sot__/cvcIndex.pin.json +8 -4
- package/src/__tests__/__snapshots__/cvc-sot.snap +11 -3
- package/src/__tests__/cvc-181-182-country-parity.test.ts +163 -0
- package/src/__tests__/cvc-drift-gate.test.ts +407 -12
- package/src/__tests__/cvc-sot-snapshot.test.ts +31 -3
- package/src/__tests__/cvc-structural.test.ts +8 -0
- package/src/constants/ic.ts +14 -0
- package/src/cvcs/countries.v1.0.0.json +3077 -0
- package/src/cvcs/determinationHelperCategories.v1.0.0.json +1166 -0
- package/src/cvcs/index.ts +4 -0
- package/src/cvcs/personRelationships.v1.0.0.json +67 -2
- package/src/cvcs/relationshipConcern.v1.0.0.json +28 -19
- package/src/generated/cvc-enums.ts +350 -14
- package/dist/{cvcEntry-DaDrEuTa.d.cts → cvcEntry-ctHTp2df.d.cts} +8 -8
- package/dist/{cvcEntry-DaDrEuTa.d.ts → cvcEntry-ctHTp2df.d.ts} +8 -8
|
@@ -1185,7 +1185,7 @@ export type RelationshipTiesKey = keyof typeof RelationshipTiesKeys;
|
|
|
1185
1185
|
/**
|
|
1186
1186
|
* Key → positional code map for the `person_relationships` CVC domain.
|
|
1187
1187
|
*
|
|
1188
|
-
* Domain: `person_relationships` · Version: 1.0.0 · Entries:
|
|
1188
|
+
* Domain: `person_relationships` · Version: 1.0.0 · Entries: 94
|
|
1189
1189
|
*/
|
|
1190
1190
|
export const PersonRelationshipsKeys = {
|
|
1191
1191
|
missingness_root: "126-000-000-000-000-000-000",
|
|
@@ -1204,9 +1204,14 @@ export const PersonRelationshipsKeys = {
|
|
|
1204
1204
|
child_of: "126-001-005-001-000-000-000",
|
|
1205
1205
|
parent_of: "126-001-005-002-000-000-000",
|
|
1206
1206
|
sibling: "126-001-006-000-000-000-000",
|
|
1207
|
+
parental_figure_dependent: "126-001-007-000-000-000-000",
|
|
1208
|
+
dependent_of_parental_figure: "126-001-007-001-000-000-000",
|
|
1209
|
+
parental_figure_of: "126-001-007-002-000-000-000",
|
|
1207
1210
|
romantic_partner: "126-002-000-000-000-000-000",
|
|
1208
1211
|
dating_relationship: "126-002-001-000-000-000-000",
|
|
1209
1212
|
spouse_partner: "126-002-002-000-000-000-000",
|
|
1213
|
+
intimate_romantic_partner: "126-002-003-000-000-000-000",
|
|
1214
|
+
intimate_partner_prior: "126-002-004-000-000-000-000",
|
|
1210
1215
|
care_household: "126-003-000-000-000-000-000",
|
|
1211
1216
|
caregiver_care_recipient: "126-003-001-000-000-000-000",
|
|
1212
1217
|
care_recipient_of: "126-003-001-001-000-000-000",
|
|
@@ -3480,22 +3485,22 @@ export const HtTypeKeys = {
|
|
|
3480
3485
|
export type HtTypeKey = keyof typeof HtTypeKeys;
|
|
3481
3486
|
|
|
3482
3487
|
/**
|
|
3483
|
-
* Key → positional code map for the `relationship_concern` CVC domain (PROVISIONAL CVC-
|
|
3488
|
+
* Key → positional code map for the `relationship_concern` CVC domain (PROVISIONAL CVC-991 — pending codebook ratification; renumbered from provisional 231 on CVC-231's ratification to the Determination Helper categories, 2026-08-28).
|
|
3484
3489
|
*
|
|
3485
|
-
* Domain: `relationship_concern` · Version: 1.
|
|
3490
|
+
* Domain: `relationship_concern` · Version: 1.1.0 · Entries: 11
|
|
3486
3491
|
*/
|
|
3487
3492
|
export const RelationshipConcernKeys = {
|
|
3488
|
-
missingness_root: "
|
|
3489
|
-
unknown: "
|
|
3490
|
-
anonymous: "
|
|
3491
|
-
data_not_collected: "
|
|
3492
|
-
appears_controlling: "
|
|
3493
|
-
is_much_older: "
|
|
3494
|
-
physically_abusive: "
|
|
3495
|
-
emotionally_abusive: "
|
|
3496
|
-
has_legal_involvement: "
|
|
3497
|
-
is_known_trafficker_or_suspect: "
|
|
3498
|
-
other_concern: "
|
|
3493
|
+
missingness_root: "991-000-000-000-000-000-000",
|
|
3494
|
+
unknown: "991-000-000-000-000-000-001",
|
|
3495
|
+
anonymous: "991-000-000-000-000-000-002",
|
|
3496
|
+
data_not_collected: "991-000-000-000-000-000-003",
|
|
3497
|
+
appears_controlling: "991-001-000-000-000-000-000",
|
|
3498
|
+
is_much_older: "991-002-000-000-000-000-000",
|
|
3499
|
+
physically_abusive: "991-003-000-000-000-000-000",
|
|
3500
|
+
emotionally_abusive: "991-004-000-000-000-000-000",
|
|
3501
|
+
has_legal_involvement: "991-005-000-000-000-000-000",
|
|
3502
|
+
is_known_trafficker_or_suspect: "991-006-000-000-000-000-000",
|
|
3503
|
+
other_concern: "991-007-000-000-000-000-000",
|
|
3499
3504
|
} as const;
|
|
3500
3505
|
|
|
3501
3506
|
export type RelationshipConcernKey = keyof typeof RelationshipConcernKeys;
|
|
@@ -5084,6 +5089,337 @@ export const CitizenshipKeys = {
|
|
|
5084
5089
|
|
|
5085
5090
|
export type CitizenshipKey = keyof typeof CitizenshipKeys;
|
|
5086
5091
|
|
|
5092
|
+
/**
|
|
5093
|
+
* 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.
|
|
5094
|
+
*
|
|
5095
|
+
* Domain: `countries` · Version: 1.0.0 · Entries: 254
|
|
5096
|
+
*/
|
|
5097
|
+
export const CountryKeys = {
|
|
5098
|
+
missingness_root: "181-000-000-000-000-000-000",
|
|
5099
|
+
unknown: "181-000-000-000-000-000-001",
|
|
5100
|
+
anonymous: "181-000-000-000-000-000-002",
|
|
5101
|
+
data_not_collected: "181-000-000-000-000-000-003",
|
|
5102
|
+
afghanistan: "181-001-000-000-000-000-000",
|
|
5103
|
+
aland_islands: "181-002-000-000-000-000-000",
|
|
5104
|
+
albania: "181-003-000-000-000-000-000",
|
|
5105
|
+
algeria: "181-004-000-000-000-000-000",
|
|
5106
|
+
american_samoa: "181-005-000-000-000-000-000",
|
|
5107
|
+
andorra: "181-006-000-000-000-000-000",
|
|
5108
|
+
angola: "181-007-000-000-000-000-000",
|
|
5109
|
+
anguilla: "181-008-000-000-000-000-000",
|
|
5110
|
+
antarctica: "181-009-000-000-000-000-000",
|
|
5111
|
+
antigua_and_barbuda: "181-010-000-000-000-000-000",
|
|
5112
|
+
argentina: "181-011-000-000-000-000-000",
|
|
5113
|
+
armenia: "181-012-000-000-000-000-000",
|
|
5114
|
+
aruba: "181-013-000-000-000-000-000",
|
|
5115
|
+
australia: "181-014-000-000-000-000-000",
|
|
5116
|
+
austria: "181-015-000-000-000-000-000",
|
|
5117
|
+
azerbaijan: "181-016-000-000-000-000-000",
|
|
5118
|
+
bahamas: "181-017-000-000-000-000-000",
|
|
5119
|
+
bahrain: "181-018-000-000-000-000-000",
|
|
5120
|
+
bangladesh: "181-019-000-000-000-000-000",
|
|
5121
|
+
barbados: "181-020-000-000-000-000-000",
|
|
5122
|
+
belarus: "181-021-000-000-000-000-000",
|
|
5123
|
+
belgium: "181-022-000-000-000-000-000",
|
|
5124
|
+
belize: "181-023-000-000-000-000-000",
|
|
5125
|
+
benin: "181-024-000-000-000-000-000",
|
|
5126
|
+
bermuda: "181-025-000-000-000-000-000",
|
|
5127
|
+
bhutan: "181-026-000-000-000-000-000",
|
|
5128
|
+
bolivia_plurinational_state_of: "181-027-000-000-000-000-000",
|
|
5129
|
+
bonaire_sint_eustatius_and_saba: "181-028-000-000-000-000-000",
|
|
5130
|
+
bosnia_and_herzegovina: "181-029-000-000-000-000-000",
|
|
5131
|
+
botswana: "181-030-000-000-000-000-000",
|
|
5132
|
+
bouvet_island: "181-031-000-000-000-000-000",
|
|
5133
|
+
brazil: "181-032-000-000-000-000-000",
|
|
5134
|
+
british_indian_ocean_territory: "181-033-000-000-000-000-000",
|
|
5135
|
+
brunei_darussalam: "181-034-000-000-000-000-000",
|
|
5136
|
+
bulgaria: "181-035-000-000-000-000-000",
|
|
5137
|
+
burkina_faso: "181-036-000-000-000-000-000",
|
|
5138
|
+
burundi: "181-037-000-000-000-000-000",
|
|
5139
|
+
cambodia: "181-038-000-000-000-000-000",
|
|
5140
|
+
cameroon: "181-039-000-000-000-000-000",
|
|
5141
|
+
canada: "181-040-000-000-000-000-000",
|
|
5142
|
+
cape_verde: "181-041-000-000-000-000-000",
|
|
5143
|
+
cayman_islands: "181-042-000-000-000-000-000",
|
|
5144
|
+
central_african_republic: "181-043-000-000-000-000-000",
|
|
5145
|
+
chad: "181-044-000-000-000-000-000",
|
|
5146
|
+
chile: "181-045-000-000-000-000-000",
|
|
5147
|
+
china: "181-046-000-000-000-000-000",
|
|
5148
|
+
christmas_island: "181-047-000-000-000-000-000",
|
|
5149
|
+
cocos_keeling_islands: "181-048-000-000-000-000-000",
|
|
5150
|
+
colombia: "181-049-000-000-000-000-000",
|
|
5151
|
+
comoros: "181-050-000-000-000-000-000",
|
|
5152
|
+
congo: "181-051-000-000-000-000-000",
|
|
5153
|
+
congo_the_democratic_republic_of_the: "181-052-000-000-000-000-000",
|
|
5154
|
+
cook_islands: "181-053-000-000-000-000-000",
|
|
5155
|
+
costa_rica: "181-054-000-000-000-000-000",
|
|
5156
|
+
cote_d_ivoire: "181-055-000-000-000-000-000",
|
|
5157
|
+
croatia: "181-056-000-000-000-000-000",
|
|
5158
|
+
cuba: "181-057-000-000-000-000-000",
|
|
5159
|
+
curacao: "181-058-000-000-000-000-000",
|
|
5160
|
+
cyprus: "181-059-000-000-000-000-000",
|
|
5161
|
+
czech_republic: "181-060-000-000-000-000-000",
|
|
5162
|
+
denmark: "181-061-000-000-000-000-000",
|
|
5163
|
+
djibouti: "181-062-000-000-000-000-000",
|
|
5164
|
+
dominica: "181-063-000-000-000-000-000",
|
|
5165
|
+
dominican_republic: "181-064-000-000-000-000-000",
|
|
5166
|
+
ecuador: "181-065-000-000-000-000-000",
|
|
5167
|
+
egypt: "181-066-000-000-000-000-000",
|
|
5168
|
+
el_salvador: "181-067-000-000-000-000-000",
|
|
5169
|
+
equatorial_guinea: "181-068-000-000-000-000-000",
|
|
5170
|
+
eritrea: "181-069-000-000-000-000-000",
|
|
5171
|
+
estonia: "181-070-000-000-000-000-000",
|
|
5172
|
+
ethiopia: "181-071-000-000-000-000-000",
|
|
5173
|
+
falkland_islands_malvinas: "181-072-000-000-000-000-000",
|
|
5174
|
+
faroe_islands: "181-073-000-000-000-000-000",
|
|
5175
|
+
fiji: "181-074-000-000-000-000-000",
|
|
5176
|
+
finland: "181-075-000-000-000-000-000",
|
|
5177
|
+
france: "181-076-000-000-000-000-000",
|
|
5178
|
+
french_guiana: "181-077-000-000-000-000-000",
|
|
5179
|
+
french_polynesia: "181-078-000-000-000-000-000",
|
|
5180
|
+
french_southern_territories: "181-079-000-000-000-000-000",
|
|
5181
|
+
gabon: "181-080-000-000-000-000-000",
|
|
5182
|
+
gambia: "181-081-000-000-000-000-000",
|
|
5183
|
+
georgia: "181-082-000-000-000-000-000",
|
|
5184
|
+
germany: "181-083-000-000-000-000-000",
|
|
5185
|
+
ghana: "181-084-000-000-000-000-000",
|
|
5186
|
+
gibraltar: "181-085-000-000-000-000-000",
|
|
5187
|
+
greece: "181-086-000-000-000-000-000",
|
|
5188
|
+
greenland: "181-087-000-000-000-000-000",
|
|
5189
|
+
grenada: "181-088-000-000-000-000-000",
|
|
5190
|
+
guadeloupe: "181-089-000-000-000-000-000",
|
|
5191
|
+
guam: "181-090-000-000-000-000-000",
|
|
5192
|
+
guatemala: "181-091-000-000-000-000-000",
|
|
5193
|
+
guernsey: "181-092-000-000-000-000-000",
|
|
5194
|
+
guinea: "181-093-000-000-000-000-000",
|
|
5195
|
+
guinea_bissau: "181-094-000-000-000-000-000",
|
|
5196
|
+
guyana: "181-095-000-000-000-000-000",
|
|
5197
|
+
haiti: "181-096-000-000-000-000-000",
|
|
5198
|
+
heard_island_and_mcdonald_islands: "181-097-000-000-000-000-000",
|
|
5199
|
+
holy_see_vatican_city_state: "181-098-000-000-000-000-000",
|
|
5200
|
+
honduras: "181-099-000-000-000-000-000",
|
|
5201
|
+
hong_kong: "181-100-000-000-000-000-000",
|
|
5202
|
+
hungary: "181-101-000-000-000-000-000",
|
|
5203
|
+
iceland: "181-102-000-000-000-000-000",
|
|
5204
|
+
india: "181-103-000-000-000-000-000",
|
|
5205
|
+
indonesia: "181-104-000-000-000-000-000",
|
|
5206
|
+
iran_islamic_republic_of: "181-105-000-000-000-000-000",
|
|
5207
|
+
iraq: "181-106-000-000-000-000-000",
|
|
5208
|
+
ireland: "181-107-000-000-000-000-000",
|
|
5209
|
+
israel: "181-108-000-000-000-000-000",
|
|
5210
|
+
isle_of_man: "181-109-000-000-000-000-000",
|
|
5211
|
+
italy: "181-110-000-000-000-000-000",
|
|
5212
|
+
jamaica: "181-111-000-000-000-000-000",
|
|
5213
|
+
japan: "181-112-000-000-000-000-000",
|
|
5214
|
+
jersey: "181-113-000-000-000-000-000",
|
|
5215
|
+
jordan: "181-114-000-000-000-000-000",
|
|
5216
|
+
kazakhstan: "181-115-000-000-000-000-000",
|
|
5217
|
+
kenya: "181-116-000-000-000-000-000",
|
|
5218
|
+
kiribati: "181-117-000-000-000-000-000",
|
|
5219
|
+
korea_democratic_people_s_republic_of: "181-118-000-000-000-000-000",
|
|
5220
|
+
korea_republic_of: "181-119-000-000-000-000-000",
|
|
5221
|
+
kuwait: "181-120-000-000-000-000-000",
|
|
5222
|
+
kyrgyzstan: "181-121-000-000-000-000-000",
|
|
5223
|
+
latvia: "181-122-000-000-000-000-000",
|
|
5224
|
+
lao_people_s_democratic_republic: "181-123-000-000-000-000-000",
|
|
5225
|
+
lebanon: "181-124-000-000-000-000-000",
|
|
5226
|
+
lesotho: "181-125-000-000-000-000-000",
|
|
5227
|
+
liberia: "181-126-000-000-000-000-000",
|
|
5228
|
+
libya: "181-127-000-000-000-000-000",
|
|
5229
|
+
liechtenstein: "181-128-000-000-000-000-000",
|
|
5230
|
+
lithuania: "181-129-000-000-000-000-000",
|
|
5231
|
+
luxembourg: "181-130-000-000-000-000-000",
|
|
5232
|
+
macao: "181-131-000-000-000-000-000",
|
|
5233
|
+
macedonia_the_former_yugoslav_republic_of: "181-132-000-000-000-000-000",
|
|
5234
|
+
madagascar: "181-133-000-000-000-000-000",
|
|
5235
|
+
malawi: "181-134-000-000-000-000-000",
|
|
5236
|
+
malaysia: "181-135-000-000-000-000-000",
|
|
5237
|
+
maldives: "181-136-000-000-000-000-000",
|
|
5238
|
+
mali: "181-137-000-000-000-000-000",
|
|
5239
|
+
malta: "181-138-000-000-000-000-000",
|
|
5240
|
+
marshall_islands: "181-139-000-000-000-000-000",
|
|
5241
|
+
martinique: "181-140-000-000-000-000-000",
|
|
5242
|
+
mauritania: "181-141-000-000-000-000-000",
|
|
5243
|
+
mauritius: "181-142-000-000-000-000-000",
|
|
5244
|
+
mayotte: "181-143-000-000-000-000-000",
|
|
5245
|
+
mexico: "181-144-000-000-000-000-000",
|
|
5246
|
+
micronesia_federated_states_of: "181-145-000-000-000-000-000",
|
|
5247
|
+
moldova_republic_of: "181-146-000-000-000-000-000",
|
|
5248
|
+
monaco: "181-147-000-000-000-000-000",
|
|
5249
|
+
mongolia: "181-148-000-000-000-000-000",
|
|
5250
|
+
montenegro: "181-149-000-000-000-000-000",
|
|
5251
|
+
montserrat: "181-150-000-000-000-000-000",
|
|
5252
|
+
morocco: "181-151-000-000-000-000-000",
|
|
5253
|
+
mozambique: "181-152-000-000-000-000-000",
|
|
5254
|
+
myanmar: "181-153-000-000-000-000-000",
|
|
5255
|
+
namibia: "181-154-000-000-000-000-000",
|
|
5256
|
+
nauru: "181-155-000-000-000-000-000",
|
|
5257
|
+
nepal: "181-156-000-000-000-000-000",
|
|
5258
|
+
netherlands: "181-157-000-000-000-000-000",
|
|
5259
|
+
new_caledonia: "181-158-000-000-000-000-000",
|
|
5260
|
+
new_zealand: "181-159-000-000-000-000-000",
|
|
5261
|
+
nicaragua: "181-160-000-000-000-000-000",
|
|
5262
|
+
niger: "181-161-000-000-000-000-000",
|
|
5263
|
+
nigeria: "181-162-000-000-000-000-000",
|
|
5264
|
+
niue: "181-163-000-000-000-000-000",
|
|
5265
|
+
norfolk_island: "181-164-000-000-000-000-000",
|
|
5266
|
+
northern_mariana_islands: "181-165-000-000-000-000-000",
|
|
5267
|
+
norway: "181-166-000-000-000-000-000",
|
|
5268
|
+
oman: "181-167-000-000-000-000-000",
|
|
5269
|
+
pakistan: "181-168-000-000-000-000-000",
|
|
5270
|
+
palau: "181-169-000-000-000-000-000",
|
|
5271
|
+
palestine_state_of: "181-170-000-000-000-000-000",
|
|
5272
|
+
panama: "181-171-000-000-000-000-000",
|
|
5273
|
+
papua_new_guinea: "181-172-000-000-000-000-000",
|
|
5274
|
+
paraguay: "181-173-000-000-000-000-000",
|
|
5275
|
+
peru: "181-174-000-000-000-000-000",
|
|
5276
|
+
philippines: "181-175-000-000-000-000-000",
|
|
5277
|
+
pitcairn: "181-176-000-000-000-000-000",
|
|
5278
|
+
poland: "181-177-000-000-000-000-000",
|
|
5279
|
+
portugal: "181-178-000-000-000-000-000",
|
|
5280
|
+
puerto_rico: "181-179-000-000-000-000-000",
|
|
5281
|
+
qatar: "181-180-000-000-000-000-000",
|
|
5282
|
+
reunion: "181-181-000-000-000-000-000",
|
|
5283
|
+
romania: "181-182-000-000-000-000-000",
|
|
5284
|
+
russian_federation: "181-183-000-000-000-000-000",
|
|
5285
|
+
saint_barthelemy: "181-184-000-000-000-000-000",
|
|
5286
|
+
rwanda: "181-185-000-000-000-000-000",
|
|
5287
|
+
saint_helena_ascension_and_tristan_da_cunha: "181-186-000-000-000-000-000",
|
|
5288
|
+
saint_kitts_and_nevis: "181-187-000-000-000-000-000",
|
|
5289
|
+
saint_lucia: "181-188-000-000-000-000-000",
|
|
5290
|
+
saint_martin_french_part: "181-189-000-000-000-000-000",
|
|
5291
|
+
saint_pierre_and_miquelon: "181-190-000-000-000-000-000",
|
|
5292
|
+
saint_vincent_and_the_grenadines: "181-191-000-000-000-000-000",
|
|
5293
|
+
samoa: "181-192-000-000-000-000-000",
|
|
5294
|
+
san_marino: "181-193-000-000-000-000-000",
|
|
5295
|
+
sao_tome_and_principe: "181-194-000-000-000-000-000",
|
|
5296
|
+
saudi_arabia: "181-195-000-000-000-000-000",
|
|
5297
|
+
senegal: "181-196-000-000-000-000-000",
|
|
5298
|
+
serbia: "181-197-000-000-000-000-000",
|
|
5299
|
+
seychelles: "181-198-000-000-000-000-000",
|
|
5300
|
+
sierra_leone: "181-199-000-000-000-000-000",
|
|
5301
|
+
singapore: "181-200-000-000-000-000-000",
|
|
5302
|
+
sint_maarten_dutch_part: "181-201-000-000-000-000-000",
|
|
5303
|
+
slovakia: "181-202-000-000-000-000-000",
|
|
5304
|
+
slovenia: "181-203-000-000-000-000-000",
|
|
5305
|
+
solomon_islands: "181-204-000-000-000-000-000",
|
|
5306
|
+
somalia: "181-205-000-000-000-000-000",
|
|
5307
|
+
south_africa: "181-206-000-000-000-000-000",
|
|
5308
|
+
south_georgia_and_the_south_sandwich_islands: "181-207-000-000-000-000-000",
|
|
5309
|
+
south_sudan: "181-208-000-000-000-000-000",
|
|
5310
|
+
spain: "181-209-000-000-000-000-000",
|
|
5311
|
+
sri_lanka: "181-210-000-000-000-000-000",
|
|
5312
|
+
sudan: "181-211-000-000-000-000-000",
|
|
5313
|
+
suriname: "181-212-000-000-000-000-000",
|
|
5314
|
+
svalbard_and_jan_mayen: "181-213-000-000-000-000-000",
|
|
5315
|
+
eswatini: "181-214-000-000-000-000-000",
|
|
5316
|
+
switzerland: "181-215-000-000-000-000-000",
|
|
5317
|
+
sweden: "181-216-000-000-000-000-000",
|
|
5318
|
+
syrian_arab_republic: "181-217-000-000-000-000-000",
|
|
5319
|
+
taiwan_province_of_china: "181-218-000-000-000-000-000",
|
|
5320
|
+
tajikistan: "181-219-000-000-000-000-000",
|
|
5321
|
+
tanzania_united_republic_of: "181-220-000-000-000-000-000",
|
|
5322
|
+
thailand: "181-221-000-000-000-000-000",
|
|
5323
|
+
timor_leste: "181-222-000-000-000-000-000",
|
|
5324
|
+
togo: "181-223-000-000-000-000-000",
|
|
5325
|
+
tokelau: "181-224-000-000-000-000-000",
|
|
5326
|
+
tonga: "181-225-000-000-000-000-000",
|
|
5327
|
+
trinidad_and_tobago: "181-226-000-000-000-000-000",
|
|
5328
|
+
tunisia: "181-227-000-000-000-000-000",
|
|
5329
|
+
turkey: "181-228-000-000-000-000-000",
|
|
5330
|
+
turkmenistan: "181-229-000-000-000-000-000",
|
|
5331
|
+
turks_and_caicos_islands: "181-230-000-000-000-000-000",
|
|
5332
|
+
uganda: "181-231-000-000-000-000-000",
|
|
5333
|
+
tuvalu: "181-232-000-000-000-000-000",
|
|
5334
|
+
ukraine: "181-233-000-000-000-000-000",
|
|
5335
|
+
united_arab_emirates: "181-234-000-000-000-000-000",
|
|
5336
|
+
united_kingdom: "181-235-000-000-000-000-000",
|
|
5337
|
+
united_states: "181-236-000-000-000-000-000",
|
|
5338
|
+
united_states_minor_outlying_islands: "181-237-000-000-000-000-000",
|
|
5339
|
+
uruguay: "181-238-000-000-000-000-000",
|
|
5340
|
+
uzbekistan: "181-239-000-000-000-000-000",
|
|
5341
|
+
vanuatu: "181-240-000-000-000-000-000",
|
|
5342
|
+
venezuela_bolivarian_republic_of: "181-241-000-000-000-000-000",
|
|
5343
|
+
viet_nam: "181-242-000-000-000-000-000",
|
|
5344
|
+
virgin_islands_british: "181-243-000-000-000-000-000",
|
|
5345
|
+
virgin_islands_u_s: "181-244-000-000-000-000-000",
|
|
5346
|
+
wallis_and_futuna: "181-245-000-000-000-000-000",
|
|
5347
|
+
western_sahara: "181-246-000-000-000-000-000",
|
|
5348
|
+
yemen: "181-247-000-000-000-000-000",
|
|
5349
|
+
zambia: "181-248-000-000-000-000-000",
|
|
5350
|
+
zimbabwe: "181-249-000-000-000-000-000",
|
|
5351
|
+
non_us_unspecified: "181-250-000-000-000-000-000",
|
|
5352
|
+
} as const;
|
|
5353
|
+
|
|
5354
|
+
export type CountryKey = keyof typeof CountryKeys;
|
|
5355
|
+
|
|
5356
|
+
/**
|
|
5357
|
+
* Key → positional code map for the `determination_helper_categories` CVC domain (CVC-231, provisional-pending-notion-ratification). The four-section frame an advocate reasons through when assessing a trafficking determination — § I Subject and Scope (5) · § II Activity (20) · § III Means (24) · § IV Status (4) = 53 rows, all selectable, plus the authored 3-value missingness set. `coding_mode: multi_label` — one event may carry several category codes at once (canonical example: nude photos in an escort ad = `2.2.1` + `2.1.3`), so consumers MUST model this as a multi-select. Positional codes are DERIVED from the canonical DOTTED codes rather than minted: each dotted component becomes one 3-digit segment, left to right (`2.1.1` → `231-002-001-001-000-000-000`), and the dotted code also rides on every entry verbatim as `canonicalCode` — reconcile the canonical `feeds_dh_subdomain_crossref` on that field, not on the key.
|
|
5358
|
+
*
|
|
5359
|
+
* Domain: `determination_helper_categories` · Version: 1.0.0 · Entries: 57
|
|
5360
|
+
*/
|
|
5361
|
+
export const DeterminationHelperCategoryKeys = {
|
|
5362
|
+
missingness_root: "231-000-000-000-000-000-000",
|
|
5363
|
+
unknown: "231-000-000-000-000-000-001",
|
|
5364
|
+
anonymous: "231-000-000-000-000-000-002",
|
|
5365
|
+
data_not_collected: "231-000-000-000-000-000-003",
|
|
5366
|
+
subject_and_scope: "231-001-000-000-000-000-000",
|
|
5367
|
+
subjects: "231-001-001-000-000-000-000",
|
|
5368
|
+
roles: "231-001-002-000-000-000-000",
|
|
5369
|
+
time_scope: "231-001-003-000-000-000-000",
|
|
5370
|
+
age: "231-001-004-000-000-000-000",
|
|
5371
|
+
activity_action: "231-002-000-000-000-000-000",
|
|
5372
|
+
commercial_sex_activity: "231-002-001-000-000-000-000",
|
|
5373
|
+
commercial_sex_act_csa_linked_sex_act: "231-002-001-001-000-000-000",
|
|
5374
|
+
commercial_sex_solicitation_booking_or_arrangement: "231-002-001-002-000-000-000",
|
|
5375
|
+
commercial_sex_advertising_promotion: "231-002-001-003-000-000-000",
|
|
5376
|
+
other_commercial_sex_activity: "231-002-001-004-000-000-000",
|
|
5377
|
+
sexualized_content_sexual_performance_sexual_communications: "231-002-002-000-000-000-000",
|
|
5378
|
+
sexually_explicit_photo_video_image_activity: "231-002-002-001-000-000-000",
|
|
5379
|
+
online_sexual_performance_interactive_sexual_content: "231-002-002-002-000-000-000",
|
|
5380
|
+
in_person_sexualized_performance_appearance_based_activity: "231-002-002-003-000-000-000",
|
|
5381
|
+
sexual_or_romantic_communications_with_exploitation_relevance: "231-002-002-004-000-000-000",
|
|
5382
|
+
other_sexualized_content_performance_or_communication: "231-002-002-005-000-000-000",
|
|
5383
|
+
sexual_victimization_abuse: "231-002-003-000-000-000-000",
|
|
5384
|
+
labor_or_services: "231-002-004-000-000-000-000",
|
|
5385
|
+
debt_related_work_pledged_services_debt_repayment_arrangement: "231-002-004-001-000-000-000",
|
|
5386
|
+
adverse_work_labor_conditions: "231-002-004-002-000-000-000",
|
|
5387
|
+
criminalized_or_illicit_tasks: "231-002-004-003-000-000-000",
|
|
5388
|
+
recruitment_monitoring_or_control_of_others_as_assigned_activity: "231-002-004-004-000-000-000",
|
|
5389
|
+
other_labor_or_services_activity: "231-002-004-005-000-000-000",
|
|
5390
|
+
facilitation_operational_activities: "231-002-005-000-000-000-000",
|
|
5391
|
+
victim_vulnerabilities: "231-003-000-000-000-000-000",
|
|
5392
|
+
industry_novelty: "231-003-001-000-000-000-000",
|
|
5393
|
+
childhood_household_challenges: "231-003-002-000-000-000-000",
|
|
5394
|
+
experienced_traumas: "231-003-003-000-000-000-000",
|
|
5395
|
+
socioeconomic_circumstances: "231-003-004-000-000-000-000",
|
|
5396
|
+
behavioral_health_risks: "231-003-005-000-000-000-000",
|
|
5397
|
+
aggregated_prior_risk: "231-003-006-000-000-000-000",
|
|
5398
|
+
scheme_plan_pattern: "231-004-000-000-000-000-000",
|
|
5399
|
+
control: "231-004-001-000-000-000-000",
|
|
5400
|
+
deprivation: "231-004-002-000-000-000-000",
|
|
5401
|
+
resistance_reduction: "231-004-003-000-000-000-000",
|
|
5402
|
+
climate_of_fear: "231-004-004-000-000-000-000",
|
|
5403
|
+
threats: "231-004-005-000-000-000-000",
|
|
5404
|
+
harm_consequence_to_fear: "231-005-000-000-000-000-000",
|
|
5405
|
+
economic_housing: "231-005-001-000-000-000-000",
|
|
5406
|
+
family: "231-005-002-000-000-000-000",
|
|
5407
|
+
physical_sexual_emotional: "231-005-003-000-000-000-000",
|
|
5408
|
+
threat_of_harm: "231-005-004-000-000-000-000",
|
|
5409
|
+
legal_immigration: "231-005-005-000-000-000-000",
|
|
5410
|
+
fraud_financial_exploitation: "231-006-000-000-000-000-000",
|
|
5411
|
+
unusual_work_circumstances: "231-006-001-000-000-000-000",
|
|
5412
|
+
exploitative_working_conditions: "231-006-002-000-000-000-000",
|
|
5413
|
+
wage_earnings_exploitation: "231-006-003-000-000-000-000",
|
|
5414
|
+
deception_about_work: "231-006-004-000-000-000-000",
|
|
5415
|
+
victim_offender_status: "231-007-000-000-000-000-000",
|
|
5416
|
+
ht_determination_exploitation_type: "231-007-001-000-000-000-000",
|
|
5417
|
+
victim_status: "231-007-002-000-000-000-000",
|
|
5418
|
+
offender_status: "231-007-003-000-000-000-000",
|
|
5419
|
+
} as const;
|
|
5420
|
+
|
|
5421
|
+
export type DeterminationHelperCategoryKey = keyof typeof DeterminationHelperCategoryKeys;
|
|
5422
|
+
|
|
5087
5423
|
/**
|
|
5088
5424
|
* 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
5425
|
*
|
|
@@ -233,18 +233,18 @@ type SectionQuestionRef = InferRawDocType<typeof sectionQuestionRefSchema>;
|
|
|
233
233
|
declare const guidanceSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
234
234
|
_id: false;
|
|
235
235
|
}, {
|
|
236
|
-
text: string;
|
|
237
236
|
type: "tip" | "warning" | "prompt";
|
|
238
|
-
}, mongoose.Document<unknown, {}, {
|
|
239
237
|
text: string;
|
|
238
|
+
}, mongoose.Document<unknown, {}, {
|
|
240
239
|
type: "tip" | "warning" | "prompt";
|
|
240
|
+
text: string;
|
|
241
241
|
}, {
|
|
242
242
|
id: string;
|
|
243
243
|
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
244
244
|
_id: false;
|
|
245
245
|
}>> & Omit<{
|
|
246
|
-
text: string;
|
|
247
246
|
type: "tip" | "warning" | "prompt";
|
|
247
|
+
text: string;
|
|
248
248
|
} & {
|
|
249
249
|
_id: mongoose.Types.ObjectId;
|
|
250
250
|
} & {
|
|
@@ -252,8 +252,8 @@ declare const guidanceSchema: Schema<any, mongoose.Model<any, any, any, any, any
|
|
|
252
252
|
}, "id"> & {
|
|
253
253
|
id: string;
|
|
254
254
|
}, unknown, {
|
|
255
|
-
text: string;
|
|
256
255
|
type: "tip" | "warning" | "prompt";
|
|
256
|
+
text: string;
|
|
257
257
|
} & {
|
|
258
258
|
_id: mongoose.Types.ObjectId;
|
|
259
259
|
} & {
|
|
@@ -294,18 +294,18 @@ declare const sectionSchemaDefinition: {
|
|
|
294
294
|
type: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
295
295
|
_id: false;
|
|
296
296
|
}, {
|
|
297
|
-
text: string;
|
|
298
297
|
type: "tip" | "warning" | "prompt";
|
|
299
|
-
}, mongoose.Document<unknown, {}, {
|
|
300
298
|
text: string;
|
|
299
|
+
}, mongoose.Document<unknown, {}, {
|
|
301
300
|
type: "tip" | "warning" | "prompt";
|
|
301
|
+
text: string;
|
|
302
302
|
}, {
|
|
303
303
|
id: string;
|
|
304
304
|
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
305
305
|
_id: false;
|
|
306
306
|
}>> & Omit<{
|
|
307
|
-
text: string;
|
|
308
307
|
type: "tip" | "warning" | "prompt";
|
|
308
|
+
text: string;
|
|
309
309
|
} & {
|
|
310
310
|
_id: mongoose.Types.ObjectId;
|
|
311
311
|
} & {
|
|
@@ -313,8 +313,8 @@ declare const sectionSchemaDefinition: {
|
|
|
313
313
|
}, "id"> & {
|
|
314
314
|
id: string;
|
|
315
315
|
}, unknown, {
|
|
316
|
-
text: string;
|
|
317
316
|
type: "tip" | "warning" | "prompt";
|
|
317
|
+
text: string;
|
|
318
318
|
} & {
|
|
319
319
|
_id: mongoose.Types.ObjectId;
|
|
320
320
|
} & {
|
|
@@ -233,18 +233,18 @@ type SectionQuestionRef = InferRawDocType<typeof sectionQuestionRefSchema>;
|
|
|
233
233
|
declare const guidanceSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
234
234
|
_id: false;
|
|
235
235
|
}, {
|
|
236
|
-
text: string;
|
|
237
236
|
type: "tip" | "warning" | "prompt";
|
|
238
|
-
}, mongoose.Document<unknown, {}, {
|
|
239
237
|
text: string;
|
|
238
|
+
}, mongoose.Document<unknown, {}, {
|
|
240
239
|
type: "tip" | "warning" | "prompt";
|
|
240
|
+
text: string;
|
|
241
241
|
}, {
|
|
242
242
|
id: string;
|
|
243
243
|
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
244
244
|
_id: false;
|
|
245
245
|
}>> & Omit<{
|
|
246
|
-
text: string;
|
|
247
246
|
type: "tip" | "warning" | "prompt";
|
|
247
|
+
text: string;
|
|
248
248
|
} & {
|
|
249
249
|
_id: mongoose.Types.ObjectId;
|
|
250
250
|
} & {
|
|
@@ -252,8 +252,8 @@ declare const guidanceSchema: Schema<any, mongoose.Model<any, any, any, any, any
|
|
|
252
252
|
}, "id"> & {
|
|
253
253
|
id: string;
|
|
254
254
|
}, unknown, {
|
|
255
|
-
text: string;
|
|
256
255
|
type: "tip" | "warning" | "prompt";
|
|
256
|
+
text: string;
|
|
257
257
|
} & {
|
|
258
258
|
_id: mongoose.Types.ObjectId;
|
|
259
259
|
} & {
|
|
@@ -294,18 +294,18 @@ declare const sectionSchemaDefinition: {
|
|
|
294
294
|
type: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
295
295
|
_id: false;
|
|
296
296
|
}, {
|
|
297
|
-
text: string;
|
|
298
297
|
type: "tip" | "warning" | "prompt";
|
|
299
|
-
}, mongoose.Document<unknown, {}, {
|
|
300
298
|
text: string;
|
|
299
|
+
}, mongoose.Document<unknown, {}, {
|
|
301
300
|
type: "tip" | "warning" | "prompt";
|
|
301
|
+
text: string;
|
|
302
302
|
}, {
|
|
303
303
|
id: string;
|
|
304
304
|
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
305
305
|
_id: false;
|
|
306
306
|
}>> & Omit<{
|
|
307
|
-
text: string;
|
|
308
307
|
type: "tip" | "warning" | "prompt";
|
|
308
|
+
text: string;
|
|
309
309
|
} & {
|
|
310
310
|
_id: mongoose.Types.ObjectId;
|
|
311
311
|
} & {
|
|
@@ -313,8 +313,8 @@ declare const sectionSchemaDefinition: {
|
|
|
313
313
|
}, "id"> & {
|
|
314
314
|
id: string;
|
|
315
315
|
}, unknown, {
|
|
316
|
-
text: string;
|
|
317
316
|
type: "tip" | "warning" | "prompt";
|
|
317
|
+
text: string;
|
|
318
318
|
} & {
|
|
319
319
|
_id: mongoose.Types.ObjectId;
|
|
320
320
|
} & {
|