@htilabs/platform-common-models 0.8.24 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/index.cjs +81 -0
- package/dist/config/index.cjs.map +1 -1
- package/dist/config/index.d.cts +79 -4
- package/dist/config/index.d.ts +79 -4
- package/dist/config/index.js +79 -1
- package/dist/config/index.js.map +1 -1
- package/dist/constants/index.cjs +2 -18
- 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 +2 -18
- package/dist/constants/index.js.map +1 -1
- package/dist/{cvcEntry-ctHTp2df.d.cts → cvcEntry-BCj1OWqL.d.cts} +44 -44
- package/dist/{cvcEntry-ctHTp2df.d.ts → cvcEntry-BCj1OWqL.d.ts} +44 -44
- package/dist/cvcs/index.cjs +217 -6674
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +8057 -15024
- package/dist/cvcs/index.d.ts +8057 -15024
- package/dist/cvcs/index.js +217 -6662
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-qreOzXYS.d.cts → index-CoVr1jIV.d.cts} +1 -1
- package/dist/{index-4DiJrn7y.d.ts → index-I-DiX9eQ.d.ts} +1 -1
- package/dist/index.cjs +230 -7217
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -588
- package/dist/index.d.ts +26 -588
- package/dist/index.js +230 -7193
- 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 +1 -0
- package/dist/mongo/index.cjs.map +1 -1
- package/dist/mongo/index.js +2 -1
- package/dist/mongo/index.js.map +1 -1
- package/dist/{platform-auth-91Hcl8F8.d.cts → platform-auth-v53r3BhN.d.cts} +3 -4
- package/dist/{platform-auth-91Hcl8F8.d.ts → platform-auth-v53r3BhN.d.ts} +3 -4
- package/dist/schemas/index.cjs +1 -5
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +35 -35
- package/dist/schemas/index.d.ts +35 -35
- package/dist/schemas/index.js +1 -5
- 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 +0 -58
- package/dist/validation/index.cjs.map +1 -1
- package/dist/validation/index.d.cts +283 -82
- package/dist/validation/index.d.ts +283 -82
- package/dist/validation/index.js +0 -57
- package/dist/validation/index.js.map +1 -1
- package/package.json +22 -26
- package/src/__sot__/README.md +1 -36
- package/src/__sot__/coreIndicators.pin.json +2 -1936
- package/src/__sot__/cvcIndex.pin.json +4 -8
- package/src/__tests__/__snapshots__/cvc-sot.snap +13 -41
- package/src/__tests__/cvc-136-scoring-invariant.test.ts +3 -8
- package/src/__tests__/cvc-drift-gate.test.ts +12 -445
- package/src/__tests__/cvc-sot-snapshot.test.ts +11 -73
- package/src/__tests__/cvc-structural.test.ts +0 -14
- package/src/__tests__/runtime-contract-validator.test.ts +325 -1
- package/src/config/index.ts +189 -4
- package/src/constants/ic.ts +3 -120
- package/src/cvcs/assertionDomain.v1.1.0.json +1 -19
- package/src/cvcs/coreIndicators.v1.0.0.json +5 -83
- package/src/cvcs/incidentParticipationRoles.v1.0.0.json +1 -11
- package/src/cvcs/index.ts +0 -32
- package/src/cvcs/personRelationships.v1.0.0.json +2 -67
- package/src/cvcs/relationshipConcern.v1.0.0.json +19 -28
- package/src/cvcs/sessionTemplate.v1.0.0.json +0 -22
- package/src/cvcs/sharePurpose.v1.0.0.json +12 -80
- package/src/generated/cvc-enums.ts +20 -606
- package/src/validation/index.ts +0 -1
- package/dist/cvc-C7qdsXYK.d.cts +0 -298
- package/dist/cvc-C7qdsXYK.d.ts +0 -298
- package/src/__sot__/coreIndicatorFields.ts +0 -331
- package/src/__tests__/core-information-scope-invariant.test.ts +0 -134
- package/src/__tests__/cvc-181-182-country-parity.test.ts +0 -163
- package/src/__tests__/cvc-status-parser.test.ts +0 -150
- package/src/cvcs/assertionStatus.v1.0.0.json +0 -80
- package/src/cvcs/carCorrectionReason.v1.0.0.json +0 -89
- package/src/cvcs/caseShareState.v1.0.0.json +0 -62
- package/src/cvcs/coreInformationScope.v1.0.0.json +0 -1165
- package/src/cvcs/countries.v1.0.0.json +0 -3077
- package/src/cvcs/createdBySystem.v1.0.0.json +0 -89
- package/src/cvcs/criminalOrgCategory.v1.0.0.json +0 -116
- package/src/cvcs/determinationHelperCategories.v1.0.0.json +0 -1166
- package/src/cvcs/minorAdultStatus.v1.0.0.json +0 -80
- package/src/cvcs/referralOrigin.v1.0.0.json +0 -26
- package/src/cvcs/riskIdentificationMilestone.v1.0.0.json +0 -109
- package/src/cvcs/subjectType.v1.0.0.json +0 -80
- package/src/validation/cvcStatus.ts +0 -209
|
@@ -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: 19
|
|
222
222
|
*/
|
|
223
223
|
export const IncidentParticipationRoleKeys = {
|
|
224
224
|
missingness_root: "069-000-000-000-000-000-000",
|
|
@@ -240,7 +240,6 @@ 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",
|
|
244
243
|
} as const;
|
|
245
244
|
|
|
246
245
|
export type IncidentParticipationRoleKey = keyof typeof IncidentParticipationRoleKeys;
|
|
@@ -875,7 +874,7 @@ export type PreferredContactMethodKey = keyof typeof PreferredContactMethodKeys;
|
|
|
875
874
|
/**
|
|
876
875
|
* Key → positional code map for the `share_purpose` CVC domain.
|
|
877
876
|
*
|
|
878
|
-
* Domain: `share_purpose` · Version: 1.
|
|
877
|
+
* Domain: `share_purpose` · Version: 1.0.0 · Entries: 8
|
|
879
878
|
*/
|
|
880
879
|
export const SharePurposeKeys = {
|
|
881
880
|
referral: "084-001-000-000-000-000-000",
|
|
@@ -886,42 +885,10 @@ export const SharePurposeKeys = {
|
|
|
886
885
|
automatic_account_share: "084-006-000-000-000-000-000",
|
|
887
886
|
discretionary_share: "084-007-000-000-000-000-000",
|
|
888
887
|
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",
|
|
893
888
|
} as const;
|
|
894
889
|
|
|
895
890
|
export type SharePurposeKey = keyof typeof SharePurposeKeys;
|
|
896
891
|
|
|
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
|
-
|
|
925
892
|
/**
|
|
926
893
|
* Key → positional code map for the `facilitator_entity_type` CVC domain.
|
|
927
894
|
*
|
|
@@ -1186,7 +1153,7 @@ export type RelationshipTiesKey = keyof typeof RelationshipTiesKeys;
|
|
|
1186
1153
|
/**
|
|
1187
1154
|
* Key → positional code map for the `person_relationships` CVC domain.
|
|
1188
1155
|
*
|
|
1189
|
-
* Domain: `person_relationships` · Version: 1.0.0 · Entries:
|
|
1156
|
+
* Domain: `person_relationships` · Version: 1.0.0 · Entries: 89
|
|
1190
1157
|
*/
|
|
1191
1158
|
export const PersonRelationshipsKeys = {
|
|
1192
1159
|
missingness_root: "126-000-000-000-000-000-000",
|
|
@@ -1205,14 +1172,9 @@ export const PersonRelationshipsKeys = {
|
|
|
1205
1172
|
child_of: "126-001-005-001-000-000-000",
|
|
1206
1173
|
parent_of: "126-001-005-002-000-000-000",
|
|
1207
1174
|
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",
|
|
1211
1175
|
romantic_partner: "126-002-000-000-000-000-000",
|
|
1212
1176
|
dating_relationship: "126-002-001-000-000-000-000",
|
|
1213
1177
|
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",
|
|
1216
1178
|
care_household: "126-003-000-000-000-000-000",
|
|
1217
1179
|
caregiver_care_recipient: "126-003-001-000-000-000-000",
|
|
1218
1180
|
care_recipient_of: "126-003-001-001-000-000-000",
|
|
@@ -3486,22 +3448,22 @@ export const HtTypeKeys = {
|
|
|
3486
3448
|
export type HtTypeKey = keyof typeof HtTypeKeys;
|
|
3487
3449
|
|
|
3488
3450
|
/**
|
|
3489
|
-
* Key → positional code map for the `relationship_concern` CVC domain (PROVISIONAL CVC-
|
|
3451
|
+
* Key → positional code map for the `relationship_concern` CVC domain (PROVISIONAL CVC-231 — pending codebook ratification).
|
|
3490
3452
|
*
|
|
3491
|
-
* Domain: `relationship_concern` · Version: 1.
|
|
3453
|
+
* Domain: `relationship_concern` · Version: 1.0.0 · Entries: 11
|
|
3492
3454
|
*/
|
|
3493
3455
|
export const RelationshipConcernKeys = {
|
|
3494
|
-
missingness_root: "
|
|
3495
|
-
unknown: "
|
|
3496
|
-
anonymous: "
|
|
3497
|
-
data_not_collected: "
|
|
3498
|
-
appears_controlling: "
|
|
3499
|
-
is_much_older: "
|
|
3500
|
-
physically_abusive: "
|
|
3501
|
-
emotionally_abusive: "
|
|
3502
|
-
has_legal_involvement: "
|
|
3503
|
-
is_known_trafficker_or_suspect: "
|
|
3504
|
-
other_concern: "
|
|
3456
|
+
missingness_root: "231-000-000-000-000-000-000",
|
|
3457
|
+
unknown: "231-000-000-000-000-000-001",
|
|
3458
|
+
anonymous: "231-000-000-000-000-000-002",
|
|
3459
|
+
data_not_collected: "231-000-000-000-000-000-003",
|
|
3460
|
+
appears_controlling: "231-001-000-000-000-000-000",
|
|
3461
|
+
is_much_older: "231-002-000-000-000-000-000",
|
|
3462
|
+
physically_abusive: "231-003-000-000-000-000-000",
|
|
3463
|
+
emotionally_abusive: "231-004-000-000-000-000-000",
|
|
3464
|
+
has_legal_involvement: "231-005-000-000-000-000-000",
|
|
3465
|
+
is_known_trafficker_or_suspect: "231-006-000-000-000-000-000",
|
|
3466
|
+
other_concern: "231-007-000-000-000-000-000",
|
|
3505
3467
|
} as const;
|
|
3506
3468
|
|
|
3507
3469
|
export type RelationshipConcernKey = keyof typeof RelationshipConcernKeys;
|
|
@@ -3557,7 +3519,7 @@ export type HousingSubsidyTypesKey = keyof typeof HousingSubsidyTypesKeys;
|
|
|
3557
3519
|
/**
|
|
3558
3520
|
* Key → positional code map for the `assertion_domain` CVC domain (CAR assertion domain; PROVISIONAL, pending Notion ratification).
|
|
3559
3521
|
*
|
|
3560
|
-
* Domain: `assertion_domain` · Version: 2.0.0 · Entries:
|
|
3522
|
+
* Domain: `assertion_domain` · Version: 2.0.0 · Entries: 68
|
|
3561
3523
|
*/
|
|
3562
3524
|
export const AssertionDomainKeys = {
|
|
3563
3525
|
missingness_root: "159-000-000-000-000-000-000",
|
|
@@ -3628,8 +3590,6 @@ export const AssertionDomainKeys = {
|
|
|
3628
3590
|
facilitator_subrole: "159-063-000-000-000-000-000",
|
|
3629
3591
|
facilitator_entity_type: "159-064-000-000-000-000-000",
|
|
3630
3592
|
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",
|
|
3633
3593
|
} as const;
|
|
3634
3594
|
|
|
3635
3595
|
export type AssertionDomainKey = keyof typeof AssertionDomainKeys;
|
|
@@ -4062,86 +4022,6 @@ export const NeedsAssessmentChangeTypeKeys = {
|
|
|
4062
4022
|
|
|
4063
4023
|
export type NeedsAssessmentChangeTypeKey = keyof typeof NeedsAssessmentChangeTypeKeys;
|
|
4064
4024
|
|
|
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
|
-
|
|
4145
4025
|
/**
|
|
4146
4026
|
* 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).
|
|
4147
4027
|
*
|
|
@@ -4238,9 +4118,9 @@ export const DhStateKeys = {
|
|
|
4238
4118
|
export type DhStateKey = keyof typeof DhStateKeys;
|
|
4239
4119
|
|
|
4240
4120
|
/**
|
|
4241
|
-
* Key → positional code map for the `core_indicators` CVC domain (CVC-136;
|
|
4121
|
+
* Key → positional code map for the `core_indicators` CVC domain (CVC-136; 210 canonical indicator codes re-sourced from prototype `data/core_indicators.yaml` @ a596eb9 plus the 2 codes @hti/scoring emits ahead of the codebook). Entries carry `family` / `polarity` / `severity` / `isAlert` / `alertWhen`; the alert list is a DERIVED VIEW over `isAlert`, not a rival taxonomy.
|
|
4242
4122
|
*
|
|
4243
|
-
* Domain: `core_indicators` · Version: 1.0.0 · Entries:
|
|
4123
|
+
* Domain: `core_indicators` · Version: 1.0.0 · Entries: 214
|
|
4244
4124
|
*/
|
|
4245
4125
|
export const CoreIndicatorKeys = {
|
|
4246
4126
|
missingness_root: "136-000-000-000-000-000-000",
|
|
@@ -4457,35 +4337,10 @@ export const CoreIndicatorKeys = {
|
|
|
4457
4337
|
works_across_multiple_cities_or_locations: "136-208-000-000-000-000-000",
|
|
4458
4338
|
works_for_little_or_no_pay: "136-209-000-000-000-000-000",
|
|
4459
4339
|
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",
|
|
4466
4340
|
} as const;
|
|
4467
4341
|
|
|
4468
4342
|
export type CoreIndicatorKey = keyof typeof CoreIndicatorKeys;
|
|
4469
4343
|
|
|
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
|
-
|
|
4489
4344
|
/**
|
|
4490
4345
|
* 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.
|
|
4491
4346
|
*
|
|
@@ -4797,7 +4652,7 @@ export type PoViolationStatusKey = keyof typeof PoViolationStatusKeys;
|
|
|
4797
4652
|
/**
|
|
4798
4653
|
* 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`.
|
|
4799
4654
|
*
|
|
4800
|
-
* Domain: `session_template` · Version: 1.0.0 · Entries:
|
|
4655
|
+
* Domain: `session_template` · Version: 1.0.0 · Entries: 23
|
|
4801
4656
|
*/
|
|
4802
4657
|
export const SessionTemplateKeys = {
|
|
4803
4658
|
missingness_root: "217-000-000-000-000-000-000",
|
|
@@ -4823,8 +4678,6 @@ export const SessionTemplateKeys = {
|
|
|
4823
4678
|
cst_leads_new_case: "217-017-000-000-000-000-000",
|
|
4824
4679
|
cst_leads_new_lead_tip: "217-018-000-000-000-000-000",
|
|
4825
4680
|
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",
|
|
4828
4681
|
} as const;
|
|
4829
4682
|
|
|
4830
4683
|
export type SessionTemplateKey = keyof typeof SessionTemplateKeys;
|
|
@@ -5113,337 +4966,6 @@ export const CitizenshipKeys = {
|
|
|
5113
4966
|
|
|
5114
4967
|
export type CitizenshipKey = keyof typeof CitizenshipKeys;
|
|
5115
4968
|
|
|
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
|
-
|
|
5447
4969
|
/**
|
|
5448
4970
|
* 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.
|
|
5449
4971
|
*
|
|
@@ -5503,111 +5025,3 @@ export const WhyNotKeys = {
|
|
|
5503
5025
|
} as const;
|
|
5504
5026
|
|
|
5505
5027
|
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;
|