File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 "definitions" : {},
33 "$schema" : " http://json-schema.org/draft-07/schema#" ,
44 "type" : " object" ,
5+ "$defs" : {
6+ "mapping" : {
7+ "type" : " object" ,
8+ "properties" : {
9+ "nw:valuePath" : {
10+ "type" : " string"
11+ }
12+ },
13+ "required" : [" nw:valuePath" ]
14+ }
15+ },
516 "properties" : {
617 "$schema" : { "type" : " string" },
718 "servient" : {
1526 "staticAddress" : {
1627 "type" : " string" ,
1728 "description" : " hostname or IP literal for static address config"
29+ },
30+ "dataSchemaMapping" : {
31+ "type" : " object" ,
32+ "description" : " Extracts specific values from a Thing's response object" ,
33+ "properties" : {
34+ "nw:property" : {
35+ "$ref" : " #/$defs/mapping"
36+ },
37+ "nw:action" : {
38+ "$ref" : " #/$defs/mapping"
39+ },
40+ "nw:event" : {
41+ "$ref" : " #/$defs/mapping"
42+ }
43+ }
1844 }
1945 },
2046 "additionalProperties" : false
You can’t perform that action at this time.
0 commit comments