-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathschema.jsonld
71 lines (71 loc) · 1.69 KB
/
schema.jsonld
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"@context":[
{
"ui":{
"@id":"http://thingsystem.com/schema/ui",
"@type":"@id"
},
"device":"http://thingsystem.com/schema/device",
"element":"http://thingsystem.com/schema/element",
"power":{
"@id":"http://thingsystem.com/schema/elements/power",
"@type":"boolean",
"ui":"Toggle"
},
"color":{
"@id":"http://thingsystem.com/schema/elements/color",
"@type":"Color",
"ui":"ColorSelector"
},
"fan":{
"@id":"http://thingsystem.com/schema/elements/fan",
"@type":"boolean",
"ui":"Toggle"
},
"mediaState":{
"@id":"http://thingsystem.com/schema/elements/playstate",
"@type":"String",
"ui":"Selector"
},
"mediaSource":{
"@id":"http://thingsystem.com/schema/elements/media",
"@type":"URL",
"ui":"URL"
},
"brightness":{
"@id":"http://thingsystem.com/schema/elements/brightness",
"@type":"Integer",
"ui":"Slider"
},
"volume":{
"@id":"http://thingsystem.com/schema/elements/volume",
"@type":"Integer",
"ui":"Slider"
},
"temperature":{
"@id":"http://thingsystem.com/schema/elements/temp",
"@type":"Integer",
"ui":"BalancedInteger"
},
"displayName":{
"@id":"http://thingsystem.com/schema/tags/displayName",
"@type":"http://schema.org/name",
"ui":"Label"
},
"manufacture":{
"@id":"http://thingsystem.com/schema/tags/manufacture",
"@type":"http://schema.org/Organization",
"ui":"Label"
},
"readOnly":{
"@id":"http://thingsystem.com/schema/tags/readOnly",
"@type":"http://schema.org/Boolean"
},
"location":{
"@id":"http://thingsystem.com/schema/tags/location",
"@type":"http://schema.org/text",
"ui":"Label"
}
}
]
}