Schemas / I/O
rig.sensor.presence
v0.31.0 · draft 2 fields 0 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
level |
number0 – 1 | optional | Optional. 0-1 occupancy; absent = 0 |
device |
entity | optional | Optional board / network entity; absent = local |
Occupancy / presence reading. Format when present.
Digital hosts threshold level themselves. Bus addresses, UART handles, and raw mmWave packets stay in the host (or x.<vendor>.* device ops). A ROS 2 node entity is a valid device - docs/ros.md.
JSON Schema
Resolves at https://rig.works/schemas/rig.sensor.presence.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.sensor.presence.schema.json",
"title": "rig.sensor.presence",
"type": "object",
"additionalProperties": false,
"properties": {
"level": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"device": {
"$ref": "./_defs.schema.json#/$defs/entity"
}
}
}