@htilabs/platform-common-models 0.8.1 → 0.8.4

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 (38) hide show
  1. package/dist/constants/index.cjs +28 -5
  2. package/dist/constants/index.cjs.map +1 -1
  3. package/dist/constants/index.d.cts +1 -1
  4. package/dist/constants/index.d.ts +1 -1
  5. package/dist/constants/index.js +27 -5
  6. package/dist/constants/index.js.map +1 -1
  7. package/dist/cvcs/index.cjs +335 -3
  8. package/dist/cvcs/index.cjs.map +1 -1
  9. package/dist/cvcs/index.d.cts +1621 -1255
  10. package/dist/cvcs/index.d.ts +1621 -1255
  11. package/dist/cvcs/index.js +333 -3
  12. package/dist/cvcs/index.js.map +1 -1
  13. package/dist/index.cjs +406 -11
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +54 -6
  16. package/dist/index.d.ts +54 -6
  17. package/dist/index.js +401 -11
  18. package/dist/index.js.map +1 -1
  19. package/dist/{platform-auth-7dL99tZh.d.cts → platform-auth-BdnJUisw.d.cts} +16 -3
  20. package/dist/{platform-auth-7dL99tZh.d.ts → platform-auth-BdnJUisw.d.ts} +16 -3
  21. package/dist/schemas/index.cjs +25 -4
  22. package/dist/schemas/index.cjs.map +1 -1
  23. package/dist/schemas/index.js +25 -4
  24. package/dist/schemas/index.js.map +1 -1
  25. package/dist/types/index.d.cts +2 -2
  26. package/dist/types/index.d.ts +2 -2
  27. package/package.json +1 -1
  28. package/src/__tests__/__snapshots__/cvc-sot.snap +14 -6
  29. package/src/__tests__/cvc-sot-snapshot.test.ts +27 -7
  30. package/src/__tests__/cvc-structural.test.ts +2 -0
  31. package/src/constants/ic.ts +31 -3
  32. package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +9 -0
  33. package/src/cvcs/housingSubsidyTypes.v1.0.0.json +159 -0
  34. package/src/cvcs/incomeBenefitsSources.v1.0.0.json +31 -2
  35. package/src/cvcs/index.ts +4 -0
  36. package/src/cvcs/recencyBand.v1.0.0.json +105 -0
  37. package/src/cvcs/serviceStates.v1.0.0.json +23 -1
  38. package/src/generated/cvc-enums.ts +55 -3
