100 lines
3.2 KiB
JSON
100 lines
3.2 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "plots.schema.json",
|
|
"title": "Plot Sessions",
|
|
"description": "Esquema para editar plot_sessions.json (sesiones de gráfica)",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"plots": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Plot Name",
|
|
"description": "Nombre de la sesión de gráfica"
|
|
},
|
|
"variables": {
|
|
"type": "array",
|
|
"title": "Variables",
|
|
"description": "Variables a graficar",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"minItems": 1
|
|
},
|
|
"time_window": {
|
|
"type": "integer",
|
|
"title": "Time Window (s)",
|
|
"description": "Ventana temporal en segundos",
|
|
"minimum": 5,
|
|
"maximum": 3600,
|
|
"default": 60
|
|
},
|
|
"y_min": {
|
|
"type": [
|
|
"number",
|
|
"null"
|
|
],
|
|
"title": "Y Min",
|
|
"description": "Vacío para auto"
|
|
},
|
|
"y_max": {
|
|
"type": [
|
|
"number",
|
|
"null"
|
|
],
|
|
"title": "Y Max",
|
|
"description": "Vacío para auto"
|
|
},
|
|
"trigger_variable": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"title": "Trigger Variable"
|
|
},
|
|
"trigger_enabled": {
|
|
"type": "boolean",
|
|
"title": "Enable Trigger",
|
|
"default": false
|
|
},
|
|
"trigger_on_true": {
|
|
"type": "boolean",
|
|
"title": "Trigger on True",
|
|
"default": true
|
|
},
|
|
"session_id": {
|
|
"type": "string",
|
|
"title": "Session Id"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"variables",
|
|
"time_window"
|
|
]
|
|
}
|
|
},
|
|
"session_counter": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
},
|
|
"last_saved": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"version": {
|
|
"type": "string",
|
|
"default": "1.0"
|
|
}
|
|
},
|
|
"required": [
|
|
"plots"
|
|
]
|
|
} |