Skip to content

Commit 4745af0

Browse files
committed
adjusted val cols
1 parent 7c13614 commit 4745af0

2 files changed

Lines changed: 13 additions & 46 deletions

File tree

src/webapp/validation_schemas/base_schema.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -476,9 +476,7 @@
476476
"nullable": true,
477477
"required": false,
478478
"aliases": ["levl_code"],
479-
"checks": [
480-
{"type": "isin", "args": [["undergraduates", "graduates", "development", "GED", "UG", "DS", "Undergraduate", "Graduate"]]}
481-
]
479+
"checks": []
482480
},
483481
"core_course": {
484482
"dtype": "string",
@@ -553,14 +551,14 @@
553551
]
554552
},
555553
"course_begin_date": {
556-
"dtype": "datetime64[ns]",
554+
"dtype": "string",
557555
"nullable": true,
558556
"required": false,
559557
"aliases": [],
560558
"checks": [{"type": "str_length", "args": [], "kwargs": {"min_value": 1}}]
561559
},
562560
"course_end_date": {
563-
"dtype": "datetime64[ns]",
561+
"dtype": "string",
564562
"nullable": true,
565563
"required": false,
566564
"aliases": [],

src/webapp/validation_schemas/pdp_schema_extension.json

Lines changed: 10 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -2628,8 +2628,8 @@
26282628
"WINTER"
26292629
],
26302630
"coerce": true,
2631-
"nullable": false,
2632-
"required": true,
2631+
"nullable": true,
2632+
"required": false,
26332633
"aliases": [],
26342634
"checks": [
26352635
{
@@ -2659,8 +2659,8 @@
26592659
"2024-25"
26602660
],
26612661
"coerce": true,
2662-
"nullable": false,
2663-
"required": true,
2662+
"nullable": true,
2663+
"required": false,
26642664
"aliases": [],
26652665
"checks": [
26662666
{
@@ -2785,7 +2785,7 @@
27852785
]
27862786
},
27872787
"course_cip": {
2788-
"dtype": "float64",
2788+
"dtype": "string",
27892789
"coerce": true,
27902790
"nullable": true,
27912791
"required": true,
@@ -2818,16 +2818,9 @@
28182818
"dtype": "float64",
28192819
"coerce": true,
28202820
"nullable": true,
2821-
"required": true,
2821+
"required": false,
28222822
"aliases": [],
2823-
"checks": [
2824-
{
2825-
"type": "ge",
2826-
"args": [
2827-
0.0
2828-
]
2829-
}
2830-
]
2823+
"checks": []
28312824
},
28322825
"credential_engine_identifier": {
28332826
"dtype": "float64",
@@ -2882,36 +2875,12 @@
28822875
]
28832876
},
28842877
"enrollment_record_at_other_institution_s_locale_s": {
2885-
"dtype": "category",
2886-
"categories": [
2887-
"Urban",
2888-
"Town/Rural",
2889-
"Suburb",
2890-
"Town/Rural|Town/Rural",
2891-
"Town/Rural|Suburb",
2892-
"Urban|Urban",
2893-
"Suburb|Town/Rural"
2894-
],
2878+
"dtype": "string",
28952879
"coerce": true,
28962880
"nullable": true,
28972881
"required": true,
28982882
"aliases": [],
2899-
"checks": [
2900-
{
2901-
"type": "isin",
2902-
"args": [
2903-
[
2904-
"Urban",
2905-
"Town/Rural",
2906-
"Suburb",
2907-
"Town/Rural|Town/Rural",
2908-
"Town/Rural|Suburb",
2909-
"Urban|Urban",
2910-
"Suburb|Town/Rural"
2911-
]
2912-
]
2913-
}
2914-
]
2883+
"checks": []
29152884
},
29162885
"enrollment_record_at_other_institution_s_state_s": {
29172886
"dtype": "string",
@@ -3051,7 +3020,7 @@
30513020
"dtype": "category",
30523021
"categories": [],
30533022
"coerce": true,
3054-
"nullable": false,
3023+
"nullable": true,
30553024
"required": true,
30563025
"aliases": [],
30573026
"checks": []

0 commit comments

Comments
 (0)