{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-sitewise/refs/heads/main/json-schema/iot-sitewise-aggregated-value-schema.json",
  "title": "AggregatedValue",
  "description": "Contains aggregated asset property values (for example, average, minimum, and maximum).",
  "type": "object",
  "properties": {
    "timestamp": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Timestamp"
        },
        {
          "description": "The date the aggregating computations occurred, in Unix epoch time."
        }
      ]
    },
    "quality": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Quality"
        },
        {
          "description": "The quality of the aggregated data."
        }
      ]
    },
    "value": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Aggregates"
        },
        {
          "description": "The value of the aggregates."
        }
      ]
    }
  },
  "required": [
    "timestamp",
    "value"
  ]
}