Last active
May 2, 2019 01:35
-
-
Save dpjanes/5481c1700bfcc0f168d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": { | |
"@base": "http://example.com/th", | |
"@vocab": "http://example.com/th", | |
"iot": "https://iotdb.org/pub/iot#", | |
"schema": "http://schema.org/", | |
"iot-attribute": "https://iotdb.org/pub/iot-attribute#" | |
}, | |
"@type": "iot:Model", | |
"iot:attribute": [ | |
{ | |
"@type": "iot:Attribute", | |
"iot:purpose": "iot-attribute:sensor.temperature", | |
"@id": "#temperature", | |
"schema:name": "ambient temperature", | |
"iot:type": "iot:number", | |
"iot:unit": "iot-unit:temperature.metric.celsius", | |
"iot:role": "iot-attribute:role-reading" | |
}, | |
{ | |
"@type": "iot:Attribute", | |
"iot:purpose": "iot-attribute:latitude", | |
"@id": "#latitude", | |
"schema:name": "longitude", | |
"iot:type": "iot:number" | |
}, | |
{ | |
"@type": "iot:Attribute", | |
"iot:purpose": "iot-attribute:longitude", | |
"@id": "#longitude", | |
"schema:name": "longitude", | |
"iot:type": "iot:number" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment