Skip to content

Commit

Permalink
Switch user and ngsi contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Jul 29, 2024
1 parent d5c4ea6 commit 7bed94e
Show file tree
Hide file tree
Showing 2 changed files with 147 additions and 147 deletions.
147 changes: 5 additions & 142 deletions data-models/ngsi-context.jsonld
Original file line number Diff line number Diff line change
@@ -1,143 +1,6 @@
{
"@context": {
"type": "@type",
"id": "@id",
"ngsi-ld": "https://uri.etsi.org/ngsi-ld/",
"fiware": "https://uri.fiware.org/ns/dataModels#",
"schema": "https://schema.org/",
"tutorial": "https://ngsi-ld-tutorials.readthedocs.io/en/latest/datamodels.html#",
"Building": "https://uri.fiware.org/ns/dataModels#Building",
"Device": "fiware:Device",
"Animal": "fiware:Animal",
"Female": "schema:Female",
"FillingLevelSensor": "tutorial:FillingLevelSensor",
"Herbicide": "tutorial:Product",
"HVAC": "https://w3id.org/saref#HVAC",
"Male": "schema:Male",
"PartField": "tutorial:PartField",
"Person": "fiware:Person",
"SoilSensor": "tutorial:SoilSensor",
"TemperatureSensor": "tutorial:TemperatureSensor",
"Task": "fiware:Activity",
"Tractor": "tutorial:Tractor",
"Water": "tutorial:Water",
"actuator": "https://w3id.org/saref#actuator",
"additionalName": "schema:additionalName",
"address": "schema:address",
"addressCountry": "schema:addressCountry",
"addressLocality": "schema:addressLocality",
"addressRegion": "schema:addressRegion",
"airPollution": "https://w3id.org/saref#airPollution",
"atmosphericPressure": "https://w3id.org/saref#atmosphericPressure",
"barn": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dbarn",
"batteryLevel": "fiware:batteryLevel",
"category": "fiware:category",
"configuration": "fiware:configuration",
"conservatory": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dconservatory",
"containedInPlace": "fiware:containedInPlace",
"controlledAsset": "fiware:controlledAsset",
"controlledProperty": "fiware:controlledProperty",
"cowshed": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dcowshed",
"dataProvider": "fiware:dataProvider",
"dateCreated": "fiware:dateCreated",
"dateFirstUsed": "fiware:dateFirstUsed",
"dateInstalled": "fiware:dateInstalled",
"dateLastCalibration": "fiware:dateLastCalibration",
"dateLastValueReported": "fiware:dateLastValueReported",
"dateManufactured": "fiware:dateManufactured",
"dateModified": "fiware:dateModified",
"depth": "https://w3id.org/saref#depth",
"description": "ngsi-ld:description",
"deviceState": "fiware:deviceState",
"digester": "https://wiki.openstreetmap.org/wiki/Tag:building%3Ddigester",
"eatingActivity": "https://w3id.org/saref#eatingActivity",
"email": "schema:email",
"endgun": "https://w3id.org/saref#endgun",
"familyName": "schema:familyName",
"farm": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dfarm",
"farm_auxiliary": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dfarm_auxiliary",
"faxNumber": "schema:faxNumber",
"filling": "https://w3id.org/saref#fillingLevel",
"firmwareVersion": "fiware:firmwareVersion",
"floorsAboveGround": "fiware:floorsAboveGround",
"floorsBelowGround": "fiware:floorsBelowGround",
"gender": "schema:gender",
"givenName": "schema:givenName",
"greenhouse": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dgreenhouse",
"hangar": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dhangar",
"hardwareVersion": "fiware:hardwareVersion",
"honorificPrefix": "schema:honorificPrefix",
"honorificSuffix": "schema:honorificSuffix",
"humidity": "https://w3id.org/saref#humidity",
"hut": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dhut",
"implement": "https://w3id.org/saref#implement",
"ipAddress": "fiware:ipAddress",
"irrSection": "https://w3id.org/saref#irrSection",
"irrSystem": "https://w3id.org/saref#irrSystem",
"isicV4": "schema:isicV4",
"jobTitle": "schema:jobTitle",
"location": "https://w3id.org/saref#location",
"macAddress": "fiware:macAddress",
"mcc": "fiware:mcc",
"meter": "https://w3id.org/saref#meter",
"milking": "https://w3id.org/saref#milking",
"mnc": "fiware:mnc",
"motion": "https://w3id.org/saref#motion",
"movementActivity": "https://w3id.org/saref#movementActivity",
"multimedia": "https://w3id.org/saref#multimedia",
"name": "schema:name",
"network": "https://w3id.org/saref#network",
"observedAt": "ngsi-ld:observedAt",
"occupancy": "https://w3id.org/saref#occupancy",
"occupier": "fiware:occupier",
"openingHours": "fiware:openingHours",
"osVersion": "fiware:osVersion",
"owner": "fiware:owner",
"postalCode": "schema:postalCode",
"precipitation": "https://w3id.org/saref#precipitation",
"pressure": "https://w3id.org/saref#pressure",
"providedBy": "fiware:providedBy",
"provider": "fiware:provider",
"refDeviceModel": "fiware:refDeviceModel",
"refMap": "fiware:refMap",
"rssi": "fiware:rssi",
"sensor": "https://w3id.org/saref#sensor",
"serialNumber": "fiware:serialNumber",
"service": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dservice",
"shed": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dshed",
"softwareVersion": "fiware:softwareVersion",
"soilMoisture": "https://w3id.org/saref#soilMoisture",
"solarRadiation": "https://w3id.org/saref#solarRadiation",
"source": "fiware:source",
"stable": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dstable",
"streetAddress": "schema:streetAddress",
"sty": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dsty",
"supportedProtocol": "fiware:supportedProtocol",
"taxID": "schema:taxID",
"telephone": "schema:telephone",
"temperature": "https://w3id.org/saref#temperature",
"transformer_tower": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dtransformer_tower",
"unitCode": "ngsi-ld:unitCode",
"value": "fiware:value",
"vatID": "schema:vatID",
"waterConsumption": "https://w3id.org/saref#waterConsumption",
"water_tower": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dwater_tower",
"weatherConditions": "https://w3id.org/saref#weatherConditions",
"weight": "https://w3id.org/saref#weight",
"windDirection": "https://w3id.org/saref#windDirection",
"windSpeed": "https://w3id.org/saref#windSpeed",
"status": "https://saref.etsi.org/core/status",
"state": "https://saref.etsi.org/core/hasState",
"heartRate": "https://purl.bioontology.org/ontology/MESH/D006339",
"product": "fiware:refObject",
"worker": "fiware:refAgent",
"field": "fiware:refTarget",

"on": "https://w3id.org/saref#on",
"off": "https://w3id.org/saref#off",
"verified": "fiware:verified",
"species": "fiware:species",
"sex": "fiware:sex",
"legalID": "fiware:legalID"
}
}
"@context": [
"http://context/user-context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.8.jsonld"
]
}
147 changes: 142 additions & 5 deletions data-models/user-context.jsonld
Original file line number Diff line number Diff line change
@@ -1,6 +1,143 @@
{
"@context": [
"http://context/user-context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.8.jsonld"
]
}
"@context": {
"type": "@type",
"id": "@id",
"ngsi-ld": "https://uri.etsi.org/ngsi-ld/",
"fiware": "https://uri.fiware.org/ns/dataModels#",
"schema": "https://schema.org/",
"tutorial": "https://ngsi-ld-tutorials.readthedocs.io/en/latest/datamodels.html#",
"Building": "https://uri.fiware.org/ns/dataModels#Building",
"Device": "fiware:Device",
"Animal": "fiware:Animal",
"Female": "schema:Female",
"FillingLevelSensor": "tutorial:FillingLevelSensor",
"Herbicide": "tutorial:Product",
"HVAC": "https://w3id.org/saref#HVAC",
"Male": "schema:Male",
"PartField": "tutorial:PartField",
"Person": "fiware:Person",
"SoilSensor": "tutorial:SoilSensor",
"TemperatureSensor": "tutorial:TemperatureSensor",
"Task": "fiware:Activity",
"Tractor": "tutorial:Tractor",
"Water": "tutorial:Water",
"actuator": "https://w3id.org/saref#actuator",
"additionalName": "schema:additionalName",
"address": "schema:address",
"addressCountry": "schema:addressCountry",
"addressLocality": "schema:addressLocality",
"addressRegion": "schema:addressRegion",
"airPollution": "https://w3id.org/saref#airPollution",
"atmosphericPressure": "https://w3id.org/saref#atmosphericPressure",
"barn": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dbarn",
"batteryLevel": "fiware:batteryLevel",
"category": "fiware:category",
"configuration": "fiware:configuration",
"conservatory": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dconservatory",
"containedInPlace": "fiware:containedInPlace",
"controlledAsset": "fiware:controlledAsset",
"controlledProperty": "fiware:controlledProperty",
"cowshed": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dcowshed",
"dataProvider": "fiware:dataProvider",
"dateCreated": "fiware:dateCreated",
"dateFirstUsed": "fiware:dateFirstUsed",
"dateInstalled": "fiware:dateInstalled",
"dateLastCalibration": "fiware:dateLastCalibration",
"dateLastValueReported": "fiware:dateLastValueReported",
"dateManufactured": "fiware:dateManufactured",
"dateModified": "fiware:dateModified",
"depth": "https://w3id.org/saref#depth",
"description": "ngsi-ld:description",
"deviceState": "fiware:deviceState",
"digester": "https://wiki.openstreetmap.org/wiki/Tag:building%3Ddigester",
"eatingActivity": "https://w3id.org/saref#eatingActivity",
"email": "schema:email",
"endgun": "https://w3id.org/saref#endgun",
"familyName": "schema:familyName",
"farm": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dfarm",
"farm_auxiliary": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dfarm_auxiliary",
"faxNumber": "schema:faxNumber",
"filling": "https://w3id.org/saref#fillingLevel",
"firmwareVersion": "fiware:firmwareVersion",
"floorsAboveGround": "fiware:floorsAboveGround",
"floorsBelowGround": "fiware:floorsBelowGround",
"gender": "schema:gender",
"givenName": "schema:givenName",
"greenhouse": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dgreenhouse",
"hangar": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dhangar",
"hardwareVersion": "fiware:hardwareVersion",
"honorificPrefix": "schema:honorificPrefix",
"honorificSuffix": "schema:honorificSuffix",
"humidity": "https://w3id.org/saref#humidity",
"hut": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dhut",
"implement": "https://w3id.org/saref#implement",
"ipAddress": "fiware:ipAddress",
"irrSection": "https://w3id.org/saref#irrSection",
"irrSystem": "https://w3id.org/saref#irrSystem",
"isicV4": "schema:isicV4",
"jobTitle": "schema:jobTitle",
"location": "https://w3id.org/saref#location",
"macAddress": "fiware:macAddress",
"mcc": "fiware:mcc",
"meter": "https://w3id.org/saref#meter",
"milking": "https://w3id.org/saref#milking",
"mnc": "fiware:mnc",
"motion": "https://w3id.org/saref#motion",
"movementActivity": "https://w3id.org/saref#movementActivity",
"multimedia": "https://w3id.org/saref#multimedia",
"name": "schema:name",
"network": "https://w3id.org/saref#network",
"observedAt": "ngsi-ld:observedAt",
"occupancy": "https://w3id.org/saref#occupancy",
"occupier": "fiware:occupier",
"openingHours": "fiware:openingHours",
"osVersion": "fiware:osVersion",
"owner": "fiware:owner",
"postalCode": "schema:postalCode",
"precipitation": "https://w3id.org/saref#precipitation",
"pressure": "https://w3id.org/saref#pressure",
"providedBy": "fiware:providedBy",
"provider": "fiware:provider",
"refDeviceModel": "fiware:refDeviceModel",
"refMap": "fiware:refMap",
"rssi": "fiware:rssi",
"sensor": "https://w3id.org/saref#sensor",
"serialNumber": "fiware:serialNumber",
"service": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dservice",
"shed": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dshed",
"softwareVersion": "fiware:softwareVersion",
"soilMoisture": "https://w3id.org/saref#soilMoisture",
"solarRadiation": "https://w3id.org/saref#solarRadiation",
"source": "fiware:source",
"stable": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dstable",
"streetAddress": "schema:streetAddress",
"sty": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dsty",
"supportedProtocol": "fiware:supportedProtocol",
"taxID": "schema:taxID",
"telephone": "schema:telephone",
"temperature": "https://w3id.org/saref#temperature",
"transformer_tower": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dtransformer_tower",
"unitCode": "ngsi-ld:unitCode",
"value": "fiware:value",
"vatID": "schema:vatID",
"waterConsumption": "https://w3id.org/saref#waterConsumption",
"water_tower": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dwater_tower",
"weatherConditions": "https://w3id.org/saref#weatherConditions",
"weight": "https://w3id.org/saref#weight",
"windDirection": "https://w3id.org/saref#windDirection",
"windSpeed": "https://w3id.org/saref#windSpeed",
"status": "https://saref.etsi.org/core/status",
"state": "https://saref.etsi.org/core/hasState",
"heartRate": "https://purl.bioontology.org/ontology/MESH/D006339",
"product": "fiware:refObject",
"worker": "fiware:refAgent",
"field": "fiware:refTarget",

"on": "https://w3id.org/saref#on",
"off": "https://w3id.org/saref#off",
"verified": "fiware:verified",
"species": "fiware:species",
"sex": "fiware:sex",
"legalID": "fiware:legalID"
}
}

0 comments on commit 7bed94e

Please sign in to comment.