Last active
May 2, 2019 01:36
-
-
Save dpjanes/3e93aeaee274a8d6c82c to your computer and use it in GitHub Desktop.
HueLight JSON-LD
This file contains 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#", | |
"schema": "http://schema.org/", | |
"iot-attribute": "https://iotdb.org/pub/iot-attribute#" | |
}, | |
"@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