{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cloudwatch/refs/heads/main/json-schema/cloudwatch-metric-schema.json",
"title": "Metric",
"description": "Represents a specific metric",
"type": "object",
"properties": {
"namespace": {
"type": "string",
"description": "The namespace of the metric"
},
"metricName": {
"type": "string",
"description": "The name of the metric"
},
"dimensions": {
"type": "array",
"description": "The dimensions for the metric",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the dimension"
},
"value": {
"type": "string",
"description": "The value of the dimension"
}
}
}
}
}
}