{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/new-relic/refs/heads/main/json-schema/metric-api-metric-data-object-schema.json", "title": "MetricDataObject", "description": "A container for a batch of metrics with optional shared attributes", "type": "object", "properties": { "common": { "$ref": "#/components/schemas/CommonBlock" }, "metrics": { "type": "array", "description": "Array of individual metric data points", "items": { "$ref": "#/components/schemas/MetricDataPoint" }, "example": [ { "name": "example-resource-01", "type": "gauge", "value": 42.5, "timestamp": 1718153645993, "interval.ms": 100, "attributes": { "customAttribute": "example_value" } } ] } }, "required": [ "metrics" ] }