Skip to content

Commit

Permalink
Building blocks postprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Nov 8, 2023
1 parent 96941d6 commit 8fe98fe
Show file tree
Hide file tree
Showing 112 changed files with 816 additions and 895 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"type": "@type",
"id": "@id",
"featureType": "@type",
"links": {
"@context": {
"href": "oa:hasTarget",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@
],
"x-jsonld-id": "@id"
},
"featureType": {
"$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json"
},
"featureType": {},
"links": {
"type": "array",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ x-defs:
- type: number
- type: string
x-jsonld-id: '@id'
featureType:
$ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json
featureType: {}
links:
type: array
items:
Expand Down
3 changes: 2 additions & 1 deletion annotated-schemas/geo/json-fg/feature-lenient/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"x-jsonld-id": "@id"
},
"featureType": {
"$ref": "https://beta.schemas.opengis.net/json-fg/featuretype.json"
"$ref": "https://beta.schemas.opengis.net/json-fg/featuretype.json",
"x-jsonld-id": "@type"
},
"links": {
"type": "array",
Expand Down
1 change: 1 addition & 0 deletions annotated-schemas/geo/json-fg/feature-lenient/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ allOf:
x-jsonld-id: '@id'
featureType:
$ref: https://beta.schemas.opengis.net/json-fg/featuretype.json
x-jsonld-id: '@type'
links:
type: array
items:
Expand Down
1 change: 1 addition & 0 deletions annotated-schemas/geo/json-fg/feature/context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"type": "@type",
"id": "@id",
"featureType": "@type",
"links": {
"@context": {
"href": "oa:hasTarget",
Expand Down
4 changes: 1 addition & 3 deletions annotated-schemas/geo/json-fg/feature/schema-oas3.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@
],
"x-jsonld-id": "@id"
},
"featureType": {
"$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json"
},
"featureType": {},
"links": {
"type": "array",
"items": {
Expand Down
3 changes: 1 addition & 2 deletions annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ x-defs:
- type: number
- type: string
x-jsonld-id: '@id'
featureType:
$ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json
featureType: {}
links:
type: array
items:
Expand Down
3 changes: 2 additions & 1 deletion annotated-schemas/geo/json-fg/feature/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"x-jsonld-id": "@id"
},
"featureType": {
"$ref": "https://beta.schemas.opengis.net/json-fg/featuretype.json"
"$ref": "https://beta.schemas.opengis.net/json-fg/featuretype.json",
"x-jsonld-id": "@type"
},
"links": {
"type": "array",
Expand Down
1 change: 1 addition & 0 deletions annotated-schemas/geo/json-fg/feature/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ allOf:
x-jsonld-id: '@id'
featureType:
$ref: https://beta.schemas.opengis.net/json-fg/featuretype.json
x-jsonld-id: '@type'
links:
type: array
items:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"@context": {
"type": "@type",
"featureType": "geojson:collectionFeatureType",
"links": {
"@context": {
"href": "oa:hasTarget",
Expand All @@ -20,23 +21,15 @@
},
"features": {
"@context": {
"coordinates": {
"@container": "@list",
"@id": "geojson:coordinates"
}
"featureType": "@type"
},
"@container": "@set",
"@id": "geojson:features"
},
"properties": "@nest",
"id": "@id",
"geometry": {
"@context": {
"coordinates": {
"@container": "@list",
"@id": "geojson:coordinates"
}
},
"@context": {},
"@id": "geojson:geometry"
},
"bbox": {
Expand All @@ -53,8 +46,8 @@
"Point": "geojson:Point",
"Polygon": "geojson:Polygon",
"coordinates": {
"x-jsonld-container": "@list",
"x-jsonld-id": "https://purl.org/geojson/vocab#coordinates"
"@container": "@list",
"@id": "geojson:coordinates"
},
"geojson": "https://purl.org/geojson/vocab#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
],
"x-jsonld-id": "@type"
},
"featureType": {
"$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json"
},
"featureType": {},
"geometryDimension": {
"type": "integer",
"minimum": 0,
Expand Down Expand Up @@ -266,9 +264,7 @@
],
"x-jsonld-id": "@id"
},
"featureType": {
"$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json"
},
"featureType": {},
"links": {
"type": "array",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ x-defs:
enum:
- FeatureCollection
x-jsonld-id: '@type'
featureType:
$ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json
featureType: {}
geometryDimension:
type: integer
minimum: 0
Expand Down Expand Up @@ -172,8 +171,7 @@ x-defs:
- type: number
- type: string
x-jsonld-id: '@id'
featureType:
$ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json
featureType: {}
links:
type: array
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"x-jsonld-id": "@type"
},
"featureType": {
"$ref": "https://beta.schemas.opengis.net/json-fg/featuretype.json"
"$ref": "https://beta.schemas.opengis.net/json-fg/featuretype.json",
"x-jsonld-id": "https://purl.org/geojson/vocab#collectionFeatureType"
},
"geometryDimension": {
"type": "integer",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ allOf:
x-jsonld-id: '@type'
featureType:
$ref: https://beta.schemas.opengis.net/json-fg/featuretype.json
x-jsonld-id: https://purl.org/geojson/vocab#collectionFeatureType
geometryDimension:
type: integer
minimum: 0
Expand Down
17 changes: 5 additions & 12 deletions annotated-schemas/geo/json-fg/featureCollection/context.jsonld
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"@context": {
"type": "@type",
"featureType": "geojson:collectionFeatureType",
"links": {
"@context": {
"href": "oa:hasTarget",
Expand All @@ -20,23 +21,15 @@
},
"features": {
"@context": {
"coordinates": {
"@container": "@list",
"@id": "geojson:coordinates"
}
"featureType": "@type"
},
"@container": "@set",
"@id": "geojson:features"
},
"properties": "@nest",
"id": "@id",
"geometry": {
"@context": {
"coordinates": {
"@container": "@list",
"@id": "geojson:coordinates"
}
},
"@context": {},
"@id": "geojson:geometry"
},
"bbox": {
Expand All @@ -53,8 +46,8 @@
"Point": "geojson:Point",
"Polygon": "geojson:Polygon",
"coordinates": {
"x-jsonld-container": "@list",
"x-jsonld-id": "https://purl.org/geojson/vocab#coordinates"
"@container": "@list",
"@id": "geojson:coordinates"
},
"geojson": "https://purl.org/geojson/vocab#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
],
"x-jsonld-id": "@type"
},
"featureType": {
"$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json"
},
"featureType": {},
"geometryDimension": {
"type": "integer",
"minimum": 0,
Expand Down Expand Up @@ -315,9 +313,7 @@
],
"x-jsonld-id": "@id"
},
"featureType": {
"$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json"
},
"featureType": {},
"links": {
"type": "array",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ x-defs:
enum:
- FeatureCollection
x-jsonld-id: '@type'
featureType:
$ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json
featureType: {}
geometryDimension:
type: integer
minimum: 0
Expand Down Expand Up @@ -205,8 +204,7 @@ x-defs:
- type: number
- type: string
x-jsonld-id: '@id'
featureType:
$ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json
featureType: {}
links:
type: array
items:
Expand Down
3 changes: 2 additions & 1 deletion annotated-schemas/geo/json-fg/featureCollection/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"x-jsonld-id": "@type"
},
"featureType": {
"$ref": "https://beta.schemas.opengis.net/json-fg/featuretype.json"
"$ref": "https://beta.schemas.opengis.net/json-fg/featuretype.json",
"x-jsonld-id": "https://purl.org/geojson/vocab#collectionFeatureType"
},
"geometryDimension": {
"type": "integer",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ allOf:
x-jsonld-id: '@type'
featureType:
$ref: https://beta.schemas.opengis.net/json-fg/featuretype.json
x-jsonld-id: https://purl.org/geojson/vocab#collectionFeatureType
geometryDimension:
type: integer
minimum: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,7 @@
],
"x-jsonld-id": "@id"
},
"featureType": {
"$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json"
},
"featureType": {},
"links": {
"type": "array",
"items": {
Expand Down Expand Up @@ -735,9 +733,7 @@
],
"x-jsonld-id": "@type"
},
"featureType": {
"$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json"
},
"featureType": {},
"geometryDimension": {
"type": "integer",
"minimum": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,7 @@ x-defs:
- type: number
- type: string
x-jsonld-id: '@id'
featureType:
$ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json
featureType: {}
links:
type: array
items:
Expand Down Expand Up @@ -513,8 +512,7 @@ x-defs:
enum:
- FeatureCollection
x-jsonld-id: '@type'
featureType:
$ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json
featureType: {}
geometryDimension:
type: integer
minimum: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,7 @@
],
"x-jsonld-id": "@id"
},
"featureType": {
"$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json"
},
"featureType": {},
"links": {
"type": "array",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ x-defs:
- type: number
- type: string
x-jsonld-id: '@id'
featureType:
$ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_featuretype.json
featureType: {}
links:
type: array
items:
Expand Down
Loading

0 comments on commit 8fe98fe

Please sign in to comment.