@htilabs/platform-common-models 0.8.1 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants/index.cjs +28 -5
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +27 -5
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +268 -1
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +1545 -1251
- package/dist/cvcs/index.d.ts +1545 -1251
- package/dist/cvcs/index.js +266 -1
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +332 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +47 -6
- package/dist/index.d.ts +47 -6
- package/dist/index.js +327 -9
- package/dist/index.js.map +1 -1
- package/dist/{platform-auth-7dL99tZh.d.cts → platform-auth-BdnJUisw.d.cts} +16 -3
- package/dist/{platform-auth-7dL99tZh.d.ts → platform-auth-BdnJUisw.d.ts} +16 -3
- package/dist/schemas/index.cjs +25 -4
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.js +25 -4
- package/dist/schemas/index.js.map +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/__tests__/__snapshots__/cvc-sot.snap +14 -6
- package/src/__tests__/cvc-sot-snapshot.test.ts +22 -7
- package/src/__tests__/cvc-structural.test.ts +2 -0
- package/src/constants/ic.ts +31 -3
- package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +9 -0
- package/src/cvcs/housingSubsidyTypes.v1.0.0.json +114 -0
- package/src/cvcs/incomeBenefitsSources.v1.0.0.json +9 -0
- package/src/cvcs/index.ts +4 -0
- package/src/cvcs/recencyBand.v1.0.0.json +105 -0
- package/src/cvcs/serviceStates.v1.0.0.json +23 -1
- package/src/generated/cvc-enums.ts +48 -3
package/dist/cvcs/index.js
CHANGED
|
@@ -2152,7 +2152,9 @@ var serviceStates_v1_0_0_default = {
|
|
|
2152
2152
|
"049-007-001-000-000-000-000",
|
|
2153
2153
|
"049-007-002-000-000-000-000",
|
|
2154
2154
|
"049-007-003-000-000-000-000",
|
|
2155
|
-
"049-007-004-000-000-000-000"
|
|
2155
|
+
"049-007-004-000-000-000-000",
|
|
2156
|
+
"049-007-005-000-000-000-000",
|
|
2157
|
+
"049-007-006-000-000-000-000"
|
|
2156
2158
|
],
|
|
2157
2159
|
definition: "Program could not provide the service."
|
|
2158
2160
|
},
|
|
@@ -2192,6 +2194,26 @@ var serviceStates_v1_0_0_default = {
|
|
|
2192
2194
|
childCodes: [],
|
|
2193
2195
|
definition: "Program could not provide the Service for a reason other than eligibility, capacity, or resources."
|
|
2194
2196
|
},
|
|
2197
|
+
{
|
|
2198
|
+
code: "049-007-005-000-000-000-000",
|
|
2199
|
+
key: "unable_to_provide_service_fit",
|
|
2200
|
+
title: "Unable due to service fit",
|
|
2201
|
+
selectable: true,
|
|
2202
|
+
parentCode: "049-007-000-000-000-000-000",
|
|
2203
|
+
childCodes: [],
|
|
2204
|
+
definition: "Program's services were not an appropriate fit for the client's presenting needs.",
|
|
2205
|
+
provisional: true
|
|
2206
|
+
},
|
|
2207
|
+
{
|
|
2208
|
+
code: "049-007-006-000-000-000-000",
|
|
2209
|
+
key: "unable_to_provide_access_barrier",
|
|
2210
|
+
title: "Unable due to access barrier",
|
|
2211
|
+
selectable: true,
|
|
2212
|
+
parentCode: "049-007-000-000-000-000-000",
|
|
2213
|
+
childCodes: [],
|
|
2214
|
+
definition: "An access barrier (e.g. language, transportation, location, hours, technology) prevented service delivery.",
|
|
2215
|
+
provisional: true
|
|
2216
|
+
},
|
|
2195
2217
|
{
|
|
2196
2218
|
code: "049-000-000-000-000-000-000",
|
|
2197
2219
|
key: "missingness_root",
|
|
@@ -7001,6 +7023,15 @@ var highestEducationLevelCompleted_v1_0_0_default = {
|
|
|
7001
7023
|
childCodes: [],
|
|
7002
7024
|
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'."
|
|
7003
7025
|
},
|
|
7026
|
+
{
|
|
7027
|
+
code: "180-008-000-000-000-000-000",
|
|
7028
|
+
key: "trade_vocational",
|
|
7029
|
+
title: "Trade or vocational credential",
|
|
7030
|
+
selectable: true,
|
|
7031
|
+
parentCode: null,
|
|
7032
|
+
childCodes: [],
|
|
7033
|
+
definition: "Completed a trade, vocational, or technical credential (apprenticeship, licensure, or postsecondary non-degree award) rather than an academic degree."
|
|
7034
|
+
},
|
|
7004
7035
|
{
|
|
7005
7036
|
code: "180-000-000-000-000-000-000",
|
|
7006
7037
|
key: "missingness_root",
|
|
@@ -11022,6 +11053,15 @@ var incomeBenefitsSources_v1_0_0_default = {
|
|
|
11022
11053
|
parentCode: "171-005-000-000-000-000-000",
|
|
11023
11054
|
childCodes: [],
|
|
11024
11055
|
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)."
|
|
11056
|
+
},
|
|
11057
|
+
{
|
|
11058
|
+
code: "171-006-000-000-000-000-000",
|
|
11059
|
+
key: "victim_compensation",
|
|
11060
|
+
title: "Crime victim compensation",
|
|
11061
|
+
selectable: true,
|
|
11062
|
+
parentCode: null,
|
|
11063
|
+
childCodes: [],
|
|
11064
|
+
definition: "Income or benefits from a state or federal crime-victim compensation program (e.g. VOCA-funded victim compensation)."
|
|
11025
11065
|
}
|
|
11026
11066
|
]
|
|
11027
11067
|
};
|
|
@@ -23427,6 +23467,229 @@ var relationshipConcern_v1_0_0_default = {
|
|
|
23427
23467
|
}
|
|
23428
23468
|
]
|
|
23429
23469
|
};
|
|
23470
|
+
|
|
23471
|
+
// src/cvcs/recencyBand.v1.0.0.json
|
|
23472
|
+
var recencyBand_v1_0_0_default = {
|
|
23473
|
+
domain: "recency_band",
|
|
23474
|
+
name: "Core Recency Band (PROVISIONAL CVC-232 \u2014 pending codebook ratification)",
|
|
23475
|
+
version: "1.0.0",
|
|
23476
|
+
levels: {
|
|
23477
|
+
"0": "Unknown or Missing",
|
|
23478
|
+
"1": "Recency band"
|
|
23479
|
+
},
|
|
23480
|
+
entries: [
|
|
23481
|
+
{
|
|
23482
|
+
code: "232-000-000-000-000-000-000",
|
|
23483
|
+
key: "missingness_root",
|
|
23484
|
+
title: "Unknown, Redacted, or Missing",
|
|
23485
|
+
selectable: false,
|
|
23486
|
+
parentCode: null,
|
|
23487
|
+
childCodes: [
|
|
23488
|
+
"232-000-000-000-000-000-001",
|
|
23489
|
+
"232-000-000-000-000-000-002",
|
|
23490
|
+
"232-000-000-000-000-000-003"
|
|
23491
|
+
],
|
|
23492
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
23493
|
+
},
|
|
23494
|
+
{
|
|
23495
|
+
code: "232-000-000-000-000-000-001",
|
|
23496
|
+
key: "unknown",
|
|
23497
|
+
title: "Unknown / not captured",
|
|
23498
|
+
selectable: true,
|
|
23499
|
+
parentCode: "232-000-000-000-000-000-000",
|
|
23500
|
+
childCodes: [],
|
|
23501
|
+
definition: "The recency band is unknown or cannot be determined from the available information."
|
|
23502
|
+
},
|
|
23503
|
+
{
|
|
23504
|
+
code: "232-000-000-000-000-000-002",
|
|
23505
|
+
key: "anonymous",
|
|
23506
|
+
title: "Anonymous / declined to answer",
|
|
23507
|
+
selectable: true,
|
|
23508
|
+
parentCode: "232-000-000-000-000-000-000",
|
|
23509
|
+
childCodes: [],
|
|
23510
|
+
definition: "The recency band may be withheld by preference or due to redaction; identity is anonymous or redacted."
|
|
23511
|
+
},
|
|
23512
|
+
{
|
|
23513
|
+
code: "232-000-000-000-000-000-003",
|
|
23514
|
+
key: "data_not_collected",
|
|
23515
|
+
title: "Data not collected",
|
|
23516
|
+
selectable: true,
|
|
23517
|
+
parentCode: "232-000-000-000-000-000-000",
|
|
23518
|
+
childCodes: [],
|
|
23519
|
+
definition: "No attempt was made to collect the recency band."
|
|
23520
|
+
},
|
|
23521
|
+
{
|
|
23522
|
+
code: "232-001-000-000-000-000-000",
|
|
23523
|
+
key: "within_3_months",
|
|
23524
|
+
title: "Within the last 3 months",
|
|
23525
|
+
selectable: true,
|
|
23526
|
+
parentCode: null,
|
|
23527
|
+
childCodes: [],
|
|
23528
|
+
definition: "The event or condition occurred within the most recent 3 months (0 up to and including 3 months before time_as_of)."
|
|
23529
|
+
},
|
|
23530
|
+
{
|
|
23531
|
+
code: "232-002-000-000-000-000-000",
|
|
23532
|
+
key: "months_3_to_6",
|
|
23533
|
+
title: "3 to 6 months ago",
|
|
23534
|
+
selectable: true,
|
|
23535
|
+
parentCode: null,
|
|
23536
|
+
childCodes: [],
|
|
23537
|
+
definition: "The event or condition occurred more than 3 and up to and including 6 months before time_as_of."
|
|
23538
|
+
},
|
|
23539
|
+
{
|
|
23540
|
+
code: "232-003-000-000-000-000-000",
|
|
23541
|
+
key: "months_6_to_12",
|
|
23542
|
+
title: "6 to 12 months ago",
|
|
23543
|
+
selectable: true,
|
|
23544
|
+
parentCode: null,
|
|
23545
|
+
childCodes: [],
|
|
23546
|
+
definition: "The event or condition occurred more than 6 and up to and including 12 months before time_as_of."
|
|
23547
|
+
},
|
|
23548
|
+
{
|
|
23549
|
+
code: "232-004-000-000-000-000-000",
|
|
23550
|
+
key: "one_year_or_more",
|
|
23551
|
+
title: "1 year or more ago",
|
|
23552
|
+
selectable: true,
|
|
23553
|
+
parentCode: null,
|
|
23554
|
+
childCodes: [],
|
|
23555
|
+
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."
|
|
23556
|
+
},
|
|
23557
|
+
{
|
|
23558
|
+
code: "232-005-000-000-000-000-000",
|
|
23559
|
+
key: "years_3_to_10",
|
|
23560
|
+
title: "3 to 10 years ago",
|
|
23561
|
+
selectable: true,
|
|
23562
|
+
parentCode: null,
|
|
23563
|
+
childCodes: [],
|
|
23564
|
+
definition: "The event or condition occurred more than 3 and up to and including 10 years before time_as_of."
|
|
23565
|
+
},
|
|
23566
|
+
{
|
|
23567
|
+
code: "232-006-000-000-000-000-000",
|
|
23568
|
+
key: "ten_plus_years",
|
|
23569
|
+
title: "More than 10 years ago",
|
|
23570
|
+
selectable: true,
|
|
23571
|
+
parentCode: null,
|
|
23572
|
+
childCodes: [],
|
|
23573
|
+
definition: "The event or condition occurred more than 10 years before time_as_of."
|
|
23574
|
+
}
|
|
23575
|
+
]
|
|
23576
|
+
};
|
|
23577
|
+
|
|
23578
|
+
// src/cvcs/housingSubsidyTypes.v1.0.0.json
|
|
23579
|
+
var housingSubsidyTypes_v1_0_0_default = {
|
|
23580
|
+
domain: "housing_subsidy_types",
|
|
23581
|
+
name: "Core Housing Subsidy Types (PROVISIONAL CVC-233 \u2014 pending codebook ratification)",
|
|
23582
|
+
version: "1.0.0",
|
|
23583
|
+
levels: {
|
|
23584
|
+
"0": "Unknown or Missing",
|
|
23585
|
+
"1": "Housing subsidy type"
|
|
23586
|
+
},
|
|
23587
|
+
entries: [
|
|
23588
|
+
{
|
|
23589
|
+
code: "233-000-000-000-000-000-000",
|
|
23590
|
+
key: "missingness_root",
|
|
23591
|
+
title: "Unknown, Redacted, or Missing",
|
|
23592
|
+
selectable: false,
|
|
23593
|
+
parentCode: null,
|
|
23594
|
+
childCodes: [
|
|
23595
|
+
"233-000-000-000-000-000-001",
|
|
23596
|
+
"233-000-000-000-000-000-002",
|
|
23597
|
+
"233-000-000-000-000-000-003"
|
|
23598
|
+
],
|
|
23599
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
23600
|
+
},
|
|
23601
|
+
{
|
|
23602
|
+
code: "233-000-000-000-000-000-001",
|
|
23603
|
+
key: "unknown",
|
|
23604
|
+
title: "Unknown / not captured",
|
|
23605
|
+
selectable: true,
|
|
23606
|
+
parentCode: "233-000-000-000-000-000-000",
|
|
23607
|
+
childCodes: [],
|
|
23608
|
+
definition: "The housing subsidy type is unknown or cannot be determined from the available information."
|
|
23609
|
+
},
|
|
23610
|
+
{
|
|
23611
|
+
code: "233-000-000-000-000-000-002",
|
|
23612
|
+
key: "anonymous",
|
|
23613
|
+
title: "Anonymous / declined to answer",
|
|
23614
|
+
selectable: true,
|
|
23615
|
+
parentCode: "233-000-000-000-000-000-000",
|
|
23616
|
+
childCodes: [],
|
|
23617
|
+
definition: "The housing subsidy type may be withheld by preference or due to redaction; identity is anonymous or redacted."
|
|
23618
|
+
},
|
|
23619
|
+
{
|
|
23620
|
+
code: "233-000-000-000-000-000-003",
|
|
23621
|
+
key: "data_not_collected",
|
|
23622
|
+
title: "Data not collected",
|
|
23623
|
+
selectable: true,
|
|
23624
|
+
parentCode: "233-000-000-000-000-000-000",
|
|
23625
|
+
childCodes: [],
|
|
23626
|
+
definition: "No attempt was made to collect the housing subsidy type."
|
|
23627
|
+
},
|
|
23628
|
+
{
|
|
23629
|
+
code: "233-001-000-000-000-000-000",
|
|
23630
|
+
key: "housing_choice_voucher",
|
|
23631
|
+
title: "Housing Choice Voucher (Section 8 HCV)",
|
|
23632
|
+
selectable: true,
|
|
23633
|
+
parentCode: null,
|
|
23634
|
+
childCodes: [],
|
|
23635
|
+
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."
|
|
23636
|
+
},
|
|
23637
|
+
{
|
|
23638
|
+
code: "233-002-000-000-000-000-000",
|
|
23639
|
+
key: "public_housing",
|
|
23640
|
+
title: "Public housing",
|
|
23641
|
+
selectable: true,
|
|
23642
|
+
parentCode: null,
|
|
23643
|
+
childCodes: [],
|
|
23644
|
+
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."
|
|
23645
|
+
},
|
|
23646
|
+
{
|
|
23647
|
+
code: "233-003-000-000-000-000-000",
|
|
23648
|
+
key: "project_based_rental_assistance",
|
|
23649
|
+
title: "Project-based rental assistance",
|
|
23650
|
+
selectable: true,
|
|
23651
|
+
parentCode: null,
|
|
23652
|
+
childCodes: [],
|
|
23653
|
+
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."
|
|
23654
|
+
},
|
|
23655
|
+
{
|
|
23656
|
+
code: "233-004-000-000-000-000-000",
|
|
23657
|
+
key: "permanent_supportive_housing",
|
|
23658
|
+
title: "Permanent supportive housing (PSH)",
|
|
23659
|
+
selectable: true,
|
|
23660
|
+
parentCode: null,
|
|
23661
|
+
childCodes: [],
|
|
23662
|
+
definition: "Permanent housing that pairs a long-term rental subsidy with voluntary supportive services for people with disabilities or chronic homelessness (HUD CoC PSH)."
|
|
23663
|
+
},
|
|
23664
|
+
{
|
|
23665
|
+
code: "233-005-000-000-000-000-000",
|
|
23666
|
+
key: "rapid_rehousing_assistance",
|
|
23667
|
+
title: "Rapid re-housing assistance",
|
|
23668
|
+
selectable: true,
|
|
23669
|
+
parentCode: null,
|
|
23670
|
+
childCodes: [],
|
|
23671
|
+
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)."
|
|
23672
|
+
},
|
|
23673
|
+
{
|
|
23674
|
+
code: "233-006-000-000-000-000-000",
|
|
23675
|
+
key: "other_housing_subsidy",
|
|
23676
|
+
title: "Other housing subsidy",
|
|
23677
|
+
selectable: true,
|
|
23678
|
+
parentCode: null,
|
|
23679
|
+
childCodes: [],
|
|
23680
|
+
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."
|
|
23681
|
+
},
|
|
23682
|
+
{
|
|
23683
|
+
code: "233-007-000-000-000-000-000",
|
|
23684
|
+
key: "no_subsidy",
|
|
23685
|
+
title: "No housing subsidy",
|
|
23686
|
+
selectable: true,
|
|
23687
|
+
parentCode: null,
|
|
23688
|
+
childCodes: [],
|
|
23689
|
+
definition: "The household receives no housing subsidy or rental assistance (housing costs are paid in full without a subsidy)."
|
|
23690
|
+
}
|
|
23691
|
+
]
|
|
23692
|
+
};
|
|
23430
23693
|
export {
|
|
23431
23694
|
accommodationType_v1_0_0_default as accommodationTypeSot,
|
|
23432
23695
|
actionStepCompletionStatus_v1_0_0_default as actionStepCompletionStatusSot,
|
|
@@ -23479,6 +23742,7 @@ export {
|
|
|
23479
23742
|
hopeScaleCaptureContext_v1_0_0_default as hopeScaleCaptureContextSot,
|
|
23480
23743
|
hopeScaleResponseOptions_v1_0_0_default as hopeScaleResponseOptionsSot,
|
|
23481
23744
|
hopeScaleTier_v1_0_0_default as hopeScaleTierSot,
|
|
23745
|
+
housingSubsidyTypes_v1_0_0_default as housingSubsidyTypesSot,
|
|
23482
23746
|
htType_v1_0_0_default as htTypeSot,
|
|
23483
23747
|
identificationStatus_v1_0_0_default as identificationStatusSot,
|
|
23484
23748
|
incidentInvolvementRoles_v1_0_0_default as incidentInvolvementRolesSot,
|
|
@@ -23513,6 +23777,7 @@ export {
|
|
|
23513
23777
|
proofOfIdType_v1_0_0_default as proofOfIdTypeSot,
|
|
23514
23778
|
qualityFlags_v1_0_0_default as qualityFlagsSot,
|
|
23515
23779
|
raceEthnicity_v1_0_0_default as raceEthnicitySot,
|
|
23780
|
+
recencyBand_v1_0_0_default as recencyBandSot,
|
|
23516
23781
|
referenceLinkType_v1_0_0_default as referenceLinkTypeSot,
|
|
23517
23782
|
referralEntityCategory_v1_0_0_default as referralEntityCategorySot,
|
|
23518
23783
|
relationshipConcern_v1_0_0_default as relationshipConcernSot,
|