{
"$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-composite-model-property-schema.json",
"title": "CompositeModelProperty",
"description": "Contains information about a composite model property on an asset.",
"type": "object",
"properties": {
"name": {
"allOf": [
{
"$ref": "#/components/schemas/Name"
},
{
"description": "The name of the property."
}
]
},
"type": {
"allOf": [
{
"$ref": "#/components/schemas/Name"
},
{
"description": "The type of the composite model that defines this property."
}
]
},
"assetProperty": {
"type": "object",
"required": [
"id",
"name",
"dataType"
],
"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 property data type."
}
]
},
"unit": {
"allOf": [
{
"$ref": "#/components/schemas/PropertyUnit"
},
{
"description": "The unit (such as Newtons or RPM) of the asset property."
}
]
},
"type": {
"allOf": [
{
"$ref": "#/components/schemas/PropertyType"
},
{
"description": "The property type (see PropertyType). A property contains one type."
}
]
}
},
"description": "Contains asset property information."
},
"id": {
"allOf": [
{
"$ref": "#/components/schemas/ID"
},
{
"description": " The ID of the composite model that contains the property. "
}
]
}
},
"required": [
"name",
"type",
"assetProperty"
]
}