{
"$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-asset-model-property-summary-schema.json",
"title": "AssetModelPropertySummary",
"description": "Contains a summary of a property associated with a model.",
"type": "object",
"properties": {
"id": {
"allOf": [
{
"$ref": "#/components/schemas/ID"
},
{
"description": "The ID of the property."
}
]
},
"name": {
"allOf": [
{
"$ref": "#/components/schemas/Name"
},
{
"description": "The name of the property."
}
]
},
"dataType": {
"allOf": [
{
"$ref": "#/components/schemas/PropertyDataType"
},
{
"description": "The data type of the property."
}
]
},
"dataTypeSpec": {
"allOf": [
{
"$ref": "#/components/schemas/Name"
},
{
"description": "The data type of the structure for this property. This parameter exists on properties that have the STRUCT data type."
}
]
},
"unit": {
"allOf": [
{
"$ref": "#/components/schemas/PropertyUnit"
},
{
"description": "The unit (such as Newtons or RPM) of the property."
}
]
},
"type": {
"type": "object",
"properties": {
"attribute": {
"allOf": [
{
"$ref": "#/components/schemas/Attribute"
},
{
"description": "Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine."
}
]
},
"measurement": {
"allOf": [
{
"$ref": "#/components/schemas/Measurement"
},
{
"description": "Specifies an asset measurement property. A measurement represents a device's raw sensor data stream, such as timestamped temperature values or timestamped power values."
}
]
},
"transform": {
"allOf": [
{
"$ref": "#/components/schemas/Transform"
},
{
"description": "Specifies an asset transform property. A transform contains a mathematical expression that maps a property's data points from one form to another, such as a unit conversion from Celsius to Fahrenheit."
}
]
},
"metric": {
"allOf": [
{
"$ref": "#/components/schemas/Metric"
},
{
"description": "Specifies an asset metric property. A metric contains a mathematical expression that uses aggregate functions to process all input data points over a time interval and output a single data point, such as to calculate the average hourly temperature."
}
]
}
},
"description": "Contains a property type, which can be one of attribute, measurement, metric, or transform."
},
"assetModelCompositeModelId": {
"allOf": [
{
"$ref": "#/components/schemas/ID"
},
{
"description": " The ID of the composite model that contains the asset model property. "
}
]
}
},
"required": [
"name",
"dataType",
"type"
]
}