-
Notifications
You must be signed in to change notification settings - Fork 2
/
Attribute.jsonld
27 lines (26 loc) · 1.12 KB
/
Attribute.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
{
"@context": {
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"sch": "http://schema.org/",
"st": "http://thingschema.org/smartthings/",
"type": { "@id":"rdf:type", "@type": "@id"},
"id": { "@id":"rdf:ID", "@type": "@id"},
"subClassOf": {"@id": "rdfs:subClassOf", "@type": "@id"},
"range": {"@id": "rdfs:range", "@type": "@id"},
"domain": {"@id": "rdfs:domain", "@type": "@id"},
"items": "st:hasItem",
"hasCapability": { "@id": "st:hasCapability", "@type": "@id"},
"hasAttribute": { "@id": "st:hasAttribute", "@type": "@id"},
"hasCommand": { "@id": "st:hasCommand", "@type": "@id"},
"hasMethod": { "@id": "st:hasMethod", "@type": "@id"},
"hasParameter": { "@id": "st:hasParameter", "@type": "@id"},
"hasAttribute": { "@id": "st:hasAttribute", "@type": "@id"},
"hasRepresentationFormat": { "@id": "st:hasRepresentationFormat", "@type": "@id"}
},
"type": "sch:Type",
"id": "st:Attribute",
"subClassOf": "st:Element",
"hasMethod": ["st:getMethod", "st:setMethod]"],
"description": "SmartThings Attribute Class"
}