package/dist/index.cjs CHANGED
@@ -252,6 +252,7 @@ __export(src_exports, {
252
252
  HopeScaleCaptureContextKeys: () => HopeScaleCaptureContextKeys,
253
253
  HopeScaleResponseOptionsKeys: () => HopeScaleResponseOptionsKeys,
254
254
  HopeScaleTierKeys: () => HopeScaleTierKeys,
255
+ HousingSubsidyTypesKeys: () => HousingSubsidyTypesKeys,
255
256
  HtTypeKeys: () => HtTypeKeys,
256
257
  IC_13_CATEGORIES: () => IC_13_CATEGORIES,
257
258
  IC_13_CATEGORY_ORDER: () => IC_13_CATEGORY_ORDER,
@@ -287,6 +288,7 @@ __export(src_exports, {
287
288
  IC_56_DESCRIPTIONS: () => IC_56_DESCRIPTIONS,
288
289
  IC_56_LABELS: () => IC_56_LABELS,
289
290
  IC_56_OPTIONS: () => IC_56_OPTIONS,
291
+ IC_56_PROVISIONAL_CHANNELS: () => IC_56_PROVISIONAL_CHANNELS,
290
292
  IC_56_SERVICE_DELIVERY_CHANNEL: () => IC_56_SERVICE_DELIVERY_CHANNEL,
291
293
  IC_57_LABELS: () => IC_57_LABELS,
292
294
  IC_57_SERVICE_AUDIENCE: () => IC_57_SERVICE_AUDIENCE,
@@ -373,6 +375,7 @@ __export(src_exports, {
373
375
  ROLE_LEVEL_LABELS: () => ROLE_LEVEL_LABELS,
374
376
  ROLE_LEVEL_VALUES: () => ROLE_LEVEL_VALUES,
375
377
  RaceEthnicityKeys: () => RaceEthnicityKeys,
378
+ RecencyBandKeys: () => RecencyBandKeys,
376
379
  ReferenceLinkTypeKeys: () => ReferenceLinkTypeKeys,
377
380
  ReferralEntityCategoryKeys: () => ReferralEntityCategoryKeys,
378
381
  RelationshipConcernKeys: () => RelationshipConcernKeys,
@@ -519,6 +522,7 @@ __export(src_exports, {
519
522
  hopeScaleCaptureContextSot: () => hopeScaleCaptureContext_v1_0_0_default,
520
523
  hopeScaleResponseOptionsSot: () => hopeScaleResponseOptions_v1_0_0_default,
521
524
  hopeScaleTierSot: () => hopeScaleTier_v1_0_0_default,
525
+ housingSubsidyTypesSot: () => housingSubsidyTypes_v1_0_0_default,
522
526
  htTypeSot: () => htType_v1_0_0_default,
523
527
  identificationStatusSot: () => identificationStatus_v1_0_0_default,
524
528
  incidentInvolvementRolesSot: () => incidentInvolvementRoles_v1_0_0_default,
@@ -571,6 +575,7 @@ __export(src_exports, {
571
575
  questionSchemaDefinition: () => questionSchemaDefinition,
572
576
  questionSchemaOptions: () => questionSchemaOptions,
573
577
  raceEthnicitySot: () => raceEthnicity_v1_0_0_default,
578
+ recencyBandSot: () => recencyBand_v1_0_0_default,
574
579
  referenceLinkTypeSot: () => referenceLinkType_v1_0_0_default,
575
580
  referralEntityCategorySot: () => referralEntityCategory_v1_0_0_default,
576
581
  relationshipConcernSot: () => relationshipConcern_v1_0_0_default,
@@ -1115,8 +1120,17 @@ var IC_56_SERVICE_DELIVERY_CHANNEL = {
1115
1120
  ON_SCENE: 2,
1116
1121
  PHONE: 3,
1117
1122
  EMAIL_TEXT_CHAT: 4,
1118
- VIRTUAL: 5
1119
- };
1123
+ VIRTUAL: 5,
1124
+ // PROVISIONAL — group delivery channels surfaced by the Thread canonical
1125
+ // "How was the service delivered?" picker. Authored ahead of codebook /
1126
+ // Notion ratification; flagged provisional pending SOT sign-off.
1127
+ GROUP_IN_PERSON: 6,
1128
+ GROUP_REMOTE: 7
1129
+ };
1130
+ var IC_56_PROVISIONAL_CHANNELS = /* @__PURE__ */ new Set([
1131
+ IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_IN_PERSON,
1132
+ IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_REMOTE
1133
+ ]);
1120
1134
  var IC_56_LABELS = {
1121
1135
  [IC_56_SERVICE_DELIVERY_CHANNEL.DATA_NOT_COLLECTED]: "Data Not Collected",
1122
1136
  [IC_56_SERVICE_DELIVERY_CHANNEL.ANONYMOUS]: "Anonymous",
@@ -1125,7 +1139,9 @@ var IC_56_LABELS = {
1125
1139
  [IC_56_SERVICE_DELIVERY_CHANNEL.ON_SCENE]: "On-scene",
1126
1140
  [IC_56_SERVICE_DELIVERY_CHANNEL.PHONE]: "Phone",
1127
1141
  [IC_56_SERVICE_DELIVERY_CHANNEL.EMAIL_TEXT_CHAT]: "Email / Text / Chat",
1128
- [IC_56_SERVICE_DELIVERY_CHANNEL.VIRTUAL]: "Virtual"
1142
+ [IC_56_SERVICE_DELIVERY_CHANNEL.VIRTUAL]: "Virtual",
1143
+ [IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_IN_PERSON]: "Group (in-person)",
1144
+ [IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_REMOTE]: "Group (remote)"
1129
1145
  };
1130
1146
  var IC_56_DESCRIPTIONS = {
1131
1147
  [IC_56_SERVICE_DELIVERY_CHANNEL.DATA_NOT_COLLECTED]: "Contact method data was not collected",
@@ -1135,13 +1151,15 @@ var IC_56_DESCRIPTIONS = {
1135
1151
  [IC_56_SERVICE_DELIVERY_CHANNEL.ON_SCENE]: "Field response / crisis response / mobile advocacy",
1136
1152
  [IC_56_SERVICE_DELIVERY_CHANNEL.PHONE]: "Phone call",
1137
1153
  [IC_56_SERVICE_DELIVERY_CHANNEL.EMAIL_TEXT_CHAT]: "Email, text message, or chat",
1138
- [IC_56_SERVICE_DELIVERY_CHANNEL.VIRTUAL]: "Virtual / video call"
1154
+ [IC_56_SERVICE_DELIVERY_CHANNEL.VIRTUAL]: "Virtual / video call",
1155
+ [IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_IN_PERSON]: "Group session delivered in person (support group, class, workshop)",
1156
+ [IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_REMOTE]: "Group session delivered remotely (virtual support group, webinar)"
1139
1157
  };
1140
1158
  function isIC56Missingness(code) {
1141
1159
  return code <= 0;
1142
1160
  }
1143
1161
  function isIC56ValidChannel(code) {
1144
- return code >= 1 && code <= 5;
1162
+ return code >= 1 && code <= 7;
1145
1163
  }
1146
1164
  var IC_56_OPTIONS = [
1147
1165
  {
@@ -1163,6 +1181,14 @@ var IC_56_OPTIONS = [
1163
1181
  {
1164
1182
  value: IC_56_SERVICE_DELIVERY_CHANNEL.VIRTUAL,
1165
1183
  label: IC_56_LABELS[IC_56_SERVICE_DELIVERY_CHANNEL.VIRTUAL]
1184
+ },
1185
+ {
1186
+ value: IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_IN_PERSON,
1187
+ label: IC_56_LABELS[IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_IN_PERSON]
1188
+ },
1189
+ {
1190
+ value: IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_REMOTE,
1191
+ label: IC_56_LABELS[IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_REMOTE]
1166
1192
  }
1167
1193
  ];
1168
1194
  var IC_57_SERVICE_AUDIENCE = {
@@ -7470,7 +7496,9 @@ var ServiceStateKeys = {
7470
7496
  unable_to_provide_eligibility: "049-007-001-000-000-000-000",
7471
7497
  unable_to_provide_capacity: "049-007-002-000-000-000-000",
7472
7498
  unable_to_provide_resource: "049-007-003-000-000-000-000",
7473
- unable_other_reason: "049-007-004-000-000-000-000"
7499
+ unable_other_reason: "049-007-004-000-000-000-000",
7500
+ unable_to_provide_service_fit: "049-007-005-000-000-000-000",
7501
+ unable_to_provide_access_barrier: "049-007-006-000-000-000-000"
7474
7502
  };
7475
7503
  var ServiceMechanismKeys = {
7476
7504
  missingness_root: "025-000-000-000-000-000-000",
@@ -7961,7 +7989,8 @@ var HighestEducationLevelCompletedKeys = {
7961
7989
  some_college: "180-004-000-000-000-000-000",
7962
7990
  associates: "180-005-000-000-000-000-000",
7963
7991
  bachelors: "180-006-000-000-000-000-000",
7964
- graduate_professional: "180-007-000-000-000-000-000"
7992
+ graduate_professional: "180-007-000-000-000-000-000",
7993
+ trade_vocational: "180-008-000-000-000-000-000"
7965
7994
  };
7966
7995
  var PreferredContactMethodKeys = {
7967
7996
  call: "185-001-000-000-000-000-000",
@@ -8346,6 +8375,7 @@ var IncomeBenefitsSourcesKeys = {
8346
8375
  prefer_not_to_answer: "171-000-000-000-000-000-004",
8347
8376
  earned_income: "171-001-000-000-000-000-000",
8348
8377
  employment: "171-001-001-000-000-000-000",
8378
+ informal_income: "171-001-002-000-000-000-000",
8349
8379
  cash_benefit: "171-002-000-000-000-000-000",
8350
8380
  unemployment_insurance: "171-002-001-000-000-000-000",
8351
8381
  supplemental_security_income: "171-002-002-000-000-000-000",
@@ -8373,10 +8403,12 @@ var IncomeBenefitsSourcesKeys = {
8373
8403
  transfer_support: "171-004-000-000-000-000-000",
8374
8404
  child_support: "171-004-001-000-000-000-000",
8375
8405
  alimony_spousal_support: "171-004-002-000-000-000-000",
8406
+ family_friend_support: "171-004-003-000-000-000-000",
8376
8407
  other_unspecified: "171-005-000-000-000-000-000",
8377
8408
  other_income: "171-005-001-000-000-000-000",
8378
8409
  other_benefit: "171-005-002-000-000-000-000",
8379
- education_stipend: "171-005-003-000-000-000-000"
8410
+ education_stipend: "171-005-003-000-000-000-000",
8411
+ victim_compensation: "171-006-000-000-000-000-000"
8380
8412
  };
8381
8413
  var EnrollmentApplicationStatusKeys = {
8382
8414
  missingness_root: "175-000-000-000-000-000-000",
@@ -9744,6 +9776,36 @@ var RelationshipConcernKeys = {
9744
9776
  is_known_trafficker_or_suspect: "231-006-000-000-000-000-000",
9745
9777
  other_concern: "231-007-000-000-000-000-000"
9746
9778
  };
9779
+ var RecencyBandKeys = {
9780
+ missingness_root: "232-000-000-000-000-000-000",
9781
+ unknown: "232-000-000-000-000-000-001",
9782
+ anonymous: "232-000-000-000-000-000-002",
9783
+ data_not_collected: "232-000-000-000-000-000-003",
9784
+ within_3_months: "232-001-000-000-000-000-000",
9785
+ months_3_to_6: "232-002-000-000-000-000-000",
9786
+ months_6_to_12: "232-003-000-000-000-000-000",
9787
+ one_year_or_more: "232-004-000-000-000-000-000",
9788
+ years_3_to_10: "232-005-000-000-000-000-000",
9789
+ ten_plus_years: "232-006-000-000-000-000-000"
9790
+ };
9791
+ var HousingSubsidyTypesKeys = {
9792
+ missingness_root: "233-000-000-000-000-000-000",
9793
+ unknown: "233-000-000-000-000-000-001",
9794
+ anonymous: "233-000-000-000-000-000-002",
9795
+ data_not_collected: "233-000-000-000-000-000-003",
9796
+ housing_choice_voucher: "233-001-000-000-000-000-000",
9797
+ public_housing: "233-002-000-000-000-000-000",
9798
+ project_based_rental_assistance: "233-003-000-000-000-000-000",
9799
+ permanent_supportive_housing: "233-004-000-000-000-000-000",
9800
+ rapid_rehousing_assistance: "233-005-000-000-000-000-000",
9801
+ other_housing_subsidy: "233-006-000-000-000-000-000",
9802
+ no_subsidy: "233-007-000-000-000-000-000",
9803
+ va_supportive_housing: "233-008-000-000-000-000-000",
9804
+ grant_per_diem_transition_in_place: "233-009-000-000-000-000-000",
9805
+ housing_stability_voucher: "233-010-000-000-000-000-000",
9806
+ family_unification_program: "233-011-000-000-000-000-000",
9807
+ foster_youth_to_independence: "233-012-000-000-000-000-000"
9808
+ };
9747
9809
 
9748
9810
  // src/services/cvcRegistryService.ts
9749
9811
  var import_mongoose10 = require("mongoose");
@@ -12282,7 +12344,9 @@ var serviceStates_v1_0_0_default = {
12282
12344
  "049-007-001-000-000-000-000",
12283
12345
  "049-007-002-000-000-000-000",
12284
12346
  "049-007-003-000-000-000-000",
12285
- "049-007-004-000-000-000-000"
12347
+ "049-007-004-000-000-000-000",
12348
+ "049-007-005-000-000-000-000",
12349
+ "049-007-006-000-000-000-000"
12286
12350
  ],
12287
12351
  definition: "Program could not provide the service."
12288
12352
  },
@@ -12322,6 +12386,26 @@ var serviceStates_v1_0_0_default = {
12322
12386
  childCodes: [],
12323
12387
  definition: "Program could not provide the Service for a reason other than eligibility, capacity, or resources."
12324
12388
  },
12389
+ {
12390
+ code: "049-007-005-000-000-000-000",
12391
+ key: "unable_to_provide_service_fit",
12392
+ title: "Unable due to service fit",
12393
+ selectable: true,
12394
+ parentCode: "049-007-000-000-000-000-000",
12395
+ childCodes: [],
12396
+ definition: "Program's services were not an appropriate fit for the client's presenting needs.",
12397
+ provisional: true
12398
+ },
12399
+ {
12400
+ code: "049-007-006-000-000-000-000",
12401
+ key: "unable_to_provide_access_barrier",
12402
+ title: "Unable due to access barrier",
12403
+ selectable: true,
12404
+ parentCode: "049-007-000-000-000-000-000",
12405
+ childCodes: [],
12406
+ definition: "An access barrier (e.g. language, transportation, location, hours, technology) prevented service delivery.",
12407
+ provisional: true
12408
+ },
12325
12409
  {
12326
12410
  code: "049-000-000-000-000-000-000",
12327
12411
  key: "missingness_root",
@@ -17131,6 +17215,15 @@ var highestEducationLevelCompleted_v1_0_0_default = {
17131
17215
  childCodes: [],
17132
17216
  definition: "Completed a master's, doctoral, or professional degree (MA, MS, MBA, JD, MD, PhD, or equivalent). Aligns with Census/ACS 'Graduate or professional degree'."
17133
17217
  },
17218
+ {
17219
+ code: "180-008-000-000-000-000-000",
17220
+ key: "trade_vocational",
17221
+ title: "Trade or vocational credential",
17222
+ selectable: true,
17223
+ parentCode: null,
17224
+ childCodes: [],
17225
+ definition: "Completed a trade, vocational, or technical credential (apprenticeship, licensure, or postsecondary non-degree award) rather than an academic degree."
17226
+ },
17134
17227
  {
17135
17228
  code: "180-000-000-000-000-000-000",
17136
17229
  key: "missingness_root",
@@ -20830,7 +20923,8 @@ var incomeBenefitsSources_v1_0_0_default = {
20830
20923
  selectable: false,
20831
20924
  parentCode: null,
20832
20925
  childCodes: [
20833
- "171-001-001-000-000-000-000"
20926
+ "171-001-001-000-000-000-000",
20927
+ "171-001-002-000-000-000-000"
20834
20928
  ],
20835
20929
  definition: "Income from wages, salary, tips, gig/contract work, or other paid employment."
20836
20930
  },
@@ -20843,6 +20937,15 @@ var incomeBenefitsSources_v1_0_0_default = {
20843
20937
  childCodes: [],
20844
20938
  definition: "Income from wages, salary, tips, gig/contract work, or other paid employment. Includes informal earned income that is not supported by official documentation."
20845
20939
  },
20940
+ {
20941
+ code: "171-001-002-000-000-000-000",
20942
+ key: "informal_income",
20943
+ title: "Informal / undocumented income",
20944
+ selectable: true,
20945
+ parentCode: "171-001-000-000-000-000-000",
20946
+ childCodes: [],
20947
+ definition: "Informal or undocumented income, e.g. cash work or side activity not captured by formal employment or a benefit program."
20948
+ },
20846
20949
  {
20847
20950
  code: "171-002-000-000-000-000-000",
20848
20951
  key: "cash_benefit",
@@ -21091,7 +21194,8 @@ var incomeBenefitsSources_v1_0_0_default = {
21091
21194
  parentCode: null,
21092
21195
  childCodes: [
21093
21196
  "171-004-001-000-000-000-000",
21094
- "171-004-002-000-000-000-000"
21197
+ "171-004-002-000-000-000-000",
21198
+ "171-004-003-000-000-000-000"
21095
21199
  ],
21096
21200
  definition: "Income received as interpersonal transfers or support payments (e.g., child support, spousal support)."
21097
21201
  },
@@ -21113,6 +21217,15 @@ var incomeBenefitsSources_v1_0_0_default = {
21113
21217
  childCodes: [],
21114
21218
  definition: "All periodic payments received from an ex-spouse as alimony or spousal support. Excludes one-time property settlements."
21115
21219
  },
21220
+ {
21221
+ code: "171-004-003-000-000-000-000",
21222
+ key: "family_friend_support",
21223
+ title: "Family / friend financial support",
21224
+ selectable: true,
21225
+ parentCode: "171-004-000-000-000-000-000",
21226
+ childCodes: [],
21227
+ definition: "Informal financial support from family or friends, not a documented benefit program."
21228
+ },
21116
21229
  {
21117
21230
  code: "171-005-000-000-000-000-000",
21118
21231
  key: "other_unspecified",
@@ -21152,6 +21265,15 @@ var incomeBenefitsSources_v1_0_0_default = {
21152
21265
  parentCode: "171-005-000-000-000-000-000",
21153
21266
  childCodes: [],
21154
21267
  definition: "Income received as a stipend, scholarship refund, training allowance, or other education-related payment that can function as income for living expenses. Funder-specific exclusions may apply (e.g., SSVF)."
21268
+ },
21269
+ {
21270
+ code: "171-006-000-000-000-000-000",
21271
+ key: "victim_compensation",
21272
+ title: "Crime victim compensation",
21273
+ selectable: true,
21274
+ parentCode: null,
21275
+ childCodes: [],
21276
+ definition: "Income or benefits from a state or federal crime-victim compensation program (e.g. VOCA-funded victim compensation)."
21155
21277
  }
21156
21278
  ]
21157
21279
  };
@@ -33557,6 +33679,274 @@ var relationshipConcern_v1_0_0_default = {
33557
33679
  }
33558
33680
  ]
33559
33681
  };
33682
+
33683
+ // src/cvcs/recencyBand.v1.0.0.json
33684
+ var recencyBand_v1_0_0_default = {
33685
+ domain: "recency_band",
33686
+ name: "Core Recency Band (PROVISIONAL CVC-232 \u2014 pending codebook ratification)",
33687
+ version: "1.0.0",
33688
+ levels: {
33689
+ "0": "Unknown or Missing",
33690
+ "1": "Recency band"
33691
+ },
33692
+ entries: [
33693
+ {
33694
+ code: "232-000-000-000-000-000-000",
33695
+ key: "missingness_root",
33696
+ title: "Unknown, Redacted, or Missing",
33697
+ selectable: false,
33698
+ parentCode: null,
33699
+ childCodes: [
33700
+ "232-000-000-000-000-000-001",
33701
+ "232-000-000-000-000-000-002",
33702
+ "232-000-000-000-000-000-003"
33703
+ ],
33704
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
33705
+ },
33706
+ {
33707
+ code: "232-000-000-000-000-000-001",
33708
+ key: "unknown",
33709
+ title: "Unknown / not captured",
33710
+ selectable: true,
33711
+ parentCode: "232-000-000-000-000-000-000",
33712
+ childCodes: [],
33713
+ definition: "The recency band is unknown or cannot be determined from the available information."
33714
+ },
33715
+ {
33716
+ code: "232-000-000-000-000-000-002",
33717
+ key: "anonymous",
33718
+ title: "Anonymous / declined to answer",
33719
+ selectable: true,
33720
+ parentCode: "232-000-000-000-000-000-000",
33721
+ childCodes: [],
33722
+ definition: "The recency band may be withheld by preference or due to redaction; identity is anonymous or redacted."
33723
+ },
33724
+ {
33725
+ code: "232-000-000-000-000-000-003",
33726
+ key: "data_not_collected",
33727
+ title: "Data not collected",
33728
+ selectable: true,
33729
+ parentCode: "232-000-000-000-000-000-000",
33730
+ childCodes: [],
33731
+ definition: "No attempt was made to collect the recency band."
33732
+ },
33733
+ {
33734
+ code: "232-001-000-000-000-000-000",
33735
+ key: "within_3_months",
33736
+ title: "Within the last 3 months",
33737
+ selectable: true,
33738
+ parentCode: null,
33739
+ childCodes: [],
33740
+ definition: "The event or condition occurred within the most recent 3 months (0 up to and including 3 months before time_as_of)."
33741
+ },
33742
+ {
33743
+ code: "232-002-000-000-000-000-000",
33744
+ key: "months_3_to_6",
33745
+ title: "3 to 6 months ago",
33746
+ selectable: true,
33747
+ parentCode: null,
33748
+ childCodes: [],
33749
+ definition: "The event or condition occurred more than 3 and up to and including 6 months before time_as_of."
33750
+ },
33751
+ {
33752
+ code: "232-003-000-000-000-000-000",
33753
+ key: "months_6_to_12",
33754
+ title: "6 to 12 months ago",
33755
+ selectable: true,
33756
+ parentCode: null,
33757
+ childCodes: [],
33758
+ definition: "The event or condition occurred more than 6 and up to and including 12 months before time_as_of."
33759
+ },
33760
+ {
33761
+ code: "232-004-000-000-000-000-000",
33762
+ key: "one_year_or_more",
33763
+ title: "1 year or more ago",
33764
+ selectable: true,
33765
+ parentCode: null,
33766
+ childCodes: [],
33767
+ definition: "The event or condition occurred at least 1 year before time_as_of. Use a finer-grained band (years_3_to_10 or ten_plus_years) when the source supports it."
33768
+ },
33769
+ {
33770
+ code: "232-005-000-000-000-000-000",
33771
+ key: "years_3_to_10",
33772
+ title: "3 to 10 years ago",
33773
+ selectable: true,
33774
+ parentCode: null,
33775
+ childCodes: [],
33776
+ definition: "The event or condition occurred more than 3 and up to and including 10 years before time_as_of."
33777
+ },
33778
+ {
33779
+ code: "232-006-000-000-000-000-000",
33780
+ key: "ten_plus_years",
33781
+ title: "More than 10 years ago",
33782
+ selectable: true,
33783
+ parentCode: null,
33784
+ childCodes: [],
33785
+ definition: "The event or condition occurred more than 10 years before time_as_of."
33786
+ }
33787
+ ]
33788
+ };
33789
+
33790
+ // src/cvcs/housingSubsidyTypes.v1.0.0.json
33791
+ var housingSubsidyTypes_v1_0_0_default = {
33792
+ domain: "housing_subsidy_types",
33793
+ name: "Core Housing Subsidy Types (PROVISIONAL CVC-233 \u2014 pending codebook ratification)",
33794
+ version: "1.0.0",
33795
+ levels: {
33796
+ "0": "Unknown or Missing",
33797
+ "1": "Housing subsidy type"
33798
+ },
33799
+ entries: [
33800
+ {
33801
+ code: "233-000-000-000-000-000-000",
33802
+ key: "missingness_root",
33803
+ title: "Unknown, Redacted, or Missing",
33804
+ selectable: false,
33805
+ parentCode: null,
33806
+ childCodes: [
33807
+ "233-000-000-000-000-000-001",
33808
+ "233-000-000-000-000-000-002",
33809
+ "233-000-000-000-000-000-003"
33810
+ ],
33811
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
33812
+ },
33813
+ {
33814
+ code: "233-000-000-000-000-000-001",
33815
+ key: "unknown",
33816
+ title: "Unknown / not captured",
33817
+ selectable: true,
33818
+ parentCode: "233-000-000-000-000-000-000",
33819
+ childCodes: [],
33820
+ definition: "The housing subsidy type is unknown or cannot be determined from the available information."
33821
+ },
33822
+ {
33823
+ code: "233-000-000-000-000-000-002",
33824
+ key: "anonymous",
33825
+ title: "Anonymous / declined to answer",
33826
+ selectable: true,
33827
+ parentCode: "233-000-000-000-000-000-000",
33828
+ childCodes: [],
33829
+ definition: "The housing subsidy type may be withheld by preference or due to redaction; identity is anonymous or redacted."
33830
+ },
33831
+ {
33832
+ code: "233-000-000-000-000-000-003",
33833
+ key: "data_not_collected",
33834
+ title: "Data not collected",
33835
+ selectable: true,
33836
+ parentCode: "233-000-000-000-000-000-000",
33837
+ childCodes: [],
33838
+ definition: "No attempt was made to collect the housing subsidy type."
33839
+ },
33840
+ {
33841
+ code: "233-001-000-000-000-000-000",
33842
+ key: "housing_choice_voucher",
33843
+ title: "Housing Choice Voucher (Section 8 HCV)",
33844
+ selectable: true,
33845
+ parentCode: null,
33846
+ childCodes: [],
33847
+ definition: "Tenant-based rental assistance through the HUD Housing Choice Voucher program (Section 8 HCV), which subsidizes rent in private-market units chosen by the tenant."
33848
+ },
33849
+ {
33850
+ code: "233-002-000-000-000-000-000",
33851
+ key: "public_housing",
33852
+ title: "Public housing",
33853
+ selectable: true,
33854
+ parentCode: null,
33855
+ childCodes: [],
33856
+ definition: "Residence in a public housing unit owned and operated by a public housing authority (PHA), with rent set as a subsidized share of household income."
33857
+ },
33858
+ {
33859
+ code: "233-003-000-000-000-000-000",
33860
+ key: "project_based_rental_assistance",
33861
+ title: "Project-based rental assistance",
33862
+ selectable: true,
33863
+ parentCode: null,
33864
+ childCodes: [],
33865
+ definition: "Rental assistance tied to a specific housing development or unit (e.g. project-based Section 8, project-based vouchers, or other site-based subsidy) rather than to the tenant."
33866
+ },
33867
+ {
33868
+ code: "233-004-000-000-000-000-000",
33869
+ key: "permanent_supportive_housing",
33870
+ title: "Permanent supportive housing (PSH)",
33871
+ selectable: true,
33872
+ parentCode: null,
33873
+ childCodes: [],
33874
+ definition: "Permanent housing that pairs a long-term rental subsidy with voluntary supportive services for people with disabilities or chronic homelessness (HUD CoC PSH)."
33875
+ },
33876
+ {
33877
+ code: "233-005-000-000-000-000-000",
33878
+ key: "rapid_rehousing_assistance",
33879
+ title: "Rapid re-housing assistance",
33880
+ selectable: true,
33881
+ parentCode: null,
33882
+ childCodes: [],
33883
+ definition: "Time-limited rental assistance and housing-stabilization services to help a household quickly exit homelessness into permanent housing (HUD CoC/ESG rapid re-housing)."
33884
+ },
33885
+ {
33886
+ code: "233-008-000-000-000-000-000",
33887
+ key: "va_supportive_housing",
33888
+ title: "VA Supportive Housing (HUD-VASH)",
33889
+ selectable: true,
33890
+ parentCode: null,
33891
+ childCodes: [],
33892
+ definition: "HUD-VASH: a HUD Housing Choice Voucher paired with VA case management and clinical services for homeless Veterans."
33893
+ },
33894
+ {
33895
+ code: "233-009-000-000-000-000-000",
33896
+ key: "grant_per_diem_transition_in_place",
33897
+ title: "Grant and Per Diem Transition-in-Place (GPD TIP)",
33898
+ selectable: true,
33899
+ parentCode: null,
33900
+ childCodes: [],
33901
+ definition: "VA Grant and Per Diem Transition-in-Place: transitional housing that converts to permanent housing for the Veteran in the same unit."
33902
+ },
33903
+ {
33904
+ code: "233-010-000-000-000-000-000",
33905
+ key: "housing_stability_voucher",
33906
+ title: "Housing Stability Voucher (HSV)",
33907
+ selectable: true,
33908
+ parentCode: null,
33909
+ childCodes: [],
33910
+ definition: "Housing Stability Voucher: rental assistance for individuals and families who are homeless, at risk of homelessness, or fleeing domestic violence."
33911
+ },
33912
+ {
33913
+ code: "233-011-000-000-000-000-000",
33914
+ key: "family_unification_program",
33915
+ title: "Family Unification Program (FUP)",
33916
+ selectable: true,
33917
+ parentCode: null,
33918
+ childCodes: [],
33919
+ definition: "Family Unification Program: HUD vouchers for families at risk of child-welfare separation and for eligible youth aging out of foster care."
33920
+ },
33921
+ {
33922
+ code: "233-012-000-000-000-000-000",
33923
+ key: "foster_youth_to_independence",
33924
+ title: "Foster Youth to Independence (FYI)",
33925
+ selectable: true,
33926
+ parentCode: null,
33927
+ childCodes: [],
33928
+ definition: "Foster Youth to Independence: HUD vouchers for youth aging out of foster care who are homeless or at risk of homelessness."
33929
+ },
33930
+ {
33931
+ code: "233-006-000-000-000-000-000",
33932
+ key: "other_housing_subsidy",
33933
+ title: "Other housing subsidy",
33934
+ selectable: true,
33935
+ parentCode: null,
33936
+ childCodes: [],
33937
+ definition: "A housing subsidy or rental-assistance program not covered by the other codes (e.g. state or local subsidy, HOME TBRA, or other program). Record program name and free-text detail alongside this code to preserve analytic value."
33938
+ },
33939
+ {
33940
+ code: "233-007-000-000-000-000-000",
33941
+ key: "no_subsidy",
33942
+ title: "No housing subsidy",
33943
+ selectable: true,
33944
+ parentCode: null,
33945
+ childCodes: [],
33946
+ definition: "The household receives no housing subsidy or rental assistance (housing costs are paid in full without a subsidy)."
33947
+ }
33948
+ ]
33949
+ };
33560
33950
  // Annotate the CommonJS export names for ESM import in node:
33561
33951
  0 && (module.exports = {
33562
33952
  ACCOMMODATION_LABELS,
@@ -33791,6 +34181,7 @@ var relationshipConcern_v1_0_0_default = {
33791
34181
  HopeScaleCaptureContextKeys,
33792
34182
  HopeScaleResponseOptionsKeys,
33793
34183
  HopeScaleTierKeys,
34184
+ HousingSubsidyTypesKeys,
33794
34185
  HtTypeKeys,
33795
34186
  IC_13_CATEGORIES,
33796
34187
  IC_13_CATEGORY_ORDER,
@@ -33826,6 +34217,7 @@ var relationshipConcern_v1_0_0_default = {
33826
34217
  IC_56_DESCRIPTIONS,
33827
34218
  IC_56_LABELS,
33828
34219
  IC_56_OPTIONS,
34220
+ IC_56_PROVISIONAL_CHANNELS,
33829
34221
  IC_56_SERVICE_DELIVERY_CHANNEL,
33830
34222
  IC_57_LABELS,
33831
34223
  IC_57_SERVICE_AUDIENCE,
@@ -33912,6 +34304,7 @@ var relationshipConcern_v1_0_0_default = {
33912
34304
  ROLE_LEVEL_LABELS,
33913
34305
  ROLE_LEVEL_VALUES,
33914
34306
  RaceEthnicityKeys,
34307
+ RecencyBandKeys,
33915
34308
  ReferenceLinkTypeKeys,
33916
34309
  ReferralEntityCategoryKeys,
33917
34310
  RelationshipConcernKeys,
@@ -34058,6 +34451,7 @@ var relationshipConcern_v1_0_0_default = {
34058
34451
  hopeScaleCaptureContextSot,
34059
34452
  hopeScaleResponseOptionsSot,
34060
34453
  hopeScaleTierSot,
34454
+ housingSubsidyTypesSot,
34061
34455
  htTypeSot,
34062
34456
  identificationStatusSot,
34063
34457
  incidentInvolvementRolesSot,
@@ -34110,6 +34504,7 @@ var relationshipConcern_v1_0_0_default = {
34110
34504
  questionSchemaDefinition,
34111
34505
  questionSchemaOptions,
34112
34506
  raceEthnicitySot,
34507
+ recencyBandSot,
34113
34508
  referenceLinkTypeSot,
34114
34509
  referralEntityCategorySot,
34115
34510
  relationshipConcernSot,