Airthings · JSON-LD Context
Airthings Context
JSON-LD context defining the semantic vocabulary for Airthings from Airthings.
80 Classes
121 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
airthings:
https://airthings.com/schema#
Classes
GetAccountsResponse
GetAccountResponse
ErrorResponse
Code
GetDevicesResponse-enriched
GetDeviceDetailedResponse-enriched
DeviceType
LocationSimpleResponse
SegmentSimpleResponse-enriched
UpdateDevicesRequest
UpdateDeviceInput
BatteryResponse
BatteryResponseData
BatteryType
SingleBatteryResponse
SingleBatteryResponseData
LatestSampleResponse-enriched
LatestSampleData-enriched
SamplesResponse
SampleData
MeasurementSystem
HourlyRadonResponse
HourlyRadonResponseData
MoldResponse
MoldResponseData
VirusRiskResponse
VirusRiskResponseData
OccupancyResponse
OccupancyData
VentilationResponse-enriched
VentilationData-enriched
SensorType
GetThresholdBreachesResponse
ThresholdBreach
SensorUnit
ThresholdLevel
PatchDeviceLabelsRequestUpsertDocs
PatchDeviceLabelItemUpsert
PatchDeviceLabelOperationUpsertDocs
GetLocationsResponse
LocationResponse
Map-Day-LocationUsage
AddLocationResponse
AddLocationRequest-enriched
BuildingType
VentilationType
GetLocationResponse-enriched
DeviceSimpleResponse-enriched
GetLocationSamplesResponse-enriched
DeviceSampleResponse-enriched
AddDeviceToLocationResponse
AddDeviceRequest-enriched
GetOrganizationsResponse
GetOrganizationResponse
SegmentsResponse-enriched
SegmentResponse-enriched
SensorsThresholdResponse
SensorThreshold
ThresholdRange
SensorRangeRating
HookSensorUnits
GetWebhooksResponse-enriched
HookResponse-enriched
GetDeviceDetailedResponse
SegmentSimpleResponse
HookEvent
AddHookRequest-enriched
PatchWebhookRequest
PatchLocation
PatchWebhookAction
PatchWebhookPath
PatchSpaceRequest
PatchSpace
Error
SensorsResponse
SensorResponse
AccountsResponse
AccountResponse
DevicesResponse
DeviceResponse
Properties
| Property | Type | Container |
|---|---|---|
| accounts | list | |
| id | string | |
| name | ||
| error | reference | |
| error_code | ||
| error_description | string | |
| devices | list | |
| limit | ||
| offset | ||
| total | ||
| deviceType | reference | |
| location | ||
| productName | string | |
| segment | ||
| sensors | list | |
| active | boolean | |
| spaceId | ||
| started | dateTime | |
| updates | list | |
| serialNumber | string | |
| data | ||
| batteryChanged | ||
| batteryLevel | list | |
| batteryType | reference | |
| time | list | |
| airExchangeRate | ||
| airflow | ||
| battery | ||
| co2 | ||
| controlSignal | ||
| hourlyRadon | ||
| humidity | ||
| light | ||
| lux | ||
| mold | ||
| occupants | ||
| occupantsLower | ||
| occupantsUpper | ||
| pm1 | ||
| pm10 | ||
| pm25 | ||
| pressure | ||
| radonShortTermAvg | ||
| relayDeviceType | ||
| rssi | ||
| sla | ||
| temp | ||
| virusRisk | ||
| voc | ||
| cursor | ||
| end | dateTime | |
| measurementSystem | reference | |
| start | dateTime | |
| breaches | list | |
| deviceId | string | |
| recorded | dateTime | |
| sensorType | reference | |
| sensorUnit | reference | |
| sensorValue | decimal | |
| thresholdLevel | reference | |
| items | list | |
| operation | reference | |
| value | string | |
| locations | list | |
| labels | ||
| monday | ||
| tuesday | ||
| wednesday | ||
| thursday | ||
| friday | ||
| saturday | ||
| sunday | ||
| locationId | string | |
| address | ||
| buildingHeight | ||
| buildingSize | ||
| buildingType | ||
| buildingVolume | ||
| buildingYear | ||
| floors | ||
| lat | decimal | |
| lng | decimal | |
| timezone | ||
| usageHours | reference | |
| ventilationType | ||
| countryCode | ||
| organizations | list | |
| userGroupId | string | |
| segments | list | |
| ended | ||
| thresholds | ||
| ranges | list | |
| type | reference | |
| unit | reference | |
| from | ||
| rating | reference | |
| to | ||
| radonUnit | string | |
| tempUnit | string | |
| pressureUnit | string | |
| vocUnit | string | |
| webhooks | list | |
| eventTypes | list | |
| headers | ||
| mostRecentEvent | ||
| sensorUnits | reference | |
| subscribedToAll | boolean | |
| url | string | |
| completedAt | ||
| correlationId | string | |
| createdAt | ||
| hookId | string | |
| statusCode | ||
| updatedAt | ||
| operations | list | |
| op | reference | |
| path | reference | |
| patches | list | |
| message | string | |
| batteryPercentage | integer | |
| home | string |
JSON-LD Document
{
"@context": {
"@vocab": "https://airthings.com/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"airthings": "https://airthings.com/schema#",
"GetAccountsResponse": "airthings:GetAccountsResponse",
"accounts": {
"@id": "airthings:accounts",
"@container": "@list"
},
"GetAccountResponse": "airthings:GetAccountResponse",
"id": {
"@id": "airthings:id",
"@type": "xsd:string"
},
"name": {
"@id": "airthings:name"
},
"ErrorResponse": "airthings:ErrorResponse",
"error": {
"@id": "airthings:error",
"@type": "@id"
},
"error_code": {
"@id": "airthings:error_code"
},
"error_description": {
"@id": "airthings:error_description",
"@type": "xsd:string"
},
"Code": "airthings:Code",
"GetDevicesResponse-enriched": "airthings:GetDevicesResponse-enriched",
"devices": {
"@id": "airthings:devices",
"@container": "@list"
},
"limit": {
"@id": "airthings:limit"
},
"offset": {
"@id": "airthings:offset"
},
"total": {
"@id": "airthings:total"
},
"GetDeviceDetailedResponse-enriched": "airthings:GetDeviceDetailedResponse-enriched",
"deviceType": {
"@id": "airthings:deviceType",
"@type": "@id"
},
"location": {
"@id": "airthings:location"
},
"productName": {
"@id": "airthings:productName",
"@type": "xsd:string"
},
"segment": {
"@id": "airthings:segment"
},
"sensors": {
"@id": "airthings:sensors",
"@container": "@list"
},
"DeviceType": "airthings:DeviceType",
"LocationSimpleResponse": "airthings:LocationSimpleResponse",
"SegmentSimpleResponse-enriched": "airthings:SegmentSimpleResponse-enriched",
"active": {
"@id": "airthings:active",
"@type": "xsd:boolean"
},
"spaceId": {
"@id": "airthings:spaceId"
},
"started": {
"@id": "airthings:started",
"@type": "xsd:dateTime"
},
"UpdateDevicesRequest": "airthings:UpdateDevicesRequest",
"updates": {
"@id": "airthings:updates",
"@container": "@list"
},
"UpdateDeviceInput": "airthings:UpdateDeviceInput",
"serialNumber": {
"@id": "airthings:serialNumber",
"@type": "xsd:string"
},
"BatteryResponse": "airthings:BatteryResponse",
"data": {
"@id": "airthings:data"
},
"BatteryResponseData": "airthings:BatteryResponseData",
"batteryChanged": {
"@id": "airthings:batteryChanged"
},
"batteryLevel": {
"@id": "airthings:batteryLevel",
"@container": "@list"
},
"batteryType": {
"@id": "airthings:batteryType",
"@type": "@id"
},
"time": {
"@id": "airthings:time",
"@container": "@list"
},
"BatteryType": "airthings:BatteryType",
"SingleBatteryResponse": "airthings:SingleBatteryResponse",
"SingleBatteryResponseData": "airthings:SingleBatteryResponseData",
"LatestSampleResponse-enriched": "airthings:LatestSampleResponse-enriched",
"LatestSampleData-enriched": "airthings:LatestSampleData-enriched",
"airExchangeRate": {
"@id": "airthings:airExchangeRate"
},
"airflow": {
"@id": "airthings:airflow"
},
"battery": {
"@id": "airthings:battery"
},
"co2": {
"@id": "airthings:co2"
},
"controlSignal": {
"@id": "airthings:controlSignal"
},
"hourlyRadon": {
"@id": "airthings:hourlyRadon"
},
"humidity": {
"@id": "airthings:humidity"
},
"light": {
"@id": "airthings:light"
},
"lux": {
"@id": "airthings:lux"
},
"mold": {
"@id": "airthings:mold"
},
"occupants": {
"@id": "airthings:occupants"
},
"occupantsLower": {
"@id": "airthings:occupantsLower"
},
"occupantsUpper": {
"@id": "airthings:occupantsUpper"
},
"pm1": {
"@id": "airthings:pm1"
},
"pm10": {
"@id": "airthings:pm10"
},
"pm25": {
"@id": "airthings:pm25"
},
"pressure": {
"@id": "airthings:pressure"
},
"radonShortTermAvg": {
"@id": "airthings:radonShortTermAvg"
},
"relayDeviceType": {
"@id": "airthings:relayDeviceType"
},
"rssi": {
"@id": "airthings:rssi"
},
"sla": {
"@id": "airthings:sla"
},
"temp": {
"@id": "airthings:temp"
},
"virusRisk": {
"@id": "airthings:virusRisk"
},
"voc": {
"@id": "airthings:voc"
},
"SamplesResponse": "airthings:SamplesResponse",
"cursor": {
"@id": "airthings:cursor"
},
"end": {
"@id": "airthings:end",
"@type": "xsd:dateTime"
},
"measurementSystem": {
"@id": "airthings:measurementSystem",
"@type": "@id"
},
"start": {
"@id": "airthings:start",
"@type": "xsd:dateTime"
},
"SampleData": "airthings:SampleData",
"MeasurementSystem": "airthings:MeasurementSystem",
"HourlyRadonResponse": "airthings:HourlyRadonResponse",
"HourlyRadonResponseData": "airthings:HourlyRadonResponseData",
"MoldResponse": "airthings:MoldResponse",
"MoldResponseData": "airthings:MoldResponseData",
"VirusRiskResponse": "airthings:VirusRiskResponse",
"VirusRiskResponseData": "airthings:VirusRiskResponseData",
"OccupancyResponse": "airthings:OccupancyResponse",
"OccupancyData": "airthings:OccupancyData",
"VentilationResponse-enriched": "airthings:VentilationResponse-enriched",
"VentilationData-enriched": "airthings:VentilationData-enriched",
"SensorType": "airthings:SensorType",
"GetThresholdBreachesResponse": "airthings:GetThresholdBreachesResponse",
"breaches": {
"@id": "airthings:breaches",
"@container": "@list"
},
"deviceId": {
"@id": "airthings:deviceId",
"@type": "xsd:string"
},
"ThresholdBreach": "airthings:ThresholdBreach",
"recorded": {
"@id": "airthings:recorded",
"@type": "xsd:dateTime"
},
"sensorType": {
"@id": "airthings:sensorType",
"@type": "@id"
},
"sensorUnit": {
"@id": "airthings:sensorUnit",
"@type": "@id"
},
"sensorValue": {
"@id": "airthings:sensorValue",
"@type": "xsd:decimal"
},
"thresholdLevel": {
"@id": "airthings:thresholdLevel",
"@type": "@id"
},
"SensorUnit": "airthings:SensorUnit",
"ThresholdLevel": "airthings:ThresholdLevel",
"PatchDeviceLabelsRequestUpsertDocs": "airthings:PatchDeviceLabelsRequestUpsertDocs",
"items": {
"@id": "airthings:items",
"@container": "@list"
},
"operation": {
"@id": "airthings:operation",
"@type": "@id"
},
"PatchDeviceLabelItemUpsert": "airthings:PatchDeviceLabelItemUpsert",
"value": {
"@id": "airthings:value",
"@type": "xsd:string"
},
"PatchDeviceLabelOperationUpsertDocs": "airthings:PatchDeviceLabelOperationUpsertDocs",
"GetLocationsResponse": "airthings:GetLocationsResponse",
"locations": {
"@id": "airthings:locations",
"@container": "@list"
},
"LocationResponse": "airthings:LocationResponse",
"labels": {
"@id": "airthings:labels"
},
"Map-Day-LocationUsage": "airthings:Map-Day-LocationUsage",
"monday": {
"@id": "airthings:monday"
},
"tuesday": {
"@id": "airthings:tuesday"
},
"wednesday": {
"@id": "airthings:wednesday"
},
"thursday": {
"@id": "airthings:thursday"
},
"friday": {
"@id": "airthings:friday"
},
"saturday": {
"@id": "airthings:saturday"
},
"sunday": {
"@id": "airthings:sunday"
},
"AddLocationResponse": "airthings:AddLocationResponse",
"locationId": {
"@id": "airthings:locationId",
"@type": "xsd:string"
},
"AddLocationRequest-enriched": "airthings:AddLocationRequest-enriched",
"address": {
"@id": "airthings:address"
},
"buildingHeight": {
"@id": "airthings:buildingHeight"
},
"buildingSize": {
"@id": "airthings:buildingSize"
},
"buildingType": {
"@id": "airthings:buildingType"
},
"buildingVolume": {
"@id": "airthings:buildingVolume"
},
"buildingYear": {
"@id": "airthings:buildingYear"
},
"floors": {
"@id": "airthings:floors"
},
"lat": {
"@id": "airthings:lat",
"@type": "xsd:decimal"
},
"lng": {
"@id": "airthings:lng",
"@type": "xsd:decimal"
},
"timezone": {
"@id": "airthings:timezone"
},
"usageHours": {
"@id": "airthings:usageHours",
"@type": "@id"
},
"ventilationType": {
"@id": "airthings:ventilationType"
},
"BuildingType": "airthings:BuildingType",
"VentilationType": "airthings:VentilationType",
"GetLocationResponse-enriched": "airthings:GetLocationResponse-enriched",
"countryCode": {
"@id": "airthings:countryCode"
},
"DeviceSimpleResponse-enriched": "airthings:DeviceSimpleResponse-enriched",
"GetLocationSamplesResponse-enriched": "airthings:GetLocationSamplesResponse-enriched",
"DeviceSampleResponse-enriched": "airthings:DeviceSampleResponse-enriched",
"AddDeviceToLocationResponse": "airthings:AddDeviceToLocationResponse",
"AddDeviceRequest-enriched": "airthings:AddDeviceRequest-enriched",
"GetOrganizationsResponse": "airthings:GetOrganizationsResponse",
"organizations": {
"@id": "airthings:organizations",
"@container": "@list"
},
"GetOrganizationResponse": "airthings:GetOrganizationResponse",
"userGroupId": {
"@id": "airthings:userGroupId",
"@type": "xsd:string"
},
"SegmentsResponse-enriched": "airthings:SegmentsResponse-enriched",
"segments": {
"@id": "airthings:segments",
"@container": "@list"
},
"SegmentResponse-enriched": "airthings:SegmentResponse-enriched",
"ended": {
"@id": "airthings:ended"
},
"SensorsThresholdResponse": "airthings:SensorsThresholdResponse",
"thresholds": {
"@id": "airthings:thresholds"
},
"SensorThreshold": "airthings:SensorThreshold",
"ranges": {
"@id": "airthings:ranges",
"@container": "@list"
},
"type": {
"@id": "airthings:type",
"@type": "@id"
},
"unit": {
"@id": "airthings:unit",
"@type": "@id"
},
"ThresholdRange": "airthings:ThresholdRange",
"from": {
"@id": "airthings:from"
},
"rating": {
"@id": "airthings:rating",
"@type": "@id"
},
"to": {
"@id": "airthings:to"
},
"SensorRangeRating": "airthings:SensorRangeRating",
"HookSensorUnits": "airthings:HookSensorUnits",
"radonUnit": {
"@id": "airthings:radonUnit",
"@type": "xsd:string"
},
"tempUnit": {
"@id": "airthings:tempUnit",
"@type": "xsd:string"
},
"pressureUnit": {
"@id": "airthings:pressureUnit",
"@type": "xsd:string"
},
"vocUnit": {
"@id": "airthings:vocUnit",
"@type": "xsd:string"
},
"GetWebhooksResponse-enriched": "airthings:GetWebhooksResponse-enriched",
"webhooks": {
"@id": "airthings:webhooks",
"@container": "@list"
},
"HookResponse-enriched": "airthings:HookResponse-enriched",
"eventTypes": {
"@id": "airthings:eventTypes",
"@container": "@list"
},
"headers": {
"@id": "airthings:headers"
},
"mostRecentEvent": {
"@id": "airthings:mostRecentEvent"
},
"sensorUnits": {
"@id": "airthings:sensorUnits",
"@type": "@id"
},
"subscribedToAll": {
"@id": "airthings:subscribedToAll",
"@type": "xsd:boolean"
},
"url": {
"@id": "airthings:url",
"@type": "xsd:string"
},
"GetDeviceDetailedResponse": "airthings:GetDeviceDetailedResponse",
"SegmentSimpleResponse": "airthings:SegmentSimpleResponse",
"HookEvent": "airthings:HookEvent",
"completedAt": {
"@id": "airthings:completedAt"
},
"correlationId": {
"@id": "airthings:correlationId",
"@type": "xsd:string"
},
"createdAt": {
"@id": "airthings:createdAt"
},
"hookId": {
"@id": "airthings:hookId",
"@type": "xsd:string"
},
"statusCode": {
"@id": "airthings:statusCode"
},
"updatedAt": {
"@id": "airthings:updatedAt"
},
"AddHookRequest-enriched": "airthings:AddHookRequest-enriched",
"PatchWebhookRequest": "airthings:PatchWebhookRequest",
"operations": {
"@id": "airthings:operations",
"@container": "@list"
},
"PatchLocation": "airthings:PatchLocation",
"op": {
"@id": "airthings:op",
"@type": "@id"
},
"path": {
"@id": "airthings:path",
"@type": "@id"
},
"PatchWebhookAction": "airthings:PatchWebhookAction",
"PatchWebhookPath": "airthings:PatchWebhookPath",
"PatchSpaceRequest": "airthings:PatchSpaceRequest",
"patches": {
"@id": "airthings:patches",
"@container": "@list"
},
"PatchSpace": "airthings:PatchSpace",
"Error": "airthings:Error",
"message": {
"@id": "airthings:message",
"@type": "xsd:string"
},
"SensorsResponse": "airthings:SensorsResponse",
"batteryPercentage": {
"@id": "airthings:batteryPercentage",
"@type": "xsd:integer"
},
"SensorResponse": "airthings:SensorResponse",
"AccountsResponse": "airthings:AccountsResponse",
"AccountResponse": "airthings:AccountResponse",
"DevicesResponse": "airthings:DevicesResponse",
"DeviceResponse": "airthings:DeviceResponse",
"home": {
"@id": "airthings:home",
"@type": "xsd:string"
}
},
"@type": "schema:Dataset",
"schema:name": "Airthings API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects Airthings's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-10-28) from openapi/airthings-api-openapi.yml, openapi/airthings-openapi.yaml.",
"dcterms:created": "2026-10-28",
"dcterms:source": [
"openapi/airthings-api-openapi.yml",
"openapi/airthings-openapi.yaml"
]
}