@htilabs/platform-common-models 0.5.3-beta.4 → 0.7.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/README.md +44 -0
  2. package/dist/config/index.cjs +191 -0
  3. package/dist/config/index.cjs.map +1 -0
  4. package/dist/config/index.d.cts +101 -0
  5. package/dist/config/index.d.ts +101 -0
  6. package/dist/config/index.js +165 -0
  7. package/dist/config/index.js.map +1 -0
  8. package/dist/constants/index.cjs +46 -5
  9. package/dist/constants/index.cjs.map +1 -1
  10. package/dist/constants/index.d.cts +1 -1
  11. package/dist/constants/index.d.ts +1 -1
  12. package/dist/constants/index.js +42 -5
  13. package/dist/constants/index.js.map +1 -1
  14. package/dist/cvcs/index.cjs +6874 -2
  15. package/dist/cvcs/index.cjs.map +1 -1
  16. package/dist/cvcs/index.d.cts +7562 -66
  17. package/dist/cvcs/index.d.ts +7562 -66
  18. package/dist/cvcs/index.js +6833 -1
  19. package/dist/cvcs/index.js.map +1 -1
  20. package/dist/index.cjs +7742 -6
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.cts +1009 -3
  23. package/dist/index.d.ts +1009 -3
  24. package/dist/index.js +7656 -6
  25. package/dist/index.js.map +1 -1
  26. package/dist/{platform-auth-CjC57132.d.cts → platform-auth-C97LpsRd.d.cts} +8 -4
  27. package/dist/{platform-auth-CjC57132.d.ts → platform-auth-C97LpsRd.d.ts} +8 -4
  28. package/dist/schemas/index.cjs +43 -6
  29. package/dist/schemas/index.cjs.map +1 -1
  30. package/dist/schemas/index.d.cts +4 -0
  31. package/dist/schemas/index.d.ts +4 -0
  32. package/dist/schemas/index.js +43 -6
  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 +9 -2
  37. package/src/__tests__/__snapshots__/cvc-sot.snap +160 -0
  38. package/src/__tests__/cvc-sot-snapshot.test.ts +319 -0
  39. package/src/__tests__/cvc-structural.test.ts +40 -0
  40. package/src/__tests__/runtime-contract-validator.test.ts +556 -0
  41. package/src/config/fixtures/valid.yaml +90 -0
  42. package/src/config/index.ts +352 -0
  43. package/src/constants/ic.ts +49 -6
  44. package/src/cvcs/administeringJurisdiction.v1.0.0.json +105 -0
  45. package/src/cvcs/ageBinReporting.v1.0.0.json +114 -0
  46. package/src/cvcs/contactInfoTypes.v1.0.0.json +250 -0
  47. package/src/cvcs/contactSafetyStatus.v1.0.0.json +69 -0
  48. package/src/cvcs/employmentStatus.v1.0.0.json +302 -0
  49. package/src/cvcs/enrollmentApplicationStatus.v1.0.0.json +123 -0
  50. package/src/cvcs/eyeColor.v1.0.0.json +114 -0
  51. package/src/cvcs/facilitatorEntityType.v1.0.0.json +141 -0
  52. package/src/cvcs/facilitatorLabelUsedInSource.v1.0.0.json +159 -0
  53. package/src/cvcs/facilitatorSubrole.v1.0.0.json +381 -0
  54. package/src/cvcs/frequencyCadence.v1.0.0.json +114 -0
  55. package/src/cvcs/genderIdentity.v1.0.0.json +128 -0
  56. package/src/cvcs/hairColor.v1.0.0.json +105 -0
  57. package/src/cvcs/hasTattoos.v1.0.0.json +69 -0
  58. package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +124 -0
  59. package/src/cvcs/hmisSex.v1.0.0.json +89 -0
  60. package/src/cvcs/homelessStatus.v1.0.0.json +98 -0
  61. package/src/cvcs/incomeBenefitsSources.v1.0.0.json +392 -0
  62. package/src/cvcs/index.ts +80 -0
  63. package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +96 -0
  64. package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +78 -0
  65. package/src/cvcs/locationType.v1.0.0.json +168 -0
  66. package/src/cvcs/maritalStatusLegal.v1.0.0.json +96 -0
  67. package/src/cvcs/militaryBranch.v1.0.0.json +85 -0
  68. package/src/cvcs/militaryStatus.v1.0.0.json +67 -0
  69. package/src/cvcs/nameType.v1.0.0.json +123 -0
  70. package/src/cvcs/offenderStatus.v1.0.0.json +96 -0
  71. package/src/cvcs/offenderStatusFamily.v1.0.0.json +87 -0
  72. package/src/cvcs/orientationIdentity.v1.0.0.json +97 -0
  73. package/src/cvcs/personRelationships.v1.0.0.json +924 -0
  74. package/src/cvcs/preferredContactMethod.v1.0.0.json +46 -0
  75. package/src/cvcs/pronouns.v1.0.0.json +87 -0
  76. package/src/cvcs/recencyBand.v1.0.0.json +124 -0
  77. package/src/cvcs/referralEntityCategory.v1.0.0.json +439 -0
  78. package/src/cvcs/relationshipStatusCurrent.v1.0.0.json +69 -0
  79. package/src/cvcs/relationshipTies.v1.0.0.json +291 -0
  80. package/src/cvcs/sexProviderSubrole.v1.0.0.json +78 -0
  81. package/src/cvcs/sharePurpose.v1.0.0.json +82 -0
  82. package/src/cvcs/smtType.v1.0.0.json +114 -0
  83. package/src/cvcs/tribes.v1.0.0.json +492 -0
  84. package/src/cvcs/victimStatusFamily.v1.0.0.json +96 -0
  85. package/src/generated/cvc-enums.ts +1048 -0
  86. package/src/index.ts +20 -0
  87. package/src/schemas/common.ts +4 -0
