{
"$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-batch-get-asset-property-aggregates-entries-schema.json",
"title": "BatchGetAssetPropertyAggregatesEntries",
"description": "BatchGetAssetPropertyAggregatesEntries schema",
"type": "array",
"items": {
"type": "object",
"required": [
"entryId",
"aggregateTypes",
"resolution",
"startDate",
"endDate"
],
"properties": {
"entryId": {
"allOf": [
{
"$ref": "#/components/schemas/EntryId"
},
{
"description": "The ID of the entry."
}
]
},
"assetId": {
"allOf": [
{
"$ref": "#/components/schemas/ID"
},
{
"description": "The ID of the asset in which the asset property was created."
}
]
},
"propertyId": {
"allOf": [
{
"$ref": "#/components/schemas/ID"
},
{
"description": "The ID of the asset property."
}
]
},
"propertyAlias": {
"allOf": [
{
"$ref": "#/components/schemas/AssetPropertyAlias"
},
{
"description": "The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide."
}
]
},
"aggregateTypes": {
"allOf": [
{
"$ref": "#/components/schemas/AggregateTypes"
},
{
"description": "The data aggregating function."
}
]
},
"resolution": {
"allOf": [
{
"$ref": "#/components/schemas/Resolution"
},
{
"description": "The time interval over which to aggregate data."
}
]
},
"startDate": {
"allOf": [
{
"$ref": "#/components/schemas/Timestamp"
},
{
"description": "The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time."
}
]
},
"endDate": {
"allOf": [
{
"$ref": "#/components/schemas/Timestamp"
},
{
"description": "The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time."
}
]
},
"qualities": {
"allOf": [
{
"$ref": "#/components/schemas/Qualities"
},
{
"description": "The quality by which to filter asset data."
}
]
},
"timeOrdering": {
"allOf": [
{
"$ref": "#/components/schemas/TimeOrdering"
},
{
"description": "
The chronological sorting order of the requested information.
Default: ASCENDING
Contains information for an asset property aggregate entry that is associated with the BatchGetAssetPropertyAggregates API.
To identify an asset property, you must specify one of the following:
The assetId and propertyId of an asset property.
A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.