Skip to content

Instantly share code, notes, and snippets.

@h0ru5
Created September 2, 2016 21:57
Show Gist options
  • Select an option

  • Save h0ru5/e38435399c781e96023d0b6cd9fb3553 to your computer and use it in GitHub Desktop.

Select an option

Save h0ru5/e38435399c781e96023d0b6cd9fb3553 to your computer and use it in GitHub Desktop.
missing hrefs in properties
{
@context: "http://w3c.github.io/wot/w3c-wot-td-context.jsonld",
name: "servient",
uris: [
"coap://192.168.178.67/things/servient",
"http://192.168.178.67:8088/things/servient"
],
properties: [
{
name: "numberOfThings",
writable: false,
valueType: {
type: "integer"
}
},
{
name: "securityEnabled",
writable: true,
valueType: {
type: "boolean"
}
}
],
actions: [
{
name: "createThing",
inputData: {
valueType: {
type: "string"
}
},
hrefs: [
"creatething",
"creatething"
]
},
{
name: "addScript",
inputData: {
valueType: {
type: "string"
}
},
hrefs: [
"addscript",
"addscript"
]
},
{
name: "reset",
hrefs: [
"reset",
"reset"
]
}
],
events: [ ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment