@htilabs/platform-common-models 0.7.0-beta.1 → 0.8.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 (133) hide show
  1. package/README.md +0 -44
  2. package/dist/constants/index.cjs +76 -52
  3. package/dist/constants/index.cjs.map +1 -1
  4. package/dist/constants/index.d.cts +1 -1
  5. package/dist/constants/index.d.ts +1 -1
  6. package/dist/constants/index.js +75 -48
  7. package/dist/constants/index.js.map +1 -1
  8. package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-DaDrEuTa.d.cts} +36 -36
  9. package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-DaDrEuTa.d.ts} +36 -36
  10. package/dist/cvcs/index.cjs +11136 -136
  11. package/dist/cvcs/index.cjs.map +1 -1
  12. package/dist/cvcs/index.d.cts +12856 -603
  13. package/dist/cvcs/index.d.ts +12856 -603
  14. package/dist/cvcs/index.js +11060 -132
  15. package/dist/cvcs/index.js.map +1 -1
  16. package/dist/{index-I-DiX9eQ.d.ts → index-C0J3f169.d.ts} +1 -1
  17. package/dist/{index-CoVr1jIV.d.cts → index-EPjPjR0z.d.cts} +1 -1
  18. package/dist/index.cjs +12593 -246
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +1686 -98
  21. package/dist/index.d.ts +1686 -98
  22. package/dist/index.js +12442 -234
  23. package/dist/index.js.map +1 -1
  24. package/dist/models/index.d.cts +2 -2
  25. package/dist/models/index.d.ts +2 -2
  26. package/dist/{platform-auth-C97LpsRd.d.cts → platform-auth-7dL99tZh.d.cts} +21 -9
  27. package/dist/{platform-auth-C97LpsRd.d.ts → platform-auth-7dL99tZh.d.ts} +21 -9
  28. package/dist/schemas/index.cjs +68 -49
  29. package/dist/schemas/index.cjs.map +1 -1
  30. package/dist/schemas/index.d.cts +11 -15
  31. package/dist/schemas/index.d.ts +11 -15
  32. package/dist/schemas/index.js +68 -49
  33. package/dist/schemas/index.js.map +1 -1
  34. package/dist/types/index.d.cts +2 -2
  35. package/dist/types/index.d.ts +2 -2
  36. package/package.json +19 -25
  37. package/src/__tests__/__snapshots__/cvc-sot.snap +297 -9
  38. package/src/__tests__/cvc-sot-snapshot.test.ts +150 -18
  39. package/src/__tests__/cvc-structural.test.ts +76 -3
  40. package/src/constants/ic.ts +163 -51
  41. package/src/cvcs/accommodationType.v1.0.0.json +107 -0
  42. package/src/cvcs/actionStepCompletionStatus.v1.0.0.json +89 -0
  43. package/src/cvcs/actionStepType.v1.0.0.json +71 -0
  44. package/src/cvcs/announcementAudienceScope.v1.0.0.json +80 -0
  45. package/src/cvcs/announcementResponseType.v1.0.0.json +89 -0
  46. package/src/cvcs/basisQuickPicks.v1.0.0.json +123 -0
  47. package/src/cvcs/checkInActivity.v1.0.0.json +233 -0
  48. package/src/cvcs/checkInPhase.v1.0.0.json +152 -0
  49. package/src/cvcs/childBehavioralConcerns.v1.0.0.json +161 -0
  50. package/src/cvcs/childCustodyArrangement.v1.0.0.json +188 -0
  51. package/src/cvcs/collectionContext.v1.0.0.json +88 -0
  52. package/src/cvcs/contactInfoUseType.v1.0.0.json +87 -0
  53. package/src/cvcs/daIncidentArchiveReason.v1.0.0.json +89 -0
  54. package/src/cvcs/daIncidentConfidence.v1.0.0.json +80 -0
  55. package/src/cvcs/daIncidentDayApprox.v1.0.0.json +89 -0
  56. package/src/cvcs/daIncidentSeverity.v1.0.0.json +97 -0
  57. package/src/cvcs/determinationLevel.v1.0.0.json +96 -0
  58. package/src/cvcs/disabilitySubtype.v1.0.0.json +126 -0
  59. package/src/cvcs/discretionLevel.v1.0.0.json +89 -0
  60. package/src/cvcs/emergencyContactCallReason.v1.0.0.json +107 -0
  61. package/src/cvcs/emergencyContactPermissions.v1.0.0.json +125 -0
  62. package/src/cvcs/emergencyExitCascade.v1.0.0.json +89 -0
  63. package/src/cvcs/exitProcessChecklistItem.v1.0.0.json +152 -0
  64. package/src/cvcs/exitReasons.v1.0.0.json +224 -0
  65. package/src/cvcs/facialHair.v1.0.0.json +71 -0
  66. package/src/cvcs/funder.v1.0.0.json +125 -0
  67. package/src/cvcs/goalCategory.v1.0.0.json +161 -0
  68. package/src/cvcs/goalPriority.v1.0.0.json +80 -0
  69. package/src/cvcs/goalStatus.v1.0.0.json +98 -0
  70. package/src/cvcs/goalWithdrawalReason.v1.0.0.json +116 -0
  71. package/src/cvcs/hmisProjectType.v1.0.0.json +178 -0
  72. package/src/cvcs/hopeScaleCaptureContext.v1.0.0.json +116 -0
  73. package/src/cvcs/hopeScaleResponseOptions.v1.0.0.json +125 -0
  74. package/src/cvcs/hopeScaleTier.v1.0.0.json +89 -0
  75. package/src/cvcs/identificationStatus.v1.0.0.json +80 -0
  76. package/src/cvcs/index.ts +150 -6
  77. package/src/cvcs/inferenceType.v1.0.0.json +78 -0
  78. package/src/cvcs/investigativeRequestType.v1.0.0.json +89 -0
  79. package/src/cvcs/languages.v1.0.0.json +1924 -0
  80. package/src/cvcs/leReportStatus.v1.0.0.json +89 -0
  81. package/src/cvcs/legalActionType.v1.0.0.json +116 -0
  82. package/src/cvcs/messageReportReason.v1.0.0.json +107 -0
  83. package/src/cvcs/midStayEventType.v1.0.0.json +116 -0
  84. package/src/cvcs/milestoneType.v1.0.0.json +170 -0
  85. package/src/cvcs/needsResidentialAgain.v1.0.0.json +80 -0
  86. package/src/cvcs/personRelationships.v1.0.0.json +6 -6
  87. package/src/cvcs/petExitReason.v1.0.0.json +107 -0
  88. package/src/cvcs/petRelationshipBasis.v1.0.0.json +80 -0
  89. package/src/cvcs/programSpecificCode.v1.0.0.json +125 -0
  90. package/src/cvcs/proofOfIdType.v1.0.0.json +188 -0
  91. package/src/cvcs/qualityFlags.v1.0.0.json +96 -0
  92. package/src/cvcs/referenceLinkType.v1.0.0.json +125 -0
  93. package/src/cvcs/relationshipDynamics.v1.0.0.json +445 -0
  94. package/src/cvcs/returnedToAbuserStatus.v1.0.0.json +80 -0
  95. package/src/cvcs/roleContext.v1.0.0.json +78 -0
  96. package/src/cvcs/rsvpResponse.v1.0.0.json +80 -0
  97. package/src/cvcs/servicePlanClosureReason.v1.0.0.json +125 -0
  98. package/src/cvcs/servicePlanReviewSnoozeReason.v1.0.0.json +116 -0
  99. package/src/cvcs/serviceSource.v1.0.0.json +71 -0
  100. package/src/cvcs/serviceStates.v1.0.0.json +12 -2
  101. package/src/cvcs/sessionState.v1.0.0.json +96 -0
  102. package/src/cvcs/severityFollowUp.v1.0.0.json +89 -0
  103. package/src/cvcs/signatureMethod.v1.0.0.json +89 -0
  104. package/src/cvcs/signatureType.v1.0.0.json +89 -0
  105. package/src/cvcs/smtBodyLocation.v1.0.0.json +314 -0
  106. package/src/cvcs/smtNameRelation.v1.0.0.json +116 -0
  107. package/src/cvcs/smtSignificanceFlags.v1.0.0.json +116 -0
  108. package/src/cvcs/sourceCategory.v1.1.0.json +96 -0
  109. package/src/cvcs/sourceSubtype.v1.1.0.json +330 -0
  110. package/src/cvcs/substanceUseStatus.v1.0.0.json +90 -0
  111. package/src/cvcs/supportStrength.v1.0.0.json +114 -0
  112. package/src/cvcs/supportTopic.v1.0.0.json +116 -0
  113. package/src/cvcs/threadStatus.v1.0.0.json +80 -0
  114. package/src/cvcs/threadType.v1.0.0.json +98 -0
  115. package/src/cvcs/timeScope.v1.0.0.json +69 -0
  116. package/src/cvcs/verificationMethod.v1.0.0.json +96 -0
  117. package/src/cvcs/verificationStatus.v1.0.0.json +80 -0
  118. package/src/cvcs/visaType.v1.0.0.json +378 -0
  119. package/src/generated/cvc-enums.ts +1816 -46
  120. package/src/index.ts +0 -20
  121. package/src/schemas/common.ts +0 -4
  122. package/dist/config/index.cjs +0 -191
  123. package/dist/config/index.cjs.map +0 -1
  124. package/dist/config/index.d.cts +0 -101
  125. package/dist/config/index.d.ts +0 -101
  126. package/dist/config/index.js +0 -165
  127. package/dist/config/index.js.map +0 -1
  128. package/src/__tests__/runtime-contract-validator.test.ts +0 -556
  129. package/src/config/fixtures/valid.yaml +0 -90
  130. package/src/config/index.ts +0 -352
  131. package/src/cvcs/hmisSex.v1.0.0.json +0 -89
  132. package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +0 -96
  133. package/src/cvcs/recencyBand.v1.0.0.json +0 -124
@@ -0,0 +1,80 @@
1
+ {
2
+ "domain": "needs_residential_again",
3
+ "name": "Needs Residential Again",
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_needs_residential_again.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
6
+ "_source": "prototype/data/cvcs/core_needs_residential_again.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Anticipated future residential need"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "937-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
+ "937-000-000-000-000-000-001",
20
+ "937-000-000-000-000-000-002",
21
+ "937-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). The source YAML's L0 sentinel UNK ('Not asked or no answer captured') maps to the unknown child here. Distinct from the substantive MAYBE value (advocate-assessed uncertainty), which is a selectable level-1 entry."
24
+ },
25
+ {
26
+ "code": "937-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "937-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Not asked or no answer captured. Canonical missingness sentinel. Maps from source YAML L0 code UNK. Distinct from MAYBE (survivor uncertain about future residential need)."
33
+ },
34
+ {
35
+ "code": "937-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "937-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": "937-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "937-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "937-001-000-000-000-000-000",
54
+ "key": "yes",
55
+ "title": "Yes",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Survivor anticipates needing residential program assistance again in the near future. Captures self-determination per OAC 75:30-3-1(c)."
60
+ },
61
+ {
62
+ "code": "937-002-000-000-000-000-000",
63
+ "key": "no",
64
+ "title": "No",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Survivor does not anticipate needing residential program assistance again. Canonical positive outcome signal for canonical reporting."
69
+ },
70
+ {
71
+ "code": "937-003-000-000-000-000-000",
72
+ "key": "maybe",
73
+ "title": "Maybe",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Survivor uncertain about future residential need. Distinct from canonical UNK (not asked). Canonical exit-planning signal for advocates to set up Phase D Step 5 admin_review_required_details follow-up context."
78
+ }
79
+ ]
80
+ }
@@ -247,8 +247,8 @@
247
247
  },
