{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/new-relic/refs/heads/main/json-schema/openapi-condition-body-schema.json", "title": "ConditionBody", "description": "ConditionBody schema", "type": "object", "properties": { "condition_scope": { "type": "string", "example": "example_string" }, "enabled": { "type": "boolean", "example": true }, "entities": { "type": "array", "items": { "type": "integer" }, "example": [ 100 ] }, "gc_metric": { "type": "string", "example": "example_string" }, "metric": { "type": "string", "example": "example_string" }, "name": { "type": "string", "example": "example-resource-01" }, "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" }, "user_defined": { "$ref": "#/components/schemas/UserDefinedConditionBody" }, "violation_close_timer": { "type": "integer", "example": 1718153645993 } } }