@htilabs/platform-common-models 0.9.0 → 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.
Files changed (149) hide show
  1. package/dist/config/index.cjs +85 -0
  2. package/dist/config/index.cjs.map +1 -1
  3. package/dist/config/index.d.cts +94 -4
  4. package/dist/config/index.d.ts +94 -4
  5. package/dist/config/index.js +81 -1
  6. package/dist/config/index.js.map +1 -1
  7. package/dist/constants/index.cjs +456 -181
  8. package/dist/constants/index.cjs.map +1 -1
  9. package/dist/constants/index.d.cts +1 -1
  10. package/dist/constants/index.d.ts +1 -1
  11. package/dist/constants/index.js +453 -169
  12. package/dist/constants/index.js.map +1 -1
  13. package/dist/cvcs/index.cjs +15331 -801
  14. package/dist/cvcs/index.cjs.map +1 -1
  15. package/dist/cvcs/index.d.cts +18167 -2208
  16. package/dist/cvcs/index.d.ts +18167 -2208
  17. package/dist/cvcs/index.js +15282 -801
  18. package/dist/cvcs/index.js.map +1 -1
  19. package/dist/{index-Zu_mOJRn.d.cts → index-CoVr1jIV.d.cts} +1 -1
  20. package/dist/{index-CDoqrfc1.d.ts → index-I-DiX9eQ.d.ts} +1 -1
  21. package/dist/index.cjs +17070 -1056
  22. package/dist/index.cjs.map +1 -1
  23. package/dist/index.d.cts +1638 -12
  24. package/dist/index.d.ts +1638 -12
  25. package/dist/index.js +16969 -1043
  26. package/dist/index.js.map +1 -1
  27. package/dist/models/index.d.cts +2 -2
  28. package/dist/models/index.d.ts +2 -2
  29. package/dist/mongo/index.cjs +384 -0
  30. package/dist/mongo/index.cjs.map +1 -0
  31. package/dist/mongo/index.d.cts +221 -0
  32. package/dist/mongo/index.d.ts +221 -0
  33. package/dist/mongo/index.js +352 -0
  34. package/dist/mongo/index.js.map +1 -0
  35. package/dist/{platform-auth-XVB9aHqR.d.cts → platform-auth-v53r3BhN.d.cts} +19 -75
  36. package/dist/{platform-auth-XVB9aHqR.d.ts → platform-auth-v53r3BhN.d.ts} +19 -75
  37. package/dist/schemas/index.cjs +25 -156
  38. package/dist/schemas/index.cjs.map +1 -1
  39. package/dist/schemas/index.d.cts +25 -25
  40. package/dist/schemas/index.d.ts +25 -25
  41. package/dist/schemas/index.js +25 -156
  42. package/dist/schemas/index.js.map +1 -1
  43. package/dist/services/index.cjs +0 -3
  44. package/dist/services/index.cjs.map +1 -1
  45. package/dist/services/index.js +0 -3
  46. package/dist/services/index.js.map +1 -1
  47. package/dist/types/index.d.cts +2 -2
  48. package/dist/types/index.d.ts +2 -2
  49. package/package.json +9 -1
  50. package/src/__sot__/README.md +56 -0
  51. package/src/__sot__/coreIndicators.pin.json +215 -0
  52. package/src/__sot__/cvcIndex.pin.json +268 -0
  53. package/src/__sot__/scoringEmits.pin.json +176 -0
  54. package/src/__tests__/__snapshots__/cvc-sot.snap +227 -35
  55. package/src/__tests__/cvc-136-scoring-invariant.test.ts +323 -0
  56. package/src/__tests__/cvc-drift-gate.test.ts +603 -0
  57. package/src/__tests__/cvc-sot-snapshot.test.ts +122 -11
  58. package/src/__tests__/cvc-structural.test.ts +56 -1
  59. package/src/__tests__/mongo-verifier.test.ts +502 -0
  60. package/src/__tests__/runtime-contract-validator.test.ts +325 -1
  61. package/src/config/index.ts +197 -6
  62. package/src/constants/ic.ts +512 -206
  63. package/src/constants/service-catalog.ts +4 -2
  64. package/src/cvcs/activityType.v1.0.0.json +143 -0
  65. package/src/cvcs/adminRoles.v1.0.0.json +153 -0
  66. package/src/cvcs/administeringJurisdiction.v1.0.0.json +40 -40
  67. package/src/cvcs/ageBinReporting.v1.0.0.json +40 -40
  68. package/src/cvcs/assertionDomain.v1.1.0.json +629 -0
  69. package/src/cvcs/{checkInPhase.v1.0.0.json → checkInPhase.v1.1.0.json} +20 -2
  70. package/src/cvcs/childChangeType.v1.0.0.json +152 -0
  71. package/src/cvcs/citizenship.v1.0.0.json +3062 -0
  72. package/src/cvcs/contactInfoTypes.v1.0.0.json +40 -40
  73. package/src/cvcs/contactLinkType.v1.0.0.json +89 -0
  74. package/src/cvcs/coreDhState.v1.0.0.json +113 -0
  75. package/src/cvcs/coreFunctions.v1.0.0.json +746 -0
  76. package/src/cvcs/coreIndicators.v1.0.0.json +2840 -0
  77. package/src/cvcs/coreReferralOutcome.v1.0.0.json +71 -0
  78. package/src/cvcs/employmentStatus.v1.0.0.json +60 -60
  79. package/src/cvcs/exploitationType.v1.0.0.json +106 -0
  80. package/src/cvcs/facilitatorEntityType.v1.0.0.json +40 -40
  81. package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +55 -46
  82. package/src/cvcs/hivStatus.v1.0.0.json +71 -0
  83. package/src/cvcs/hmisCurrentLivingSituation.v1.0.0.json +409 -0
  84. package/src/cvcs/hmisRelationshipToHoh.v1.0.0.json +104 -0
  85. package/src/cvcs/homelessStatus.v1.0.0.json +27 -27
  86. package/src/cvcs/housingSubsidyTypes.v1.0.0.json +161 -0
  87. package/src/cvcs/htType.v1.0.0.json +87 -0
  88. package/src/cvcs/identificationStatus.v1.0.0.json +18 -0
  89. package/src/cvcs/immigrationLegalStatusChangeType.v1.0.0.json +143 -0
  90. package/src/cvcs/incarcerationEpisodeType.v1.0.0.json +106 -0
  91. package/src/cvcs/incidentInvolvementRoles.v1.0.0.json +40 -40
  92. package/src/cvcs/incidentParticipationRoles.v1.0.0.json +40 -40
  93. package/src/cvcs/incomeBenefitsSources.v1.0.0.json +31 -2
  94. package/src/cvcs/index.ts +106 -1
  95. package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +28 -18
  96. package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +32 -32
  97. package/src/cvcs/livingSituation.v1.0.0.json +213 -0
  98. package/src/cvcs/mentalHealthStatus.v1.0.0.json +71 -0
  99. package/src/cvcs/militaryBranch.v1.0.0.json +20 -20
  100. package/src/cvcs/militaryStatus.v1.0.0.json +20 -20
  101. package/src/cvcs/nameType.v1.0.0.json +40 -40
  102. package/src/cvcs/needsAssessmentChangeType.v1.0.0.json +134 -0
  103. package/src/cvcs/offenderStatus.v1.0.0.json +40 -40
  104. package/src/cvcs/offenderStatusFamily.v1.0.0.json +36 -36
  105. package/src/cvcs/poPetitionBasis.v1.0.0.json +96 -0
  106. package/src/cvcs/poStatus.v1.0.0.json +144 -0
  107. package/src/cvcs/poViolationStatus.v1.0.0.json +76 -0
  108. package/src/cvcs/programEnrollmentChangeType.v1.0.0.json +134 -0
  109. package/src/cvcs/provenanceSourceId.v1.0.0.json +134 -0
  110. package/src/cvcs/radiusBucket.v1.0.0.json +110 -0
  111. package/src/cvcs/recencyBand.v1.0.0.json +104 -39
  112. package/src/cvcs/referralEntityCategory.v1.0.0.json +40 -40
  113. package/src/cvcs/relationshipConcern.v1.0.0.json +114 -0
  114. package/src/cvcs/riskCategory.v1.0.0.json +134 -0
  115. package/src/cvcs/riskSeverityBand.v1.0.0.json +139 -0
  116. package/src/cvcs/roiMethod.v1.0.0.json +107 -0
  117. package/src/cvcs/roiScope.v1.0.0.json +296 -0
  118. package/src/cvcs/roiStatus.v1.0.0.json +106 -0
  119. package/src/cvcs/romanticRelationshipChangeType.v1.0.0.json +162 -0
  120. package/src/cvcs/serviceAudience.v1.0.0.json +96 -0
  121. package/src/cvcs/serviceCategories.v1.0.0.json +44 -44
  122. package/src/cvcs/serviceDeliveryChannel.v1.0.0.json +147 -0
  123. package/src/cvcs/serviceMechanisms.v1.0.0.json +36 -36
  124. package/src/cvcs/serviceStates.v1.0.0.json +55 -33
  125. package/src/cvcs/sessionNoteVisibility.v1.0.0.json +80 -0
  126. package/src/cvcs/sessionTemplate.v1.0.0.json +261 -0
  127. package/src/cvcs/sexProviderSubrole.v1.0.0.json +35 -28
  128. package/src/cvcs/smtType.v1.0.0.json +40 -40
  129. package/src/cvcs/sourceCategory.v1.1.0.json +8 -1
  130. package/src/cvcs/sourceInstrument.v1.0.0.json +458 -0
  131. package/src/cvcs/sourceSubtype.v1.1.0.json +36 -0
  132. package/src/cvcs/sourceSystem.v1.0.0.json +203 -0
  133. package/src/cvcs/specialNeedsDisabilities.v1.0.0.json +143 -0
  134. package/src/cvcs/suggestionSource.v1.0.0.json +71 -0
  135. package/src/cvcs/traffickingRelevantRole.v1.0.0.json +104 -0
  136. package/src/cvcs/userRoles.v1.0.0.json +203 -0
  137. package/src/cvcs/verificationMethod.v1.0.0.json +18 -0
  138. package/src/cvcs/victimAbuseTypes.v1.0.0.json +276 -0
  139. package/src/cvcs/victimStatusFamily.v1.0.0.json +40 -40
  140. package/src/cvcs/whyNots.v1.0.0.json +385 -0
  141. package/src/generated/cvc-enums.ts +1729 -7
  142. package/src/mongo/catalog.ts +65 -0
  143. package/src/mongo/contract.ts +157 -0
  144. package/src/mongo/index.ts +343 -0
  145. package/src/mongo/similarity.ts +133 -0
  146. package/src/mongo/uri.ts +53 -0
  147. package/src/services/cvcRegistryService.ts +1 -1
  148. package/dist/{cvcEntry-0BIB9sen.d.cts → cvcEntry-BCj1OWqL.d.cts} +8 -8
  149. package/dist/{cvcEntry-0BIB9sen.d.ts → cvcEntry-BCj1OWqL.d.ts} +8 -8
@@ -0,0 +1,161 @@
1
+ {
2
+ "domain": "housing_subsidy_types",
3
+ "name": "Core Housing Subsidy Types (CVC-194)",
4
+ "version": "1.1.0",
5
+ "_status": "CANONICAL NUMBER — RENUMBERED 0.8.13 from CVC-233 to canonical CVC-194. 0.8.12 and earlier shipped this domain at 233, which is NOT its number: live prototype HEAD a596eb9 `Final CVCs/CVC_INDEX.md:47` assigns `core - housing subsidy types` = CVC-194 (Owner Crysta Price, Verification 'Verified', Status 'Drafted - Needs Review'), while `CVC_INDEX.md:31` assigns CVC-233 to a DIFFERENT vocabulary — `core-DH_state`, the five-state determination (Findings) lifecycle (Ready for dev), whose yaml `data/cvcs/core_DH_state.yaml` self-declares `CVC-233 - v1`. This was an unambiguous MISNUMBER, not an ambiguous upstream collision (cf. the held CVC-140 / 161 / 235). platform-common was squatting on DH_state's number while its own canonical number sat free. CONSEQUENCE OF THE SQUAT: because slot 233 LOOKED occupied, the drift/gap analysis never saw that `core-DH_state` was missing entirely. The squat MASKED a real gap. `core-DH_state` is authored at its correct number CVC-233 in this same release (`src/cvcs/coreDhState.v1.0.0.json`). Renumbering is free: no production data exists and consumers persist KEYS, not wire codes. `HousingSubsidyTypesKeys` IS bound by PAVE, but only the generated map VALUES change (`233-*` -> `194-*`); the key identifiers and the TypeScript types are unchanged. Regenerate `cvcKeys.ts`. Substantive segment-2 ordinals are preserved across the renumber.",
6
+ "_source": "htilabstech/prototype@a596eb9 Final CVCs/Living Situation (IC-73)/core - housing subsidy types (CVC-194)",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Housing subsidy type"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "194-000-000-000-000-000-000",
14
+ "key": "missingness_root",
15
+ "title": "Unknown, Redacted, or Missing",
16
+ "selectable": false,
17
+ "parentCode": null,
18
+ "childCodes": [
19
+ "194-000-000-000-000-000-001",
20
+ "194-000-000-000-000-000-002",
21
+ "194-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
24
+ },
25
+ {
26
+ "code": "194-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown / not captured",
29
+ "selectable": true,
30
+ "parentCode": "194-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "The housing subsidy type is unknown or cannot be determined from the available information."
33
+ },
34
+ {
35
+ "code": "194-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "194-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "The housing subsidy type may be withheld by preference or due to redaction; identity is anonymous or redacted."
42
+ },
43
+ {
44
+ "code": "194-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "194-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the housing subsidy type."
51
+ },
52
+ {
53
+ "code": "194-001-000-000-000-000-000",
54
+ "key": "housing_choice_voucher",
55
+ "title": "Housing Choice Voucher (Section 8 HCV)",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Tenant-based rental assistance through the HUD Housing Choice Voucher program (Section 8 HCV), which subsidizes rent in private-market units chosen by the tenant."
60
+ },
61
+ {
62
+ "code": "194-002-000-000-000-000-000",
63
+ "key": "public_housing",
64
+ "title": "Public housing",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Residence in a public housing unit owned and operated by a public housing authority (PHA), with rent set as a subsidized share of household income."
69
+ },
70
+ {
71
+ "code": "194-003-000-000-000-000-000",
72
+ "key": "project_based_rental_assistance",
73
+ "title": "Project-based rental assistance",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Rental assistance tied to a specific housing development or unit (e.g. project-based Section 8, project-based vouchers, or other site-based subsidy) rather than to the tenant."
78
+ },
79
+ {
80
+ "code": "194-004-000-000-000-000-000",
81
+ "key": "permanent_supportive_housing",
82
+ "title": "Permanent supportive housing (PSH)",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Permanent housing that pairs a long-term rental subsidy with voluntary supportive services for people with disabilities or chronic homelessness (HUD CoC PSH)."
87
+ },
88
+ {
89
+ "code": "194-005-000-000-000-000-000",
90
+ "key": "rapid_rehousing_assistance",
91
+ "title": "Rapid re-housing assistance",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "Time-limited rental assistance and housing-stabilization services to help a household quickly exit homelessness into permanent housing (HUD CoC/ESG rapid re-housing)."
96
+ },
97
+ {
98
+ "code": "194-008-000-000-000-000-000",
99
+ "key": "va_supportive_housing",
100
+ "title": "VA Supportive Housing (HUD-VASH)",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "HUD-VASH: a HUD Housing Choice Voucher paired with VA case management and clinical services for homeless Veterans."
105
+ },
106
+ {
107
+ "code": "194-009-000-000-000-000-000",
108
+ "key": "grant_per_diem_transition_in_place",
109
+ "title": "Grant and Per Diem Transition-in-Place (GPD TIP)",
110
+ "selectable": true,
111
+ "parentCode": null,
112
+ "childCodes": [],
113
+ "definition": "VA Grant and Per Diem Transition-in-Place: transitional housing that converts to permanent housing for the Veteran in the same unit."
114
+ },
115
+ {
116
+ "code": "194-010-000-000-000-000-000",
117
+ "key": "housing_stability_voucher",
118
+ "title": "Housing Stability Voucher (HSV)",
119
+ "selectable": true,
120
+ "parentCode": null,
121
+ "childCodes": [],
122
+ "definition": "Housing Stability Voucher: rental assistance for individuals and families who are homeless, at risk of homelessness, or fleeing domestic violence."
123
+ },
124
+ {
125
+ "code": "194-011-000-000-000-000-000",
126
+ "key": "family_unification_program",
127
+ "title": "Family Unification Program (FUP)",
128
+ "selectable": true,
129
+ "parentCode": null,
130
+ "childCodes": [],
131
+ "definition": "Family Unification Program: HUD vouchers for families at risk of child-welfare separation and for eligible youth aging out of foster care."
132
+ },
133
+ {
134
+ "code": "194-012-000-000-000-000-000",
135
+ "key": "foster_youth_to_independence",
136
+ "title": "Foster Youth to Independence (FYI)",
137
+ "selectable": true,
138
+ "parentCode": null,
139
+ "childCodes": [],
140
+ "definition": "Foster Youth to Independence: HUD vouchers for youth aging out of foster care who are homeless or at risk of homelessness."
141
+ },
142
+ {
143
+ "code": "194-006-000-000-000-000-000",
144
+ "key": "other_housing_subsidy",
145
+ "title": "Other housing subsidy",
146
+ "selectable": true,
147
+ "parentCode": null,
148
+ "childCodes": [],
149
+ "definition": "A housing subsidy or rental-assistance program not covered by the other codes (e.g. state or local subsidy, HOME TBRA, or other program). Record program name and free-text detail alongside this code to preserve analytic value."
150
+ },
151
+ {
152
+ "code": "194-007-000-000-000-000-000",
153
+ "key": "no_subsidy",
154
+ "title": "No housing subsidy",
155
+ "selectable": true,
156
+ "parentCode": null,
157
+ "childCodes": [],
158
+ "definition": "The household receives no housing subsidy or rental assistance (housing costs are paid in full without a subsidy)."
159
+ }
160
+ ]
161
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "domain": "ht_type",
3
+ "name": "Core Human Trafficking Type",
4
+ "version": "1.0.0",
5
+ "levels": {
6
+ "0": "Unknown or Missing",
7
+ "1": "Trafficking type"
8
+ },
9
+ "entries": [
10
+ {
11
+ "code": "072-000-000-000-000-000-000",
12
+ "key": "missingness_root",
13
+ "title": "Unknown, Redacted, or Missing",
14
+ "selectable": false,
15
+ "parentCode": null,
16
+ "childCodes": [
17
+ "072-000-000-000-000-000-001",
18
+ "072-000-000-000-000-000-002",
19
+ "072-000-000-000-000-000-003"
20
+ ],
21
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
22
+ },
23
+ {
24
+ "code": "072-000-000-000-000-000-001",
25
+ "key": "unknown",
26
+ "title": "Unknown",
27
+ "selectable": true,
28
+ "parentCode": "072-000-000-000-000-000-000",
29
+ "childCodes": [],
30
+ "definition": "The trafficking type is unknown or cannot be determined from the available information."
31
+ },
32
+ {
33
+ "code": "072-000-000-000-000-000-002",
34
+ "key": "anonymous",
35
+ "title": "Anonymous / declined to answer",
36
+ "selectable": true,
37
+ "parentCode": "072-000-000-000-000-000-000",
38
+ "childCodes": [],
39
+ "definition": "The trafficking type may be withheld by preference or due to redaction; identity is anonymous or redacted."
40
+ },
41
+ {
42
+ "code": "072-000-000-000-000-000-003",
43
+ "key": "data_not_collected",
44
+ "title": "Data not collected",
45
+ "selectable": true,
46
+ "parentCode": "072-000-000-000-000-000-000",
47
+ "childCodes": [],
48
+ "definition": "No attempt was made to collect the trafficking type."
49
+ },
50
+ {
51
+ "code": "072-001-000-000-000-000-000",
52
+ "key": "sex",
53
+ "title": "Sex Trafficking",
54
+ "selectable": true,
55
+ "parentCode": null,
56
+ "childCodes": [],
57
+ "definition": "Sex trafficking victimization. Commercial sex acts induced by force, fraud, or coercion, or involving a minor, as asserted by the source at their stated confidence level."
58
+ },
59
+ {
60
+ "code": "072-002-000-000-000-000-000",
61
+ "key": "labor",
62
+ "title": "Labor Trafficking",
63
+ "selectable": true,
64
+ "parentCode": null,
65
+ "childCodes": [],
66
+ "definition": "Labor trafficking victimization. Forced labor or services obtained through force, fraud, or coercion, as asserted by the source at their stated confidence level."
67
+ },
68
+ {
69
+ "code": "072-003-000-000-000-000-000",
70
+ "key": "sex_and_labor",
71
+ "title": "Sex and Labor Trafficking",
72
+ "selectable": true,
73
+ "parentCode": null,
74
+ "childCodes": [],
75
+ "definition": "Both sex trafficking and labor trafficking are asserted to apply, either concurrently or across the relevant time window. Use when credible assertions exist for both sex and labor trafficking for the same subject / time context."
76
+ },
77
+ {
78
+ "code": "072-004-000-000-000-000-000",
79
+ "key": "none",
80
+ "title": "None",
81
+ "selectable": true,
82
+ "parentCode": null,
83
+ "childCodes": [],
84
+ "definition": "No trafficking type asserted — an explicit NEGATIVE determination rather than a trafficking type. The picker surfaces `none` alongside the substantive codes (sex / labor / sex_and_labor) so an advocate can assert 'this person is not a trafficking victim of any specific type.' Pair with victim_status_family = no_indication when the negative determination spans the victim assertion. Canonical per Crysta directive 2026-05-27 (core_ht_type.yaml), which overrides the 2026-04-26 bundle's prior 'remove None from canonical' recommendation."
85
+ }
86
+ ]
87
+ }
@@ -75,6 +75,24 @@
75
75
  "parentCode": null,
