Added plotting schema and some env variables

This commit is contained in:
Alberto Soutullo Rendo 2022-11-29 13:14:31 +01:00
parent 37108ce4c7
commit d5232d6fed
2 changed files with 72 additions and 0 deletions

View File

@ -6,6 +6,12 @@ CONFIGURATION_SETTINGS = "shared/configuration_settings.json"
# Schemas
ARGUMENTS_SCHEMA_PATH = "src/utilities/files/schemas/arguments_schema.json"
CONFIGURATION_SCHEMA_PATH = "src/utilities/files/schemas/snow_family_configuration_schema.json"
PLOTTER_SCHEMA_PATH = "src/utilities/files/schemas/plotter_schema.json"
# Shared folder
SHARED_FOLDER = "shared/"
# Configuration
ARGUMENTS_BLOCK = "arguments"
SIMULATION_BLOCK = "simulation"
PLOTTER_BLOCK = "plotter"

View File

@ -0,0 +1,66 @@
{
"type": "object",
"properties": {
"scatterplot": {
"type": "object",
"properties": {
"plot_options": {
"type": "object"
},
"save_options": {
"type": "object"
}
},
"required": [
"plot_options",
"save_options"
]
},
"lineplot": {
"type": "object",
"properties": {
"plot_options": {
"type": "object"
},
"save_options": {
"type": "object"
}
},
"required": [
"plot_options",
"save_options"
]
},
"histplot": {
"type": "object",
"properties": {
"plot_options": {
"type": "object"
},
"save_options": {
"type": "object"
}
},
"required": [
"plot_options",
"save_options"
]
},
"countplot": {
"type": "object",
"properties": {
"plot_options": {
"type": "object"
},
"save_options": {
"type": "object"
}
},
"required": [
"plot_options",
"save_options"
]
}
},
"aditionalProperties": false
}