Skip to content

Commit

Permalink
#1659: lb: update JSON schema
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Dec 6, 2022
1 parent f7c1611 commit e7ad6e6
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions scripts/JSON_data_files_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,19 @@ def _get_valid_schema(self) -> Schema:
"sum": float,
"var": float
},
Optional("Object_work_modeled"): {
"avg": float,
"car": float,
"imb": float,
"kur": float,
"max": float,
"min": float,
"npr": float,
"skw": float,
"std": float,
"sum": float,
"var": float
},
"Rank_comm": {
"avg": float,
"car": float,
Expand Down Expand Up @@ -184,6 +197,19 @@ def _get_valid_schema(self) -> Schema:
"std": float,
"sum": float,
"var": float
},
Optional("Rank_work_modeled"): {
"avg": float,
"car": float,
"imb": float,
"kur": float,
"max": float,
"min": float,
"npr": float,
"skw": float,
"std": float,
"sum": float,
"var": float
}
},
"pre-LB": {
Expand Down Expand Up @@ -226,6 +252,19 @@ def _get_valid_schema(self) -> Schema:
"sum": float,
"var": float
},
Optional("Object_work_modeled"): {
"avg": float,
"car": float,
"imb": float,
"kur": float,
"max": float,
"min": float,
"npr": float,
"skw": float,
"std": float,
"sum": float,
"var": float
},
"Rank_comm": {
"avg": float,
"car": float,
Expand Down Expand Up @@ -264,6 +303,19 @@ def _get_valid_schema(self) -> Schema:
"std": float,
"sum": float,
"var": float
},
Optional("Rank_work_modeled"): {
"avg": float,
"car": float,
"imb": float,
"kur": float,
"max": float,
"min": float,
"npr": float,
"skw": float,
"std": float,
"sum": float,
"var": float
}
}
},
Expand Down

0 comments on commit e7ad6e6

Please sign in to comment.