-
-
Save helxsz/87c04c59b85ef33eb5d6082a8dd2e76b to your computer and use it in GitHub Desktop.
JSON-LD Description of Hue Light
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": { | |
"@base": "file:///hue-light", | |
"@vocab": "file:///hue-light#", | |
"iot": "https://iotdb.org/pub/iot#", | |
"iot-attribute": "https://iotdb.org/pub/iot-attribute#", | |
"schema": "http://schema.org/" | |
}, | |
"@id": "", | |
"@type": "iot:Model", | |
"schema:name": "Hue Light", | |
"schema:description": "Philips Hue colored light", | |
"iot:attribute": [ | |
{ | |
"@type": "iot:Attribute", | |
"iot:purpose": "iot-attribute:on", | |
"@id": "#on", | |
"schema:name": "on", | |
"iot:type": "iot:boolean", | |
"iot:role": "iot-attribute:role-control" | |
}, | |
{ | |
"@type": "iot:Attribute", | |
"iot:purpose": "iot-attribute:color", | |
"@id": "#color", | |
"schema:name": "color", | |
"iot:type": "iot:string", | |
"iot:format": "iot:color", | |
"iot:role": "iot-attribute:role-control" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment