@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.
- package/dist/config/index.cjs +85 -0
- package/dist/config/index.cjs.map +1 -1
- package/dist/config/index.d.cts +94 -4
- package/dist/config/index.d.ts +94 -4
- package/dist/config/index.js +81 -1
- package/dist/config/index.js.map +1 -1
- package/dist/constants/index.cjs +456 -181
- 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 +453 -169
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +15331 -801
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +18167 -2208
- package/dist/cvcs/index.d.ts +18167 -2208
- package/dist/cvcs/index.js +15282 -801
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-Zu_mOJRn.d.cts → index-CoVr1jIV.d.cts} +1 -1
- package/dist/{index-CDoqrfc1.d.ts → index-I-DiX9eQ.d.ts} +1 -1
- package/dist/index.cjs +17070 -1056
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1638 -12
- package/dist/index.d.ts +1638 -12
- package/dist/index.js +16969 -1043
- 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 +384 -0
- package/dist/mongo/index.cjs.map +1 -0
- package/dist/mongo/index.d.cts +221 -0
- package/dist/mongo/index.d.ts +221 -0
- package/dist/mongo/index.js +352 -0
- package/dist/mongo/index.js.map +1 -0
- package/dist/{platform-auth-XVB9aHqR.d.cts → platform-auth-v53r3BhN.d.cts} +19 -75
- package/dist/{platform-auth-XVB9aHqR.d.ts → platform-auth-v53r3BhN.d.ts} +19 -75
- package/dist/schemas/index.cjs +25 -156
- 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 +25 -156
- package/dist/schemas/index.js.map +1 -1
- package/dist/services/index.cjs +0 -3
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.js +0 -3
- package/dist/services/index.js.map +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +9 -1
- package/src/__sot__/README.md +56 -0
- package/src/__sot__/coreIndicators.pin.json +215 -0
- package/src/__sot__/cvcIndex.pin.json +268 -0
- package/src/__sot__/scoringEmits.pin.json +176 -0
- package/src/__tests__/__snapshots__/cvc-sot.snap +227 -35
- package/src/__tests__/cvc-136-scoring-invariant.test.ts +323 -0
- package/src/__tests__/cvc-drift-gate.test.ts +603 -0
- package/src/__tests__/cvc-sot-snapshot.test.ts +122 -11
- package/src/__tests__/cvc-structural.test.ts +56 -1
- package/src/__tests__/mongo-verifier.test.ts +502 -0
- package/src/__tests__/runtime-contract-validator.test.ts +325 -1
- package/src/config/index.ts +197 -6
- package/src/constants/ic.ts +512 -206
- package/src/constants/service-catalog.ts +4 -2
- package/src/cvcs/activityType.v1.0.0.json +143 -0
- package/src/cvcs/adminRoles.v1.0.0.json +153 -0
- package/src/cvcs/administeringJurisdiction.v1.0.0.json +40 -40
- package/src/cvcs/ageBinReporting.v1.0.0.json +40 -40
- package/src/cvcs/assertionDomain.v1.1.0.json +629 -0
- package/src/cvcs/{checkInPhase.v1.0.0.json → checkInPhase.v1.1.0.json} +20 -2
- package/src/cvcs/childChangeType.v1.0.0.json +152 -0
- package/src/cvcs/citizenship.v1.0.0.json +3062 -0
- package/src/cvcs/contactInfoTypes.v1.0.0.json +40 -40
- package/src/cvcs/contactLinkType.v1.0.0.json +89 -0
- package/src/cvcs/coreDhState.v1.0.0.json +113 -0
- package/src/cvcs/coreFunctions.v1.0.0.json +746 -0
- package/src/cvcs/coreIndicators.v1.0.0.json +2840 -0
- package/src/cvcs/coreReferralOutcome.v1.0.0.json +71 -0
- package/src/cvcs/employmentStatus.v1.0.0.json +60 -60
- package/src/cvcs/exploitationType.v1.0.0.json +106 -0
- package/src/cvcs/facilitatorEntityType.v1.0.0.json +40 -40
- package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +55 -46
- package/src/cvcs/hivStatus.v1.0.0.json +71 -0
- package/src/cvcs/hmisCurrentLivingSituation.v1.0.0.json +409 -0
- package/src/cvcs/hmisRelationshipToHoh.v1.0.0.json +104 -0
- package/src/cvcs/homelessStatus.v1.0.0.json +27 -27
- package/src/cvcs/housingSubsidyTypes.v1.0.0.json +161 -0
- package/src/cvcs/htType.v1.0.0.json +87 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +18 -0
- package/src/cvcs/immigrationLegalStatusChangeType.v1.0.0.json +143 -0
- package/src/cvcs/incarcerationEpisodeType.v1.0.0.json +106 -0
- package/src/cvcs/incidentInvolvementRoles.v1.0.0.json +40 -40
- package/src/cvcs/incidentParticipationRoles.v1.0.0.json +40 -40
- package/src/cvcs/incomeBenefitsSources.v1.0.0.json +31 -2
- package/src/cvcs/index.ts +106 -1
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +28 -18
- package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +32 -32
- package/src/cvcs/livingSituation.v1.0.0.json +213 -0
- package/src/cvcs/mentalHealthStatus.v1.0.0.json +71 -0
- package/src/cvcs/militaryBranch.v1.0.0.json +20 -20
- package/src/cvcs/militaryStatus.v1.0.0.json +20 -20
- package/src/cvcs/nameType.v1.0.0.json +40 -40
- package/src/cvcs/needsAssessmentChangeType.v1.0.0.json +134 -0
- package/src/cvcs/offenderStatus.v1.0.0.json +40 -40
- package/src/cvcs/offenderStatusFamily.v1.0.0.json +36 -36
- package/src/cvcs/poPetitionBasis.v1.0.0.json +96 -0
- package/src/cvcs/poStatus.v1.0.0.json +144 -0
- package/src/cvcs/poViolationStatus.v1.0.0.json +76 -0
- package/src/cvcs/programEnrollmentChangeType.v1.0.0.json +134 -0
- package/src/cvcs/provenanceSourceId.v1.0.0.json +134 -0
- package/src/cvcs/radiusBucket.v1.0.0.json +110 -0
- package/src/cvcs/recencyBand.v1.0.0.json +104 -39
- package/src/cvcs/referralEntityCategory.v1.0.0.json +40 -40
- package/src/cvcs/relationshipConcern.v1.0.0.json +114 -0
- package/src/cvcs/riskCategory.v1.0.0.json +134 -0
- package/src/cvcs/riskSeverityBand.v1.0.0.json +139 -0
- package/src/cvcs/roiMethod.v1.0.0.json +107 -0
- package/src/cvcs/roiScope.v1.0.0.json +296 -0
- package/src/cvcs/roiStatus.v1.0.0.json +106 -0
- package/src/cvcs/romanticRelationshipChangeType.v1.0.0.json +162 -0
- package/src/cvcs/serviceAudience.v1.0.0.json +96 -0
- package/src/cvcs/serviceCategories.v1.0.0.json +44 -44
- package/src/cvcs/serviceDeliveryChannel.v1.0.0.json +147 -0
- package/src/cvcs/serviceMechanisms.v1.0.0.json +36 -36
- package/src/cvcs/serviceStates.v1.0.0.json +55 -33
- package/src/cvcs/sessionNoteVisibility.v1.0.0.json +80 -0
- package/src/cvcs/sessionTemplate.v1.0.0.json +261 -0
- package/src/cvcs/sexProviderSubrole.v1.0.0.json +35 -28
- package/src/cvcs/smtType.v1.0.0.json +40 -40
- package/src/cvcs/sourceCategory.v1.1.0.json +8 -1
- package/src/cvcs/sourceInstrument.v1.0.0.json +458 -0
- package/src/cvcs/sourceSubtype.v1.1.0.json +36 -0
- package/src/cvcs/sourceSystem.v1.0.0.json +203 -0
- package/src/cvcs/specialNeedsDisabilities.v1.0.0.json +143 -0
- package/src/cvcs/suggestionSource.v1.0.0.json +71 -0
- package/src/cvcs/traffickingRelevantRole.v1.0.0.json +104 -0
- package/src/cvcs/userRoles.v1.0.0.json +203 -0
- package/src/cvcs/verificationMethod.v1.0.0.json +18 -0
- package/src/cvcs/victimAbuseTypes.v1.0.0.json +276 -0
- package/src/cvcs/victimStatusFamily.v1.0.0.json +40 -40
- package/src/cvcs/whyNots.v1.0.0.json +385 -0
- package/src/generated/cvc-enums.ts +1729 -7
- package/src/mongo/catalog.ts +65 -0
- package/src/mongo/contract.ts +157 -0
- package/src/mongo/index.ts +343 -0
- package/src/mongo/similarity.ts +133 -0
- package/src/mongo/uri.ts +53 -0
- package/src/services/cvcRegistryService.ts +1 -1
- package/dist/{cvcEntry-0BIB9sen.d.cts → cvcEntry-BCj1OWqL.d.cts} +8 -8
- package/dist/{cvcEntry-0BIB9sen.d.ts → cvcEntry-BCj1OWqL.d.ts} +8 -8
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "source_system",
|
|
3
|
+
"name": "Core Source System (CVC-201)",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"_status": "CANONICAL — imported 0.8.13 from the Notion Final CVC codebook (CVC-201 `core - source_system`, Owner Crysta Price, Status 'Ready for dev'). The SYSTEM an assertion originated from (OSINT site, vendor platform, system-of-record, or HTI internal). Part of the assertion provenance contract alongside CVC-140 `source_category`, CVC-141 `source_subtype` and CVC-209 `source_instrument`. DISTINCT from the provisional CVC-966 `provenance_source_id` (a PAVE-local enum). The Final codebook carries no missingness rows; the quadruplet is added per SOT convention.",
|
|
6
|
+
"_source": "htilabstech/prototype@a596eb9 Final CVCs/Assertion Contract/core - source_system (CVC-201)",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Source system"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "201-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
|
+
"201-000-000-000-000-000-001",
|
|
20
|
+
"201-000-000-000-000-000-002",
|
|
21
|
+
"201-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": "201-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "201-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Unknown or cannot be determined from the available information."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "201-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "201-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": "201-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "201-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value. System-only sentinel per GLOBAL_DESIGN_RULES."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "201-001-000-000-000-000-000",
|
|
54
|
+
"key": "cityxguide",
|
|
55
|
+
"title": "CityXGuide",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "CityXGuide OSINT ads/profile website used as the originating source for an assertion.",
|
|
60
|
+
"canonicalCode": "CITYXGUIDE"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"code": "201-002-000-000-000-000-000",
|
|
64
|
+
"key": "sipsap",
|
|
65
|
+
"title": "SipSap",
|
|
66
|
+
"selectable": true,
|
|
67
|
+
"parentCode": null,
|
|
68
|
+
"childCodes": [],
|
|
69
|
+
"definition": "SipSap OSINT ads/profile website used as the originating source for an assertion.",
|
|
70
|
+
"canonicalCode": "SIPSAP"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"code": "201-003-000-000-000-000-000",
|
|
74
|
+
"key": "adultsearch",
|
|
75
|
+
"title": "AdultSearch",
|
|
76
|
+
"selectable": true,
|
|
77
|
+
"parentCode": null,
|
|
78
|
+
"childCodes": [],
|
|
79
|
+
"definition": "AdultSearch OSINT ads/profile website used as the originating source for an assertion.",
|
|
80
|
+
"canonicalCode": "ADULTSEARCH"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"code": "201-004-000-000-000-000-000",
|
|
84
|
+
"key": "backpage",
|
|
85
|
+
"title": "Backpage",
|
|
86
|
+
"selectable": true,
|
|
87
|
+
"parentCode": null,
|
|
88
|
+
"childCodes": [],
|
|
89
|
+
"definition": "Backpage OSINT ads/classifieds site used as the originating source for an assertion.",
|
|
90
|
+
"canonicalCode": "BACKPAGE"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"code": "201-005-000-000-000-000-000",
|
|
94
|
+
"key": "listcrawler",
|
|
95
|
+
"title": "ListCrawler",
|
|
96
|
+
"selectable": true,
|
|
97
|
+
"parentCode": null,
|
|
98
|
+
"childCodes": [],
|
|
99
|
+
"definition": "ListCrawler OSINT ads/profile website used as the originating source for an assertion.",
|
|
100
|
+
"canonicalCode": "LISTCRAWLER"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"code": "201-006-000-000-000-000-000",
|
|
104
|
+
"key": "rubmaps",
|
|
105
|
+
"title": "RubMaps",
|
|
106
|
+
"selectable": true,
|
|
107
|
+
"parentCode": null,
|
|
108
|
+
"childCodes": [],
|
|
109
|
+
"definition": "RubMaps OSINT listing/review site used as the originating source for an assertion.",
|
|
110
|
+
"canonicalCode": "RUBMAPS"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"code": "201-007-000-000-000-000-000",
|
|
114
|
+
"key": "skipthegames",
|
|
115
|
+
"title": "SkiptheGames",
|
|
116
|
+
"selectable": true,
|
|
117
|
+
"parentCode": null,
|
|
118
|
+
"childCodes": [],
|
|
119
|
+
"definition": "SkiptheGames OSINT ads/profile website used as the originating source for an assertion.",
|
|
120
|
+
"canonicalCode": "SKIPTHEGAMES"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"code": "201-008-000-000-000-000-000",
|
|
124
|
+
"key": "twilio",
|
|
125
|
+
"title": "Twilio",
|
|
126
|
+
"selectable": true,
|
|
127
|
+
"parentCode": null,
|
|
128
|
+
"childCodes": [],
|
|
129
|
+
"definition": "Twilio vendor system used for phone enrichment and related lookups.",
|
|
130
|
+
"canonicalCode": "TWILIO"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"code": "201-009-000-000-000-000-000",
|
|
134
|
+
"key": "facebook",
|
|
135
|
+
"title": "Facebook",
|
|
136
|
+
"selectable": true,
|
|
137
|
+
"parentCode": null,
|
|
138
|
+
"childCodes": [],
|
|
139
|
+
"definition": "Facebook public social media content used as the originating source for an assertion.",
|
|
140
|
+
"canonicalCode": "FACEBOOK"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"code": "201-010-000-000-000-000-000",
|
|
144
|
+
"key": "hti_platform_internal",
|
|
145
|
+
"title": "HTI Platform (internal)",
|
|
146
|
+
"selectable": true,
|
|
147
|
+
"parentCode": null,
|
|
148
|
+
"childCodes": [],
|
|
149
|
+
"definition": "Internal HTI production environment that generated a derived output artifact (aggregates, computed metrics, model outputs).",
|
|
150
|
+
"canonicalCode": "HTI_PLATFORM_INTERNAL"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"code": "201-011-000-000-000-000-000",
|
|
154
|
+
"key": "clear",
|
|
155
|
+
"title": "CLEAR",
|
|
156
|
+
"selectable": true,
|
|
157
|
+
"parentCode": null,
|
|
158
|
+
"childCodes": [],
|
|
159
|
+
"definition": "CLEAR (Thomson Reuters) investigative data platform used as an upstream repository/source for lookups.",
|
|
160
|
+
"canonicalCode": "CLEAR"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"code": "201-012-000-000-000-000-000",
|
|
164
|
+
"key": "axon",
|
|
165
|
+
"title": "Axon",
|
|
166
|
+
"selectable": true,
|
|
167
|
+
"parentCode": null,
|
|
168
|
+
"childCodes": [],
|
|
169
|
+
"definition": "Axon evidence/RMS ecosystem used as an upstream repository for law enforcement records or evidence artifacts.",
|
|
170
|
+
"canonicalCode": "AXON"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"code": "201-013-000-000-000-000-000",
|
|
174
|
+
"key": "accurint",
|
|
175
|
+
"title": "Accurint",
|
|
176
|
+
"selectable": true,
|
|
177
|
+
"parentCode": null,
|
|
178
|
+
"childCodes": [],
|
|
179
|
+
"definition": "Accurint (LexisNexis) investigative data platform used as an upstream repository/source for lookups.",
|
|
180
|
+
"canonicalCode": "ACCURINT"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"code": "201-014-000-000-000-000-000",
|
|
184
|
+
"key": "the_erotic_review",
|
|
185
|
+
"title": "The Erotic Review (TER)",
|
|
186
|
+
"selectable": true,
|
|
187
|
+
"parentCode": null,
|
|
188
|
+
"childCodes": [],
|
|
189
|
+
"definition": "The Erotic Review (TER) OSINT site used as the originating source for an assertion.",
|
|
190
|
+
"canonicalCode": "THE_EROTIC_REVIEW"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"code": "201-015-000-000-000-000-000",
|
|
194
|
+
"key": "ncic",
|
|
195
|
+
"title": "NCIC",
|
|
196
|
+
"selectable": true,
|
|
197
|
+
"parentCode": null,
|
|
198
|
+
"childCodes": [],
|
|
199
|
+
"definition": "National Crime Information Center (NCIC) system-of-record for criminal justice information.",
|
|
200
|
+
"canonicalCode": "NCIC"
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "special_needs_disabilities",
|
|
3
|
+
"name": "Special Needs / Disabilities",
|
|
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_special_needs_disabilities.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Per-child multi-select special-needs / disabilities categories mirroring Spring's residential / non-residential child intake checkbox set (a child may carry multiple categories).",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_special_needs_disabilities.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Special need / disability category"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "972-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
|
+
"972-000-000-000-000-000-001",
|
|
20
|
+
"972-000-000-000-000-000-002",
|
|
21
|
+
"972-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 substantive level-1 category values, so the triplet is added per SOT convention. Distinct from the substantive 'Unknown but exists' category, which positively asserts a special need whose category is unspecified."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "972-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "972-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Whether the child has any special need / disability is unknown at time of entry."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "972-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "972-000-000-000-000-000-000",
|
|
40
|
+
"childCodes": [],
|
|
41
|
+
"definition": "Value intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"code": "972-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "972-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": "972-001-000-000-000-000-000",
|
|
54
|
+
"key": "mental_illness",
|
|
55
|
+
"title": "Mental illness",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Spring intake category. Captures diagnosed mental-health conditions (anxiety, depression, PTSD, bipolar, etc.). Distinct from cognitive/developmental — the latter covers IQ / autism-spectrum / developmental delays."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "972-002-000-000-000-000-000",
|
|
63
|
+
"key": "cognitive_developmental",
|
|
64
|
+
"title": "Cognitive / developmental disability",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Spring intake category. Covers autism-spectrum, Down syndrome, intellectual disability, learning disabilities, developmental delays. Distinct from mental illness."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "972-003-000-000-000-000-000",
|
|
72
|
+
"key": "physical_disability",
|
|
73
|
+
"title": "Physical disability",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Spring intake category. Mobility impairments, limb differences, fine-motor / gross-motor limitations. Pairs with the disability-accommodations free-text on the entry for descriptive detail."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "972-004-000-000-000-000-000",
|
|
81
|
+
"key": "deaf_hard_of_hearing",
|
|
82
|
+
"title": "Deaf / hard of hearing",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Spring intake category. Surfaces the need for communication accommodations (ASL interpreter, TTY, captioning, written intake). May intersect with school/daycare accommodations."
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"code": "972-005-000-000-000-000-000",
|
|
90
|
+
"key": "chronic_health_condition",
|
|
91
|
+
"title": "Chronic health condition",
|
|
92
|
+
"selectable": true,
|
|
93
|
+
"parentCode": null,
|
|
94
|
+
"childCodes": [],
|
|
95
|
+
"definition": "Spring intake category. Diabetes, asthma, epilepsy, cardiac conditions, autoimmune disorders, etc. Pairs with the medication-needs Y/N + immediate-health-needs free-text on the entry."
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"code": "972-006-000-000-000-000-000",
|
|
99
|
+
"key": "hiv_aids",
|
|
100
|
+
"title": "HIV / AIDS",
|
|
101
|
+
"selectable": true,
|
|
102
|
+
"parentCode": null,
|
|
103
|
+
"childCodes": [],
|
|
104
|
+
"definition": "Spring intake category. Listed separately per Spring's intake form's verbatim categories. Privacy-sensitive: discretion-level on parent's emergency contacts may be relevant."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"code": "972-007-000-000-000-000-000",
|
|
108
|
+
"key": "alcohol_abuse",
|
|
109
|
+
"title": "Alcohol use / abuse",
|
|
110
|
+
"selectable": true,
|
|
111
|
+
"parentCode": null,
|
|
112
|
+
"childCodes": [],
|
|
113
|
+
"definition": "Spring intake category. Captured at the child level when the child themselves has alcohol use concerns (rare but real for older children / teens). Distinct from the abuser's substance use, which lives on the AP drawer."
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"code": "972-008-000-000-000-000-000",
|
|
117
|
+
"key": "drug_use_abuse",
|
|
118
|
+
"title": "Drug use / abuse",
|
|
119
|
+
"selectable": true,
|
|
120
|
+
"parentCode": null,
|
|
121
|
+
"childCodes": [],
|
|
122
|
+
"definition": "Spring intake category. Same scope as ALCOHOL_ABUSE — concerns about the child's own drug use, not the abuser's. For teens / older children. Pairs with substance-use signal on Behavioral Concerns."
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"code": "972-009-000-000-000-000-000",
|
|
126
|
+
"key": "unknown_but_exists",
|
|
127
|
+
"title": "Unknown but exists",
|
|
128
|
+
"selectable": true,
|
|
129
|
+
"parentCode": null,
|
|
130
|
+
"childCodes": [],
|
|
131
|
+
"definition": "Spring intake category. Useful when the survivor knows the child has a special need / disability but can't or won't specify the category. Preserves the signal without forcing a guess."
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"code": "972-010-000-000-000-000-000",
|
|
135
|
+
"key": "other",
|
|
136
|
+
"title": "Other (specify)",
|
|
137
|
+
"selectable": true,
|
|
138
|
+
"parentCode": null,
|
|
139
|
+
"childCodes": [],
|
|
140
|
+
"definition": "Spring intake category. Free-text refinement captured on state.attributes.child_special_needs_other_text. Future polish: surface most-frequently-typed values back as suggested codes for canonical promotion."
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "suggestion_source",
|
|
3
|
+
"name": "suggestionSource",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"_status": "PROVISIONAL — net-new value-CVC not yet in Notion; provisional 900+ numbering; substantive values sourced verbatim from the PAVE @pave/domain enum of the same name (D10 source-from-platform-common). PENDING canonical Notion authoring + steward ratification of titles/definitions.",
|
|
6
|
+
"_source": "pave-2.0/packages/domain/src/enums.ts",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Goal suggestion source"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "969-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
|
+
"969-000-000-000-000-000-001",
|
|
20
|
+
"969-000-000-000-000-000-002",
|
|
21
|
+
"969-000-000-000-000-000-003"
|
|
22
|
+
],
|
|
23
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "969-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "969-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "The suggestion_source is unknown or cannot be determined."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "969-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "969-000-000-000-000-000-000",
|
|
40
|
+
"childCodes": [],
|
|
41
|
+
"definition": "Value is intentionally withheld, declined, or redacted."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"code": "969-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "969-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "969-001-000-000-000-000-000",
|
|
54
|
+
"key": "lap",
|
|
55
|
+
"title": "LAP",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Goal suggested from the Lethality Assessment Program (LAP)."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "969-002-000-000-000-000-000",
|
|
63
|
+
"key": "ps_step_4",
|
|
64
|
+
"title": "Priorities & Safety Step 4",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Goal suggested from Priorities & Safety Step 4."
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "trafficking_relevant_role",
|
|
3
|
+
"name": "Core Trafficking-Relevant Role (CVC-235)",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"levels": {
|
|
6
|
+
"0": "Unknown or Missing",
|
|
7
|
+
"1": "Trafficking-relevant role"
|
|
8
|
+
},
|
|
9
|
+
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"code": "235-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
|
+
"235-000-000-000-000-000-001",
|
|
18
|
+
"235-000-000-000-000-000-002",
|
|
19
|
+
"235-000-000-000-000-000-003"
|
|
20
|
+
],
|
|
21
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data.",
|
|
22
|
+
"canonicalCode": null
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"code": "235-000-000-000-000-000-001",
|
|
26
|
+
"key": "unknown",
|
|
27
|
+
"title": "Unknown",
|
|
28
|
+
"selectable": true,
|
|
29
|
+
"parentCode": "235-000-000-000-000-000-000",
|
|
30
|
+
"childCodes": [],
|
|
31
|
+
"definition": "Describes people connected to the trafficking-relevant network but their role is unknown or not yet determined. Logic notes: Trafficking systems are messy, fluid, and often only partially visible at first contact. Many people emerge through phones, ads, addresses, travel, recruitment, or workplace ties before their function is known.",
|
|
32
|
+
"canonicalCode": "UNK"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "235-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "235-000-000-000-000-000-000",
|
|
40
|
+
"childCodes": [],
|
|
41
|
+
"definition": "Information may be withheld by preference or due to redaction; identity is anonymous or redacted. Logic notes: Used to reduce re-identification; covers “client prefers not to answer” and redaction contexts.",
|
|
42
|
+
"canonicalCode": "ANON"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"code": "235-000-000-000-000-000-003",
|
|
46
|
+
"key": "data_not_collected",
|
|
47
|
+
"title": "Data not collected",
|
|
48
|
+
"selectable": true,
|
|
49
|
+
"parentCode": "235-000-000-000-000-000-000",
|
|
50
|
+
"childCodes": [],
|
|
51
|
+
"definition": "No attempt was made to collect the information. Logic notes: Use when the field was not asked or not captured.",
|
|
52
|
+
"canonicalCode": "DNC"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"code": "235-001-000-000-000-000-000",
|
|
56
|
+
"key": "worker_provider",
|
|
57
|
+
"title": "Worker / Provider",
|
|
58
|
+
"selectable": true,
|
|
59
|
+
"parentCode": null,
|
|
60
|
+
"childCodes": [],
|
|
61
|
+
"definition": "Assign when the person’s labor, services, or commercial sexual activity is being sold, extracted, marketed, arranged, controlled, or otherwise positioned on the supply side of the exploitation economy. Logic notes: • This role does not assert victim status. • This role does not imply consent, coercion, or force. Guidance: See core-worker_subrole (https://app.notion.com/p/core-worker_subrole-3331ef14abcd8054b647ecdc41da84db?pvs=21)",
|
|
62
|
+
"canonicalCode": "worker_provider"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"code": "235-002-000-000-000-000-000",
|
|
66
|
+
"key": "facilitator_controller",
|
|
67
|
+
"title": "Facilitator / Controller",
|
|
68
|
+
"selectable": true,
|
|
69
|
+
"parentCode": null,
|
|
70
|
+
"childCodes": [],
|
|
71
|
+
"definition": "Describes the person who recruits, transports, transfers, houses, advertises, schedules, supervises, manages, profits from, or otherwise enables, aids, or controls the exploitation of another person, without itself asserting offender status. Logic notes: Facilitator roles are captured using three separate fields: 1. Facilitator Function: what the facilitator does operationally 2. Facilitator Entity Type: what kind of business, venue, or organizational context they operate through 3. Colloquial Labels: what the source calls them; provides an \"entry point\" when the only available info is a colloquial label (e.g., \"pimp\", \"madame\", \"coyote\", or \"boss\") Guidance: See core - facilitator_subrole (https://app.notion.com/p/core-facilitator_subrole-3331ef14abcd8088b382fe3479bb30cd?pvs=21) See core - facilitator_entity_type (https://app.notion.com/p/core-facilitator_entity_type-8b9308b9406a48b3a59c44c1951ba1d0?pvs=21) See core - facilitator_label_used_in_source (https://app.notion.com/p/core-facilitator_label_used_in_source-833adb720a0046ea8f6b112bb7de43ee?pvs=21)",
|
|
72
|
+
"canonicalCode": "facilitator_controller"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"code": "235-003-000-000-000-000-000",
|
|
76
|
+
"key": "buyer_client_direct_beneficiary",
|
|
77
|
+
"title": "Buyer / Client / Direct Beneficiary",
|
|
78
|
+
"selectable": true,
|
|
79
|
+
"parentCode": null,
|
|
80
|
+
"childCodes": [],
|
|
81
|
+
"definition": "Describes the proximate demand-side role of a person who purchases, receives, or directly benefits from exploited labor, services, or commercial sexual activity in a directly relevant investigative context. Logic notes: Sub-types include: • Sex buyer: Person who purchases sexual services from a provider. Use when there is reason to believe the person purchases commercial sex services. • Client / Beneficiary: Person who knowingly purchases, receives, or directly benefits from exploited labor, services, or commercial sexual activity in a directly relevant investigative context. Intended for proximate demand-side actors, not diffuse downstream consumers.",
|
|
82
|
+
"canonicalCode": "buyer_client_direct_beneficiary"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"code": "235-004-000-000-000-000-000",
|
|
86
|
+
"key": "other_associate",
|
|
87
|
+
"title": "Other Associate",
|
|
88
|
+
"selectable": true,
|
|
89
|
+
"parentCode": null,
|
|
90
|
+
"childCodes": [],
|
|
91
|
+
"definition": "Describes people who are connected to the network but do not currently appear to occupy an operational trafficking role. Logic notes: - Examples include parents, witness, landlord, unrelated phone subscriber, uninvolved spouse, etc. - If the person’s role is unclear rather than non-operational, use Unknown instead. Guidance: These persons will always be defined by their relationship to the victim or the offender. See \"person relationship types\" for relevant sub-categorization.",
|
|
92
|
+
"canonicalCode": "other_associate"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"_status": {
|
|
96
|
+
"vocabStatus": "canonical",
|
|
97
|
+
"authoredBy": "platform-common 0.8.13",
|
|
98
|
+
"evidence": "prototype@a596eb9 'Final CVCs/Victims + Perps Roles + Statuses (IC-5)/core - trafficking_relevant_role — codebook.csv' (7 rows: 3 missingness + 4 L1 roles), carried verbatim. Corroborated by data/cvcs/core_trafficking_relevant_role.yaml (vocab_status: verified; canonical_source: Notion export CVC-235 v1.0, 2026-05-26; codebook verified code-identical 7/7).",
|
|
99
|
+
"numberAdjudication": "CVC-235 = trafficking_relevant_role. It is ABSENT from CVC_INDEX.md, but that is a KNOWN EXTRACTOR GAP, not evidence of non-existence: the Notion page body for this CVC exported as PDF only, so tools/extract_final_cvcs.py (which emits a row per .md) skips it — exactly the gap CVC_INDEX.md:20 documents for core-DH_state (CVC-233). The canonical codebook .csv/.zip/.pdf ARE present in Final CVCs/, and both yamls that mention 235 agree this vocabulary owns it.",
|
|
100
|
+
"notACollision": "0.8.13 held CVC-235 because core_associate_subrole.yaml and core_trafficking_relevant_role.yaml were read as two `verified` yamls both claiming 235. They are not competing claims. core_associate_subrole.yaml self-describes as a CHILD of this CVC (\"Parent CVC-235\"; \"L1 — Associate sub-types (under other_associate, CVC-235)\") and declares canonical_source: \"platform-authored, Crysta-approved 2026-06-12; Notion export PENDING\" — i.e. it has no Notion number of its own yet. It is a sub-vocabulary hanging off this domain's `other_associate` code, and is deliberately NOT authored here.",
|
|
101
|
+
"upstreamReconciliation": "Confirm CVC-235 = trafficking_relevant_role (we read this from the codebook CSV because the Notion page body exported as PDF and CVC_INDEX.md therefore has no row for it — please re-export with a page body so the index self-heals). Separately, core_associate_subrole (7 substantive sub-types under `other_associate`, Crysta-approved 2026-06-12) still needs its OWN CVC number before platform-common can ship it."
|
|
102
|
+
},
|
|
103
|
+
"_source": "htilabstech/prototype@a596eb9 Final CVCs/Victims + Perps Roles + Statuses (IC-5)/core - trafficking_relevant_role — codebook.csv (CVC-235)"
|
|
104
|
+
}
|