Skip to content

Commit

Permalink
Fix JSON-FG "links" and "type"
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Aug 31, 2023
1 parent 7026a32 commit b02a55c
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 12 deletions.
7 changes: 1 addition & 6 deletions registereditems/geo/json-fg/feature/context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@
"id": "@id",
"properties": "@nest",
"type": "@type",
"links": {
"@id": "rdfs:seeAlso",
"@context": {

}
}
"links": "rdfs:seeAlso"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"@context": {
"geojson": "https://purl.org/geojson/vocab#",
"features": {
"@container": "@set",
"@id": "geojson:features"
},
"links": "rdfs:seeAlso",
"type": "@type"
}
}
3 changes: 0 additions & 3 deletions registereditems/geo/json-fg/featureCollection/bblock.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
"link": "http://docs.ogc.org/per/21-017r1.html"
}
],
"schema": [
"https://beta.schemas.opengis.net/json-fg/featurecollection.json"
],
"scope": "geo",
"group": "JSON-FG"
}
4 changes: 3 additions & 1 deletion registereditems/geo/json-fg/featureCollection/context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"features": {
"@container": "@set",
"@id": "geojson:features"
}
},
"links": "rdfs:seeAlso",
"type": "@type"
}
}
11 changes: 9 additions & 2 deletions registereditems/geo/json-fg/featureCollection/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,20 @@
"links": {
"type": "array",
"items": {
"$ref": "https://beta.schemas.opengis.net/json-fg/link.json"
"allOf": [
{
"$ref": "https://beta.schemas.opengis.net/json-fg/link.json"
},
{
"$ref": "bblocks://ogc.ogc-utils.json-link"
}
]
}
},
"features": {
"type": "array",
"items": {
"$ref": "bblock://ogc.geo.json-fg.feature"
"$ref": "bblocks://ogc.geo.json-fg.feature"
}
}
}
Expand Down

0 comments on commit b02a55c

Please sign in to comment.