Skip to content

Instantly share code, notes, and snippets.

@dpjanes
Created June 3, 2015 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpjanes/79a256c02c0a31c9aa42 to your computer and use it in GitHub Desktop.
Save dpjanes/79a256c02c0a31c9aa42 to your computer and use it in GitHub Desktop.
WeMo Socket JSON-LD
{
"@context": {
"@base": "file:///we-mo-socket",
"@vocab": "file:///we-mo-socket#",
"iot": "https://iotdb.org/pub/iot#",
"schema": "http://schema.org/",
"iot-attribute": "https://iotdb.org/pub/iot-attribute#"
},
"@id": "",
"@type": "iot:Model",
"schema:name": "WeMo Socket",
"schema:description": "Belkin WeMo Socket",
"iot:attribute": [
{
"@type": "iot:Attribute",
"iot:purpose": "iot-attribute:on",
"@id": "#on",
"schema:name": "on",
"iot:type": "iot:boolean",
"iot:role": [
"iot-attribute:role-reading",
"iot-attribute:role-control"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment