{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/new-relic/refs/heads/main/json-schema/openapi-external-service-condition-body-schema.json", "title": "ExternalServiceConditionBody", "description": "ExternalServiceConditionBody schema", "type": "object", "properties": { "enabled": { "type": "boolean", "example": true }, "entities": { "type": "array", "items": { "type": "integer" }, "example": [ 100 ] }, "external_service_url": { "type": "string", "example": "https://portal.example.com/path/abc123" }, "metric": { "type": "string", "example": "example_string" }, "name": { "type": "string", "example": "example-resource-01" }, "runbook_url": { "type": "string", "example": "https://portal.example.com/path/abc123" }, "terms": { "type": "array", "items": { "$ref": "#/components/schemas/IJKTermsType" }, "example": [ { "duration": "example_string", "operator": "example_string", "priority": "example_string", "threshold": "example_string", "time_function": "example_string" } ] }, "type": { "type": "string", "example": "standard" } } }