Skip to content

Commit

Permalink
Building blocks postprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-metalinkage committed Feb 3, 2024
1 parent abb588c commit 13cdd98
Show file tree
Hide file tree
Showing 162 changed files with 845 additions and 326 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
path @id
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"@context": {
"bbox": {
"@container": "@list",
"@id": "geojson:bbox"
},
"@version": 1.1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
"items": {
"type": "number"
},
"x-jsonld-extra-terms": {
"bbox": {
"x-jsonld-container": "@list",
"x-jsonld-id": "geojson:bbox"
}
},
"x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/common/data_types/bounding_box/schema-oas3.0.json"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ x-defs:
maxItems: 6
items:
type: number
x-jsonld-extra-terms:
bbox:
x-jsonld-container: '@list'
x-jsonld-id: geojson:bbox
x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/common/data_types/bounding_box/schema-oas3.0.yaml
allOf:
- $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/common/data_types/bounding_box/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.bounding_box
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@
],
"items": {
"type": "number"
},
"x-jsonld-extra-terms": {
"bbox": {
"x-jsonld-container": "@list",
"x-jsonld-id": "geojson:bbox"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ oneOf:
maxItems: 6
items:
type: number
x-jsonld-extra-terms:
bbox:
x-jsonld-container: '@list'
x-jsonld-id: geojson:bbox
26 changes: 26 additions & 0 deletions annotated-schemas/geo/features/feature/schema-oas3.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
{
"type": "object",
"properties": {
"bbox": {
"$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.bounding_box"
},
"links": {
"type": "array",
"items": {
Expand Down Expand Up @@ -622,6 +625,29 @@
"x-schema-version": "http://json-schema.org/draft-07/schema#",
"x-schema-source": "https://geojson.org/schema/Feature.json"
},
"ogc.geo.common.data_types.bounding_box": {
"type": "array",
"oneOf": [
{
"minItems": 4,
"maxItems": 4
},
{
"minItems": 6,
"maxItems": 6
}
],
"items": {
"type": "number"
},
"x-jsonld-extra-terms": {
"bbox": {
"x-jsonld-container": "@list",
"x-jsonld-id": "geojson:bbox"
}
},
"x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/common/data_types/bounding_box/schema.json"
},
"ogc.ogc-utils.json-link": {
"description": "JSON Link",
"type": "object",
Expand Down
16 changes: 16 additions & 0 deletions annotated-schemas/geo/features/feature/schema-oas3.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ x-defs:
- $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.geojson
- type: object
properties:
bbox:
$ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.bounding_box
links:
type: array
items:
Expand Down Expand Up @@ -437,6 +439,20 @@ x-defs:
geojson: https://purl.org/geojson/vocab#
x-schema-version: http://json-schema.org/draft-07/schema#
x-schema-source: https://geojson.org/schema/Feature.json
ogc.geo.common.data_types.bounding_box:
type: array
oneOf:
- minItems: 4
maxItems: 4
- minItems: 6
maxItems: 6
items:
type: number
x-jsonld-extra-terms:
bbox:
x-jsonld-container: '@list'
x-jsonld-id: geojson:bbox
x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/common/data_types/bounding_box/schema.yaml
ogc.ogc-utils.json-link:
description: JSON Link
type: object
Expand Down
3 changes: 3 additions & 0 deletions annotated-schemas/geo/features/feature/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
{
"type": "object",
"properties": {
"bbox": {
"$ref": "../../common/data_types/bounding_box/schema.json"
},
"links": {
"type": "array",
"items": {
Expand Down
2 changes: 2 additions & 0 deletions annotated-schemas/geo/features/feature/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ allOf:
- $ref: ../../common/data_types/geojson/schema.yaml
- type: object
properties:
bbox:
$ref: ../../common/data_types/bounding_box/schema.yaml
links:
type: array
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,9 @@
{
"type": "object",
"properties": {
"bbox": {
"$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.bounding_box"
},
"links": {
"type": "array",
"items": {
Expand Down Expand Up @@ -1240,6 +1243,29 @@
},
"x-schema-version": "http://json-schema.org/draft-07/schema#",
"x-schema-source": "https://geojson.org/schema/Feature.json"
},
"ogc.geo.common.data_types.bounding_box": {
"type": "array",
"oneOf": [
{
"minItems": 4,
"maxItems": 4
},
{
"minItems": 6,
"maxItems": 6
}
],
"items": {
"type": "number"
},
"x-jsonld-extra-terms": {
"bbox": {
"x-jsonld-container": "@list",
"x-jsonld-id": "geojson:bbox"
}
},
"x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/common/data_types/bounding_box/schema.json"
}
},
"allOf": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,8 @@ x-defs:
- $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.geojson
- type: object
properties:
bbox:
$ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.bounding_box
links:
type: array
items:
Expand Down Expand Up @@ -853,5 +855,19 @@ x-defs:
geojson: https://purl.org/geojson/vocab#
x-schema-version: http://json-schema.org/draft-07/schema#
x-schema-source: https://geojson.org/schema/Feature.json
ogc.geo.common.data_types.bounding_box:
type: array
oneOf:
- minItems: 4
maxItems: 4
- minItems: 6
maxItems: 6
items:
type: number
x-jsonld-extra-terms:
bbox:
x-jsonld-container: '@list'
x-jsonld-id: geojson:bbox
x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/common/data_types/bounding_box/schema.yaml
allOf:
- $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.features.featureCollection
26 changes: 26 additions & 0 deletions annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@
{
"type": "object",
"properties": {
"bbox": {
"$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.bounding_box"
},
"links": {
"type": "array",
"items": {
Expand Down Expand Up @@ -1019,6 +1022,29 @@
"x-schema-version": "http://json-schema.org/draft-07/schema#",
"x-schema-source": "https://geojson.org/schema/Feature.json"
},
"ogc.geo.common.data_types.bounding_box": {
"type": "array",
"oneOf": [
{
"minItems": 4,
"maxItems": 4
},
{
"minItems": 6,
"maxItems": 6
}
],
"items": {
"type": "number"
},
"x-jsonld-extra-terms": {
"bbox": {
"x-jsonld-container": "@list",
"x-jsonld-id": "geojson:bbox"
}
},
"x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/common/data_types/bounding_box/schema.json"
},
"beta.schemas.opengis.net_json-fg_geometry-objects.json": {
"title": "the geometry objects",
"description": "This JSON Schema is part of JSON-FG version 0.1.1",
Expand Down
16 changes: 16 additions & 0 deletions annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ x-defs:
- $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.geojson
- type: object
properties:
bbox:
$ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.bounding_box
links:
type: array
items:
Expand Down Expand Up @@ -680,6 +682,20 @@ x-defs:
geojson: https://purl.org/geojson/vocab#
x-schema-version: http://json-schema.org/draft-07/schema#
x-schema-source: https://geojson.org/schema/Feature.json
ogc.geo.common.data_types.bounding_box:
type: array
oneOf:
- minItems: 4
maxItems: 4
- minItems: 6
maxItems: 6
items:
type: number
x-jsonld-extra-terms:
bbox:
x-jsonld-container: '@list'
x-jsonld-id: geojson:bbox
x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/common/data_types/bounding_box/schema.yaml
beta.schemas.opengis.net_json-fg_geometry-objects.json:
title: the geometry objects
description: This JSON Schema is part of JSON-FG version 0.1.1
Expand Down
26 changes: 26 additions & 0 deletions annotated-schemas/geo/json-fg/feature/schema-oas3.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@
{
"type": "object",
"properties": {
"bbox": {
"$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.bounding_box"
},
"links": {
"type": "array",
"items": {
Expand Down Expand Up @@ -1024,6 +1027,29 @@
"x-schema-version": "http://json-schema.org/draft-07/schema#",
"x-schema-source": "https://geojson.org/schema/Feature.json"
},
"ogc.geo.common.data_types.bounding_box": {
"type": "array",
"oneOf": [
{
"minItems": 4,
"maxItems": 4
},
{
"minItems": 6,
"maxItems": 6
}
],
"items": {
"type": "number"
},
"x-jsonld-extra-terms": {
"bbox": {
"x-jsonld-container": "@list",
"x-jsonld-id": "geojson:bbox"
}
},
"x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/common/data_types/bounding_box/schema.json"
},
"beta.schemas.opengis.net_json-fg_geometry-objects.json": {
"title": "the geometry objects",
"description": "This JSON Schema is part of JSON-FG version 0.1.1",
Expand Down
16 changes: 16 additions & 0 deletions annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ x-defs:
- $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.geojson
- type: object
properties:
bbox:
$ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.bounding_box
links:
type: array
items:
Expand Down Expand Up @@ -685,6 +687,20 @@ x-defs:
geojson: https://purl.org/geojson/vocab#
x-schema-version: http://json-schema.org/draft-07/schema#
x-schema-source: https://geojson.org/schema/Feature.json
ogc.geo.common.data_types.bounding_box:
type: array
oneOf:
- minItems: 4
maxItems: 4
- minItems: 6
maxItems: 6
items:
type: number
x-jsonld-extra-terms:
bbox:
x-jsonld-container: '@list'
x-jsonld-id: geojson:bbox
x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/common/data_types/bounding_box/schema.yaml
beta.schemas.opengis.net_json-fg_geometry-objects.json:
title: the geometry objects
description: This JSON Schema is part of JSON-FG version 0.1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,9 @@
{
"type": "object",
"properties": {
"bbox": {
"$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.bounding_box"
},
"links": {
"type": "array",
"items": {
Expand Down Expand Up @@ -1650,6 +1653,29 @@
"x-schema-version": "http://json-schema.org/draft-07/schema#",
"x-schema-source": "https://geojson.org/schema/Feature.json"
},
"ogc.geo.common.data_types.bounding_box": {
"type": "array",
"oneOf": [
{
"minItems": 4,
"maxItems": 4
},
{
"minItems": 6,
"maxItems": 6
}
],
"items": {
"type": "number"
},
"x-jsonld-extra-terms": {
"bbox": {
"x-jsonld-container": "@list",
"x-jsonld-id": "geojson:bbox"
}
},
"x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/common/data_types/bounding_box/schema.json"
},
"beta.schemas.opengis.net_json-fg_geometry-objects.json": {
"title": "the geometry objects",
"description": "This JSON Schema is part of JSON-FG version 0.1.1",
Expand Down
Loading

0 comments on commit 13cdd98

Please sign in to comment.