@htilabs/platform-common-models 0.12.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/index.cjs +0 -81
- package/dist/config/index.cjs.map +1 -1
- package/dist/config/index.d.cts +4 -79
- package/dist/config/index.d.ts +4 -79
- package/dist/config/index.js +1 -79
- package/dist/config/index.js.map +1 -1
- package/dist/constants/index.cjs +18 -2
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +18 -2
- package/dist/constants/index.js.map +1 -1
- package/dist/cvc-Cp4uWnAa.d.cts +298 -0
- package/dist/cvc-Cp4uWnAa.d.ts +298 -0
- package/dist/cvcs/index.cjs +6678 -221
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +15019 -8052
- package/dist/cvcs/index.d.ts +15019 -8052
- package/dist/cvcs/index.js +6666 -221
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +4557 -0
- package/dist/enums/index.cjs.map +1 -0
- package/dist/enums/index.d.cts +5257 -0
- package/dist/enums/index.d.ts +5257 -0
- package/dist/enums/index.js +4354 -0
- package/dist/enums/index.js.map +1 -0
- package/dist/{index-I-DiX9eQ.d.ts → index-CDoqrfc1.d.ts} +1 -1
- package/dist/{index-CoVr1jIV.d.cts → index-Zu_mOJRn.d.cts} +1 -1
- package/dist/index.cjs +7219 -232
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -4700
- package/dist/index.d.ts +7 -4700
- package/dist/index.js +7195 -232
- 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/mongo/index.cjs +0 -1
- package/dist/mongo/index.cjs.map +1 -1
- package/dist/mongo/index.js +1 -2
- package/dist/mongo/index.js.map +1 -1
- package/dist/{platform-auth-v53r3BhN.d.cts → platform-auth-Dv5fu0Fh.d.cts} +5 -4
- package/dist/{platform-auth-v53r3BhN.d.ts → platform-auth-Dv5fu0Fh.d.ts} +5 -4
- package/dist/schemas/index.cjs +5 -1
- 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 +5 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/validation/index.cjs +58 -0
- package/dist/validation/index.cjs.map +1 -1
- package/dist/validation/index.d.cts +82 -283
- package/dist/validation/index.d.ts +82 -283
- package/dist/validation/index.js +57 -0
- package/dist/validation/index.js.map +1 -1
- package/package.json +10 -1
- package/src/__sot__/README.md +36 -1
- package/src/__sot__/coreIndicatorFields.ts +331 -0
- package/src/__sot__/coreIndicators.pin.json +1936 -2
- package/src/__sot__/cvcIndex.pin.json +8 -4
- package/src/__tests__/__snapshots__/cvc-sot.snap +41 -13
- package/src/__tests__/core-information-scope-invariant.test.ts +134 -0
- package/src/__tests__/cvc-136-scoring-invariant.test.ts +8 -3
- package/src/__tests__/cvc-181-182-country-parity.test.ts +163 -0
- package/src/__tests__/cvc-drift-gate.test.ts +445 -12
- package/src/__tests__/cvc-sot-snapshot.test.ts +73 -11
- package/src/__tests__/cvc-status-parser.test.ts +150 -0
- package/src/__tests__/cvc-structural.test.ts +14 -0
- package/src/__tests__/runtime-contract-validator.test.ts +1 -325
- package/src/config/index.ts +4 -189
- package/src/constants/ic.ts +120 -3
- package/src/cvcs/assertionDomain.v1.1.0.json +19 -1
- package/src/cvcs/assertionStatus.v1.0.0.json +80 -0
- package/src/cvcs/carCorrectionReason.v1.0.0.json +89 -0
- package/src/cvcs/caseShareState.v1.0.0.json +62 -0
- package/src/cvcs/coreIndicators.v1.0.0.json +83 -5
- package/src/cvcs/coreInformationScope.v1.0.0.json +1165 -0
- package/src/cvcs/countries.v1.0.0.json +3077 -0
- package/src/cvcs/createdBySystem.v1.0.0.json +89 -0
- package/src/cvcs/criminalOrgCategory.v1.0.0.json +116 -0
- package/src/cvcs/determinationHelperCategories.v1.0.0.json +1166 -0
- package/src/cvcs/incidentParticipationRoles.v1.0.0.json +11 -1
- package/src/cvcs/index.ts +32 -0
- package/src/cvcs/minorAdultStatus.v1.0.0.json +80 -0
- package/src/cvcs/personRelationships.v1.0.0.json +67 -2
- package/src/cvcs/referralOrigin.v1.0.0.json +26 -0
- package/src/cvcs/relationshipConcern.v1.0.0.json +28 -19
- package/src/cvcs/riskIdentificationMilestone.v1.0.0.json +109 -0
- package/src/cvcs/sessionTemplate.v1.0.0.json +22 -0
- package/src/cvcs/sharePurpose.v1.0.0.json +80 -12
- package/src/cvcs/subjectType.v1.0.0.json +80 -0
- package/src/generated/cvc-enums.ts +606 -20
- package/src/validation/cvcStatus.ts +209 -0
- package/src/validation/index.ts +1 -0
- package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-0BIB9sen.d.cts} +8 -8
- package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-0BIB9sen.d.ts} +8 -8
|
@@ -218,7 +218,7 @@ export type ServiceMechanismKey = keyof typeof ServiceMechanismKeys;
|
|
|
218
218
|
/**
|
|
219
219
|
* Key → positional code map for the `incident_participation_roles` CVC domain.
|
|
220
220
|
*
|
|
221
|
-
* Domain: `incident_participation_roles` · Version: 1.0.0 · Entries:
|
|
221
|
+
* Domain: `incident_participation_roles` · Version: 1.0.0 · Entries: 20
|
|
222
222
|
*/
|
|
223
223
|
export const IncidentParticipationRoleKeys = {
|
|
224
224
|
missingness_root: "069-000-000-000-000-000-000",
|
|
@@ -240,6 +240,7 @@ export const IncidentParticipationRoleKeys = {
|
|
|
240
240
|
data_entry: "069-004-003-000-000-000-000",
|
|
241
241
|
other_incident_responder: "069-004-004-000-000-000-000",
|
|
242
242
|
responding_officer: "069-004-005-000-000-000-000",
|
|
243
|
+
legal_professional: "069-004-006-000-000-000-000",
|
|
243
244
|
} as const;
|
|
244
245
|
|
|
245
246
|
export type IncidentParticipationRoleKey = keyof typeof IncidentParticipationRoleKeys;
|
|
@@ -874,7 +875,7 @@ export type PreferredContactMethodKey = keyof typeof PreferredContactMethodKeys;
|
|
|
874
875
|
/**
|
|
875
876
|
* Key → positional code map for the `share_purpose` CVC domain.
|
|
876
877
|
*
|
|
877
|
-
* Domain: `share_purpose` · Version: 1.
|
|
878
|
+
* Domain: `share_purpose` · Version: 1.1.0 · Entries: 12
|
|
878
879
|
*/
|
|
879
880
|
export const SharePurposeKeys = {
|
|
880
881
|
referral: "084-001-000-000-000-000-000",
|
|
@@ -885,10 +886,42 @@ export const SharePurposeKeys = {
|
|
|
885
886
|
automatic_account_share: "084-006-000-000-000-000-000",
|
|
886
887
|
discretionary_share: "084-007-000-000-000-000-000",
|
|
887
888
|
records_request: "084-008-000-000-000-000-000",
|
|
889
|
+
investigation_support: "084-009-000-000-000-000-000",
|
|
890
|
+
threat_prevention: "084-010-000-000-000-000-000",
|
|
891
|
+
awareness_product: "084-011-000-000-000-000-000",
|
|
892
|
+
prosecution_support: "084-012-000-000-000-000-000",
|
|
888
893
|
} as const;
|
|
889
894
|
|
|
890
895
|
export type SharePurposeKey = keyof typeof SharePurposeKeys;
|
|
891
896
|
|
|
897
|
+
/**
|
|
898
|
+
* Key → positional code map for the `referral_origin` CVC domain.
|
|
899
|
+
*
|
|
900
|
+
* Domain: `referral_origin` · Version: 1.0.0 · Entries: 2
|
|
901
|
+
*/
|
|
902
|
+
export const ReferralOriginKeys = {
|
|
903
|
+
internal: "909-001-000-000-000-000-000",
|
|
904
|
+
external: "909-002-000-000-000-000-000",
|
|
905
|
+
} as const;
|
|
906
|
+
|
|
907
|
+
export type ReferralOriginKey = keyof typeof ReferralOriginKeys;
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* Key → positional code map for the `case_share_state` CVC domain.
|
|
911
|
+
*
|
|
912
|
+
* Domain: `case_share_state` · Version: 1.0.0 · Entries: 6
|
|
913
|
+
*/
|
|
914
|
+
export const CaseShareStateKeys = {
|
|
915
|
+
pending: "925-001-000-000-000-000-000",
|
|
916
|
+
claimed: "925-002-000-000-000-000-000",
|
|
917
|
+
accepted_awaiting_review: "925-003-000-000-000-000-000",
|
|
918
|
+
accepted: "925-004-000-000-000-000-000",
|
|
919
|
+
declined: "925-005-000-000-000-000-000",
|
|
920
|
+
rejected: "925-006-000-000-000-000-000",
|
|
921
|
+
} as const;
|
|
922
|
+
|
|
923
|
+
export type CaseShareStateKey = keyof typeof CaseShareStateKeys;
|
|
924
|
+
|
|
892
925
|
/**
|
|
893
926
|
* Key → positional code map for the `facilitator_entity_type` CVC domain.
|
|
894
927
|
*
|
|
@@ -1153,7 +1186,7 @@ export type RelationshipTiesKey = keyof typeof RelationshipTiesKeys;
|
|
|
1153
1186
|
/**
|
|
1154
1187
|
* Key → positional code map for the `person_relationships` CVC domain.
|
|
1155
1188
|
*
|
|
1156
|
-
* Domain: `person_relationships` · Version: 1.0.0 · Entries:
|
|
1189
|
+
* Domain: `person_relationships` · Version: 1.0.0 · Entries: 94
|
|
1157
1190
|
*/
|
|
1158
1191
|
export const PersonRelationshipsKeys = {
|
|
1159
1192
|
missingness_root: "126-000-000-000-000-000-000",
|
|
@@ -1172,9 +1205,14 @@ export const PersonRelationshipsKeys = {
|
|
|
1172
1205
|
child_of: "126-001-005-001-000-000-000",
|
|
1173
1206
|
parent_of: "126-001-005-002-000-000-000",
|
|
1174
1207
|
sibling: "126-001-006-000-000-000-000",
|
|
1208
|
+
parental_figure_dependent: "126-001-007-000-000-000-000",
|
|
1209
|
+
dependent_of_parental_figure: "126-001-007-001-000-000-000",
|
|
1210
|
+
parental_figure_of: "126-001-007-002-000-000-000",
|
|
1175
1211
|
romantic_partner: "126-002-000-000-000-000-000",
|
|
1176
1212
|
dating_relationship: "126-002-001-000-000-000-000",
|
|
1177
1213
|
spouse_partner: "126-002-002-000-000-000-000",
|
|
1214
|
+
intimate_romantic_partner: "126-002-003-000-000-000-000",
|
|
1215
|
+
intimate_partner_prior: "126-002-004-000-000-000-000",
|
|
1178
1216
|
care_household: "126-003-000-000-000-000-000",
|
|
1179
1217
|
caregiver_care_recipient: "126-003-001-000-000-000-000",
|
|
1180
1218
|
care_recipient_of: "126-003-001-001-000-000-000",
|
|
@@ -3448,22 +3486,22 @@ export const HtTypeKeys = {
|
|
|
3448
3486
|
export type HtTypeKey = keyof typeof HtTypeKeys;
|
|
3449
3487
|
|
|
3450
3488
|
/**
|
|
3451
|
-
* Key → positional code map for the `relationship_concern` CVC domain (PROVISIONAL CVC-
|
|
3489
|
+
* 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).
|
|
3452
3490
|
*
|
|
3453
|
-
* Domain: `relationship_concern` · Version: 1.
|
|
3491
|
+
* Domain: `relationship_concern` · Version: 1.1.0 · Entries: 11
|
|
3454
3492
|
*/
|
|
3455
3493
|
export const RelationshipConcernKeys = {
|
|
3456
|
-
missingness_root: "
|
|
3457
|
-
unknown: "
|
|
3458
|
-
anonymous: "
|
|
3459
|
-
data_not_collected: "
|
|
3460
|
-
appears_controlling: "
|
|
3461
|
-
is_much_older: "
|
|
3462
|
-
physically_abusive: "
|
|
3463
|
-
emotionally_abusive: "
|
|
3464
|
-
has_legal_involvement: "
|
|
3465
|
-
is_known_trafficker_or_suspect: "
|
|
3466
|
-
other_concern: "
|
|
3494
|
+
missingness_root: "991-000-000-000-000-000-000",
|
|
3495
|
+
unknown: "991-000-000-000-000-000-001",
|
|
3496
|
+
anonymous: "991-000-000-000-000-000-002",
|
|
3497
|
+
data_not_collected: "991-000-000-000-000-000-003",
|
|
3498
|
+
appears_controlling: "991-001-000-000-000-000-000",
|
|
3499
|
+
is_much_older: "991-002-000-000-000-000-000",
|
|
3500
|
+
physically_abusive: "991-003-000-000-000-000-000",
|
|
3501
|
+
emotionally_abusive: "991-004-000-000-000-000-000",
|
|
3502
|
+
has_legal_involvement: "991-005-000-000-000-000-000",
|
|
3503
|
+
is_known_trafficker_or_suspect: "991-006-000-000-000-000-000",
|
|
3504
|
+
other_concern: "991-007-000-000-000-000-000",
|
|
3467
3505
|
} as const;
|
|
3468
3506
|
|
|
3469
3507
|
export type RelationshipConcernKey = keyof typeof RelationshipConcernKeys;
|
|
@@ -3519,7 +3557,7 @@ export type HousingSubsidyTypesKey = keyof typeof HousingSubsidyTypesKeys;
|
|
|
3519
3557
|
/**
|
|
3520
3558
|
* Key → positional code map for the `assertion_domain` CVC domain (CAR assertion domain; PROVISIONAL, pending Notion ratification).
|
|
3521
3559
|
*
|
|
3522
|
-
* Domain: `assertion_domain` · Version: 2.0.0 · Entries:
|
|
3560
|
+
* Domain: `assertion_domain` · Version: 2.0.0 · Entries: 70
|
|
3523
3561
|
*/
|
|
3524
3562
|
export const AssertionDomainKeys = {
|
|
3525
3563
|
missingness_root: "159-000-000-000-000-000-000",
|
|
@@ -3590,6 +3628,8 @@ export const AssertionDomainKeys = {
|
|
|
3590
3628
|
facilitator_subrole: "159-063-000-000-000-000-000",
|
|
3591
3629
|
facilitator_entity_type: "159-064-000-000-000-000-000",
|
|
3592
3630
|
child_profile: "159-065-000-000-000-000-000",
|
|
3631
|
+
signal_identification: "159-066-000-000-000-000-000",
|
|
3632
|
+
investigative_legal: "159-067-000-000-000-000-000",
|
|
3593
3633
|
} as const;
|
|
3594
3634
|
|
|
3595
3635
|
export type AssertionDomainKey = keyof typeof AssertionDomainKeys;
|
|
@@ -4022,6 +4062,86 @@ export const NeedsAssessmentChangeTypeKeys = {
|
|
|
4022
4062
|
|
|
4023
4063
|
export type NeedsAssessmentChangeTypeKey = keyof typeof NeedsAssessmentChangeTypeKeys;
|
|
4024
4064
|
|
|
4065
|
+
/**
|
|
4066
|
+
* Key → positional code map for the `core_information_scope` CVC domain (DRAFT-TEMPORARY; canonical CVC-236, 12 policy-grain CATEGORIES + 54 authorization-grain UNITS. Categories are level 1 and NOT selectable; units are level 2 and are what an ROI or a share authorizes. Distinct from the sibling `roi_scope` domain, which is the FLAT item vocabulary and deliberately omits the category axis — roi_scope's 27 substantive keys are a strict SUBSET of these 54 units, with no renames, so adoption is additive and no stored ROI changes meaning).
|
|
4067
|
+
*
|
|
4068
|
+
* Domain: `core_information_scope` · Version: 1.0.0 · Entries: 70
|
|
4069
|
+
*/
|
|
4070
|
+
export const CoreInformationScopeKeys = {
|
|
4071
|
+
missingness_root: "236-000-000-000-000-000-000",
|
|
4072
|
+
unknown: "236-000-000-000-000-000-001",
|
|
4073
|
+
anonymous: "236-000-000-000-000-000-002",
|
|
4074
|
+
data_not_collected: "236-000-000-000-000-000-003",
|
|
4075
|
+
identifying: "236-001-000-000-000-000-000",
|
|
4076
|
+
names: "236-001-001-000-000-000-000",
|
|
4077
|
+
dob: "236-001-002-000-000-000-000",
|
|
4078
|
+
addresses: "236-001-003-000-000-000-000",
|
|
4079
|
+
additional_ids: "236-001-004-000-000-000-000",
|
|
4080
|
+
demographics: "236-001-005-000-000-000-000",
|
|
4081
|
+
risk: "236-002-000-000-000-000-000",
|
|
4082
|
+
screen_indicators: "236-002-001-000-000-000-000",
|
|
4083
|
+
victimization: "236-002-002-000-000-000-000",
|
|
4084
|
+
ida_full: "236-002-003-000-000-000-000",
|
|
4085
|
+
ida_consid: "236-002-004-000-000-000-000",
|
|
4086
|
+
initial_screen: "236-002-005-000-000-000-000",
|
|
4087
|
+
tra: "236-002-006-000-000-000-000",
|
|
4088
|
+
lap: "236-002-007-000-000-000-000",
|
|
4089
|
+
danger_assessment: "236-002-008-000-000-000-000",
|
|
4090
|
+
injury_and_strangulation: "236-002-009-000-000-000-000",
|
|
4091
|
+
stalking_assessment: "236-002-010-000-000-000-000",
|
|
4092
|
+
ae_intake: "236-002-011-000-000-000-000",
|
|
4093
|
+
hope_scale: "236-002-012-000-000-000-000",
|
|
4094
|
+
assessment_records: "236-002-013-000-000-000-000",
|
|
4095
|
+
determinations: "236-002-014-000-000-000-000",
|
|
4096
|
+
offender_facilitator: "236-002-015-000-000-000-000",
|
|
4097
|
+
system_involvement: "236-002-016-000-000-000-000",
|
|
4098
|
+
derived_risk_signals: "236-002-017-000-000-000-000",
|
|
4099
|
+
contact: "236-003-000-000-000-000-000",
|
|
4100
|
+
contact_info: "236-003-001-000-000-000-000",
|
|
4101
|
+
safe_locations: "236-003-002-000-000-000-000",
|
|
4102
|
+
services: "236-004-000-000-000-000-000",
|
|
4103
|
+
contact_history: "236-004-001-000-000-000-000",
|
|
4104
|
+
service_history: "236-004-002-000-000-000-000",
|
|
4105
|
+
plans_goals: "236-004-003-000-000-000-000",
|
|
4106
|
+
notes: "236-005-000-000-000-000-000",
|
|
4107
|
+
screen_notes: "236-005-001-000-000-000-000",
|
|
4108
|
+
case_notes: "236-005-002-000-000-000-000",
|
|
4109
|
+
background: "236-005-003-000-000-000-000",
|
|
4110
|
+
health_accommodation: "236-006-000-000-000-000-000",
|
|
4111
|
+
accommodation_needs: "236-006-001-000-000-000-000",
|
|
4112
|
+
disability_subtypes: "236-006-002-000-000-000-000",
|
|
4113
|
+
mental_health_status: "236-006-003-000-000-000-000",
|
|
4114
|
+
substance_use_status: "236-006-004-000-000-000-000",
|
|
4115
|
+
chronic_health_status: "236-006-005-000-000-000-000",
|
|
4116
|
+
hiv_status: "236-006-006-000-000-000-000",
|
|
4117
|
+
mental_health_screen: "236-006-007-000-000-000-000",
|
|
4118
|
+
trauma_and_coping_screen: "236-006-008-000-000-000-000",
|
|
4119
|
+
behavioral_health_intake: "236-006-009-000-000-000-000",
|
|
4120
|
+
immigration_legal_status: "236-007-000-000-000-000-000",
|
|
4121
|
+
immigration_status: "236-007-001-000-000-000-000",
|
|
4122
|
+
uscis_alien_number: "236-007-002-000-000-000-000",
|
|
4123
|
+
federal_protection_applications: "236-007-003-000-000-000-000",
|
|
4124
|
+
tvap_enrollment: "236-007-004-000-000-000-000",
|
|
4125
|
+
le_report_status: "236-007-005-000-000-000-000",
|
|
4126
|
+
system: "236-008-000-000-000-000-000",
|
|
4127
|
+
system_info: "236-008-001-000-000-000-000",
|
|
4128
|
+
network_associations: "236-009-000-000-000-000-000",
|
|
4129
|
+
network_membership: "236-009-001-000-000-000-000",
|
|
4130
|
+
persona_links: "236-009-002-000-000-000-000",
|
|
4131
|
+
commercial_activity: "236-010-000-000-000-000-000",
|
|
4132
|
+
ad_content: "236-010-001-000-000-000-000",
|
|
4133
|
+
commercial_patterns: "236-010-002-000-000-000-000",
|
|
4134
|
+
investigative_work_product: "236-011-000-000-000-000-000",
|
|
4135
|
+
case_determinations: "236-011-001-000-000-000-000",
|
|
4136
|
+
case_lifecycle: "236-011-002-000-000-000-000",
|
|
4137
|
+
case_attachments: "236-011-003-000-000-000-000",
|
|
4138
|
+
object_identifiers: "236-012-000-000-000-000-000",
|
|
4139
|
+
phone_identifiers: "236-012-001-000-000-000-000",
|
|
4140
|
+
object_identity_attributes: "236-012-002-000-000-000-000",
|
|
4141
|
+
} as const;
|
|
4142
|
+
|
|
4143
|
+
export type CoreInformationScopeKey = keyof typeof CoreInformationScopeKeys;
|
|
4144
|
+
|
|
4025
4145
|
/**
|
|
4026
4146
|
* Key → positional code map for the `roi_scope` CVC domain (DRAFT-TEMPORARY; the 15 ROI scope ITEMS an ROI authorizes for sharing, sourced from PAVE `@pave/domain` ROI_SCOPE_KEYS. The item axis only — named bundles over these items are ROI_SCOPE_PRESET_NAMES. The prototype's 27-item HTI_SHARE_SCOPE_GROUPS superset holds +12 health-accommodation / immigration-legal items that are the documented extension set).
|
|
4027
4147
|
*
|
|
@@ -4118,9 +4238,9 @@ export const DhStateKeys = {
|
|
|
4118
4238
|
export type DhStateKey = keyof typeof DhStateKeys;
|
|
4119
4239
|
|
|
4120
4240
|
/**
|
|
4121
|
-
* Key → positional code map for the `core_indicators` CVC domain (CVC-136;
|
|
4241
|
+
* Key → positional code map for the `core_indicators` CVC domain (CVC-136; 214 canonical indicator codes re-sourced from prototype `data/core_indicators.yaml` @ 622410b + 2 scoring-ahead codes @hti/scoring emits before the codebook adopted them = 216 substantive). Entries carry `family` / `polarity` / `severity` / `isAlert` / `alertWhen`; the alert list is a DERIVED VIEW over `isAlert`, not a rival taxonomy.
|
|
4122
4242
|
*
|
|
4123
|
-
* Domain: `core_indicators` · Version: 1.0.0 · Entries:
|
|
4243
|
+
* Domain: `core_indicators` · Version: 1.0.0 · Entries: 220
|
|
4124
4244
|
*/
|
|
4125
4245
|
export const CoreIndicatorKeys = {
|
|
4126
4246
|
missingness_root: "136-000-000-000-000-000-000",
|
|
@@ -4337,10 +4457,35 @@ export const CoreIndicatorKeys = {
|
|
|
4337
4457
|
works_across_multiple_cities_or_locations: "136-208-000-000-000-000-000",
|
|
4338
4458
|
works_for_little_or_no_pay: "136-209-000-000-000-000-000",
|
|
4339
4459
|
youth_watched_filmed_or_photographed_sexually_explicit: "136-210-000-000-000-000-000",
|
|
4460
|
+
clients_unaware_of_third_party_coordination: "136-211-000-000-000-000-000",
|
|
4461
|
+
depends_on_spouse_or_family_for_immigration_status: "136-212-000-000-000-000-000",
|
|
4462
|
+
sexualized_content_in_person_performance_activity: "136-213-000-000-000-000-000",
|
|
4463
|
+
sexualized_content_online_performance_activity: "136-214-000-000-000-000-000",
|
|
4464
|
+
trauma_perpetrator_is_current_manager: "136-215-000-000-000-000-000",
|
|
4465
|
+
active_protective_order: "136-216-000-000-000-000-000",
|
|
4340
4466
|
} as const;
|
|
4341
4467
|
|
|
4342
4468
|
export type CoreIndicatorKey = keyof typeof CoreIndicatorKeys;
|
|
4343
4469
|
|
|
4470
|
+
/**
|
|
4471
|
+
* Key → positional code map for the `risk_identification_milestone` CVC domain (CVC-267, ratified 2026-08-29). The identification-FUNNEL rung value set — the vocabulary `assertion_value_code` resolves against for the `identification_rung_reached` CAR. Four rungs store `assertion_domain` `signal_identification` (CVC-159 159-066); `determined` stores `investigative_legal` (159-067) and is documented under both (filed-under-both ruling 2026-08-29). Each entry carries its stored `assertionDomain` so a consumer can route a rung without a second table. Deliberately its OWN vocabulary, not Level-2 rows inside CVC-159: `AssertionDomainKeys` is the set of DOMAINS, and folding values in would make `on_radar` demand a domain classification downstream. The milestone-symmetry no-state row is absent: reaching no rung is the ABSENCE of rows.
|
|
4472
|
+
*
|
|
4473
|
+
* Domain: `risk_identification_milestone` · Version: 1.0.0 · Entries: 9
|
|
4474
|
+
*/
|
|
4475
|
+
export const RiskIdentificationMilestoneKeys = {
|
|
4476
|
+
missingness_root: "267-000-000-000-000-000-000",
|
|
4477
|
+
unknown: "267-000-000-000-000-000-001",
|
|
4478
|
+
anonymous: "267-000-000-000-000-000-002",
|
|
4479
|
+
data_not_collected: "267-000-000-000-000-000-003",
|
|
4480
|
+
on_radar: "267-001-000-000-000-000-000",
|
|
4481
|
+
screened: "267-002-000-000-000-000-000",
|
|
4482
|
+
at_risk: "267-003-000-000-000-000-000",
|
|
4483
|
+
assessed: "267-004-000-000-000-000-000",
|
|
4484
|
+
determined: "267-005-000-000-000-000-000",
|
|
4485
|
+
} as const;
|
|
4486
|
+
|
|
4487
|
+
export type RiskIdentificationMilestoneKey = keyof typeof RiskIdentificationMilestoneKeys;
|
|
4488
|
+
|
|
4344
4489
|
/**
|
|
4345
4490
|
* Key → positional code map for the `risk_severity_band` CVC domain (CVC-238, VERIFIED). Replaces the withdrawn provisional `risk_band` (981). Carries the load-bearing `lowerBand` thresholds 0/20/40/60/80 that the milestone band-crossing trigger reads.
|
|
4346
4491
|
*
|
|
@@ -4652,7 +4797,7 @@ export type PoViolationStatusKey = keyof typeof PoViolationStatusKeys;
|
|
|
4652
4797
|
/**
|
|
4653
4798
|
* Key → positional code map for the `session_template` CVC domain (CVC-217). Canonical session templates across PAVE / Thread / LEADS; distinct from CVC-216 `session_state`.
|
|
4654
4799
|
*
|
|
4655
|
-
* Domain: `session_template` · Version: 1.0.0 · Entries:
|
|
4800
|
+
* Domain: `session_template` · Version: 1.0.0 · Entries: 25
|
|
4656
4801
|
*/
|
|
4657
4802
|
export const SessionTemplateKeys = {
|
|
4658
4803
|
missingness_root: "217-000-000-000-000-000-000",
|
|
@@ -4678,6 +4823,8 @@ export const SessionTemplateKeys = {
|
|
|
4678
4823
|
cst_leads_new_case: "217-017-000-000-000-000-000",
|
|
4679
4824
|
cst_leads_new_lead_tip: "217-018-000-000-000-000-000",
|
|
4680
4825
|
cst_unk_other_virtual: "217-019-000-000-000-000-000",
|
|
4826
|
+
cst_pave_inbound_share: "217-020-000-000-000-000-000",
|
|
4827
|
+
cst_thread_inbound_share: "217-021-000-000-000-000-000",
|
|
4681
4828
|
} as const;
|
|
4682
4829
|
|
|
4683
4830
|
export type SessionTemplateKey = keyof typeof SessionTemplateKeys;
|
|
@@ -4966,6 +5113,337 @@ export const CitizenshipKeys = {
|
|
|
4966
5113
|
|
|
4967
5114
|
export type CitizenshipKey = keyof typeof CitizenshipKeys;
|
|
4968
5115
|
|
|
5116
|
+
/**
|
|
5117
|
+
* 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.
|
|
5118
|
+
*
|
|
5119
|
+
* Domain: `countries` · Version: 1.0.0 · Entries: 254
|
|
5120
|
+
*/
|
|
5121
|
+
export const CountryKeys = {
|
|
5122
|
+
missingness_root: "181-000-000-000-000-000-000",
|
|
5123
|
+
unknown: "181-000-000-000-000-000-001",
|
|
5124
|
+
anonymous: "181-000-000-000-000-000-002",
|
|
5125
|
+
data_not_collected: "181-000-000-000-000-000-003",
|
|
5126
|
+
afghanistan: "181-001-000-000-000-000-000",
|
|
5127
|
+
aland_islands: "181-002-000-000-000-000-000",
|
|
5128
|
+
albania: "181-003-000-000-000-000-000",
|
|
5129
|
+
algeria: "181-004-000-000-000-000-000",
|
|
5130
|
+
american_samoa: "181-005-000-000-000-000-000",
|
|
5131
|
+
andorra: "181-006-000-000-000-000-000",
|
|
5132
|
+
angola: "181-007-000-000-000-000-000",
|
|
5133
|
+
anguilla: "181-008-000-000-000-000-000",
|
|
5134
|
+
antarctica: "181-009-000-000-000-000-000",
|
|
5135
|
+
antigua_and_barbuda: "181-010-000-000-000-000-000",
|
|
5136
|
+
argentina: "181-011-000-000-000-000-000",
|
|
5137
|
+
armenia: "181-012-000-000-000-000-000",
|
|
5138
|
+
aruba: "181-013-000-000-000-000-000",
|
|
5139
|
+
australia: "181-014-000-000-000-000-000",
|
|
5140
|
+
austria: "181-015-000-000-000-000-000",
|
|
5141
|
+
azerbaijan: "181-016-000-000-000-000-000",
|
|
5142
|
+
bahamas: "181-017-000-000-000-000-000",
|
|
5143
|
+
bahrain: "181-018-000-000-000-000-000",
|
|
5144
|
+
bangladesh: "181-019-000-000-000-000-000",
|
|
5145
|
+
barbados: "181-020-000-000-000-000-000",
|
|
5146
|
+
belarus: "181-021-000-000-000-000-000",
|
|
5147
|
+
belgium: "181-022-000-000-000-000-000",
|
|
5148
|
+
belize: "181-023-000-000-000-000-000",
|
|
5149
|
+
benin: "181-024-000-000-000-000-000",
|
|
5150
|
+
bermuda: "181-025-000-000-000-000-000",
|
|
5151
|
+
bhutan: "181-026-000-000-000-000-000",
|
|
5152
|
+
bolivia_plurinational_state_of: "181-027-000-000-000-000-000",
|
|
5153
|
+
bonaire_sint_eustatius_and_saba: "181-028-000-000-000-000-000",
|
|
5154
|
+
bosnia_and_herzegovina: "181-029-000-000-000-000-000",
|
|
5155
|
+
botswana: "181-030-000-000-000-000-000",
|
|
5156
|
+
bouvet_island: "181-031-000-000-000-000-000",
|
|
5157
|
+
brazil: "181-032-000-000-000-000-000",
|
|
5158
|
+
british_indian_ocean_territory: "181-033-000-000-000-000-000",
|
|
5159
|
+
brunei_darussalam: "181-034-000-000-000-000-000",
|
|
5160
|
+
bulgaria: "181-035-000-000-000-000-000",
|
|
5161
|
+
burkina_faso: "181-036-000-000-000-000-000",
|
|
5162
|
+
burundi: "181-037-000-000-000-000-000",
|
|
5163
|
+
cambodia: "181-038-000-000-000-000-000",
|
|
5164
|
+
cameroon: "181-039-000-000-000-000-000",
|
|
5165
|
+
canada: "181-040-000-000-000-000-000",
|
|
5166
|
+
cape_verde: "181-041-000-000-000-000-000",
|
|
5167
|
+
cayman_islands: "181-042-000-000-000-000-000",
|
|
5168
|
+
central_african_republic: "181-043-000-000-000-000-000",
|
|
5169
|
+
chad: "181-044-000-000-000-000-000",
|
|
5170
|
+
chile: "181-045-000-000-000-000-000",
|
|
5171
|
+
china: "181-046-000-000-000-000-000",
|
|
5172
|
+
christmas_island: "181-047-000-000-000-000-000",
|
|
5173
|
+
cocos_keeling_islands: "181-048-000-000-000-000-000",
|
|
5174
|
+
colombia: "181-049-000-000-000-000-000",
|
|
5175
|
+
comoros: "181-050-000-000-000-000-000",
|
|
5176
|
+
congo: "181-051-000-000-000-000-000",
|
|
5177
|
+
congo_the_democratic_republic_of_the: "181-052-000-000-000-000-000",
|
|
5178
|
+
cook_islands: "181-053-000-000-000-000-000",
|
|
5179
|
+
costa_rica: "181-054-000-000-000-000-000",
|
|
5180
|
+
cote_d_ivoire: "181-055-000-000-000-000-000",
|
|
5181
|
+
croatia: "181-056-000-000-000-000-000",
|
|
5182
|
+
cuba: "181-057-000-000-000-000-000",
|
|
5183
|
+
curacao: "181-058-000-000-000-000-000",
|
|
5184
|
+
cyprus: "181-059-000-000-000-000-000",
|
|
5185
|
+
czech_republic: "181-060-000-000-000-000-000",
|
|
5186
|
+
denmark: "181-061-000-000-000-000-000",
|
|
5187
|
+
djibouti: "181-062-000-000-000-000-000",
|
|
5188
|
+
dominica: "181-063-000-000-000-000-000",
|
|
5189
|
+
dominican_republic: "181-064-000-000-000-000-000",
|
|
5190
|
+
ecuador: "181-065-000-000-000-000-000",
|
|
5191
|
+
egypt: "181-066-000-000-000-000-000",
|
|
5192
|
+
el_salvador: "181-067-000-000-000-000-000",
|
|
5193
|
+
equatorial_guinea: "181-068-000-000-000-000-000",
|
|
5194
|
+
eritrea: "181-069-000-000-000-000-000",
|
|
5195
|
+
estonia: "181-070-000-000-000-000-000",
|
|
5196
|
+
ethiopia: "181-071-000-000-000-000-000",
|
|
5197
|
+
falkland_islands_malvinas: "181-072-000-000-000-000-000",
|
|
5198
|
+
faroe_islands: "181-073-000-000-000-000-000",
|
|
5199
|
+
fiji: "181-074-000-000-000-000-000",
|
|
5200
|
+
finland: "181-075-000-000-000-000-000",
|
|
5201
|
+
france: "181-076-000-000-000-000-000",
|
|
5202
|
+
french_guiana: "181-077-000-000-000-000-000",
|
|
5203
|
+
french_polynesia: "181-078-000-000-000-000-000",
|
|
5204
|
+
french_southern_territories: "181-079-000-000-000-000-000",
|
|
5205
|
+
gabon: "181-080-000-000-000-000-000",
|
|
5206
|
+
gambia: "181-081-000-000-000-000-000",
|
|
5207
|
+
georgia: "181-082-000-000-000-000-000",
|
|
5208
|
+
germany: "181-083-000-000-000-000-000",
|
|
5209
|
+
ghana: "181-084-000-000-000-000-000",
|
|
5210
|
+
gibraltar: "181-085-000-000-000-000-000",
|
|
5211
|
+
greece: "181-086-000-000-000-000-000",
|
|
5212
|
+
greenland: "181-087-000-000-000-000-000",
|
|
5213
|
+
grenada: "181-088-000-000-000-000-000",
|
|
5214
|
+
guadeloupe: "181-089-000-000-000-000-000",
|
|
5215
|
+
guam: "181-090-000-000-000-000-000",
|
|
5216
|
+
guatemala: "181-091-000-000-000-000-000",
|
|
5217
|
+
guernsey: "181-092-000-000-000-000-000",
|
|
5218
|
+
guinea: "181-093-000-000-000-000-000",
|
|
5219
|
+
guinea_bissau: "181-094-000-000-000-000-000",
|
|
5220
|
+
guyana: "181-095-000-000-000-000-000",
|
|
5221
|
+
haiti: "181-096-000-000-000-000-000",
|
|
5222
|
+
heard_island_and_mcdonald_islands: "181-097-000-000-000-000-000",
|
|
5223
|
+
holy_see_vatican_city_state: "181-098-000-000-000-000-000",
|
|
5224
|
+
honduras: "181-099-000-000-000-000-000",
|
|
5225
|
+
hong_kong: "181-100-000-000-000-000-000",
|
|
5226
|
+
hungary: "181-101-000-000-000-000-000",
|
|
5227
|
+
iceland: "181-102-000-000-000-000-000",
|
|
5228
|
+
india: "181-103-000-000-000-000-000",
|
|
5229
|
+
indonesia: "181-104-000-000-000-000-000",
|
|
5230
|
+
iran_islamic_republic_of: "181-105-000-000-000-000-000",
|
|
5231
|
+
iraq: "181-106-000-000-000-000-000",
|
|
5232
|
+
ireland: "181-107-000-000-000-000-000",
|
|
5233
|
+
israel: "181-108-000-000-000-000-000",
|
|
5234
|
+
isle_of_man: "181-109-000-000-000-000-000",
|
|
5235
|
+
italy: "181-110-000-000-000-000-000",
|
|
5236
|
+
jamaica: "181-111-000-000-000-000-000",
|
|
5237
|
+
japan: "181-112-000-000-000-000-000",
|
|
5238
|
+
jersey: "181-113-000-000-000-000-000",
|
|
5239
|
+
jordan: "181-114-000-000-000-000-000",
|
|
5240
|
+
kazakhstan: "181-115-000-000-000-000-000",
|
|
5241
|
+
kenya: "181-116-000-000-000-000-000",
|
|
5242
|
+
kiribati: "181-117-000-000-000-000-000",
|
|
5243
|
+
korea_democratic_people_s_republic_of: "181-118-000-000-000-000-000",
|
|
5244
|
+
korea_republic_of: "181-119-000-000-000-000-000",
|
|
5245
|
+
kuwait: "181-120-000-000-000-000-000",
|
|
5246
|
+
kyrgyzstan: "181-121-000-000-000-000-000",
|
|
5247
|
+
latvia: "181-122-000-000-000-000-000",
|
|
5248
|
+
lao_people_s_democratic_republic: "181-123-000-000-000-000-000",
|
|
5249
|
+
lebanon: "181-124-000-000-000-000-000",
|
|
5250
|
+
lesotho: "181-125-000-000-000-000-000",
|
|
5251
|
+
liberia: "181-126-000-000-000-000-000",
|
|
5252
|
+
libya: "181-127-000-000-000-000-000",
|
|
5253
|
+
liechtenstein: "181-128-000-000-000-000-000",
|
|
5254
|
+
lithuania: "181-129-000-000-000-000-000",
|
|
5255
|
+
luxembourg: "181-130-000-000-000-000-000",
|
|
5256
|
+
macao: "181-131-000-000-000-000-000",
|
|
5257
|
+
macedonia_the_former_yugoslav_republic_of: "181-132-000-000-000-000-000",
|
|
5258
|
+
madagascar: "181-133-000-000-000-000-000",
|
|
5259
|
+
malawi: "181-134-000-000-000-000-000",
|
|
5260
|
+
malaysia: "181-135-000-000-000-000-000",
|
|
5261
|
+
maldives: "181-136-000-000-000-000-000",
|
|
5262
|
+
mali: "181-137-000-000-000-000-000",
|
|
5263
|
+
malta: "181-138-000-000-000-000-000",
|
|
5264
|
+
marshall_islands: "181-139-000-000-000-000-000",
|
|
5265
|
+
martinique: "181-140-000-000-000-000-000",
|
|
5266
|
+
mauritania: "181-141-000-000-000-000-000",
|
|
5267
|
+
mauritius: "181-142-000-000-000-000-000",
|
|
5268
|
+
mayotte: "181-143-000-000-000-000-000",
|
|
5269
|
+
mexico: "181-144-000-000-000-000-000",
|
|
5270
|
+
micronesia_federated_states_of: "181-145-000-000-000-000-000",
|
|
5271
|
+
moldova_republic_of: "181-146-000-000-000-000-000",
|
|
5272
|
+
monaco: "181-147-000-000-000-000-000",
|
|
5273
|
+
mongolia: "181-148-000-000-000-000-000",
|
|
5274
|
+
montenegro: "181-149-000-000-000-000-000",
|
|
5275
|
+
montserrat: "181-150-000-000-000-000-000",
|
|
5276
|
+
morocco: "181-151-000-000-000-000-000",
|
|
5277
|
+
mozambique: "181-152-000-000-000-000-000",
|
|
5278
|
+
myanmar: "181-153-000-000-000-000-000",
|
|
5279
|
+
namibia: "181-154-000-000-000-000-000",
|
|
5280
|
+
nauru: "181-155-000-000-000-000-000",
|
|
5281
|
+
nepal: "181-156-000-000-000-000-000",
|
|
5282
|
+
netherlands: "181-157-000-000-000-000-000",
|
|
5283
|
+
new_caledonia: "181-158-000-000-000-000-000",
|
|
5284
|
+
new_zealand: "181-159-000-000-000-000-000",
|
|
5285
|
+
nicaragua: "181-160-000-000-000-000-000",
|
|
5286
|
+
niger: "181-161-000-000-000-000-000",
|
|
5287
|
+
nigeria: "181-162-000-000-000-000-000",
|
|
5288
|
+
niue: "181-163-000-000-000-000-000",
|
|
5289
|
+
norfolk_island: "181-164-000-000-000-000-000",
|
|
5290
|
+
northern_mariana_islands: "181-165-000-000-000-000-000",
|
|
5291
|
+
norway: "181-166-000-000-000-000-000",
|
|
5292
|
+
oman: "181-167-000-000-000-000-000",
|
|
5293
|
+
pakistan: "181-168-000-000-000-000-000",
|
|
5294
|
+
palau: "181-169-000-000-000-000-000",
|
|
5295
|
+
palestine_state_of: "181-170-000-000-000-000-000",
|
|
5296
|
+
panama: "181-171-000-000-000-000-000",
|
|
5297
|
+
papua_new_guinea: "181-172-000-000-000-000-000",
|
|
5298
|
+
paraguay: "181-173-000-000-000-000-000",
|
|
5299
|
+
peru: "181-174-000-000-000-000-000",
|
|
5300
|
+
philippines: "181-175-000-000-000-000-000",
|
|
5301
|
+
pitcairn: "181-176-000-000-000-000-000",
|
|
5302
|
+
poland: "181-177-000-000-000-000-000",
|
|
5303
|
+
portugal: "181-178-000-000-000-000-000",
|
|
5304
|
+
puerto_rico: "181-179-000-000-000-000-000",
|
|
5305
|
+
qatar: "181-180-000-000-000-000-000",
|
|
5306
|
+
reunion: "181-181-000-000-000-000-000",
|
|
5307
|
+
romania: "181-182-000-000-000-000-000",
|
|
5308
|
+
russian_federation: "181-183-000-000-000-000-000",
|
|
5309
|
+
saint_barthelemy: "181-184-000-000-000-000-000",
|
|
5310
|
+
rwanda: "181-185-000-000-000-000-000",
|
|
5311
|
+
saint_helena_ascension_and_tristan_da_cunha: "181-186-000-000-000-000-000",
|
|
5312
|
+
saint_kitts_and_nevis: "181-187-000-000-000-000-000",
|
|
5313
|
+
saint_lucia: "181-188-000-000-000-000-000",
|
|
5314
|
+
saint_martin_french_part: "181-189-000-000-000-000-000",
|
|
5315
|
+
saint_pierre_and_miquelon: "181-190-000-000-000-000-000",
|
|
5316
|
+
saint_vincent_and_the_grenadines: "181-191-000-000-000-000-000",
|
|
5317
|
+
samoa: "181-192-000-000-000-000-000",
|
|
5318
|
+
san_marino: "181-193-000-000-000-000-000",
|
|
5319
|
+
sao_tome_and_principe: "181-194-000-000-000-000-000",
|
|
5320
|
+
saudi_arabia: "181-195-000-000-000-000-000",
|
|
5321
|
+
senegal: "181-196-000-000-000-000-000",
|
|
5322
|
+
serbia: "181-197-000-000-000-000-000",
|
|
5323
|
+
seychelles: "181-198-000-000-000-000-000",
|
|
5324
|
+
sierra_leone: "181-199-000-000-000-000-000",
|
|
5325
|
+
singapore: "181-200-000-000-000-000-000",
|
|
5326
|
+
sint_maarten_dutch_part: "181-201-000-000-000-000-000",
|
|
5327
|
+
slovakia: "181-202-000-000-000-000-000",
|
|
5328
|
+
slovenia: "181-203-000-000-000-000-000",
|
|
5329
|
+
solomon_islands: "181-204-000-000-000-000-000",
|
|
5330
|
+
somalia: "181-205-000-000-000-000-000",
|
|
5331
|
+
south_africa: "181-206-000-000-000-000-000",
|
|
5332
|
+
south_georgia_and_the_south_sandwich_islands: "181-207-000-000-000-000-000",
|
|
5333
|
+
south_sudan: "181-208-000-000-000-000-000",
|
|
5334
|
+
spain: "181-209-000-000-000-000-000",
|
|
5335
|
+
sri_lanka: "181-210-000-000-000-000-000",
|
|
5336
|
+
sudan: "181-211-000-000-000-000-000",
|
|
5337
|
+
suriname: "181-212-000-000-000-000-000",
|
|
5338
|
+
svalbard_and_jan_mayen: "181-213-000-000-000-000-000",
|
|
5339
|
+
eswatini: "181-214-000-000-000-000-000",
|
|
5340
|
+
switzerland: "181-215-000-000-000-000-000",
|
|
5341
|
+
sweden: "181-216-000-000-000-000-000",
|
|
5342
|
+
syrian_arab_republic: "181-217-000-000-000-000-000",
|
|
5343
|
+
taiwan_province_of_china: "181-218-000-000-000-000-000",
|
|
5344
|
+
tajikistan: "181-219-000-000-000-000-000",
|
|
5345
|
+
tanzania_united_republic_of: "181-220-000-000-000-000-000",
|
|
5346
|
+
thailand: "181-221-000-000-000-000-000",
|
|
5347
|
+
timor_leste: "181-222-000-000-000-000-000",
|
|
5348
|
+
togo: "181-223-000-000-000-000-000",
|
|
5349
|
+
tokelau: "181-224-000-000-000-000-000",
|
|
5350
|
+
tonga: "181-225-000-000-000-000-000",
|
|
5351
|
+
trinidad_and_tobago: "181-226-000-000-000-000-000",
|
|
5352
|
+
tunisia: "181-227-000-000-000-000-000",
|
|
5353
|
+
turkey: "181-228-000-000-000-000-000",
|
|
5354
|
+
turkmenistan: "181-229-000-000-000-000-000",
|
|
5355
|
+
turks_and_caicos_islands: "181-230-000-000-000-000-000",
|
|
5356
|
+
uganda: "181-231-000-000-000-000-000",
|
|
5357
|
+
tuvalu: "181-232-000-000-000-000-000",
|
|
5358
|
+
ukraine: "181-233-000-000-000-000-000",
|
|
5359
|
+
united_arab_emirates: "181-234-000-000-000-000-000",
|
|
5360
|
+
united_kingdom: "181-235-000-000-000-000-000",
|
|
5361
|
+
united_states: "181-236-000-000-000-000-000",
|
|
5362
|
+
united_states_minor_outlying_islands: "181-237-000-000-000-000-000",
|
|
5363
|
+
uruguay: "181-238-000-000-000-000-000",
|
|
5364
|
+
uzbekistan: "181-239-000-000-000-000-000",
|
|
5365
|
+
vanuatu: "181-240-000-000-000-000-000",
|
|
5366
|
+
venezuela_bolivarian_republic_of: "181-241-000-000-000-000-000",
|
|
5367
|
+
viet_nam: "181-242-000-000-000-000-000",
|
|
5368
|
+
virgin_islands_british: "181-243-000-000-000-000-000",
|
|
5369
|
+
virgin_islands_u_s: "181-244-000-000-000-000-000",
|
|
5370
|
+
wallis_and_futuna: "181-245-000-000-000-000-000",
|
|
5371
|
+
western_sahara: "181-246-000-000-000-000-000",
|
|
5372
|
+
yemen: "181-247-000-000-000-000-000",
|
|
5373
|
+
zambia: "181-248-000-000-000-000-000",
|
|
5374
|
+
zimbabwe: "181-249-000-000-000-000-000",
|
|
5375
|
+
non_us_unspecified: "181-250-000-000-000-000-000",
|
|
5376
|
+
} as const;
|
|
5377
|
+
|
|
5378
|
+
export type CountryKey = keyof typeof CountryKeys;
|
|
5379
|
+
|
|
5380
|
+
/**
|
|
5381
|
+
* 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.
|
|
5382
|
+
*
|
|
5383
|
+
* Domain: `determination_helper_categories` · Version: 1.0.0 · Entries: 57
|
|
5384
|
+
*/
|
|
5385
|
+
export const DeterminationHelperCategoryKeys = {
|
|
5386
|
+
missingness_root: "231-000-000-000-000-000-000",
|
|
5387
|
+
unknown: "231-000-000-000-000-000-001",
|
|
5388
|
+
anonymous: "231-000-000-000-000-000-002",
|
|
5389
|
+
data_not_collected: "231-000-000-000-000-000-003",
|
|
5390
|
+
subject_and_scope: "231-001-000-000-000-000-000",
|
|
5391
|
+
subjects: "231-001-001-000-000-000-000",
|
|
5392
|
+
roles: "231-001-002-000-000-000-000",
|
|
5393
|
+
time_scope: "231-001-003-000-000-000-000",
|
|
5394
|
+
age: "231-001-004-000-000-000-000",
|
|
5395
|
+
activity_action: "231-002-000-000-000-000-000",
|
|
5396
|
+
commercial_sex_activity: "231-002-001-000-000-000-000",
|
|
5397
|
+
commercial_sex_act_csa_linked_sex_act: "231-002-001-001-000-000-000",
|
|
5398
|
+
commercial_sex_solicitation_booking_or_arrangement: "231-002-001-002-000-000-000",
|
|
5399
|
+
commercial_sex_advertising_promotion: "231-002-001-003-000-000-000",
|
|
5400
|
+
other_commercial_sex_activity: "231-002-001-004-000-000-000",
|
|
5401
|
+
sexualized_content_sexual_performance_sexual_communications: "231-002-002-000-000-000-000",
|
|
5402
|
+
sexually_explicit_photo_video_image_activity: "231-002-002-001-000-000-000",
|
|
5403
|
+
online_sexual_performance_interactive_sexual_content: "231-002-002-002-000-000-000",
|
|
5404
|
+
in_person_sexualized_performance_appearance_based_activity: "231-002-002-003-000-000-000",
|
|
5405
|
+
sexual_or_romantic_communications_with_exploitation_relevance: "231-002-002-004-000-000-000",
|
|
5406
|
+
other_sexualized_content_performance_or_communication: "231-002-002-005-000-000-000",
|
|
5407
|
+
sexual_victimization_abuse: "231-002-003-000-000-000-000",
|
|
5408
|
+
labor_or_services: "231-002-004-000-000-000-000",
|
|
5409
|
+
debt_related_work_pledged_services_debt_repayment_arrangement: "231-002-004-001-000-000-000",
|
|
5410
|
+
adverse_work_labor_conditions: "231-002-004-002-000-000-000",
|
|
5411
|
+
criminalized_or_illicit_tasks: "231-002-004-003-000-000-000",
|
|
5412
|
+
recruitment_monitoring_or_control_of_others_as_assigned_activity: "231-002-004-004-000-000-000",
|
|
5413
|
+
other_labor_or_services_activity: "231-002-004-005-000-000-000",
|
|
5414
|
+
facilitation_operational_activities: "231-002-005-000-000-000-000",
|
|
5415
|
+
victim_vulnerabilities: "231-003-000-000-000-000-000",
|
|
5416
|
+
industry_novelty: "231-003-001-000-000-000-000",
|
|
5417
|
+
childhood_household_challenges: "231-003-002-000-000-000-000",
|
|
5418
|
+
experienced_traumas: "231-003-003-000-000-000-000",
|
|
5419
|
+
socioeconomic_circumstances: "231-003-004-000-000-000-000",
|
|
5420
|
+
behavioral_health_risks: "231-003-005-000-000-000-000",
|
|
5421
|
+
aggregated_prior_risk: "231-003-006-000-000-000-000",
|
|
5422
|
+
scheme_plan_pattern: "231-004-000-000-000-000-000",
|
|
5423
|
+
control: "231-004-001-000-000-000-000",
|
|
5424
|
+
deprivation: "231-004-002-000-000-000-000",
|
|
5425
|
+
resistance_reduction: "231-004-003-000-000-000-000",
|
|
5426
|
+
climate_of_fear: "231-004-004-000-000-000-000",
|
|
5427
|
+
threats: "231-004-005-000-000-000-000",
|
|
5428
|
+
harm_consequence_to_fear: "231-005-000-000-000-000-000",
|
|
5429
|
+
economic_housing: "231-005-001-000-000-000-000",
|
|
5430
|
+
family: "231-005-002-000-000-000-000",
|
|
5431
|
+
physical_sexual_emotional: "231-005-003-000-000-000-000",
|
|
5432
|
+
threat_of_harm: "231-005-004-000-000-000-000",
|
|
5433
|
+
legal_immigration: "231-005-005-000-000-000-000",
|
|
5434
|
+
fraud_financial_exploitation: "231-006-000-000-000-000-000",
|
|
5435
|
+
unusual_work_circumstances: "231-006-001-000-000-000-000",
|
|
5436
|
+
exploitative_working_conditions: "231-006-002-000-000-000-000",
|
|
5437
|
+
wage_earnings_exploitation: "231-006-003-000-000-000-000",
|
|
5438
|
+
deception_about_work: "231-006-004-000-000-000-000",
|
|
5439
|
+
victim_offender_status: "231-007-000-000-000-000-000",
|
|
5440
|
+
ht_determination_exploitation_type: "231-007-001-000-000-000-000",
|
|
5441
|
+
victim_status: "231-007-002-000-000-000-000",
|
|
5442
|
+
offender_status: "231-007-003-000-000-000-000",
|
|
5443
|
+
} as const;
|
|
5444
|
+
|
|
5445
|
+
export type DeterminationHelperCategoryKey = keyof typeof DeterminationHelperCategoryKeys;
|
|
5446
|
+
|
|
4969
5447
|
/**
|
|
4970
5448
|
* 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.
|
|
4971
5449
|
*
|
|
@@ -5025,3 +5503,111 @@ export const WhyNotKeys = {
|
|
|
5025
5503
|
} as const;
|
|
5026
5504
|
|
|
5027
5505
|
export type WhyNotKey = keyof typeof WhyNotKeys;
|
|
5506
|
+
|
|
5507
|
+
/**
|
|
5508
|
+
* Key → positional code map for the `assertion_status` CVC domain (GDR §10.1 `core - status`; assertion lifecycle status; PROVISIONAL, pending Notion ratification).
|
|
5509
|
+
*
|
|
5510
|
+
* Domain: `assertion_status` · Version: 1.0.0 · Entries: 7
|
|
5511
|
+
*/
|
|
5512
|
+
export const AssertionStatusKeys = {
|
|
5513
|
+
missingness_root: "985-000-000-000-000-000-000",
|
|
5514
|
+
unknown: "985-000-000-000-000-000-001",
|
|
5515
|
+
anonymous: "985-000-000-000-000-000-002",
|
|
5516
|
+
data_not_collected: "985-000-000-000-000-000-003",
|
|
5517
|
+
active: "985-001-000-000-000-000-000",
|
|
5518
|
+
superseded: "985-002-000-000-000-000-000",
|
|
5519
|
+
retracted: "985-003-000-000-000-000-000",
|
|
5520
|
+
} as const;
|
|
5521
|
+
|
|
5522
|
+
export type AssertionStatusKey = keyof typeof AssertionStatusKeys;
|
|
5523
|
+
|
|
5524
|
+
/**
|
|
5525
|
+
* Key → positional code map for the `car_correction_reason` CVC domain (provisional CVC-992; the coded KIND of a CAR correction/retraction — entered_in_error / duplicate / superseded_externally, sourced verbatim from PAVE @pave/domain CAR_CORRECTION_REASONS, plus removed_by_recipient_curation for the CaseShare received-content curation lane, bead pv-p6share-curation-retract-reason-vocab; PROVISIONAL, pending Notion ratification).
|
|
5526
|
+
*
|
|
5527
|
+
* Domain: `car_correction_reason` · Version: 1.0.0 · Entries: 8
|
|
5528
|
+
*/
|
|
5529
|
+
export const CarCorrectionReasonKeys = {
|
|
5530
|
+
missingness_root: "992-000-000-000-000-000-000",
|
|
5531
|
+
unknown: "992-000-000-000-000-000-001",
|
|
5532
|
+
anonymous: "992-000-000-000-000-000-002",
|
|
5533
|
+
data_not_collected: "992-000-000-000-000-000-003",
|
|
5534
|
+
entered_in_error: "992-001-000-000-000-000-000",
|
|
5535
|
+
duplicate: "992-002-000-000-000-000-000",
|
|
5536
|
+
superseded_externally: "992-003-000-000-000-000-000",
|
|
5537
|
+
removed_by_recipient_curation: "992-004-000-000-000-000-000",
|
|
5538
|
+
} as const;
|
|
5539
|
+
|
|
5540
|
+
export type CarCorrectionReasonKey = keyof typeof CarCorrectionReasonKeys;
|
|
5541
|
+
|
|
5542
|
+
/**
|
|
5543
|
+
* Key → positional code map for the `created_by_system` CVC domain (GDR §10.1 `core - created_by_system`; creating actor class; PROVISIONAL, pending Notion ratification).
|
|
5544
|
+
*
|
|
5545
|
+
* Domain: `created_by_system` · Version: 1.0.0 · Entries: 8
|
|
5546
|
+
*/
|
|
5547
|
+
export const CreatedBySystemKeys = {
|
|
5548
|
+
missingness_root: "986-000-000-000-000-000-000",
|
|
5549
|
+
unknown: "986-000-000-000-000-000-001",
|
|
5550
|
+
anonymous: "986-000-000-000-000-000-002",
|
|
5551
|
+
data_not_collected: "986-000-000-000-000-000-003",
|
|
5552
|
+
human: "986-001-000-000-000-000-000",
|
|
5553
|
+
integration: "986-002-000-000-000-000-000",
|
|
5554
|
+
rules_engine: "986-003-000-000-000-000-000",
|
|
5555
|
+
model: "986-004-000-000-000-000-000",
|
|
5556
|
+
} as const;
|
|
5557
|
+
|
|
5558
|
+
export type CreatedBySystemKey = keyof typeof CreatedBySystemKeys;
|
|
5559
|
+
|
|
5560
|
+
/**
|
|
5561
|
+
* Key → positional code map for the `subject_type` CVC domain (GDR §10.1 `core - subject_type`; assertion subject type; PROVISIONAL, pending Notion ratification).
|
|
5562
|
+
*
|
|
5563
|
+
* Domain: `subject_type` · Version: 1.0.0 · Entries: 7
|
|
5564
|
+
*/
|
|
5565
|
+
export const SubjectTypeKeys = {
|
|
5566
|
+
missingness_root: "987-000-000-000-000-000-000",
|
|
5567
|
+
unknown: "987-000-000-000-000-000-001",
|
|
5568
|
+
anonymous: "987-000-000-000-000-000-002",
|
|
5569
|
+
data_not_collected: "987-000-000-000-000-000-003",
|
|
5570
|
+
person: "987-001-000-000-000-000-000",
|
|
5571
|
+
relationship: "987-002-000-000-000-000-000",
|
|
5572
|
+
case: "987-003-000-000-000-000-000",
|
|
5573
|
+
} as const;
|
|
5574
|
+
|
|
5575
|
+
export type SubjectTypeKey = keyof typeof SubjectTypeKeys;
|
|
5576
|
+
|
|
5577
|
+
/**
|
|
5578
|
+
* Key → positional code map for the `minor_adult_status` CVC domain (GDR §10.1 `core - minor_adult_status`; age band at event; PROVISIONAL at 988 — canonical CVC-61 exists in the index but its Notion codebook is empty, see ADR-CVC-0.8.13 NARRATIVE_ONLY; renumber 988→61 on Notion authoring).
|
|
5579
|
+
*
|
|
5580
|
+
* Domain: `minor_adult_status` · Version: 1.0.0 · Entries: 7
|
|
5581
|
+
*/
|
|
5582
|
+
export const MinorAdultStatusKeys = {
|
|
5583
|
+
missingness_root: "988-000-000-000-000-000-000",
|
|
5584
|
+
unknown: "988-000-000-000-000-000-001",
|
|
5585
|
+
anonymous: "988-000-000-000-000-000-002",
|
|
5586
|
+
data_not_collected: "988-000-000-000-000-000-003",
|
|
5587
|
+
minor: "988-001-000-000-000-000-000",
|
|
5588
|
+
adult: "988-002-000-000-000-000-000",
|
|
5589
|
+
indeterminate: "988-003-000-000-000-000-000",
|
|
5590
|
+
} as const;
|
|
5591
|
+
|
|
5592
|
+
export type MinorAdultStatusKey = keyof typeof MinorAdultStatusKeys;
|
|
5593
|
+
|
|
5594
|
+
/**
|
|
5595
|
+
* Key → positional code map for the `criminal_org_category` CVC domain (WIKI 7-type taxonomy for the criminal-org registry; ported from prototype/data/cvcs/core_criminal_org_category.yaml; PROVISIONAL at 990 — net-new, PENDING canonical Notion authoring).
|
|
5596
|
+
*
|
|
5597
|
+
* Domain: `criminal_org_category` · Version: 1.0.0 · Entries: 11
|
|
5598
|
+
*/
|
|
5599
|
+
export const CriminalOrgCategoryKeys = {
|
|
5600
|
+
missingness_root: "990-000-000-000-000-000-000",
|
|
5601
|
+
unknown: "990-000-000-000-000-000-001",
|
|
5602
|
+
anonymous: "990-000-000-000-000-000-002",
|
|
5603
|
+
data_not_collected: "990-000-000-000-000-000-003",
|
|
5604
|
+
street_gang: "990-001-000-000-000-000-000",
|
|
5605
|
+
prison_gang: "990-002-000-000-000-000-000",
|
|
5606
|
+
outlaw_motorcycle_gang: "990-003-000-000-000-000-000",
|
|
5607
|
+
tco_cartel: "990-004-000-000-000-000-000",
|
|
5608
|
+
white_supremacist_extremist: "990-005-000-000-000-000-000",
|
|
5609
|
+
organized_crime_family: "990-006-000-000-000-000-000",
|
|
5610
|
+
familial_or_independent_trafficking_network: "990-007-000-000-000-000-000",
|
|
5611
|
+
} as const;
|
|
5612
|
+
|
|
5613
|
+
export type CriminalOrgCategoryKey = keyof typeof CriminalOrgCategoryKeys;
|