248
248
  {
249
249
  "code": "126-003-002-000-000-000-000",
250
- "key": "emergency_contact_support_person",
251
- "title": "Emergency Contact / Support Person",
250
+ "key": "support_person",
251
+ "title": "Support Person",
252
252
  "selectable": true,
253
253
  "parentCode": "126-003-000-000-000-000-000",
254
254
  "childCodes": [
@@ -259,8 +259,8 @@
259
259
  },
260
260
  {
261
261
  "code": "126-003-002-001-000-000-000",
262
- "key": "emergency_contact_of",
263
- "title": "Emergency contact / support person",
262
+ "key": "support_person_of",
263
+ "title": "Support person",
264
264
  "selectable": true,
265
265
  "parentCode": "126-003-002-000-000-000-000",
266
266
  "childCodes": [],
@@ -268,8 +268,8 @@
268
268
  },
269
269
  {
270
270
  "code": "126-003-002-002-000-000-000",
271
- "key": "has_emergency_contact",
272
- "title": "Has emergency contact",
271
+ "key": "has_support_person",
272
+ "title": "Has support person",
273
273
  "selectable": true,
274
274
  "parentCode": "126-003-002-000-000-000-000",
275
275
  "childCodes": [],
@@ -0,0 +1,107 @@
1
+ {
2
+ "domain": "pet_exit_reason",
3
+ "name": "Core Pet Exit Reason",
4
+ "version": "1.0.0",
5
+ "_source": "prototype/data/cvcs/core_pet_exit_reason.yaml (Final-CVC-derived), CVC-222",
6
+ "_status": "DRAFT — Notion page is Not-started/empty; codes from prototype pending Notion-sub-DB ratification",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Pet exit reason"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "222-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
+ "222-000-000-000-000-000-001",
20
+ "222-000-000-000-000-000-002",
21
+ "222-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). Absorbs the prototype YAML's UNKNOWN missingness sentinel — an explicit 'we exited the program but don't know why', distinct from no-selection — under the unknown child."
24
+ },
25
+ {
26
+ "code": "222-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "222-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "The pet exited the program but the reason is unknown. Per the prototype, picking UNKNOWN is an explicit 'we exited the program but don't know why' versus 'the user didn't fill this in yet' (no-selection). Maps the prototype UNKNOWN sentinel."
33
+ },
34
+ {
35
+ "code": "222-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "222-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": "222-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "222-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "222-001-000-000-000-000-000",
54
+ "key": "permanent_placement",
55
+ "title": "Permanent placement (e.g. survivor moves to long-term housing with pet)",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "The pet exited the program because the survivor secured stable housing where the pet can stay. Most-positive outcome. Future Spring-aligned codebook may sub-divide by destination type (survivor's own housing vs. friend/family vs. permanent supportive housing)."
60
+ },
61
+ {
62
+ "code": "222-002-000-000-000-000-000",
63
+ "key": "survivor_exit",
64
+ "title": "Survivor exited the program",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "The survivor chose to leave the program (returning to the abuser, transferring to another agency, etc.); the pet exits with them. Distinct from permanent_placement in that the destination is not necessarily stable."
69
+ },
70
+ {
71
+ "code": "222-003-000-000-000-000-000",
72
+ "key": "alternative_care",
73
+ "title": "Alternative care arrangement (family / friend / partner agency)",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "The pet was placed elsewhere — a family member, friend, partner agency, or animal welfare org took over care while the survivor remains in program. Captures the 'Call Partner Agency / Sand Springs Animal Welfare' path on UDD-45 §III."
78
+ },
79
+ {
80
+ "code": "222-004-000-000-000-000-000",
81
+ "key": "behavioral_incident",
82
+ "title": "Behavioral incident (pet)",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "The pet exited due to a behavioral concern (aggression, property damage, incompatibility with other residents/pets). Sensitive: should pair with the Pet Discharge Summary free-text for context."
87
+ },
88
+ {
89
+ "code": "222-005-000-000-000-000-000",
90
+ "key": "health_issue",
91
+ "title": "Health issue (pet)",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "The pet exited due to a medical or health-related concern. Includes both temporary (pet hospitalized) and permanent (pet euthanized / passed away) outcomes; the Pet Discharge Summary free-text captures specifics."
96
+ },
97
+ {
98
+ "code": "222-006-000-000-000-000-000",
99
+ "key": "other",
100
+ "title": "Other (specify)",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "Escape hatch for scenarios not covered by the canonical codes. Selecting this reveals an exit_reason_other_text free-text input on the modal. Future Spring-aligned codebook revisions should sweep accumulated OTHER text and promote common patterns to dedicated codes."
105
+ }
106
+ ]
107
+ }
@@ -0,0 +1,80 @@
1
+ {
2
+ "domain": "pet_relationship_basis",
3
+ "name": "Pet Relationship Basis",
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_pet_relationship_basis.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
6
+ "_source": "prototype/data/cvcs/core_pet_relationship_basis.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Companion basis"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "938-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
+ "938-000-000-000-000-000-001",
20
+ "938-000-000-000-000-000-002",
21
+ "938-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). The source YAML's UNKNOWN entry ('we asked and the survivor didn't know') maps to the unknown child here. This is a multi-select CVC; the substantive companion-basis codes are co-selectable (a pet can be both a household pet and a service animal)."
24
+ },
25
+ {
26
+ "code": "938-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "938-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Missingness sentinel per the source YAML. Renders rightmost in chip groups per GDR § 6.5.7. An explicit 'we asked and the survivor didn't know' — distinct from absence-of-selection (we didn't ask). Maps from source YAML code UNKNOWN."
33
+ },
34
+ {
35
+ "code": "938-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "938-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Companion basis is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
42
+ },
43
+ {
44
+ "code": "938-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "938-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "938-001-000-000-000-000-000",
54
+ "key": "household_pet",
55
+ "title": "Household pet",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Default pets-of-the-household role: not a service animal, not a foster, not a commercial-care arrangement. The most common case. Multi-select compatible with service_animal or fostered when the pet has been a foster who's stayed on, or a household pet who also performs service tasks."
60
+ },
61
+ {
62
+ "code": "938-002-000-000-000-000-000",
63
+ "key": "service_animal",
64
+ "title": "Service animal",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Trained or in-training to perform tasks for a person with a disability per ADA / equivalent statute. Carries operational implications for housing access (no-pet-policy exemptions), shelter/program access, and protection-order considerations. Co-selectable with household_pet when applicable."
69
+ },
70
+ {
71
+ "code": "938-003-000-000-000-000-000",
72
+ "key": "fostered",
73
+ "title": "Fostered pet",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Temporary care arrangement; the survivor is providing care but ownership lives elsewhere (rescue, foster network, friend's pet pending placement). Distinct from the CAREGIVER role on the relationship row: FOSTERED is about the pet's program status; CAREGIVER vs OWNER is about the person's legal/social tie."
78
+ }
79
+ ]
80
+ }
@@ -0,0 +1,125 @@
1
+ {
2
+ "domain": "program_specific_code",
3
+ "name": "Program Specific Code",
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_program_specific_code.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). NOTE: the source YAML carries per-entry service_category_code / service_category_vscat auto-derivation and a program_specific_identifiers bag (e.g. TVAP → uscri_number + uscis_alien_number); those are summarized in each entry's definition but are NOT represented as structural fields in this flat controlled-vocabulary shape.",
6
+ "_source": "prototype/data/cvcs/core_program_specific_code.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Specific named program"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "940-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
+ "940-000-000-000-000-000-001",
20
+ "940-000-000-000-000-000-002",
21
+ "940-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Maps the source YAML's L0 triplet: UNK → unknown, ANON → anonymous, DNC → data_not_collected. The CVC itself is an OPTIONAL single-select on each enrollment row (null = untagged generic program enrollment)."
24
+ },
25
+ {
26
+ "code": "940-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "940-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Specific program identity not currently known. Maps from source YAML L0 code UNK."
33
+ },
34
+ {
35
+ "code": "940-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "940-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Subject explicitly declined to provide specific program identification. Maps from source YAML L0 code ANON under the workspace standard ANON sentinel."
42
+ },
43
+ {
44
+ "code": "940-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "940-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "System-derived sentinel — the field has not yet been asked. Maps from source YAML L0 code DNC."
51
+ },
52
+ {
53
+ "code": "940-001-000-000-000-000-000",
54
+ "key": "tvap",
55
+ "title": "TVAP (Trafficking Victims Assistance Program)",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "USCRI-administered federal grant program providing per-victim funding to certified VSP sub-grantees for direct services to foreign-national trafficking victims. Auto-derives service_category_code 01-10 / VSCAT-194 (Case Coordination → Intake → Screening → TVAP). Carries a TVAP-specific identifier bag — uscri_number + uscis_alien_number."
60
+ },
61
+ {
62
+ "code": "940-002-000-000-000-000-000",
63
+ "key": "t_visa_legal_aid_program",
64
+ "title": "T-Visa Legal Aid Program",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Agency-side legal-aid program enrollment for survivors pursuing T-Visa applications. Auto-derives service_category_code 01-05 / VSCAT-113 (Legal Services → Immigration Relief). Distinct from the T-Visa application itself (which lives on HTI_LEGAL_ACTIONS[] with legal_action_type T_VISA)."
69
+ },
70
+ {
71
+ "code": "940-003-000-000-000-000-000",
72
+ "key": "u_visa_legal_aid_program",
73
+ "title": "U-Visa Legal Aid Program",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Agency-side legal-aid program enrollment for survivors pursuing U-Visa applications. Auto-derives service_category_code 01-05 / VSCAT-113. Distinct from the U-Visa application itself."
78
+ },
79
+ {
80
+ "code": "940-004-000-000-000-000-000",
81
+ "key": "vawa_legal_aid_program",
82
+ "title": "VAWA Legal Aid Program",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Agency-side legal-aid program enrollment for survivors pursuing VAWA self-petitions. Auto-derives service_category_code 01-05 / VSCAT-113. Distinct from the VAWA self-petition itself."
87
+ },
88
+ {
89
+ "code": "940-005-000-000-000-000-000",
90
+ "key": "asylum_legal_aid_program",
91
+ "title": "Asylum Legal Aid Program",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "Agency-side legal-aid program enrollment for survivors pursuing asylum applications. Auto-derives service_category_code 01-05 / VSCAT-113. Distinct from the asylum application itself."
96
+ },
97
+ {
98
+ "code": "940-006-000-000-000-000-000",
99
+ "key": "sij_legal_aid_program",
100
+ "title": "SIJ Legal Aid Program",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "Agency-side legal-aid program enrollment for minor survivors pursuing Special Immigrant Juvenile classification. Auto-derives service_category_code 01-05 / VSCAT-113."
105
+ },
106
+ {
107
+ "code": "940-007-000-000-000-000-000",
108
+ "key": "immigration_relief_program_other",
109
+ "title": "Other immigration-relief legal aid program",
110
+ "selectable": true,
111
+ "parentCode": null,
112
+ "childCodes": [],
113
+ "definition": "Catch-all for immigration-relief legal aid programs not listed above (humanitarian parole representation / Cancellation of Removal / Adjustment of Status / etc.). Auto-derives service_category_code 01-05 / VSCAT-113. Pairs with a free-text 'specify' input on the program-enrollment record."
114
+ },
115
+ {
116
+ "code": "940-008-000-000-000-000-000",
117
+ "key": "other",
118
+ "title": "Other program",
119
+ "selectable": true,
120
+ "parentCode": null,
121
+ "childCodes": [],
122
+ "definition": "Catch-all for non-immigration program enrollments (RHY / OVC grants / VOCA / FVPSA / OVW / HUD CoC / state programs / agency-internal programs / etc.). No service-category auto-derivation (advocate sets manually). Pairs with a free-text 'specify' input (program_specific_identifiers.other_text)."
123
+ }
124
+ ]
125
+ }
@@ -0,0 +1,188 @@
1
+ {
2
+ "domain": "proof_of_id_type",
3
+ "name": "Proof Of Identification 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_proof_of_id_type.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). NOTE: multi-select with an UNKNOWN-mutex (picking the unknown sentinel clears all other selections) and a NONE-mutex (picking 'none / no documents on file' clears all other entries); those mutex rules are described in the relevant entry definitions, not represented structurally.",
6
+ "_source": "prototype/data/cvcs/core_proof_of_id_type.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Identification document type"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "941-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
+ "941-000-000-000-000-000-001",
20
+ "941-000-000-000-000-000-002",
21
+ "941-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Maps the source YAML's L0 triplet: UNK → unknown, ANON → anonymous, DNC → data_not_collected. UNKNOWN-mutex per GDR § 6.5.7 — picking the unknown sentinel clears all other selections; picking any document code clears unknown."
24
+ },
25
+ {
26
+ "code": "941-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "941-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "ID-document holdings not currently known. Maps from source YAML L0 code UNK. Mutex with all other selections."
33
+ },
34
+ {
35
+ "code": "941-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "941-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Subject explicitly declined to provide ID-document information. Maps from source YAML L0 code ANON under the workspace standard ANON sentinel."
42
+ },
43
+ {
44
+ "code": "941-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "941-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "System-derived sentinel — the field has not yet been asked. Maps from source YAML L0 code DNC."
51
+ },
52
+ {
53
+ "code": "941-001-000-000-000-000-000",
54
+ "key": "none",
55
+ "title": "None / no documents on file",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Subject reports no current proof of identification documents on hand. Mutex with all other document-type entries (a positive 'no documents', distinct from the unknown missingness sentinel)."
60
+ },
61
+ {
62
+ "code": "941-002-000-000-000-000-000",
63
+ "key": "passport_us",
64
+ "title": "US Passport",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "US passport (held by US citizens or naturalized citizens). Government-issued (US)."
69
+ },
70
+ {
71
+ "code": "941-003-000-000-000-000-000",
72
+ "key": "drivers_license",
73
+ "title": "Driver's License",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "State-issued driver's license. Government-issued (US)."
78
+ },
79
+ {
80
+ "code": "941-004-000-000-000-000-000",
81
+ "key": "state_id",
82
+ "title": "State ID",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "State-issued non-driver identification card. Government-issued (US)."
87
+ },
88
+ {
89
+ "code": "941-005-000-000-000-000-000",
90
+ "key": "military_id",
91
+ "title": "Military ID",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "US military identification card (active duty / dependent / veteran). Government-issued (US)."
96
+ },
97
+ {
98
+ "code": "941-006-000-000-000-000-000",
99
+ "key": "tribal_id",
100
+ "title": "Tribal ID",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "Federally-recognized tribal identification card. Government-issued (US)."
105
+ },
106
+ {
107
+ "code": "941-007-000-000-000-000-000",
108
+ "key": "uscis_document",
109
+ "title": "USCIS Document (work auth / EAD / I-94 / etc.)",
110
+ "selectable": true,
111
+ "parentCode": null,
112
+ "childCodes": [],
113
+ "definition": "USCIS-issued documentation — Employment Authorization Document (EAD) / I-94 / I-797 / parole document / etc. USCIS / DHS-issued."
114
+ },
115
+ {
116
+ "code": "941-008-000-000-000-000-000",
117
+ "key": "green_card",
118
+ "title": "Permanent Resident Card (Green Card)",
119
+ "selectable": true,
120
+ "parentCode": null,
121
+ "childCodes": [],
122
+ "definition": "USCIS Form I-551 (Permanent Resident Card). USCIS / DHS-issued."
123
+ },
124
+ {
125
+ "code": "941-009-000-000-000-000-000",
126
+ "key": "foreign_passport",
127
+ "title": "Foreign Passport",
128
+ "selectable": true,
129
+ "parentCode": null,
130
+ "childCodes": [],
131
+ "definition": "Passport issued by a foreign government. Foreign-government issued."
132
+ },
133
+ {
134
+ "code": "941-010-000-000-000-000-000",
135
+ "key": "foreign_national_id",
136
+ "title": "Foreign National ID",
137
+ "selectable": true,
138
+ "parentCode": null,
139
+ "childCodes": [],
140
+ "definition": "Government-issued national identification card from a foreign country. Foreign-government issued."
141
+ },
142
+ {
143
+ "code": "941-011-000-000-000-000-000",
144
+ "key": "consular_id",
145
+ "title": "Consular ID (Matricula Consular)",
146
+ "selectable": true,
147
+ "parentCode": null,
148
+ "childCodes": [],
149
+ "definition": "Identification card issued by a foreign consulate (e.g., Matricula Consular for Mexican nationals). Foreign-government issued."
150
+ },
151
+ {
152
+ "code": "941-012-000-000-000-000-000",
153
+ "key": "birth_certificate",
154
+ "title": "Birth Certificate",
155
+ "selectable": true,
156
+ "parentCode": null,
157
+ "childCodes": [],
158
+ "definition": "US or foreign birth certificate. Supplementary identification document."
159
+ },
160
+ {
161
+ "code": "941-013-000-000-000-000-000",
162
+ "key": "social_security_card",
163
+ "title": "Social Security Card",
164
+ "selectable": true,
165
+ "parentCode": null,
166
+ "childCodes": [],
167
+ "definition": "Social Security Administration-issued card. Supplementary identification document."
168
+ },
169
+ {
170
+ "code": "941-014-000-000-000-000-000",
171
+ "key": "school_id",
172
+ "title": "School ID",
173
+ "selectable": true,
174
+ "parentCode": null,
175
+ "childCodes": [],
176
+ "definition": "School-issued identification card. Supplementary identification document."
177
+ },
178
+ {
179
+ "code": "941-015-000-000-000-000-000",
180
+ "key": "other",
181
+ "title": "Other",
182
+ "selectable": true,
183
+ "parentCode": null,
184
+ "childCodes": [],
185
+ "definition": "Catch-all for ID-document types not listed above. Pairs with a free-text 'specify' input."
186
+ }
187
+ ]
188
+ }