Skip to content

Commit

Permalink
Merge pull request #336 from akenza-io/newSpaceSchemaEntrys
Browse files Browse the repository at this point in the history
New space schema entries
  • Loading branch information
J2thatsme authored Dec 12, 2024
2 parents e5096a0 + 862f60a commit 3dbe7ce
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

---

# [1.57.1] - 2024-12-12

### Added

- Standardised the occupancy value and added minutesSinceLastOccupied for the upcoming warmdesk logic"

# [1.57.0] - 2024-11-28

### Added
Expand Down
19 changes: 18 additions & 1 deletion data-models/spaces/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,23 @@
"type": "boolean"
}
},
"occupancy": {
"integer": {
"title": "Occupancy",
"description": "Space occupancy. 0 = Unoccupied / 1 = Occupied but movement detected / 2 = Occupied.",
"type": "integer",
"minimum": 0,
"maximum": 2
}
},
"minutesSinceLastOccupied": {
"minutes": {
"title": "Minutes since last occupied",
"description": "Minutes since last occupied value was registered",
"type": "integer",
"unit": "m"
}
},
"motion": {
"count": {
"measurementType": "akenza/spaces/motion/count",
Expand Down Expand Up @@ -53,4 +70,4 @@
}
}
}
}
}

0 comments on commit 3dbe7ce

Please sign in to comment.