{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-fleetwise/refs/heads/main/json-schema/iot-fleetwise-sensor-schema.json", "title": "Sensor", "description": "
An input component that reports the environmental condition of a vehicle.
You can collect data about fluid levels, temperatures, vibrations, or battery voltage from sensors.
Vehicle.Body.Engine.Battery."
}
]
},
"dataType": {
"allOf": [
{
"$ref": "#/components/schemas/NodeDataType"
},
{
"description": "The specified data type of the sensor. "
}
]
},
"description": {
"allOf": [
{
"$ref": "#/components/schemas/description"
},
{
"description": "A brief description of a sensor."
}
]
},
"unit": {
"allOf": [
{
"$ref": "#/components/schemas/string"
},
{
"description": "The scientific unit of measurement for data collected by the sensor."
}
]
},
"allowedValues": {
"allOf": [
{
"$ref": "#/components/schemas/listOfStrings"
},
{
"description": "A list of possible values a sensor can take."
}
]
},
"min": {
"allOf": [
{
"$ref": "#/components/schemas/double"
},
{
"description": "The specified possible minimum value of the sensor."
}
]
},
"max": {
"allOf": [
{
"$ref": "#/components/schemas/double"
},
{
"description": "The specified possible maximum value of the sensor."
}
]
},
"deprecationMessage": {
"allOf": [
{
"$ref": "#/components/schemas/message"
},
{
"description": "The deprecation message for the node or the branch that was moved or deleted."
}
]
},
"comment": {
"allOf": [
{
"$ref": "#/components/schemas/message"
},
{
"description": "A comment in addition to the description."
}
]
}
},
"required": [
"fullyQualifiedName",
"dataType"
]
}