{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-service-health-response-schema.json", "title": "ServiceHealthResponse", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/harness-autostopping-rules-api-openapi.yml#/components/schemas/ServiceHealthResponse", "type": "object", "properties": { "response": { "type": "object", "properties": { "state": { "type": "string", "description": "Current state of the AutoStopping Rule", "enum": [ "warmingup", "errored", "active", "down", "coolingdown", "disabled", "enabled", "created", "deleted", "scheduled_downtime" ] }, "target_url": { "type": "string", "description": "Target URL for accessing the AutoStopping Rule" }, "error": { "type": "string", "description": "Error message if the rule is in an errored state, empty otherwise" }, "id": { "type": "string", "description": "Unique identifier for the health check result" } } } } }