{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "MetricDatum",
  "type": "object",
  "description": "Encapsulates the information sent to either create a metric or add new values to be aggregated into an existing metric.",
  "properties": {
    "MetricName": {
      "type": "string",
      "description": "The name of the metric."
    },
    "Dimensions": {
      "type": "array",
      "description": "The dimensions associated with the metric."
    },
    "Timestamp": {
      "type": "string",
      "description": "The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC."
    },
    "Value": {
      "type": "number",
      "description": "The value for the metric. Although the parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large."
    },
    "Values": {
      "type": "array",
      "description": "Array of numbers representing the values for the metric during the period."
    },
    "Counts": {
      "type": "array",
      "description": "Array of numbers that is used along with the Values array."
    },
    "StorageResolution": {
      "type": "integer",
      "description": "Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution metric."
    }
  }
}