{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ThresholdWithAlert", "title": "ThresholdWithAlert", "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "readOnly": true }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "name": { "type": "string", "description": "Optional name for the threshold." }, "configuration": { "allOf": [ { "$ref": "#/components/schemas/InsightThreshold" } ], "description": "Threshold bounds and type. Includes bounds (lower/upper floats) and type (absolute or percentage)." }, "alerts": { "type": "array", "items": { "$ref": "#/components/schemas/Alert" }, "readOnly": true } }, "required": [ "alerts", "configuration", "created_at", "id" ] }