{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/datadog/refs/heads/main/json-schema/datadog-metrics-metric-resource-schema.json", "title": "MetricResource", "description": "A resource (such as a host or service) associated with a metric series", "type": "object", "properties": { "name": { "type": "string", "description": "The name of the resource (e.g., hostname or service name)", "example": "Example Monitor" }, "type": { "type": "string", "description": "The type of the resource (e.g., host, service, container)", "example": "metric alert" } }, "required": [ "name", "type" ] }