ThingsBoard · JSON-LD Context

Thingsboard Context

JSON-LD context defining the semantic vocabulary for Thingsboard from ThingsBoard.

24 Classes 16 Properties 6 Namespaces
View Context View on GitHub

Namespaces

tb: https://thingsboard.io/vocab#
schema: https://schema.org/
iot: https://www.w3.org/ns/iot#
sosa: http://www.w3.org/ns/sosa/
ssn: http://www.w3.org/ns/ssn/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

DeviceProfile AssetProfile Dashboard RuleChain Attribute EntityRelation OtaPackage Edge Notification id name label type additionalInfo value severity status acknowledged cleared MQTT CoAP HTTP LwM2M SNMP

Properties

Property Type Container
Device sosa:Platform
Asset schema:Thing
Customer schema:Organization
Tenant schema:Organization
User schema:Person
Alarm schema:Event
Telemetry sosa:Observation
createdTime dateTime
tenantId reference
customerId reference
deviceProfileId reference
assetProfileId reference
ruleChainId reference
dashboardId reference
ts dateTime
originator reference

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "tb": "https://thingsboard.io/vocab#",
    "schema": "https://schema.org/",
    "iot": "https://www.w3.org/ns/iot#",
    "sosa": "http://www.w3.org/ns/sosa/",
    "ssn": "http://www.w3.org/ns/ssn/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "Device": {
      "@id": "tb:Device",
      "@type": "sosa:Platform"
    },
    "DeviceProfile": "tb:DeviceProfile",
    "Asset": {
      "@id": "tb:Asset",
      "@type": "schema:Thing"
    },
    "AssetProfile": "tb:AssetProfile",
    "Customer": {
      "@id": "tb:Customer",
      "@type": "schema:Organization"
    },
    "Tenant": {
      "@id": "tb:Tenant",
      "@type": "schema:Organization"
    },
    "User": {
      "@id": "tb:User",
      "@type": "schema:Person"
    },
    "Dashboard": "tb:Dashboard",
    "RuleChain": "tb:RuleChain",
    "Alarm": {
      "@id": "tb:Alarm",
      "@type": "schema:Event"
    },
    "Telemetry": {
      "@id": "tb:Telemetry",
      "@type": "sosa:Observation"
    },
    "Attribute": "tb:Attribute",
    "EntityRelation": "tb:EntityRelation",
    "OtaPackage": "tb:OtaPackage",
    "Edge": "tb:Edge",
    "Notification": "tb:Notification",
    "id": "@id",
    "name": "schema:name",
    "label": "schema:alternateName",
    "type": "@type",
    "createdTime": {"@id": "schema:dateCreated", "@type": "xsd:dateTime"},
    "tenantId": {"@id": "tb:tenant", "@type": "@id"},
    "customerId": {"@id": "tb:customer", "@type": "@id"},
    "deviceProfileId": {"@id": "tb:deviceProfile", "@type": "@id"},
    "assetProfileId": {"@id": "tb:assetProfile", "@type": "@id"},
    "ruleChainId": {"@id": "tb:ruleChain", "@type": "@id"},
    "dashboardId": {"@id": "tb:dashboard", "@type": "@id"},
    "additionalInfo": "schema:additionalProperty",
    "ts": {"@id": "sosa:resultTime", "@type": "xsd:dateTime"},
    "value": "sosa:hasSimpleResult",
    "severity": "tb:severity",
    "status": "tb:status",
    "originator": {"@id": "tb:originator", "@type": "@id"},
    "acknowledged": "tb:acknowledged",
    "cleared": "tb:cleared",
    "MQTT": "iot:MQTT",
    "CoAP": "iot:CoAP",
    "HTTP": "iot:HTTP",
    "LwM2M": "iot:LwM2M",
    "SNMP": "iot:SNMP"
  }
}