{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-events/refs/heads/main/json-schema/iot-events-asset-property-variant-schema.json", "title": "AssetPropertyVariant", "description": "

A structure that contains an asset property value. For more information, see Variant in the AWS IoT SiteWise API Reference.

You must use expressions for all parameters in AssetPropertyVariant. The expressions accept literals, operators, functions, references, and substitution templates.

Examples

For more information, see Expressions in the AWS IoT Events Developer Guide.

You must specify one of the following value types, depending on the dataType of the specified asset property. For more information, see AssetProperty in the AWS IoT SiteWise API Reference.

", "type": "object", "properties": { "stringValue": { "allOf": [ { "$ref": "#/components/schemas/AssetPropertyStringValue" }, { "description": "The asset property value is a string. You must use an expression, and the evaluated result should be a string." } ] }, "integerValue": { "allOf": [ { "$ref": "#/components/schemas/AssetPropertyIntegerValue" }, { "description": "The asset property value is an integer. You must use an expression, and the evaluated result should be an integer." } ] }, "doubleValue": { "allOf": [ { "$ref": "#/components/schemas/AssetPropertyDoubleValue" }, { "description": "The asset property value is a double. You must use an expression, and the evaluated result should be a double." } ] }, "booleanValue": { "allOf": [ { "$ref": "#/components/schemas/AssetPropertyBooleanValue" }, { "description": "The asset property value is a Boolean value that must be 'TRUE' or 'FALSE'. You must use an expression, and the evaluated result should be a Boolean value." } ] } } }