-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the HUD JSON files to pull from machine readable excel file provided by HUD #4088
base: stable
Are you sure you want to change the base?
Changes from 5 commits
bcce644
4ce9b47
f6a1bc7
4ef674a
6dc2575
bff4337
b742827
ab23f24
35340d6
1ef17db
032f539
11d9cb6
73d377d
4a8905c
f2ae326
a0d1155
4838f9f
71b967e
66f3316
7470c17
ffe4fa9
d0e3e16
9e0f584
a67d809
1c76a2a
9ecdb49
8d2cb23
6ddb68c
57ca2a7
1016363
7463282
f66c150
d14c450
d25df1e
26394e4
c54cf43
d226033
c4f5d08
de09055
b491a6a
2c6e2e4
0a856ab
721620c
8be023c
dcd1848
85c1e77
0e5b80e
d672cd2
6050a0e
6f8d87b
a17a009
5f1ce6a
702e3c9
de457b7
c81d552
d6146b5
3a6bfdc
2179864
58f2305
af4a7c2
7312cd8
0d17f1a
dcff957
62126dc
1c648c1
ef62942
832dbbb
3614777
5f08a03
428f372
4eba2af
d744594
3c286d6
86841d8
5433b57
2f5bfeb
430f71e
b79d341
35bca57
1b34e14
c4b8458
a701f10
403852d
6abd010
0f8be69
4812c13
0d0a33b
ca01ece
2855a8b
f91629d
26ba258
07c0a9f
39b0184
7a194c2
7c94ac2
6f43e90
7e6a28e
dec21a6
c6620df
18c0ce4
a73a1ff
153b130
ec85fe9
ada25a3
e871403
b743c30
9152379
a6b9280
d177846
8840a9c
a64c524
83a480c
6d4b000
3ef588b
be7c232
4d0349f
43ba8b3
10adfbe
b23284d
6cdd6f4
692fc42
03932d5
176ca0d
cadce52
abed6b8
d9f55e8
d1e39dd
bb53d6f
7f094d2
7ee3fd1
545cdd6
b6d2f61
11b4159
f7aa342
45ec875
bf9b0d3
d1c8c76
6ccea15
f44182a
5798a53
5a7a624
635b9b2
d1919f0
6081563
770cc99
d597acf
0b300e8
18a55cd
727d6d7
623e149
6dbac37
e100f8b
96953fa
1f258a6
9567d56
176e5b7
a9cd047
e96d8f7
0fd9c6b
41ae1f3
845afd4
ec70441
a6e0e36
0f24523
66a470f
d17843e
41f4475
0cb967f
ffebcb1
2874fa7
6483279
76fa229
bc3c358
2ca42d1
98cbbb1
39b95fe
440664e
fec9acc
09279e2
0927122
2ac5b4e
efa7d0f
0a3d862
63ef504
eff0838
e6d7def
09715e4
43068e5
9aae685
93af3d6
1620358
c3e48c3
08abab9
ca16aea
db6ee08
3426488
8317066
38ad6f6
98d7a05
3a5cdc7
3d9b269
1dfac88
461c136
1957494
8743a1f
bd51f03
8834b1c
b866210
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,16 +62,10 @@ class NoYes < Types::BaseEnum | |
hud_enum HudUtility2024.no_yes_options | ||
end | ||
|
||
class TargetPopulation < Types::BaseEnum | ||
description '2.02.7' | ||
graphql_name 'TargetPopulation' | ||
hud_enum HudUtility2024.target_populations | ||
end | ||
|
||
class HOPWAMedAssistedLivingFac < Types::BaseEnum | ||
description '2.02.8' | ||
graphql_name 'HOPWAMedAssistedLivingFac' | ||
hud_enum HudUtility2024.hopwa_med_assisted_living_facs | ||
class RRHSubType < Types::BaseEnum | ||
description '2.02.A' | ||
graphql_name 'RRHSubType' | ||
hud_enum HudUtility2024.rrh_sub_types | ||
end | ||
|
||
class HousingType < Types::BaseEnum | ||
|
@@ -92,10 +86,28 @@ class ProjectTypeBrief < Types::BaseEnum | |
hud_enum HudUtility2024.project_type_briefs | ||
end | ||
|
||
class RRHSubType < Types::BaseEnum | ||
description '2.02.A' | ||
graphql_name 'RRHSubType' | ||
hud_enum HudUtility2024.rrh_sub_types | ||
class TargetPopulation < Types::BaseEnum | ||
description '2.02.7' | ||
graphql_name 'TargetPopulation' | ||
hud_enum HudUtility2024.target_populations | ||
end | ||
|
||
class HOPWAMedAssistedLivingFac < Types::BaseEnum | ||
description '2.02.8' | ||
graphql_name 'HOPWAMedAssistedLivingFac' | ||
hud_enum HudUtility2024.hopwa_med_assisted_living_facs | ||
end | ||
|
||
class CoCCodes < Types::BaseEnum | ||
description '2.03.1' | ||
graphql_name 'CoCCodes' | ||
hud_enum HudUtility2024.coc_codes_options | ||
end | ||
|
||
class GeographyType < Types::BaseEnum | ||
description '2.03.4' | ||
graphql_name 'GeographyType' | ||
hud_enum HudUtility2024.geography_types | ||
end | ||
|
||
class FundingSource < Types::BaseEnum | ||
|
@@ -122,18 +134,6 @@ class Availability < Types::BaseEnum | |
hud_enum HudUtility2024.availabilities | ||
end | ||
|
||
class CoCCodes < Types::BaseEnum | ||
description '2.03.1' | ||
graphql_name 'CoCCodes' | ||
hud_enum HudUtility2024.coc_codes_options | ||
end | ||
|
||
class GeographyType < Types::BaseEnum | ||
description '2.03.4' | ||
graphql_name 'GeographyType' | ||
hud_enum HudUtility2024.geography_types | ||
end | ||
|
||
class HMISParticipationType < Types::BaseEnum | ||
description '2.08.1' | ||
graphql_name 'HMISParticipationType' | ||
|
@@ -146,18 +146,6 @@ class NameDataQuality < Types::BaseEnum | |
hud_enum HudUtility2024.name_data_quality_options | ||
end | ||
|
||
class Destination < Types::BaseEnum | ||
description '3.12' | ||
graphql_name 'Destination' | ||
hud_enum HudUtility2024.destinations | ||
end | ||
|
||
class RelationshipToHoH < Types::BaseEnum | ||
description '3.15.1' | ||
graphql_name 'RelationshipToHoH' | ||
hud_enum HudUtility2024.relationships_to_hoh | ||
end | ||
|
||
class SSNDataQuality < Types::BaseEnum | ||
description '3.02.2' | ||
graphql_name 'SSNDataQuality' | ||
|
@@ -170,36 +158,48 @@ class DOBDataQuality < Types::BaseEnum | |
hud_enum HudUtility2024.dob_data_quality_options | ||
end | ||
|
||
class TimesHomelessPastThreeYears < Types::BaseEnum | ||
description '3.917.4' | ||
graphql_name 'TimesHomelessPastThreeYears' | ||
hud_enum HudUtility2024.times_homeless_options | ||
class Destination < Types::BaseEnum | ||
description '3.12' | ||
graphql_name 'Destination' | ||
hud_enum HudUtility2024.destinations | ||
end | ||
|
||
class RentalSubsidyType < Types::BaseEnum | ||
description '3.12.A' | ||
graphql_name 'RentalSubsidyType' | ||
hud_enum HudUtility2024.rental_subsidy_types | ||
end | ||
|
||
class CurrentLivingSituation < Types::BaseEnum | ||
description '4.12' | ||
description '3.12.1' | ||
graphql_name 'CurrentLivingSituationOptions' | ||
hud_enum HudUtility2024.current_living_situations | ||
end | ||
|
||
class RelationshipToHoH < Types::BaseEnum | ||
description '3.15.1' | ||
graphql_name 'RelationshipToHoH' | ||
hud_enum HudUtility2024.relationships_to_hoh | ||
end | ||
|
||
class PriorLivingSituation < Types::BaseEnum | ||
description '3.917' | ||
graphql_name 'PriorLivingSituation' | ||
hud_enum HudUtility2024.prior_living_situations | ||
end | ||
|
||
class RentalSubsidyType < Types::BaseEnum | ||
description '3.12.A' | ||
graphql_name 'RentalSubsidyType' | ||
hud_enum HudUtility2024.rental_subsidy_types | ||
end | ||
|
||
class ResidencePriorLengthOfStay < Types::BaseEnum | ||
description '3.917.2' | ||
graphql_name 'ResidencePriorLengthOfStay' | ||
hud_enum HudUtility2024.length_of_stays | ||
end | ||
|
||
class TimesHomelessPastThreeYears < Types::BaseEnum | ||
description '3.917.4' | ||
graphql_name 'TimesHomelessPastThreeYears' | ||
hud_enum HudUtility2024.times_homeless_options | ||
end | ||
|
||
class MonthsHomelessPastThreeYears < Types::BaseEnum | ||
description '3.917.5' | ||
graphql_name 'MonthsHomelessPastThreeYears' | ||
|
@@ -230,18 +230,6 @@ class BedNight < Types::BaseEnum | |
hud_enum HudUtility2024.bed_night_options | ||
end | ||
|
||
class RHYServices < Types::BaseEnum | ||
description 'R14.2' | ||
graphql_name 'RHYServices' | ||
hud_enum HudUtility2024.rhy_services_options | ||
end | ||
|
||
class SSVFFinancialAssistance < Types::BaseEnum | ||
description 'V3.3' | ||
graphql_name 'SSVFFinancialAssistance' | ||
hud_enum HudUtility2024.ssvf_financial_assistance_options | ||
end | ||
|
||
class AssessmentType < Types::BaseEnum | ||
description '4.19.3' | ||
graphql_name 'AssessmentType' | ||
|
@@ -260,22 +248,16 @@ class PrioritizationStatus < Types::BaseEnum | |
hud_enum HudUtility2024.prioritization_statuses | ||
end | ||
|
||
class EventType < Types::BaseEnum | ||
description '4.20.2' | ||
graphql_name 'EventType' | ||
hud_enum HudUtility2024.events | ||
end | ||
|
||
class ReferralResult < Types::BaseEnum | ||
description '4.20.D' | ||
graphql_name 'ReferralResult' | ||
hud_enum HudUtility2024.referral_results | ||
end | ||
|
||
class EarlyExitReason < Types::BaseEnum | ||
description 'R17.A' | ||
graphql_name 'EarlyExitReason' | ||
hud_enum HudUtility2024.early_exit_reasons | ||
class EventType < Types::BaseEnum | ||
description '4.20.2' | ||
graphql_name 'EventType' | ||
hud_enum HudUtility2024.events | ||
end | ||
|
||
class DataCollectionStage < Types::BaseEnum | ||
|
@@ -284,6 +266,24 @@ class DataCollectionStage < Types::BaseEnum | |
hud_enum HudUtility2024.data_collection_stages | ||
end | ||
|
||
class RHYServices < Types::BaseEnum | ||
description 'R14.2' | ||
graphql_name 'RHYServices' | ||
hud_enum HudUtility2024.rhy_services_options | ||
end | ||
|
||
class SSVFFinancialAssistance < Types::BaseEnum | ||
description 'V3.3' | ||
graphql_name 'SSVFFinancialAssistance' | ||
hud_enum HudUtility2024.ssvf_financial_assistance_options | ||
end | ||
|
||
class EarlyExitReason < Types::BaseEnum | ||
description 'R17.A' | ||
graphql_name 'EarlyExitReason' | ||
hud_enum HudUtility2024.early_exit_reasons | ||
end | ||
|
||
class MovingOnAssistance < Types::BaseEnum | ||
description 'C2.2' | ||
graphql_name 'MovingOnAssistance' | ||
|
@@ -435,7 +435,7 @@ class SSVFServices < Types::BaseEnum | |
end | ||
|
||
class HOPWAFinancialAssistance < Types::BaseEnum | ||
description 'V2.3' | ||
description 'W2.2' | ||
graphql_name 'HOPWAFinancialAssistance' | ||
hud_enum HudUtility2024.hopwa_financial_assistance_options | ||
end | ||
|
@@ -470,12 +470,6 @@ class VamcStationNumber < Types::BaseEnum | |
hud_enum HudUtility2024.vamc_station_numbers | ||
end | ||
|
||
class NoPointsYes < Types::BaseEnum | ||
description 'V7.1' | ||
graphql_name 'NoPointsYes' | ||
hud_enum HudUtility2024.no_points_yes_options | ||
end | ||
Comment on lines
-473
to
-477
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seems to be missing. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thats ok it is not used in the graphql schema. IDK what this was but question V7.1 uses the standard 1.7 list. |
||
|
||
class TimeToHousingLoss < Types::BaseEnum | ||
description 'V7.A' | ||
graphql_name 'TimeToHousingLoss' | ||
|
@@ -513,7 +507,7 @@ class DependentUnder6 < Types::BaseEnum | |
end | ||
|
||
class VoucherTracking < Types::BaseEnum | ||
description 'V8.1' | ||
description 'V8.2' | ||
graphql_name 'VoucherTracking' | ||
hud_enum HudUtility2024.voucher_tracking_options | ||
end | ||
|
@@ -560,18 +554,6 @@ class SubsidyInformation < Types::BaseEnum | |
hud_enum HudUtility2024.subsidy_informations | ||
end | ||
|
||
class SubsidyInformationA < Types::BaseEnum | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is removed but we need it in the schema |
||
description 'W5.A' | ||
graphql_name 'SubsidyInformationA' | ||
hud_enum HudUtility2024.subsidy_information_as | ||
end | ||
|
||
class SubsidyInformationB < Types::BaseEnum | ||
description 'W5.B' | ||
graphql_name 'SubsidyInformationB' | ||
hud_enum HudUtility2024.subsidy_information_bs | ||
end | ||
|
||
class AdHocYesNo < Types::BaseEnum | ||
description 'ad_hoc_yes_no' | ||
graphql_name 'AdHocYesNo' | ||
|
@@ -583,4 +565,10 @@ class PreferredLanguage < Types::BaseEnum | |
graphql_name 'PreferredLanguage' | ||
hud_enum HudUtility2024.preferred_languages | ||
end | ||
|
||
class SubsidyInformationB < Types::BaseEnum | ||
description 'W5.B' | ||
graphql_name 'SubsidyInformationB' | ||
hud_enum HudUtility2024.subsidy_information_bs | ||
end | ||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[ | ||
{ | ||
"name": "AdHocYesNo", | ||
"code": "ad_hoc_yes_no", | ||
"values": [ | ||
{ | ||
"key": 0, | ||
"description": "No" | ||
}, | ||
{ | ||
"key": 1, | ||
"description": "Yes" | ||
}, | ||
{ | ||
"key": 8, | ||
"description": "Don't Know" | ||
}, | ||
{ | ||
"key": 9, | ||
"description": "Prefers not to answer" | ||
}, | ||
{ | ||
"key": 99, | ||
"description": "Data not collected" | ||
} | ||
] | ||
} | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welp, it looks like we are not using this enum in the place that we should.
hud_field :early_exit_reason, Types::HmisSchema::Enums::Hud::ExpelledReason
should be using this enum. I can make a note to myself to fix after.