76
76
  "childCodes": [],
77
77
  "definition": "Advocate's deliberate choice to keep the person's name off the subject's record even when known (privacy / safety / legal-strategy reasons), or when documenting the name would risk the survivor or third party. Pairs with Name kind 'Anonymous'. This is a capture-intent posture, distinct from the missingness 'anonymous' sentinel."
78
+ },
79
+ {
80
+ "code": "929-004-000-000-000-000-000",
81
+ "key": "estimated_persona",
82
+ "title": "Estimated persona",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "A persona that exists in data/systems (resolved _id with linked source records) but has NOT been confirmed to represent a real person. Typically inferred (entity resolution / algorithm-clustered ads); maps 1:1 to the LEADS IDB 'not verified' icon. An estimated_persona record must never render as an identified person. Added 2026-06-12 per ruling M3 (Terry) so the platform-milestone IDENTIFICATION value maps exactly; RENAMED that day from the prototype's working code SYSTEM_ENTITY to avoid collision with facilitator_entity_type. Previously approximated as unidentified."
87
+ },
88
+ {
89
+ "code": "929-005-000-000-000-000-000",
90
+ "key": "confirmed",
91
+ "title": "Confirmed (identity unknown)",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "Confirmed to be a real person, but the specific identity is unknown — the 'real person, identity unknown' degree that sat between unidentified and identified with no code before 2026-06-12 (ruling M3). Distinct from unidentified (capture intent: known-of via relationship, no name) in that confirmation is an explicit analyst/advocate determination that the entity is real."
78
96
  }
