{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://example.com/schemas/scaler.schema.json", "title": "Scalers", "type": "object", "additionalProperties": false, "properties": { "scalers": { "type": "array", "items": { "$ref": "#/$defs/Scaler" } } }, "required": ["scalers"], "$defs": { "Scaler": { "type": "object", "additionalProperties": false, "properties": { "name": { "type": "string", "pattern": "^[A-Za-z0-9._-]+$" }, "type": { "type": "string", "description": "provider type, e.g. \"script\"" }, "conf_path": { "type": "string" }, "script_path": { "type": "string" }, "script_option": { "type": "string" } }, "required": ["name", "type", "script_path"] } } }