minimal_local.json 1.79 KB
Newer Older
1
2
{
  "name": "simple-building",
Nicolas Seydoux's avatar
Nicolas Seydoux committed
3
  "centralized": "adp",
nseydoux's avatar
nseydoux committed
4
  "common_knowledge":["http://w3id.org/laas-iot/edr", "http://w3id.org/laas-iot/edr/edrt.ttl"],
5
6
7
8
9
10
11
12
13
14
  "layers": {
    "type": "building",
    "count": 1,
    "host": "http://localhost",
    "concentrates": [{
      "type": "room",
      "count": 1,
      "feature": "self",
      "host": "http://localhost",
      "concentrates": [{
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
        "type": "room",
        "count": 1,
        "feature": "self",
        "host": "http://localhost",
        "concentrates": [{
            "type": "sensor",
            "host": "http://localhost",
            "measures": "temperature",
            "count": 1
          }, {
            "type": "sensor",
            "host": "http://localhost",
            "measures": "luminosity",
            "count": 1
          }
        ]
Nicolas Seydoux's avatar
Nicolas Seydoux committed
31
      }]
32
33
34
    },{
      "type": "room",
      "count": 1,
Nicolas Seydoux's avatar
Nicolas Seydoux committed
35
      "feature": "http://example.com/ns#livingRoom",
36
37
38
39
40
41
42
43
44
45
46
      "host": "http://localhost",
      "concentrates": [ {
          "type": "sensor",
          "host": "http://localhost",
          "measures": "luminosity",
          "count": 1
        }
      ]
    },{
      "type": "room",
      "count": 1,
Nicolas Seydoux's avatar
Nicolas Seydoux committed
47
      "feature": "http://example.com/ns#livingRoom",
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
      "host": "http://localhost",
      "concentrates": [{
          "type": "sensor",
          "host": "http://localhost",
          "measures": "temperature",
          "count": 1
        }
      ]
    }, {
        "type": "sensor",
        "host": "http://localhost",
        "measures": "temperature",
        "count": 1
      }, {
        "type": "sensor",
        "host": "http://localhost",
        "measures": "luminosity",
        "count": 1
Nicolas Seydoux's avatar
Nicolas Seydoux committed
66
67
68
69
70
      },{
        "type": "sensor",
        "host": "http://localhost",
        "measures": "temperature_request",
        "count": 1
71
      }]
72
73
  }
}