{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/chronosphere/main/json-schema/chronosphere-configunstable-create-object-discovery-rule-request-schema.json", "title": "configunstableCreateObjectDiscoveryRuleRequest", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/chronosphere-objectdiscoveryrule-api-openapi.yml#/components/schemas/configunstableCreateObjectDiscoveryRuleRequest", "properties": { "object_discovery_rule": { "$ref": "#/$defs/configunstableObjectDiscoveryRule" } }, "type": "object", "$defs": { "ObjectDiscoveryRuleMetricRule": { "properties": { "expr": { "type": "string" }, "objectLabels": { "items": { "type": "string" }, "type": "array" }, "objectMappingLabel": { "type": "string" } }, "type": "object" }, "configunstableObjectDiscoveryRule": { "properties": { "slug": { "description": "The unique identifier of the ObjectDiscoveryRule. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the ObjectDiscoveryRule is created.", "type": "string" }, "name": { "description": "The name of the ObjectDiscoveryRule. You can modify this value after the ObjectDiscoveryRule is created.", "type": "string" }, "metric": { "$ref": "#/$defs/ObjectDiscoveryRuleMetricRule" } }, "type": "object" } } }