Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "@type": [
- "Lock"
- ],
- "description": "Lock model XYZ",
- "id": "lockID",
- "title": "Lock by LockCompany",
- "@context": "https://iot.mozilla.org/schemas",
- "actions": {},
- "events": {},
- "properties": {
- "currentLocked": {
- "@type": "LockedProperty",
- "description": "Whether the lock is currently locked",
- "links": [
- {
- "rel": "property",
- "href": "/properties/currentLocked"
- }
- ],
- "type": "string",
- "title": "Current Lock State",
- "readOnly": true,
- "enum": [
- "locked",
- "unlocked",
- "unknown",
- "jammed"
- ]
- },
- "targetLocked": {
- "@type": "TargetLockedProperty",
- "description": "The target state of the lock",
- "links": [
- {
- "rel": "property",
- "href": "/properties/targetLocked"
- }
- ],
- "type": "boolean",
- "title": "Target Lock State"
- }
- },
- "links": [
- {
- "rel": "properties",
- "href": "/properties"
- },
- {
- "rel": "actions",
- "href": "/actions"
- },
- {
- "rel": "events",
- "href": "/events"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement