Skip to content

Commit

Permalink
- Adding friendly names to tribal
Browse files Browse the repository at this point in the history
  • Loading branch information
elipe17 committed Dec 4, 2023
1 parent a3a835b commit fdd3b72
Show file tree
Hide file tree
Showing 3 changed files with 159 additions and 8 deletions.
48 changes: 47 additions & 1 deletion tdrs-backend/tdpservice/parsers/schema_defs/tribal_tanf/t1.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
Field(
item="0",
name="RecordType",
friendly_name="record type",
type="string",
startIndex=0,
endIndex=2,
Expand All @@ -131,6 +132,7 @@
Field(
item="4",
name="RPT_MONTH_YEAR",
friendly_name="reporting month year",
type="number",
startIndex=2,
endIndex=8,
Expand All @@ -143,6 +145,7 @@
Field(
item="6",
name="CASE_NUMBER",
friendly_name="case number",
type="string",
startIndex=8,
endIndex=19,
Expand All @@ -152,6 +155,7 @@
Field(
item="2",
name="COUNTY_FIPS_CODE",
friendly_name="county fips code",
type="string",
startIndex=19,
endIndex=22,
Expand All @@ -163,6 +167,7 @@
Field(
item="5",
name="STRATUM",
friendly_name="stratum",
type="string",
startIndex=22,
endIndex=24,
Expand All @@ -174,6 +179,7 @@
Field(
item="7",
name="ZIP_CODE",
friendly_name="zip code",
type="string",
startIndex=24,
endIndex=29,
Expand All @@ -185,6 +191,7 @@
Field(
item="8",
name="FUNDING_STREAM",
friendly_name="funding stream",
type="number",
startIndex=29,
endIndex=30,
Expand All @@ -196,17 +203,19 @@
Field(
item="9",
name="DISPOSITION",
friendly_name="disposition",
type="number",
startIndex=30,
endIndex=31,
required=True,
validators=[
validators.oneOf([1]),
validators.matches(1),
],
),
Field(
item="10",
name="NEW_APPLICANT",
friendly_name="new applicant",
type="number",
startIndex=31,
endIndex=32,
Expand All @@ -218,6 +227,7 @@
Field(
item="11",
name="NBR_FAMILY_MEMBERS",
friendly_name="number of family members",
type="number",
startIndex=32,
endIndex=34,
Expand All @@ -229,6 +239,7 @@
Field(
item="12",
name="FAMILY_TYPE",
friendly_name="family type",
type="number",
startIndex=34,
endIndex=35,
Expand All @@ -240,6 +251,7 @@
Field(
item="13",
name="RECEIVES_SUB_HOUSING",
friendly_name="receives subsidized housing",
type="number",
startIndex=35,
endIndex=36,
Expand All @@ -251,6 +263,7 @@
Field(
item="14",
name="RECEIVES_MED_ASSISTANCE",
friendly_name="receives medical assistance",
type="number",
startIndex=36,
endIndex=37,
Expand All @@ -262,6 +275,7 @@
Field(
item="15",
name="RECEIVES_FOOD_STAMPS",
friendly_name="receives food stamps",
type="number",
startIndex=37,
endIndex=38,
Expand All @@ -273,6 +287,7 @@
Field(
item="16",
name="AMT_FOOD_STAMP_ASSISTANCE",
friendly_name="amount of food stamp assistance",
type="number",
startIndex=38,
endIndex=42,
Expand All @@ -284,6 +299,7 @@
Field(
item="17",
name="RECEIVES_SUB_CC",
friendly_name="receives subsidized child care",
type="number",
startIndex=42,
endIndex=43,
Expand All @@ -295,6 +311,7 @@
Field(
item="18",
name="AMT_SUB_CC",
friendly_name="amount of subsidized child care",
type="number",
startIndex=43,
endIndex=47,
Expand All @@ -306,6 +323,7 @@
Field(
item="19",
name="CHILD_SUPPORT_AMT",
friendly_name="child support amount",
type="number",
startIndex=47,
endIndex=51,
Expand All @@ -317,6 +335,7 @@
Field(
item="20",
name="FAMILY_CASH_RESOURCES",
friendly_name="family cash resources",
type="number",
startIndex=51,
endIndex=55,
Expand All @@ -328,6 +347,7 @@
Field(
item="21A",
name="CASH_AMOUNT",
friendly_name="cash amount",
type="number",
startIndex=55,
endIndex=59,
Expand All @@ -339,6 +359,7 @@
Field(
item="21B",
name="NBR_MONTHS",
friendly_name="number of months",
type="number",
startIndex=59,
endIndex=62,
Expand All @@ -350,6 +371,7 @@
Field(
item="22A",
name="CC_AMOUNT",
friendly_name="child care amount",
type="number",
startIndex=62,
endIndex=66,
Expand All @@ -361,6 +383,7 @@
Field(
item="22B",
name="CHILDREN_COVERED",
friendly_name="children covered",
type="number",
startIndex=66,
endIndex=68,
Expand All @@ -372,6 +395,7 @@
Field(
item="22C",
name="CC_NBR_MONTHS",
friendly_name="child care number of months",
type="number",
startIndex=68,
endIndex=71,
Expand All @@ -383,6 +407,7 @@
Field(
item="23A",
name="TRANSP_AMOUNT",
friendly_name="transportation amount",
type="number",
startIndex=71,
endIndex=75,
Expand All @@ -394,6 +419,7 @@
Field(
item="23B",
name="TRANSP_NBR_MONTHS",
friendly_name="transportation number of months",
type="number",
startIndex=75,
endIndex=78,
Expand All @@ -405,6 +431,7 @@
Field(
item="24A",
name="TRANSITION_SERVICES_AMOUNT",
friendly_name="transition services amount",
type="number",
startIndex=78,
endIndex=82,
Expand All @@ -416,6 +443,7 @@
Field(
item="24B",
name="TRANSITION_NBR_MONTHS",
friendly_name="transition services number of months",
type="number",
startIndex=82,
endIndex=85,
Expand All @@ -427,6 +455,7 @@
Field(
item="25A",
name="OTHER_AMOUNT",
friendly_name="other amount",
type="number",
startIndex=85,
endIndex=89,
Expand All @@ -438,6 +467,7 @@
Field(
item="25B",
name="OTHER_NBR_MONTHS",
friendly_name="other number of months",
type="number",
startIndex=89,
endIndex=92,
Expand All @@ -449,6 +479,7 @@
Field(
item="26AI",
name="SANC_REDUCTION_AMT",
friendly_name="sanction reduction amount",
type="number",
startIndex=92,
endIndex=96,
Expand All @@ -460,6 +491,7 @@
Field(
item="26AII",
name="WORK_REQ_SANCTION",
friendly_name="work requirement sanction",
type="number",
startIndex=96,
endIndex=97,
Expand All @@ -471,6 +503,7 @@
Field(
item="26AIII",
name="FAMILY_SANC_ADULT",
friendly_name="family sanction adult",
type="number",
startIndex=97,
endIndex=98,
Expand All @@ -482,6 +515,7 @@
Field(
item="26AIV",
name="SANC_TEEN_PARENT",
friendly_name="sanctioned teen parent",
type="number",
startIndex=98,
endIndex=99,
Expand All @@ -493,6 +527,7 @@
Field(
item="26AV",
name="NON_COOPERATION_CSE",
friendly_name="non-cooperation with child support",
type="number",
startIndex=99,
endIndex=100,
Expand All @@ -504,6 +539,7 @@
Field(
item="26AVI",
name="FAILURE_TO_COMPLY",
friendly_name="failure to comply",
type="number",
startIndex=100,
endIndex=101,
Expand All @@ -515,6 +551,7 @@
Field(
item="26AVII",
name="OTHER_SANCTION",
friendly_name="other, sanction",
type="number",
startIndex=101,
endIndex=102,
Expand All @@ -526,6 +563,7 @@
Field(
item="26B",
name="RECOUPMENT_PRIOR_OVRPMT",
friendly_name="recoupment prior overpayment",
type="number",
startIndex=102,
endIndex=106,
Expand All @@ -537,6 +575,7 @@
Field(
item="26CI",
name="OTHER_TOTAL_REDUCTIONS",
friendly_name="other total reductions",
type="number",
startIndex=106,
endIndex=110,
Expand All @@ -548,6 +587,7 @@
Field(
item="26CII",
name="FAMILY_CAP",
friendly_name="family cap",
type="number",
startIndex=110,
endIndex=111,
Expand All @@ -559,6 +599,7 @@
Field(
item="26CIII",
name="REDUCTIONS_ON_RECEIPTS",
friendly_name="reductions on receipts",
type="number",
startIndex=111,
endIndex=112,
Expand All @@ -570,6 +611,7 @@
Field(
item="26CIV",
name="OTHER_NON_SANCTION",
friendly_name="other, non-sanction",
type="number",
startIndex=112,
endIndex=113,
Expand All @@ -581,6 +623,7 @@
Field(
item="27",
name="WAIVER_EVAL_CONTROL_GRPS",
friendly_name="waiver evaluation control groups",
type="string",
startIndex=113,
endIndex=114,
Expand All @@ -590,6 +633,7 @@
Field(
item="28",
name="FAMILY_EXEMPT_TIME_LIMITS",
friendly_name="family exempt time limits",
type="number",
startIndex=114,
endIndex=116,
Expand All @@ -599,6 +643,7 @@
Field(
item="29",
name="FAMILY_NEW_CHILD",
friendly_name="family new child",
type="number",
startIndex=116,
endIndex=117,
Expand All @@ -610,6 +655,7 @@
Field(
item="-1",
name="BLANK",
friendly_name="blank",
type="string",
startIndex=117,
endIndex=123,
Expand Down
Loading

0 comments on commit fdd3b72

Please sign in to comment.