LocalScriptsWeb/backend/script_groups/config.json

47 lines
1.5 KiB
JSON

{
"description": "Configuration schema for script groups",
"config_schema": {
"work_dir": {
"type": "directory",
"description": "Working directory for this script group",
"required": true
},
"name": {
"type": "string",
"description": "Display name for the script group",
"required": true
},
"description": {
"type": "string",
"description": "Detailed description of the script group",
"default": ""
},
"enabled": {
"type": "boolean",
"description": "Whether this script group is enabled",
"default": true
},
"execution_mode": {
"type": "select",
"description": "Execution mode for scripts in this group",
"options": ["sequential", "parallel"],
"default": "sequential"
},
"max_parallel": {
"type": "number",
"description": "Maximum number of parallel executions (if applicable)",
"default": 4
},
"timeout": {
"type": "number",
"description": "Script execution timeout in seconds",
"default": 3600
},
"logging": {
"type": "select",
"description": "Logging level for script execution",
"options": ["debug", "info", "warning", "error"],
"default": "info"
}
}
}