79
97
  ]
80
98
  }
@@ -0,0 +1,143 @@
1
+ {
2
+ "domain": "immigration_legal_status_change_type",
3
+ "name": "Immigration & Legal Status Change Type",
4
+ "version": "1.0.0",
5
+ "_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering; codes from prototype/data/cvcs/core_immigration_legal_status_change_type.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Change-type (CAR verb) vocabulary for the Core Profile Immigration & Legal Status sub-section: per-question capture/update events plus section decline/recapture state transitions.",
6
+ "_source": "prototype/data/cvcs/core_immigration_legal_status_change_type.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Immigration & legal status change type"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "977-000-000-000-000-000-000",
14
+ "key": "missingness_root",
15
+ "title": "Unknown, Redacted, or Missing",
16
+ "selectable": false,
17
+ "parentCode": null,
18
+ "childCodes": [
19
+ "977-000-000-000-000-000-001",
20
+ "977-000-000-000-000-000-002",
21
+ "977-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Standard workspace missingness triplet; the prototype YAML enumerates only level-1 canonical change-type verbs, so the triplet is added per SOT convention."
24
+ },
25
+ {
26
+ "code": "977-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "977-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Change type is unknown at time of entry."
33
+ },
34
+ {
35
+ "code": "977-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "977-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
42
+ },
43
+ {
44
+ "code": "977-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "977-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "Not collected during this interaction. System-only sentinel per GLOBAL_DESIGN_RULES."
51
+ },
52
+ {
53
+ "code": "977-001-000-000-000-000-000",
54
+ "key": "immigration_legal_status_section_declined",
55
+ "title": "Section declined",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Advocate toggled the section's decline-to-answer toggle ON. Records `section_declined` set to `true` per recommendations doc § 4.1.3; `assertion_value_code` set to `DECLINED_TO_ANSWER` per `GDR § 6.5.8`. Clears section's missing-data nag for risk algo."
60
+ },
61
+ {
62
+ "code": "977-002-000-000-000-000-000",
63
+ "key": "immigration_legal_status_section_recaptured",
64
+ "title": "Section recaptured",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Advocate toggled the section's decline-to-answer toggle OFF (returning to capture). Records `section_declined` set to `false` and re-enables per-question capture per recommendations doc § 4.1.3."
69
+ },
70
+ {
71
+ "code": "977-003-000-000-000-000-000",
72
+ "key": "immigration_visa_captured",
73
+ "title": "Visa captured",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "First-time capture of `p.demographics.visa_type` + optional `visa_expires_at` per recommendations doc § 4.1.1 Q1 + Q1.a."
78
+ },
79
+ {
80
+ "code": "977-004-000-000-000-000-000",
81
+ "key": "immigration_visa_updated",
82
+ "title": "Visa updated",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Edit to existing visa-type or expiration data. Material edit per `GDR § 5.6.4` (visa changes drive risk-algo + service-eligibility consumers)."
87
+ },
88
+ {
89
+ "code": "977-005-000-000-000-000-000",
90
+ "key": "identification_status_captured",
91
+ "title": "Identification status captured",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "First-time capture of `p.demographics.has_proof_of_id` + optional `proof_of_id_types[]` per recommendations doc § 4.1.1 Q2 + Q2.a."
96
+ },
97
+ {
98
+ "code": "977-006-000-000-000-000-000",
99
+ "key": "identification_status_updated",
100
+ "title": "Identification status updated",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "Edit to existing identification data — has-proof Y/N change, types added / removed."
105
+ },
106
+ {
107
+ "code": "977-007-000-000-000-000-000",
108
+ "key": "le_report_status_captured",
109
+ "title": "LE report status captured",
110
+ "selectable": true,
111
+ "parentCode": null,
112
+ "childCodes": [],
113
+ "definition": "First-time capture of `p.demographics.le_report_status` + optional Q3.a / Q3.b sub-fields per recommendations doc § 4.1.1 Q3."
114
+ },
115
+ {
116
+ "code": "977-008-000-000-000-000-000",
117
+ "key": "le_report_status_updated",
118
+ "title": "LE report status updated",
119
+ "selectable": true,
120
+ "parentCode": null,
121
+ "childCodes": [],
122
+ "definition": "Edit to existing LE-report status (transition from `scheduled` → `yes_reported` after the interview occurs; agency / agent / report# changes; etc.)."
123
+ },
124
+ {
125
+ "code": "977-009-000-000-000-000-000",
126
+ "key": "trafficking_screening_captured",
127
+ "title": "Trafficking screening captured",
128
+ "selectable": true,
129
+ "parentCode": null,
130
+ "childCodes": [],
131
+ "definition": "First-time capture of attorney trafficking screening fact-anchor per recommendations doc § 4.1.1 Q4 + Q4.a + Q4.b + Q4.c. When Q4.c indicates platform-internal screening, this verb is auto-derived from the platform's IDA + Determination Helper assertions per § 6.5."
132
+ },
133
+ {
134
+ "code": "977-010-000-000-000-000-000",
135
+ "key": "trafficking_screening_updated",
136
+ "title": "Trafficking screening updated",
137
+ "selectable": true,
138
+ "parentCode": null,
139
+ "childCodes": [],
140
+ "definition": "Edit to existing trafficking-screening data — attorney info update, date update, etc."
141
+ }
142
+ ]
143
+ }
@@ -0,0 +1,106 @@
1
+ {
2
+ "domain": "incarceration_episode_type",
3
+ "name": "Core Incarceration Episode Type (CVC-198)",
4
+ "version": "1.0.0",
5
+ "_status": "CANONICAL — imported 0.8.13 from the Notion Final CVC codebook (CVC-198, Owner Crysta Price, Status 'Drafted - Needs Review'). Value set for classifying incarceration episode type when `assertion_domain = incarceration` (custody stays such as jail / prison / detention).",
6
+ "_source": "htilabstech/prototype@a596eb9 Living Situation (IC-73)/core - incarceration episode type — codebook 1.csv (CVC-198)",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Incarceration episode type"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "198-000-000-000-000-000-000",
14
+ "key": "missingness_root",
15
+ "title": "Unknown, Redacted, or Missing",
16
+ "selectable": false,
17
+ "parentCode": null,
18
+ "childCodes": [
19
+ "198-000-000-000-000-000-001",
20
+ "198-000-000-000-000-000-002",
21
+ "198-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected) under the workspace standard ANON semantic."
24
+ },
25
+ {
26
+ "code": "198-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "198-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Unknown or cannot be determined from the available information.",
33
+ "canonicalCode": "UNK"
34
+ },
35
+ {
36
+ "code": "198-000-000-000-000-000-002",
37
+ "key": "anonymous",
38
+ "title": "Anonymous / declined to answer",
39
+ "selectable": true,
40
+ "parentCode": "198-000-000-000-000-000-000",
41
+ "childCodes": [],
42
+ "definition": "Information may be withheld by preference or due to redaction; identity is anonymous or redacted.",
43
+ "canonicalCode": "ANON"
44
+ },
45
+ {
46
+ "code": "198-000-000-000-000-000-003",
47
+ "key": "data_not_collected",
48
+ "title": "Data not collected",
49
+ "selectable": true,
50
+ "parentCode": "198-000-000-000-000-000-000",
51
+ "childCodes": [],
52
+ "definition": "No attempt was made to collect the information.",
53
+ "canonicalCode": "DNC"
54
+ },
55
+ {
56
+ "code": "198-001-000-000-000-000-000",
57
+ "key": "jail",
58
+ "title": "Jail",
59
+ "selectable": true,
60
+ "parentCode": null,
61
+ "childCodes": [],
62
+ "definition": "Custody stay in a jail facility (typically local/county).",
63
+ "canonicalCode": "jail"
64
+ },
65
+ {
66
+ "code": "198-002-000-000-000-000-000",
67
+ "key": "detention",
68
+ "title": "Detention (generic custody)",
69
+ "selectable": true,
70
+ "parentCode": null,
71
+ "childCodes": [],
72
+ "definition": "Custody stay where jail vs prison is unknown/unspecified (generic detention).",
73
+ "canonicalCode": "detention"
74
+ },
75
+ {
76
+ "code": "198-003-000-000-000-000-000",
77
+ "key": "prison",
78
+ "title": "Prison",
79
+ "selectable": true,
80
+ "parentCode": null,
81
+ "childCodes": [],
82
+ "definition": "Custody stay in a prison facility (state/federal).",
83
+ "canonicalCode": "prison"
84
+ },
85
+ {
86
+ "code": "198-004-000-000-000-000-000",
87
+ "key": "immigration_detention",
88
+ "title": "Immigration detention",
89
+ "selectable": true,
90
+ "parentCode": null,
91
+ "childCodes": [],
92
+ "definition": "Custody stay in immigration detention (civil detention under immigration authority).",
93
+ "canonicalCode": "immigration_detention"
94
+ },
95
+ {
96
+ "code": "198-005-000-000-000-000-000",
97
+ "key": "work_release_or_halfway_house_custody",
98
+ "title": "Work release / custody in halfway house",
99
+ "selectable": true,
100
+ "parentCode": null,
101
+ "childCodes": [],
102
+ "definition": "Custody arrangement where the person is in a work-release program or custody-like halfway house setting (only when treated as custody).",
103
+ "canonicalCode": "work_release_or_halfway_house_custody"
104
+ }
105
+ ]
106
+ }
@@ -7,6 +7,46 @@
7
7
  "1": "Involvement Role"
