Skip to content

Commit

Permalink
feat: introduce asset context (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobeal authored Sep 30, 2024
1 parent d58e9fb commit 703fde2
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
18 changes: 18 additions & 0 deletions asset/jsonld-contexts/asset.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"@context": {
"Asset": "https://vocab.egm.io/Asset",
"Building": "https://vocab.egm.io/Building",
"Site": "https://vocab.egm.io/Site",
"addressCountry": "https://vocab.egm.io/addressCountry",
"addressLocality": "https://vocab.egm.io/addressLocality",
"city": "https://vocab.egm.io/city",
"hasDeliveryPoint": "https://vocab.egm.io/hasDeliveryPoint",
"hasPart": "https://vocab.egm.io/hasPart",
"hasUsage": "https://vocab.egm.io/hasUsage",
"isContainedIn": "https://vocab.egm.io/isContainedIn",
"isObserving": "https://vocab.egm.io/isObserving",
"name": "https://schema.org/name",
"postalCode": "https://schema.org/postalCode",
"rnbId": "https://vocab.egm.io/rnbId"
}
}
6 changes: 6 additions & 0 deletions device/jsonld-contexts/device.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@
"batteryVoltage": "https://vocab.egm.io/batteryVoltage",
"category": "https://schema.org/category",
"chargerStatus": "https://vocab.egm.io/chargerStatus",
"co2": "https://vocab.egm.io/co2",
"cpuTemperature": "https://vocab.egm.io/cpuTemperature",
"devEUI": "https://vocab.egm.io/devEUI",
"deviceType": "https://vocab.egm.io/deviceType",
"diskUsage": "https://vocab.egm.io/diskUsage",
"frequency": "https://vocab.egm.io/frequency",
"gpuTemperature": "https://vocab.egm.io/gpuTemperature",
"hostName": "https://vocab.egm.io/hostName",
"humidity": "https://vocab.egm.io/humidity",
"illuminance": "https://vocab.egm.io/illuminance",
"internalHumidity": "https://vocab.egm.io/internalHumidity",
"internalTemperature": "https://vocab.egm.io/internalTemperature",
"ipAddress": "https://vocab.egm.io/ipAddress",
Expand All @@ -25,10 +28,13 @@
"model": "https://vocab.egm.io/model",
"name": "https://schema.org/name",
"networks": "https://vocab.egm.io/networks",
"pressure": "https://vocab.egm.io/pressure",
"ramUsage": "https://vocab.egm.io/ramUsage",
"rssi": "https://vocab.egm.io/rssi",
"snr": "https://vocab.egm.io/snr",
"softwareVersion": "https://vocab.egm.io/softwareVersion",
"temperature": "https://vocab.egm.io/temperature",
"tvoc": "https://vocab.egm.io/tvoc",
"uptime": "https://vocab.egm.io/uptime",
"vpnStatus": "https://vocab.egm.io/vpnStatus"
}
Expand Down
1 change: 1 addition & 0 deletions twinPicks/jsonld-contexts/twinPicks-compound.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"https://easy-global-market.github.io/ngsild-api-data-models/dcat/jsonld-contexts/dcat.jsonld",
"https://easy-global-market.github.io/ngsild-api-data-models/twinPicks/jsonld-contexts/usecase.jsonld",
"https://easy-global-market.github.io/ngsild-api-data-models/device/jsonld-contexts/device.jsonld",
"https://easy-global-market.github.io/ngsild-api-data-models/asset/jsonld-contexts/asset.jsonld",
"https://easy-global-market.github.io/ngsild-api-data-models/alertEventRisk/jsonld-contexts/alertEventRisk.jsonld",
"https://easy-global-market.github.io/ngsild-api-data-models/authorization/jsonld-contexts/authorization.jsonld",
"https://easy-global-market.github.io/ngsild-api-data-models/mapping/jsonld-contexts/flowMapping.jsonld",
Expand Down

0 comments on commit 703fde2

Please sign in to comment.