Error Json-Ld parse context
massimolauri opened this issue · 3 comments
Error Json-Ld parse context, not valid:
ccs/sae
bbox
biodieser ethanol
commercial supply
hybrid electric/diesel
hybrid electric/petrol
rainwater capture
snow/ice
water dam
It's been corrected:
ccs/sae
snow/ice
biodiesel ethanol
hybrid electric/diesel
hybrid electric/petrol
Not so clear why bbox is not valid, we keep on working
water dam
commercial supply
rainwater capture
fixed
The JSON-LD context (https://raw.githubusercontent.com/smart-data-models/data-models/master/context.jsonld) is still invalid, as can be checked in the JSON-LD playground.
The problem is with the bbox
entry, which is currently :
"bbox": {
"@id": "https://purl.org/geojson/vocab#bbox",
"@container": "@list",
"coordinates": {
"@id": "https://purl.org/geojson/vocab#coordinates",
"@container": "@list"
}
},
and should be
"bbox": {
"@id": "https://purl.org/geojson/vocab#bbox",
"@container": "@list",
"@context": {
"coordinates": {
"@id": "https://purl.org/geojson/vocab#coordinates",
"@container": "@list"
}
}
},
I.e., the term definitions for the inner properties of bbox
can not appear directly in the term definition of bbox
, they must be in a scoped @context
.