8
8
  },
9
9
  "entries": [
10
+ {
11
+ "code": "130-000-000-000-000-000-000",
12
+ "key": "missingness_root",
13
+ "title": "Unknown, Redacted, or Missing",
14
+ "selectable": false,
15
+ "parentCode": null,
16
+ "childCodes": [
17
+ "130-000-000-000-000-000-001",
18
+ "130-000-000-000-000-000-002",
19
+ "130-000-000-000-000-000-003"
20
+ ],
21
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
22
+ },
23
+ {
24
+ "code": "130-000-000-000-000-000-001",
25
+ "key": "unknown",
26
+ "title": "Unknown",
27
+ "selectable": true,
28
+ "parentCode": "130-000-000-000-000-000-000",
29
+ "childCodes": [],
30
+ "definition": "Value is unknown at time of entry."
31
+ },
32
+ {
33
+ "code": "130-000-000-000-000-000-002",
34
+ "key": "anonymous",
35
+ "title": "Anonymous",
36
+ "selectable": true,
37
+ "parentCode": "130-000-000-000-000-000-000",
38
+ "childCodes": [],
39
+ "definition": "Value is intentionally withheld or redacted."
40
+ },
41
+ {
42
+ "code": "130-000-000-000-000-000-003",
43
+ "key": "data_not_collected",
44
+ "title": "Data not collected",
45
+ "selectable": true,
46
+ "parentCode": "130-000-000-000-000-000-000",
47
+ "childCodes": [],
48
+ "definition": "No attempt was made to collect the value."
49
+ },
10
50
  {
11
51
  "code": "130-001-000-000-000-000-000",
12
52
  "key": "victim_primary",
@@ -60,46 +100,6 @@
60
100
  "parentCode": null,
61
101
  "childCodes": [],
62
102
  "definition": "A relevant dependent (often a child) involved in the situation, not necessarily asserted harmed."
63
- },
64
- {
65
- "code": "130-000-000-000-000-000-000",
66
- "key": "missingness_root",
67
- "title": "Unknown, Redacted, or Missing",
68
- "selectable": false,
69
- "parentCode": null,
70
- "childCodes": [
71
- "130-000-000-000-000-000-001",
72
- "130-000-000-000-000-000-002",
73
- "130-000-000-000-000-000-003"
74
- ],
75
- "definition": "Root group for values indicating absent, withheld, or uncollected data."
76
- },
77
- {
78
- "code": "130-000-000-000-000-000-001",
79
- "key": "unknown",
80
- "title": "Unknown",
81
- "selectable": true,
82
- "parentCode": "130-000-000-000-000-000-000",
83
- "childCodes": [],
84
- "definition": "Value is unknown at time of entry."
85
- },
86
- {
87
- "code": "130-000-000-000-000-000-002",
88
- "key": "anonymous",
89
- "title": "Anonymous",
90
- "selectable": true,
91
- "parentCode": "130-000-000-000-000-000-000",
92
- "childCodes": [],
93
- "definition": "Value is intentionally withheld or redacted."
94
- },
95
- {
96
- "code": "130-000-000-000-000-000-003",
97
- "key": "data_not_collected",
98
- "title": "Data not collected",
99
- "selectable": true,
100
- "parentCode": "130-000-000-000-000-000-000",
101
- "childCodes": [],
102
- "definition": "No attempt was made to collect the value."
103
103
  }
104
104
  ]
105
105
  }