@@ -0,0 +1,250 @@
1
+ {
2
+ "domain": "contact_info_types",
3
+ "name": "Core Contact Info Types",
4
+ "version": "1.0.0",
5
+ "levels": {
6
+ "0": "Unknown or Missing",
7
+ "1": "Type",
8
+ "2": "Domain"
9
+ },
10
+ "entries": [
11
+ {
12
+ "code": "149-001-000-000-000-000-000",
13
+ "key": "phone",
14
+ "title": "Phone",
15
+ "selectable": true,
16
+ "parentCode": null,
17
+ "childCodes": [],
18
+ "definition": "Voice or SMS-capable telephone contact, identified by a phone number."
19
+ },
20
+ {
21
+ "code": "149-002-000-000-000-000-000",
22
+ "key": "email",
23
+ "title": "Email",
24
+ "selectable": true,
25
+ "parentCode": null,
26
+ "childCodes": [],
27
+ "definition": "Electronic mail contact, identified by an email address."
28
+ },
29
+ {
30
+ "code": "149-003-000-000-000-000-000",
31
+ "key": "app",
32
+ "title": "App",
33
+ "selectable": false,
34
+ "parentCode": null,
35
+ "childCodes": [
36
+ "149-003-001-000-000-000-000",
37
+ "149-003-002-000-000-000-000",
38
+ "149-003-003-000-000-000-000",
39
+ "149-003-004-000-000-000-000",
40
+ "149-003-005-000-000-000-000",
41
+ "149-003-006-000-000-000-000",
42
+ "149-003-007-000-000-000-000"
43
+ ],
44
+ "definition": "Messaging or peer-to-peer payment application contact. Select the specific app subtype; this parent is a grouping node and is not directly selectable."
45
+ },
46
+ {
47
+ "code": "149-003-001-000-000-000-000",
48
+ "key": "app_whatsapp",
49
+ "title": "App - WhatsApp",
50
+ "selectable": true,
51
+ "parentCode": "149-003-000-000-000-000-000",
52
+ "childCodes": [],
53
+ "definition": "WhatsApp messaging application contact."
54
+ },
55
+ {
56
+ "code": "149-003-002-000-000-000-000",
57
+ "key": "app_wechat",
58
+ "title": "App - WeChat",
59
+ "selectable": true,
60
+ "parentCode": "149-003-000-000-000-000-000",
61
+ "childCodes": [],
62
+ "definition": "WeChat messaging application contact."
63
+ },
64
+ {
65
+ "code": "149-003-003-000-000-000-000",
66
+ "key": "app_kik",
67
+ "title": "App - Kik",
68
+ "selectable": true,
69
+ "parentCode": "149-003-000-000-000-000-000",
70
+ "childCodes": [],
71
+ "definition": "Kik messaging application contact."
72
+ },
73
+ {
74
+ "code": "149-003-004-000-000-000-000",
75
+ "key": "app_paypal",
76
+ "title": "App - PayPal",
77
+ "selectable": true,
78
+ "parentCode": "149-003-000-000-000-000-000",
79
+ "childCodes": [],
80
+ "definition": "PayPal peer-to-peer payment application contact."
81
+ },
82
+ {
83
+ "code": "149-003-005-000-000-000-000",
84
+ "key": "app_cash_app",
85
+ "title": "App - Cash App",
86
+ "selectable": true,
87
+ "parentCode": "149-003-000-000-000-000-000",
88
+ "childCodes": [],
89
+ "definition": "Cash App peer-to-peer payment application contact."
90
+ },
91
+ {
92
+ "code": "149-003-006-000-000-000-000",
93
+ "key": "app_venmo",
94
+ "title": "App - Venmo",
95
+ "selectable": true,
96
+ "parentCode": "149-003-000-000-000-000-000",
97
+ "childCodes": [],
98
+ "definition": "Venmo peer-to-peer payment application contact."
99
+ },
100
+ {
101
+ "code": "149-003-007-000-000-000-000",
102
+ "key": "app_other",
103
+ "title": "App - Other",
104
+ "selectable": true,
105
+ "parentCode": "149-003-000-000-000-000-000",
106
+ "childCodes": [],
107
+ "definition": "Messaging or peer-to-peer payment application not enumerated above; use with an accompanying free-text specifier when possible."
108
+ },
109
+ {
110
+ "code": "149-004-000-000-000-000-000",
111
+ "key": "social_media",
112
+ "title": "Social Media",
113
+ "selectable": false,
114
+ "parentCode": null,
115
+ "childCodes": [
116
+ "149-004-001-000-000-000-000",
117
+ "149-004-002-000-000-000-000",
118
+ "149-004-003-000-000-000-000",
119
+ "149-004-004-000-000-000-000",
120
+ "149-004-005-000-000-000-000",
121
+ "149-004-006-000-000-000-000",
122
+ "149-004-007-000-000-000-000",
123
+ "149-004-008-000-000-000-000",
124
+ "149-004-009-000-000-000-000"
125
+ ],
126
+ "definition": "Social media platform contact. Select the specific platform subtype; this parent is a grouping node and is not directly selectable."
127
+ },
128
+ {
129
+ "code": "149-004-001-000-000-000-000",
130
+ "key": "social_media_facebook",
131
+ "title": "Social Media - Facebook",
132
+ "selectable": true,
133
+ "parentCode": "149-004-000-000-000-000-000",
134
+ "childCodes": [],
135
+ "definition": "Facebook social media platform contact."
136
+ },
137
+ {
138
+ "code": "149-004-002-000-000-000-000",
139
+ "key": "social_media_instagram",
140
+ "title": "Social Media - Instagram",
141
+ "selectable": true,
142
+ "parentCode": "149-004-000-000-000-000-000",
143
+ "childCodes": [],
144
+ "definition": "Instagram social media platform contact."
145
+ },
146
+ {
147
+ "code": "149-004-003-000-000-000-000",
148
+ "key": "social_media_x",
149
+ "title": "Social Media - X",
150
+ "selectable": true,
151
+ "parentCode": "149-004-000-000-000-000-000",
152
+ "childCodes": [],
153
+ "definition": "X (formerly Twitter) social media platform contact."
154
+ },
155
+ {
156
+ "code": "149-004-004-000-000-000-000",
157
+ "key": "social_media_tiktok",
158
+ "title": "Social Media - TikTok",
159
+ "selectable": true,
160
+ "parentCode": "149-004-000-000-000-000-000",
161
+ "childCodes": [],
162
+ "definition": "TikTok social media platform contact."
163
+ },
164
+ {
165
+ "code": "149-004-005-000-000-000-000",
166
+ "key": "social_media_reddit",
167
+ "title": "Social Media - Reddit",
168
+ "selectable": true,
169
+ "parentCode": "149-004-000-000-000-000-000",
170
+ "childCodes": [],
171
+ "definition": "Reddit social media platform contact."
172
+ },
173
+ {
174
+ "code": "149-004-006-000-000-000-000",
175
+ "key": "social_media_youtube",
176
+ "title": "Social Media - YouTube",
177
+ "selectable": true,
178
+ "parentCode": "149-004-000-000-000-000-000",
179
+ "childCodes": [],
180
+ "definition": "YouTube social media platform contact."
181
+ },
182
+ {
183
+ "code": "149-004-007-000-000-000-000",
184
+ "key": "social_media_snapchat",
185
+ "title": "Social Media - Snapchat",
186
+ "selectable": true,
187
+ "parentCode": "149-004-000-000-000-000-000",
188
+ "childCodes": [],
189
+ "definition": "Snapchat social media platform contact."
190
+ },
191
+ {
192
+ "code": "149-004-008-000-000-000-000",
193
+ "key": "social_media_onlyfans",
194
+ "title": "Social Media - OnlyFans",
195
+ "selectable": true,
196
+ "parentCode": "149-004-000-000-000-000-000",
197
+ "childCodes": [],
198
+ "definition": "OnlyFans social media platform contact."
199
+ },
200
+ {
201
+ "code": "149-004-009-000-000-000-000",
202
+ "key": "social_media_other",
203
+ "title": "Social Media - Other",
204
+ "selectable": true,
205
+ "parentCode": "149-004-000-000-000-000-000",
206
+ "childCodes": [],
207
+ "definition": "Social media platform not enumerated above; use with an accompanying free-text specifier when possible."
208
+ },
209
+ {
210
+ "code": "149-000-000-000-000-000-000",
211
+ "key": "missingness_root",
212
+ "title": "Unknown, Redacted, or Missing",
213
+ "selectable": false,
214
+ "parentCode": null,
215
+ "childCodes": [
216
+ "149-000-000-000-000-000-001",
217
+ "149-000-000-000-000-000-002",
218
+ "149-000-000-000-000-000-003"
219
+ ],
220
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
221
+ },
222
+ {
223
+ "code": "149-000-000-000-000-000-001",
224
+ "key": "unknown",
225
+ "title": "Unknown",
226
+ "selectable": true,
227
+ "parentCode": "149-000-000-000-000-000-000",
228
+ "childCodes": [],
229
+ "definition": "Value is unknown at time of entry."
230
+ },
231
+ {
232
+ "code": "149-000-000-000-000-000-002",
233
+ "key": "anonymous",
234
+ "title": "Anonymous",
235
+ "selectable": true,
236
+ "parentCode": "149-000-000-000-000-000-000",
237
+ "childCodes": [],
238
+ "definition": "Value is intentionally withheld or redacted."
239
+ },
240
+ {
241
+ "code": "149-000-000-000-000-000-003",
242
+ "key": "data_not_collected",
243
+ "title": "Data not collected",
244
+ "selectable": true,
245
+ "parentCode": "149-000-000-000-000-000-000",
246
+ "childCodes": [],
247
+ "definition": "No attempt was made to collect the value."
248
+ }
249
+ ]
250
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "domain": "contact_safety_status",
3
+ "name": "Core Contact Safety Status",
4
+ "version": "1.0.0",
5
+ "levels": {
6
+ "0": "Unknown or Missing",
7
+ "1": "Safety status"
8
+ },
9
+ "entries": [
10
+ {
11
+ "code": "155-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
+ "155-000-000-000-000-000-001",
18
+ "155-000-000-000-000-000-002",
19
+ "155-000-000-000-000-000-003"
20
+ ],
21
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
22
+ },
23
+ {
24
+ "code": "155-000-000-000-000-000-001",
25
+ "key": "unknown",
26
+ "title": "Unknown",
27
+ "selectable": true,
28
+ "parentCode": "155-000-000-000-000-000-000",
29
+ "childCodes": [],
30
+ "definition": "Value is unknown at time of entry."
31
+ },
32
+ {
33
+ "code": "155-000-000-000-000-000-002",
34
+ "key": "anonymous",
35
+ "title": "Anonymous",
36
+ "selectable": true,
37
+ "parentCode": "155-000-000-000-000-000-000",
38
+ "childCodes": [],
39
+ "definition": "Value is intentionally withheld or redacted."
40
+ },
41
+ {
42
+ "code": "155-000-000-000-000-000-003",
43
+ "key": "data_not_collected",
44
+ "title": "Data not collected",
45
+ "selectable": true,
46
+ "parentCode": "155-000-000-000-000-000-000",
47
+ "childCodes": [],
48
+ "definition": "No attempt was made to collect the value."
49
+ },
50
+ {
51
+ "code": "155-001-000-000-000-000-000",
52
+ "key": "safe",
53
+ "title": "Safe",
54
+ "selectable": true,
55
+ "parentCode": null,
56
+ "childCodes": [],
57
+ "definition": "This contact method is safe to use when reaching the individual. Consumers may additionally enforce a 'do not contact' override sourced from a separate safety flag; that override is a consumer-side rule, not a codebook entry."
58
+ },
59
+ {
60
+ "code": "155-002-000-000-000-000-000",
61
+ "key": "not_safe",
62
+ "title": "Not safe",
63
+ "selectable": true,
64
+ "parentCode": null,
65
+ "childCodes": [],
66
+ "definition": "This contact method is not safe to use when reaching the individual (e.g., may be monitored by an abuser or other unsafe party)."
67
+ }
68
+ ]
69
+ }
@@ -0,0 +1,302 @@
1
+ {
2
+ "domain": "employment_status",
3
+ "name": "Core Employment Status",
4
+ "version": "1.0.0",
5
+ "levels": {
6
+ "0": "Unknown or Missing",
7
+ "1": "Primary",
8
+ "2": "Detail"
9
+ },
10
+ "entries": [
11
+ {
12
+ "code": "179-001-000-000-000-000-000",
13
+ "key": "employed",
14
+ "title": "Employed",
15
+ "selectable": true,
16
+ "parentCode": null,
17
+ "childCodes": [
18
+ "179-001-001-000-000-000-000",
19
+ "179-001-002-000-000-000-000",
20
+ "179-001-003-000-000-000-000",
21
+ "179-001-004-000-000-000-000",
22
+ "179-001-005-000-000-000-000",
23
+ "179-001-006-000-000-000-000",
24
+ "179-001-007-000-000-000-000"
25
+ ],
26
+ "definition": "Has worked for pay or profit during the reference period (includes formal and informal work)."
27
+ },
28
+ {
29
+ "code": "179-001-001-000-000-000-000",
30
+ "key": "full_time",
31
+ "title": "Full-time",
32
+ "selectable": true,
33
+ "parentCode": "179-001-000-000-000-000-000",
34
+ "childCodes": [],
35
+ "definition": "Working 35+ hours per week (or local program definition of full-time) during the reference period. HMIS-authoritative type of employment when Employed=Yes."
36
+ },
37
+ {
38
+ "code": "179-001-002-000-000-000-000",
39
+ "key": "part_time",
40
+ "title": "Part-time",
41
+ "selectable": true,
42
+ "parentCode": "179-001-000-000-000-000-000",
43
+ "childCodes": [],
44
+ "definition": "Working fewer than full-time hours during the reference period. HMIS-authoritative type of employment when Employed=Yes."
45
+ },
46
+ {
47
+ "code": "179-001-003-000-000-000-000",
48
+ "key": "seasonal_sporadic",
49
+ "title": "Seasonal / sporadic (including day labor)",
50
+ "selectable": true,
51
+ "parentCode": "179-001-000-000-000-000-000",
52
+ "childCodes": [],
53
+ "definition": "Work is seasonal, sporadic, day labor, or otherwise inconsistent/irregular during the reference period. HMIS-authoritative type of employment when Employed=Yes."
54
+ },
55
+ {
56
+ "code": "179-001-004-000-000-000-000",
57
+ "key": "self_employed",
58
+ "title": "Self-employed",
59
+ "selectable": true,
60
+ "parentCode": "179-001-000-000-000-000-000",
61
+ "childCodes": [],
62
+ "definition": "Works for themself as a contractor, sole proprietor, or business owner. HTI extended detail (non-HMIS)."
63
+ },
64
+ {
65
+ "code": "179-001-005-000-000-000-000",
66
+ "key": "informal_cash_gig",
67
+ "title": "Informal / cash-based / gig",
68
+ "selectable": true,
69
+ "parentCode": "179-001-000-000-000-000-000",
70
+ "childCodes": [],
71
+ "definition": "Earns income through informal, cash-based, gig, or off-the-books work. HTI extended detail (non-HMIS)."
72
+ },
73
+ {
74
+ "code": "179-001-006-000-000-000-000",
75
+ "key": "multiple_jobs",
76
+ "title": "Multiple jobs",
77
+ "selectable": true,
78
+ "parentCode": "179-001-000-000-000-000-000",
79
+ "childCodes": [],
80
+ "definition": "Holds more than one job or income-generating role. HTI extended detail (non-HMIS)."
81
+ },
82
+ {
83
+ "code": "179-001-007-000-000-000-000",
84
+ "key": "unpaid_family_worker",
85
+ "title": "Unpaid family worker",
86
+ "selectable": true,
87
+ "parentCode": "179-001-000-000-000-000-000",
88
+ "childCodes": [],
89
+ "definition": "Works in a family business or farm without formal pay. HTI extended detail (non-HMIS)."
90
+ },
91
+ {
92
+ "code": "179-002-000-000-000-000-000",
93
+ "key": "unemployed",
94
+ "title": "Unemployed",
95
+ "selectable": true,
96
+ "parentCode": null,
97
+ "childCodes": [
98
+ "179-002-001-000-000-000-000",
99
+ "179-002-002-000-000-000-000",
100
+ "179-002-003-000-000-000-000",
101
+ "179-002-004-000-000-000-000",
102
+ "179-002-005-000-000-000-000"
103
+ ],
104
+ "definition": "Not working, available, and actively seeking work (or on temporary layoff). Federal BLS/Census Unemployed definition."
105
+ },
106
+ {
107
+ "code": "179-002-001-000-000-000-000",
108
+ "key": "looking_for_work",
109
+ "title": "Looking for work (HMIS)",
110
+ "selectable": true,
111
+ "parentCode": "179-002-000-000-000-000-000",
112
+ "childCodes": [],
113
+ "definition": "Employed=No and looking for work. HMIS-authoritative reason captured when Employed=No."
114
+ },
115
+ {
116
+ "code": "179-002-002-000-000-000-000",
117
+ "key": "actively_seeking",
118
+ "title": "Actively seeking",
119
+ "selectable": true,
120
+ "parentCode": "179-002-000-000-000-000-000",
121
+ "childCodes": [],
122
+ "definition": "Not working, available, and actively taking steps to find work. HTI extended detail (non-HMIS)."
123
+ },
124
+ {
125
+ "code": "179-002-003-000-000-000-000",
126
+ "key": "first_time_job_seeker",
127
+ "title": "First-time job seeker",
128
+ "selectable": true,
129
+ "parentCode": "179-002-000-000-000-000-000",
130
+ "childCodes": [],
131
+ "definition": "Unemployed and seeking a first job (no prior work history or new entrant). HTI extended detail (non-HMIS)."
132
+ },
133
+ {
134
+ "code": "179-002-004-000-000-000-000",
135
+ "key": "recently_laid_off",
136
+ "title": "Recently laid off",
137
+ "selectable": true,
138
+ "parentCode": "179-002-000-000-000-000-000",
139
+ "childCodes": [],
140
+ "definition": "Unemployed due to a recent layoff or job loss. HTI extended detail (non-HMIS)."
141
+ },
142
+ {
143
+ "code": "179-002-005-000-000-000-000",
144
+ "key": "long_term_unemployed",
145
+ "title": "Long-term unemployed",
146
+ "selectable": true,
147
+ "parentCode": "179-002-000-000-000-000-000",
148
+ "childCodes": [],
149
+ "definition": "Unemployed and actively seeking work for an extended period (program-defined threshold, often 27+ weeks). HTI extended detail (non-HMIS)."
150
+ },
151
+ {
152
+ "code": "179-003-000-000-000-000-000",
153
+ "key": "not_in_labor_force",
154
+ "title": "Not in the labor force (NILF)",
155
+ "selectable": true,
156
+ "parentCode": null,
157
+ "childCodes": [
158
+ "179-003-001-000-000-000-000",
159
+ "179-003-002-000-000-000-000",
160
+ "179-003-003-000-000-000-000",
161
+ "179-003-004-000-000-000-000",
162
+ "179-003-005-000-000-000-000",
163
+ "179-003-006-000-000-000-000",
164
+ "179-003-007-000-000-000-000",
165
+ "179-003-008-000-000-000-000"
166
+ ],
167
+ "definition": "Not working and not actively seeking work during the reference period (e.g., student, caregiver, retired). Federal BLS/Census NILF definition."
168
+ },
169
+ {
170
+ "code": "179-003-001-000-000-000-000",
171
+ "key": "not_looking_for_work",
172
+ "title": "Not looking for work (HMIS)",
173
+ "selectable": true,
174
+ "parentCode": "179-003-000-000-000-000-000",
175
+ "childCodes": [],
176
+ "definition": "Employed=No and not looking for work. HMIS-authoritative reason captured when Employed=No."
177
+ },
178
+ {
179
+ "code": "179-003-002-000-000-000-000",
180
+ "key": "unable_to_work",
181
+ "title": "Unable to work (HMIS)",
182
+ "selectable": true,
183
+ "parentCode": "179-003-000-000-000-000-000",
184
+ "childCodes": [],
185
+ "definition": "Employed=No due to being unable to work. HMIS-authoritative reason captured when Employed=No."
186
+ },
187
+ {
188
+ "code": "179-003-003-000-000-000-000",
189
+ "key": "student",
190
+ "title": "Student",
191
+ "selectable": true,
192
+ "parentCode": "179-003-000-000-000-000-000",
193
+ "childCodes": [],
194
+ "definition": "Not working because enrolled in school or training and not actively seeking work. HTI extended detail (non-HMIS)."
195
+ },
196
+ {
197
+ "code": "179-003-004-000-000-000-000",
198
+ "key": "caregiver",
199
+ "title": "Caregiver (child, family, dependent)",
200
+ "selectable": true,
201
+ "parentCode": "179-003-000-000-000-000-000",
202
+ "childCodes": [],
203
+ "definition": "Not working due to caregiving responsibilities for a child, family member, or other dependent. HTI extended detail (non-HMIS)."
204
+ },
205
+ {
206
+ "code": "179-003-005-000-000-000-000",
207
+ "key": "disabled",
208
+ "title": "Disabled / unable to work",
209
+ "selectable": true,
210
+ "parentCode": "179-003-000-000-000-000-000",
211
+ "childCodes": [],
212
+ "definition": "Not working due to disability, illness, or inability to work. HTI extended detail (non-HMIS); captures disability-specific context beyond the HMIS Unable-to-work code."
213
+ },
214
+ {
215
+ "code": "179-003-006-000-000-000-000",
216
+ "key": "retired",
217
+ "title": "Retired",
218
+ "selectable": true,
219
+ "parentCode": "179-003-000-000-000-000-000",
220
+ "childCodes": [],
221
+ "definition": "Not working because retired and not actively seeking work. HTI extended detail (non-HMIS)."
222
+ },
223
+ {
224
+ "code": "179-003-007-000-000-000-000",
225
+ "key": "discouraged_worker",
226
+ "title": "Discouraged worker",
227
+ "selectable": true,
228
+ "parentCode": "179-003-000-000-000-000-000",
229
+ "childCodes": [],
230
+ "definition": "Not working and wants a job but is not currently seeking due to discouragement about job prospects. HTI extended detail (non-HMIS)."
231
+ },
232
+ {
233
+ "code": "179-003-008-000-000-000-000",
234
+ "key": "other_reason",
235
+ "title": "Other reason",
236
+ "selectable": true,
237
+ "parentCode": "179-003-000-000-000-000-000",
238
+ "childCodes": [],
239
+ "definition": "Not working for another specified reason not captured above. HTI extended detail (non-HMIS)."
240
+ },
241
+ {
242
+ "code": "179-000-000-000-000-000-000",
243
+ "key": "missingness_root",
244
+ "title": "Unknown, Redacted, or Missing",
245
+ "selectable": false,
246
+ "parentCode": null,
247
+ "childCodes": [
248
+ "179-000-000-000-000-000-001",
249
+ "179-000-000-000-000-000-002",
250
+ "179-000-000-000-000-000-003",
251
+ "179-000-000-000-000-000-004",
252
+ "179-000-000-000-000-000-005"
253
+ ],
254
+ "definition": "Root group for values indicating absent, withheld, or uncollected employment-status data. Expands to the full HMIS 5-state missingness set (unknown, anonymous, data_not_collected, client_doesnt_know, client_refused) per HMIS R6 Employment Status response semantics."
255
+ },
256
+ {
257
+ "code": "179-000-000-000-000-000-001",
258
+ "key": "unknown",
259
+ "title": "Unknown",
260
+ "selectable": true,
261
+ "parentCode": "179-000-000-000-000-000-000",
262
+ "childCodes": [],
263
+ "definition": "Value is unknown at time of entry or cannot be determined from available information."
264
+ },
265
+ {
266
+ "code": "179-000-000-000-000-000-002",
267
+ "key": "anonymous",
268
+ "title": "Anonymous",
269
+ "selectable": true,
270
+ "parentCode": "179-000-000-000-000-000-000",
271
+ "childCodes": [],
272
+ "definition": "Information may be withheld by preference or due to redaction; identity is anonymous or redacted."
273
+ },
274
+ {
275
+ "code": "179-000-000-000-000-000-003",
276
+ "key": "data_not_collected",
277
+ "title": "Data not collected",
278
+ "selectable": true,
279
+ "parentCode": "179-000-000-000-000-000-000",
280
+ "childCodes": [],
281
+ "definition": "No attempt was made to collect the information."
282
+ },
283
+ {
284
+ "code": "179-000-000-000-000-000-004",
285
+ "key": "client_doesnt_know",
286
+ "title": "Client doesn't know",
287
+ "selectable": true,
288
+ "parentCode": "179-000-000-000-000-000-000",
289
+ "childCodes": [],
290
+ "definition": "Client is unable to provide an answer (explicit 'doesn't know'). HMIS R6 nonresponse value."
291
+ },
292
+ {
293
+ "code": "179-000-000-000-000-000-005",
294
+ "key": "client_refused",
295
+ "title": "Client refused",
296
+ "selectable": true,
297
+ "parentCode": "179-000-000-000-000-000-000",
298
+ "childCodes": [],
299
+ "definition": "The person was asked but chose not to provide an answer (client prefers not to answer). HMIS R6 nonresponse value."
300
+ }
301
+ ]
302
+ }