fix: use Gitea raw context URL for Stellio (replaces blocked ETSI URL)
This commit is contained in:
40
contexts/ngsi-ld-core.jsonld
Normal file
40
contexts/ngsi-ld-core.jsonld
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"@context": {
|
||||||
|
"@vocab": "https://uri.etsi.org/ngsi-ld/default-context/",
|
||||||
|
"id": "@id",
|
||||||
|
"type": "@type",
|
||||||
|
"Property": "Property",
|
||||||
|
"Relationship": "Relationship",
|
||||||
|
"GeoProperty": "GeoProperty",
|
||||||
|
"Dataset": "Dataset",
|
||||||
|
"TimeSeries": "TimeSeries",
|
||||||
|
"value": "value",
|
||||||
|
"observedAt": "observedAt",
|
||||||
|
"observationSpace": "observationSpace",
|
||||||
|
"resultTime": "resultTime",
|
||||||
|
"unitCode": "unitCode",
|
||||||
|
"dateIssued": "dateIssued",
|
||||||
|
"dataProvider": "dataProvider",
|
||||||
|
"location": "location",
|
||||||
|
"dateCreated": "dateCreated",
|
||||||
|
"dateModified": "dateModified",
|
||||||
|
"createdAt": "createdAt",
|
||||||
|
"modifiedAt": "modifiedAt",
|
||||||
|
"name": "schema:name",
|
||||||
|
"description": "schema:description",
|
||||||
|
"alternateName": "schema:alternateName",
|
||||||
|
"batteryLevel": "https://smartdatamodels.org/dataModel.Device/batteryLevel",
|
||||||
|
"dateObserved": "https://smartdatamodels.org/dateObserved",
|
||||||
|
"coordinates": "https://purl.org/geojson/vocab#coordinates",
|
||||||
|
"bbox": "https://purl.org/geojson/vocab#bbox",
|
||||||
|
"Sensor": "https://uri.etsi.org/ngsi-ld/default-context/Sensor",
|
||||||
|
"ObservableProperty": "https://uri.etsi.org/ngsi-ld/default-context/ObservableProperty",
|
||||||
|
"Observation": "https://uri.etsi.org/ngsi-ld/default-context/Observation",
|
||||||
|
"FeatureOfInterest": "https://uri.etsi.org/ngsi-ld/default-context/FeatureOfInterest",
|
||||||
|
"Datastream": "https://uri.etsi.org/ngsi-ld/default-context/Datastream",
|
||||||
|
"MultiDatastream": "https://uri.etsi.org/ngsi-ld/default-context/MultiDatastream",
|
||||||
|
"Thing": "https://uri.etsi.org/ngsi-ld/default-context/Thing",
|
||||||
|
"HistoricalLocation": "https://uri.etsi.org/ngsi-ld/default-context/HistoricalLocation",
|
||||||
|
"Location": "https://uri.etsi.org/ngsi-ld/default-context/Location"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -131,8 +131,9 @@ for stype, locs in SENSOR_LOCATIONS.items():
|
|||||||
# =============================================================================
|
# =============================================================================
|
||||||
# Contextes NGSI-LD : core + Smart Data Models
|
# Contextes NGSI-LD : core + Smart Data Models
|
||||||
# https://smartdatamodels.org pour les @context officiels
|
# https://smartdatamodels.org pour les @context officiels
|
||||||
|
STELLIO_CONTEXT_URL = "http://172.29.0.5:8085"
|
||||||
ORION_CONTEXT = [
|
ORION_CONTEXT = [
|
||||||
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.8.jsonld",
|
f"{STELLIO_CONTEXT_URL}/ngsi-ld-core.jsonld",
|
||||||
"https://raw.githubusercontent.com/smart-data-models/dataModel.Environment/master/context.jsonld",
|
"https://raw.githubusercontent.com/smart-data-models/dataModel.Environment/master/context.jsonld",
|
||||||
"https://raw.githubusercontent.com/smart-data-models/dataModel.Transportation/master/context.jsonld",
|
"https://raw.githubusercontent.com/smart-data-models/dataModel.Transportation/master/context.jsonld",
|
||||||
"https://raw.githubusercontent.com/smart-data-models/dataModel.Parking/master/context.jsonld",
|
"https://raw.githubusercontent.com/smart-data-models/dataModel.Parking/master/context.jsonld",
|
||||||
|
|||||||
Reference in New Issue
Block a user