Skip to content

Commit 497352b

Browse files
committed
adjusted val cols
1 parent 4745af0 commit 497352b

2 files changed

Lines changed: 6 additions & 56 deletions

File tree

src/webapp/validation_schemas/base_schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,13 +552,15 @@
552552
},
553553
"course_begin_date": {
554554
"dtype": "string",
555+
"coerce": true,
555556
"nullable": true,
556557
"required": false,
557558
"aliases": [],
558559
"checks": [{"type": "str_length", "args": [], "kwargs": {"min_value": 1}}]
559560
},
560561
"course_end_date": {
561562
"dtype": "string",
563+
"coerce": true,
562564
"nullable": true,
563565
"required": false,
564566
"aliases": [],

src/webapp/validation_schemas/pdp_schema_extension.json

Lines changed: 4 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -2646,40 +2646,12 @@
26462646
]
26472647
},
26482648
"academic_year": {
2649-
"dtype": "category",
2650-
"categories": [
2651-
"2018-19",
2652-
"2016-17",
2653-
"2019-20",
2654-
"2022-23",
2655-
"2020-21",
2656-
"2017-18",
2657-
"2021-22",
2658-
"2023-24",
2659-
"2024-25"
2660-
],
2649+
"dtype": "string",
26612650
"coerce": true,
26622651
"nullable": true,
26632652
"required": false,
26642653
"aliases": [],
2665-
"checks": [
2666-
{
2667-
"type": "isin",
2668-
"args": [
2669-
[
2670-
"2018-19",
2671-
"2016-17",
2672-
"2019-20",
2673-
"2022-23",
2674-
"2020-21",
2675-
"2017-18",
2676-
"2021-22",
2677-
"2023-24",
2678-
"2024-25"
2679-
]
2680-
]
2681-
}
2682-
]
2654+
"checks": []
26832655
},
26842656
"co_requisite_course": {
26852657
"dtype": "category",
@@ -2704,36 +2676,12 @@
27042676
]
27052677
},
27062678
"cohort": {
2707-
"dtype": "category",
2708-
"categories": [
2709-
"2018-19",
2710-
"2016-17",
2711-
"2019-20",
2712-
"2022-23",
2713-
"2020-21",
2714-
"2017-18",
2715-
"2021-22"
2716-
],
2679+
"dtype": "string",
27172680
"coerce": true,
27182681
"nullable": false,
27192682
"required": true,
27202683
"aliases": [],
2721-
"checks": [
2722-
{
2723-
"type": "isin",
2724-
"args": [
2725-
[
2726-
"2018-19",
2727-
"2016-17",
2728-
"2019-20",
2729-
"2022-23",
2730-
"2020-21",
2731-
"2017-18",
2732-
"2021-22"
2733-
]
2734-
]
2735-
}
2736-
]
2684+
"checks": []
27372685
},
27382686
"core_competency_completed": {
27392687
"dtype": "float64",

0 commit comments

Comments
 (0)