{
"$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-property-schema.json",
"title": "AssetProperty",
"description": "Contains asset property information.",
"type": "object",
"properties": {
"id": {
"allOf": [
{
"$ref": "#/components/schemas/ID"
},
{
"description": "The ID of the asset property."
}
]
},
"name": {
"allOf": [
{
"$ref": "#/components/schemas/Name"
},
{
"description": "The name of the property."
}
]
},
"alias": {
"allOf": [
{
"$ref": "#/components/schemas/PropertyAlias"
},
{
"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."
}
]
},
"notification": {
"allOf": [
{
"$ref": "#/components/schemas/PropertyNotification"
},
{
"description": "The asset property's notification topic and state. For more information, see UpdateAssetProperty."
}
]
},
"dataType": {
"allOf": [
{
"$ref": "#/components/schemas/PropertyDataType"
},
{
"description": "The data type of the asset 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 asset property."
}
]
}
},
"required": [
"id",
"name",
"dataType"
]
}