{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ManagedService", "title": "ManagedService", "type": "object", "properties": { "id": { "type": "integer", "description": "The unique ID of this managed service." }, "label": { "type": "string", "description": "The label for this service." }, "service_type": { "type": "string", "enum": [ "url" ], "description": "The type of service monitor." }, "address": { "type": "string", "description": "The URL to monitor." }, "timeout": { "type": "integer", "description": "Timeout in seconds before considering the service down." }, "body": { "type": "string", "description": "A string to look for in the response body." }, "consultation_group": { "type": "string", "description": "The group of managed contacts to notify." }, "status": { "type": "string", "enum": [ "disabled", "ok", "pending", "problem" ], "description": "The current status of this service." }, "notes": { "type": "string", "description": "Notes about this service." }, "region": { "type": "string", "description": "The region to monitor from." }, "credentials": { "type": "array", "items": { "type": "integer" }, "description": "Credential IDs for accessing this service." }, "created": { "type": "string", "format": "date-time", "description": "When this service was created." }, "updated": { "type": "string", "format": "date-time", "description": "When this service was last updated." } } }