From 31d5d0229a576e8cd0fcc3c86859ca992e619755 Mon Sep 17 00:00:00 2001 From: avillar Date: Sun, 10 Dec 2023 04:07:00 +0000 Subject: [PATCH] Building blocks postprocessing --- .../geo/features/feature/context.jsonld | 4 +- .../geo/features/feature/schema-oas3.0.json | 640 +--- .../geo/features/feature/schema-oas3.0.yaml | 458 +-- .../features/featureCollection/context.jsonld | 2 +- .../featureCollection/schema-oas3.0.json | 1203 +------ .../featureCollection/schema-oas3.0.yaml | 832 +---- .../json-fg/feature-lenient/context.jsonld | 29 +- .../feature-lenient/schema-oas3.0.json | 1380 +------- .../feature-lenient/schema-oas3.0.yaml | 928 +---- .../geo/json-fg/feature/context.jsonld | 29 +- .../geo/json-fg/feature/schema-oas3.0.json | 1380 +------- .../geo/json-fg/feature/schema-oas3.0.yaml | 928 +---- .../featureCollection-lenient/context.jsonld | 4 +- .../schema-oas3.0.json | 2041 +---------- .../schema-oas3.0.yaml | 1363 +------- .../json-fg/featureCollection/context.jsonld | 42 +- .../featureCollection/schema-oas3.0.json | 2046 +---------- .../featureCollection/schema-oas3.0.yaml | 1368 +------- .../geo/json-fg/link-role/context.jsonld | 4 +- .../geo/json-fg/link-role/schema-oas3.0.json | 70 +- .../geo/json-fg/link-role/schema-oas3.0.yaml | 56 +- .../ogc-utils/iri-or-curie/schema-oas3.0.json | 60 + .../ogc-utils/iri-or-curie/schema-oas3.0.yaml | 31 + .../ogc-utils/topology/schema-oas3.0.json | 11 +- .../ogc-utils/topology/schema-oas3.0.yaml | 9 +- .../unstable/sosa/context.jsonld | 111 +- .../vectorObservation/schema-oas3.0.json | 342 +- .../vectorObservation/schema-oas3.0.yaml | 239 +- .../vectorObservationFeature/context.jsonld | 156 +- .../schema-oas3.0.json | 2996 +---------------- .../schema-oas3.0.yaml | 2035 +---------- .../sosa/features/observation/context.jsonld | 138 +- .../features/observation/schema-oas3.0.json | 1680 +-------- .../features/observation/schema-oas3.0.yaml | 1126 +------ .../observationCollection/context.jsonld | 158 +- .../observationCollection/schema-oas3.0.json | 2694 +-------------- .../observationCollection/schema-oas3.0.yaml | 1815 +--------- .../observationCollection/context.jsonld | 44 +- .../observationCollection/schema-oas3.0.json | 230 +- .../observationCollection/schema-oas3.0.yaml | 161 +- .../sosa/properties/platform/context.jsonld | 12 +- .../properties/platform/schema-oas3.0.json | 157 +- .../properties/platform/schema-oas3.0.yaml | 123 +- .../sosa/properties/sensor/context.jsonld | 2 +- .../sosa/properties/sensor/schema-oas3.0.json | 13 +- .../sosa/properties/sensor/schema-oas3.0.yaml | 11 +- bblocks.jsonld | 244 +- bblocks.ttl | 180 +- .../json-full/geo/features/feature/index.json | 4 +- .../geo/features/featureCollection/index.json | 4 +- .../geo/json-fg/feature-lenient/index.json | 4 +- .../json-full/geo/json-fg/feature/index.json | 4 +- .../featureCollection-lenient/index.json | 4 +- .../geo/json-fg/featureCollection/index.json | 4 +- .../examples/vectorObservation/index.json | 4 +- .../vectorObservationFeature/index.json | 4 +- .../sosa/features/observation/index.json | 4 +- .../features/observationCollection/index.json | 2 +- .../markdown/geo/features/feature/index.md | 4 +- .../geo/features/featureCollection/index.md | 2 +- .../geo/json-fg/feature-lenient/index.md | 29 +- .../markdown/geo/json-fg/feature/index.md | 29 +- .../featureCollection-lenient/index.md | 4 +- .../geo/json-fg/featureCollection/index.md | 42 +- .../markdown/geo/json-fg/link-role/index.md | 4 +- .../vectorObservationFeature/index.md | 160 +- .../sosa/features/observation/index.md | 138 +- .../features/observationCollection/index.md | 158 +- generateddocs/markdown/unstable/sosa/index.md | 111 +- .../properties/observationCollection/index.md | 44 +- .../sosa/properties/platform/index.md | 12 +- .../unstable/sosa/properties/sensor/index.md | 2 +- .../common/data_types/bounding_box/index.html | 2 +- .../geo/common/data_types/geojson/index.html | 2 +- .../geo/common/parameters/bbox-crs/index.html | 2 +- .../geo/common/parameters/bbox/index.html | 2 +- .../geo/features/feature/index.html | 6 +- .../geo/features/featureCollection/index.html | 4 +- .../geo/geopose/advanced/index.html | 2 +- .../geo/geopose/basic/quaternion/index.html | 2 +- .../geo/geopose/basic/ypr/index.html | 2 +- .../geo/json-fg/feature-lenient/index.html | 31 +- .../geo/json-fg/feature/index.html | 31 +- .../featureCollection-lenient/index.html | 6 +- .../geo/json-fg/featureCollection/index.html | 44 +- .../geo/json-fg/link-role/index.html | 6 +- generateddocs/slate-build/index.html | 2 +- .../{all-84f5a356.js => all-a25e0d73.js} | 2 +- ...h-5d94118a.js => all_nosearch-7127e398.js} | 2 +- .../ogc-utils/iri-or-curie/index.html | 2 +- .../ogc-utils/json-link/index.html | 2 +- .../slate-build/ogc-utils/topology/index.html | 2 +- .../examples/vectorObservation/index.html | 2 +- .../vectorObservationFeature/index.html | 162 +- .../sosa/features/observation/index.html | 140 +- .../features/observationCollection/index.html | 160 +- .../slate-build/unstable/sosa/index.html | 113 +- .../sosa/properties/observation/index.html | 2 +- .../observationCollection/index.html | 46 +- .../sosa/properties/platform/index.html | 14 +- .../sosa/properties/sensor/index.html | 4 +- .../slate/geo/features/feature/index.html.md | 4 +- .../features/featureCollection/index.html.md | 2 +- .../geo/json-fg/feature-lenient/index.html.md | 29 +- .../slate/geo/json-fg/feature/index.html.md | 29 +- .../featureCollection-lenient/index.html.md | 4 +- .../json-fg/featureCollection/index.html.md | 42 +- .../slate/geo/json-fg/link-role/index.html.md | 4 +- .../slate/javascripts/all_nosearch.js | 2 +- .../vectorObservationFeature/index.html.md | 160 +- .../sosa/features/observation/index.html.md | 138 +- .../observationCollection/index.html.md | 158 +- .../slate/unstable/sosa/index.html.md | 111 +- .../observationCollection/index.html.md | 44 +- .../sosa/properties/platform/index.html.md | 12 +- .../sosa/properties/sensor/index.html.md | 2 +- register.json | 244 +- registereditems/unstable/sosa | 2 +- .../data_types/bounding_box/_report.json | 2 +- .../example_1_1.validation_passed.txt | 2 +- .../common/parameters/bbox-crs/_report.json | 2 +- tests/geo/common/parameters/bbox/_report.json | 2 +- tests/geo/features/feature/_report.json | 2 +- .../feature/example_1_1.validation_passed.txt | 2 +- .../features/featureCollection/_report.json | 2 +- .../example_1_1.validation_passed.txt | 2 +- tests/geo/geopose/basic/ypr/_report.json | 2 +- .../ypr/example_1_1.validation_passed.txt | 2 +- .../ypr/example_2_1.validation_passed.txt | 2 +- .../ypr/example_3_1.validation_passed.txt | 2 +- .../ypr/example_4_1.validation_passed.txt | 2 +- .../json-fg/featureCollection/_report.json | 2 +- .../example_1_1.validation_passed.txt | 2 +- ...ired-properties-fail.validation_passed.txt | 2 +- tests/geo/json-fg/link-role/_report.json | 2 +- .../example_1_1.validation_passed.txt | 2 +- tests/ogc-utils/iri-or-curie/_report.json | 2 +- .../example_1_2.validation_passed.txt | 2 +- .../example_2_2.validation_passed.txt | 2 +- .../example_3_2.validation_passed.txt | 2 +- .../example_4_2.validation_passed.txt | 2 +- .../example_5_2.validation_passed.txt | 2 +- .../example_6_2.validation_passed.txt | 2 +- .../example_7_1.validation_passed.txt | 2 +- tests/ogc-utils/topology/_report.json | 2 +- .../example_1_1.validation_passed.txt | 2 +- tests/report.html | 182 +- .../examples/vectorObservation/_report.json | 20 +- .../example_1_1.validation_passed.txt | 10 +- .../vectorObservationFeature/_report.json | 46 +- .../example_1_1.validation_passed.txt | 10 +- .../vectorObservationFeature/example_2_1.ttl | 4 +- .../example_2_1.validation_passed.txt | 10 +- .../sosa/features/observation/_report.json | 52 +- .../example_1_1.validation_passed.txt | 8 +- .../example_1_2.validation_passed.txt | 10 +- .../example_2_1.validation_passed.txt | 8 +- .../observationCollection/_report.json | 106 +- .../observationCollection/example_1_1.ttl | 6 +- .../example_1_1.validation_passed.txt | 10 +- .../example_1_2.validation_passed.txt | 12 +- .../observationCollection-props-fail.ttl | 4 +- ...ollection-props-fail.validation_passed.txt | 8 +- .../observationCollection-props.ttl | 6 +- ...tionCollection-props.validation_passed.txt | 10 +- .../sosa/properties/observation/_report.json | 168 +- .../example_1_1.validation_passed.txt | 10 +- .../example_1_2.validation_passed.txt | 10 +- .../example_2_1.validation_passed.txt | 10 +- ...on-simpleresult-fail.validation_passed.txt | 10 +- .../observedprop-fail.validation_passed.txt | 10 +- .../tworesults-fail.validation_failed.txt | 10 +- .../observationCollection/_report.json | 46 +- .../example_1_1.validation_passed.txt | 8 +- .../example_2_1.validation_passed.txt | 8 +- .../example_3_1.validation_passed.txt | 8 +- .../sosa/properties/platform/_report.json | 2 +- .../example_1_1.validation_passed.txt | 2 +- .../sosa/properties/sensor/_report.json | 2 +- .../sensor/example_1_1.validation_passed.txt | 2 +- .../sensor/example_2_1.validation_passed.txt | 2 +- 181 files changed, 2676 insertions(+), 30356 deletions(-) rename generateddocs/slate-build/javascripts/{all-84f5a356.js => all-a25e0d73.js} (99%) rename generateddocs/slate-build/javascripts/{all_nosearch-5d94118a.js => all_nosearch-7127e398.js} (99%) diff --git a/annotated-schemas/geo/features/feature/context.jsonld b/annotated-schemas/geo/features/feature/context.jsonld index 8323c69bb..976ebf20c 100644 --- a/annotated-schemas/geo/features/feature/context.jsonld +++ b/annotated-schemas/geo/features/feature/context.jsonld @@ -1,8 +1,8 @@ { "@context": { - "properties": "@nest", "type": "@type", "id": "@id", + "properties": "@nest", "geometry": { "@context": { "coordinates": { @@ -49,8 +49,8 @@ }, "@id": "rdfs:seeAlso" }, - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "geojson": "https://purl.org/geojson/vocab#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "oa": "http://www.w3.org/ns/oa#", "dct": "http://purl.org/dc/terms/", "@version": 1.1 diff --git a/annotated-schemas/geo/features/feature/schema-oas3.0.json b/annotated-schemas/geo/features/feature/schema-oas3.0.json index 0d62462be..984715fa4 100644 --- a/annotated-schemas/geo/features/feature/schema-oas3.0.json +++ b/annotated-schemas/geo/features/feature/schema-oas3.0.json @@ -3,7 +3,7 @@ "ogc.geo.features.feature": { "allOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.geojson" + "$ref": "../../common/data_types/geojson/schema.json" }, { "type": "object", @@ -11,7 +11,7 @@ "links": { "type": "array", "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" + "$ref": "../../../ogc-utils/json-link/schema.json" }, "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" }, @@ -33,642 +33,6 @@ "rdfs": "http://www.w3.org/2000/01/rdf-schema#" }, "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema-oas3.0.json" - }, - "ogc.geo.common.data_types.geojson": { - "title": "GeoJSON Feature", - "type": "object", - "required": [ - "type", - "properties", - "geometry" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ], - "x-jsonld-id": "@type" - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "x-jsonld-id": "@id" - }, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "x-jsonld-id": "@nest", - "nullable": true - }, - "geometry": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ], - "x-jsonld-id": "@type" - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ] - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ], - "x-jsonld-id": "https://purl.org/geojson/vocab#geometry", - "nullable": true - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - }, - "x-jsonld-extra-terms": { - "Feature": "https://purl.org/geojson/vocab#Feature", - "FeatureCollection": "https://purl.org/geojson/vocab#FeatureCollection", - "GeometryCollection": "https://purl.org/geojson/vocab#GeometryCollection", - "LineString": "https://purl.org/geojson/vocab#LineString", - "MultiLineString": "https://purl.org/geojson/vocab#MultiLineString", - "MultiPoint": "https://purl.org/geojson/vocab#MultiPoint", - "MultiPolygon": "https://purl.org/geojson/vocab#MultiPolygon", - "Point": "https://purl.org/geojson/vocab#Point", - "Polygon": "https://purl.org/geojson/vocab#Polygon", - "features": { - "x-jsonld-container": "@set", - "x-jsonld-id": "https://purl.org/geojson/vocab#features" - } - }, - "x-jsonld-prefixes": { - "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.ogc-utils.json-link": { - "description": "JSON Link", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference", - "x-jsonld-type": "@id", - "x-jsonld-id": "http://www.w3.org/ns/oa#hasTarget" - }, - "rel": { - "type": "string", - "x-jsonld-id": "http://www.iana.org/assignments/relation", - "x-jsonld-type": "@id", - "x-jsonld-base": "http://www.iana.org/assignments/relation/" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/type" - }, - "hreflang": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/language" - }, - "title": { - "type": "string", - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#label" - }, - "length": { - "type": "integer", - "x-jsonld-id": "http://purl.org/dc/terms/extent" - } - }, - "x-jsonld-prefixes": { - "oa": "http://www.w3.org/ns/oa#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", - "dct": "http://purl.org/dc/terms/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.json" } }, "allOf": [ diff --git a/annotated-schemas/geo/features/feature/schema-oas3.0.yaml b/annotated-schemas/geo/features/feature/schema-oas3.0.yaml index 733da9e35..5840fc7ea 100644 --- a/annotated-schemas/geo/features/feature/schema-oas3.0.yaml +++ b/annotated-schemas/geo/features/feature/schema-oas3.0.yaml @@ -1,13 +1,13 @@ x-defs: ogc.geo.features.feature: allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.geojson + - $ref: ../../common/data_types/geojson/schema.yaml - type: object properties: links: type: array items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link + $ref: ../../../ogc-utils/json-link/schema.yaml x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso type: const: Feature @@ -20,459 +20,5 @@ x-defs: x-jsonld-prefixes: rdfs: http://www.w3.org/2000/01/rdf-schema# x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema-oas3.0.yaml - ogc.geo.common.data_types.geojson: - title: GeoJSON Feature - type: object - required: - - type - - properties - - geometry - properties: - type: - type: string - enum: - - Feature - x-jsonld-id: '@type' - id: - oneOf: - - type: number - - type: string - x-jsonld-id: '@id' - properties: - oneOf: - - type: object - x-jsonld-id: '@nest' - nullable: true - geometry: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - x-jsonld-id: '@type' - geometries: - type: array - items: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-id: https://purl.org/geojson/vocab#geometry - nullable: true - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-extra-terms: - Feature: https://purl.org/geojson/vocab#Feature - FeatureCollection: https://purl.org/geojson/vocab#FeatureCollection - GeometryCollection: https://purl.org/geojson/vocab#GeometryCollection - LineString: https://purl.org/geojson/vocab#LineString - MultiLineString: https://purl.org/geojson/vocab#MultiLineString - MultiPoint: https://purl.org/geojson/vocab#MultiPoint - MultiPolygon: https://purl.org/geojson/vocab#MultiPolygon - Point: https://purl.org/geojson/vocab#Point - Polygon: https://purl.org/geojson/vocab#Polygon - features: - x-jsonld-container: '@set' - x-jsonld-id: https://purl.org/geojson/vocab#features - x-jsonld-prefixes: - 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.ogc-utils.json-link: - description: JSON Link - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - x-jsonld-type: '@id' - x-jsonld-id: http://www.w3.org/ns/oa#hasTarget - rel: - type: string - x-jsonld-id: http://www.iana.org/assignments/relation - x-jsonld-type: '@id' - x-jsonld-base: http://www.iana.org/assignments/relation/ - anchor: - type: string - type: - type: string - x-jsonld-id: http://purl.org/dc/terms/type - hreflang: - type: string - x-jsonld-id: http://purl.org/dc/terms/language - title: - type: string - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#label - length: - type: integer - x-jsonld-id: http://purl.org/dc/terms/extent - x-jsonld-prefixes: - oa: http://www.w3.org/ns/oa# - rdfs: http://www.w3.org/2000/01/rdf-schema# - dct: http://purl.org/dc/terms/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.yaml allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature diff --git a/annotated-schemas/geo/features/featureCollection/context.jsonld b/annotated-schemas/geo/features/featureCollection/context.jsonld index 163af47f8..e563bebd9 100644 --- a/annotated-schemas/geo/features/featureCollection/context.jsonld +++ b/annotated-schemas/geo/features/featureCollection/context.jsonld @@ -1,6 +1,5 @@ { "@context": { - "properties": "@nest", "links": { "@context": { "href": { @@ -23,6 +22,7 @@ }, "type": "@type", "id": "@id", + "properties": "@nest", "geometry": { "@context": { "coordinates": { diff --git a/annotated-schemas/geo/features/featureCollection/schema-oas3.0.json b/annotated-schemas/geo/features/featureCollection/schema-oas3.0.json index a28edfde5..64f07f597 100644 --- a/annotated-schemas/geo/features/featureCollection/schema-oas3.0.json +++ b/annotated-schemas/geo/features/featureCollection/schema-oas3.0.json @@ -3,7 +3,7 @@ "ogc.geo.features.featureCollection": { "allOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema-oas3.0.json#/x-defs/geojson.org_schema_FeatureCollection.json" + "$ref": "https://geojson.org/schema/FeatureCollection.json" }, { "type": "object", @@ -11,7 +11,7 @@ "links": { "type": "array", "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" + "$ref": "../../../ogc-utils/json-link/schema.json" }, "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" }, @@ -30,7 +30,7 @@ "features": { "type": "array", "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" + "$ref": "../feature/schema.json" } } } @@ -43,1203 +43,6 @@ "rdfs": "http://www.w3.org/2000/01/rdf-schema#" }, "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema-oas3.0.json" - }, - "geojson.org_schema_FeatureCollection.json": { - "title": "GeoJSON FeatureCollection", - "type": "object", - "required": [ - "type", - "features" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "FeatureCollection" - ] - }, - "features": { - "type": "array", - "items": { - "title": "GeoJSON Feature", - "type": "object", - "required": [ - "type", - "properties", - "geometry" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ] - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "nullable": true - }, - "geometry": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ] - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - } - ] - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - } - ], - "nullable": true - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - }, - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://geojson.org/schema/FeatureCollection.json" - }, - "ogc.ogc-utils.json-link": { - "description": "JSON Link", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference", - "x-jsonld-type": "@id", - "x-jsonld-id": "http://www.w3.org/ns/oa#hasTarget" - }, - "rel": { - "type": "string", - "x-jsonld-id": "http://www.iana.org/assignments/relation", - "x-jsonld-type": "@id", - "x-jsonld-base": "http://www.iana.org/assignments/relation/" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/type" - }, - "hreflang": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/language" - }, - "title": { - "type": "string", - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#label" - }, - "length": { - "type": "integer", - "x-jsonld-id": "http://purl.org/dc/terms/extent" - } - }, - "x-jsonld-prefixes": { - "oa": "http://www.w3.org/ns/oa#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", - "dct": "http://purl.org/dc/terms/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.json" - }, - "ogc.geo.features.feature": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.geojson" - }, - { - "type": "object", - "properties": { - "links": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "type": { - "const": "Feature" - } - }, - "required": [ - "type", - "geometry", - "properties" - ] - } - ], - "x-jsonld-extra-terms": { - "properties": "@nest" - }, - "x-jsonld-prefixes": { - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/feature/schema.json" - }, - "ogc.geo.common.data_types.geojson": { - "title": "GeoJSON Feature", - "type": "object", - "required": [ - "type", - "properties", - "geometry" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ], - "x-jsonld-id": "@type" - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "x-jsonld-id": "@id" - }, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "x-jsonld-id": "@nest", - "nullable": true - }, - "geometry": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ], - "x-jsonld-id": "@type" - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ] - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ], - "x-jsonld-id": "https://purl.org/geojson/vocab#geometry", - "nullable": true - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - }, - "x-jsonld-extra-terms": { - "Feature": "https://purl.org/geojson/vocab#Feature", - "FeatureCollection": "https://purl.org/geojson/vocab#FeatureCollection", - "GeometryCollection": "https://purl.org/geojson/vocab#GeometryCollection", - "LineString": "https://purl.org/geojson/vocab#LineString", - "MultiLineString": "https://purl.org/geojson/vocab#MultiLineString", - "MultiPoint": "https://purl.org/geojson/vocab#MultiPoint", - "MultiPolygon": "https://purl.org/geojson/vocab#MultiPolygon", - "Point": "https://purl.org/geojson/vocab#Point", - "Polygon": "https://purl.org/geojson/vocab#Polygon", - "features": { - "x-jsonld-container": "@set", - "x-jsonld-id": "https://purl.org/geojson/vocab#features" - } - }, - "x-jsonld-prefixes": { - "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" } }, "allOf": [ diff --git a/annotated-schemas/geo/features/featureCollection/schema-oas3.0.yaml b/annotated-schemas/geo/features/featureCollection/schema-oas3.0.yaml index 0fabd78bb..c5c6c376a 100644 --- a/annotated-schemas/geo/features/featureCollection/schema-oas3.0.yaml +++ b/annotated-schemas/geo/features/featureCollection/schema-oas3.0.yaml @@ -1,13 +1,13 @@ x-defs: ogc.geo.features.featureCollection: allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema-oas3.0.yaml#/x-defs/geojson.org_schema_FeatureCollection.json + - $ref: https://geojson.org/schema/FeatureCollection.json - type: object properties: links: type: array items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link + $ref: ../../../ogc-utils/json-link/schema.yaml x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso timeStamp: type: string @@ -21,837 +21,11 @@ x-defs: features: type: array items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature + $ref: ../feature/schema.yaml x-jsonld-extra-terms: properties: '@nest' x-jsonld-prefixes: rdfs: http://www.w3.org/2000/01/rdf-schema# x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema-oas3.0.yaml - geojson.org_schema_FeatureCollection.json: - title: GeoJSON FeatureCollection - type: object - required: - - type - - features - properties: - type: - type: string - enum: - - FeatureCollection - features: - type: array - items: - title: GeoJSON Feature - type: object - required: - - type - - properties - - geometry - properties: - type: - type: string - enum: - - Feature - id: - oneOf: - - type: number - - type: string - properties: - oneOf: - - type: object - nullable: true - geometry: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - geometries: - type: array - items: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - nullable: true - bbox: - type: array - minItems: 4 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - x-schema-version: http://json-schema.org/draft-07/schema# - x-schema-source: https://geojson.org/schema/FeatureCollection.json - ogc.ogc-utils.json-link: - description: JSON Link - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - x-jsonld-type: '@id' - x-jsonld-id: http://www.w3.org/ns/oa#hasTarget - rel: - type: string - x-jsonld-id: http://www.iana.org/assignments/relation - x-jsonld-type: '@id' - x-jsonld-base: http://www.iana.org/assignments/relation/ - anchor: - type: string - type: - type: string - x-jsonld-id: http://purl.org/dc/terms/type - hreflang: - type: string - x-jsonld-id: http://purl.org/dc/terms/language - title: - type: string - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#label - length: - type: integer - x-jsonld-id: http://purl.org/dc/terms/extent - x-jsonld-prefixes: - oa: http://www.w3.org/ns/oa# - rdfs: http://www.w3.org/2000/01/rdf-schema# - dct: http://purl.org/dc/terms/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.yaml - ogc.geo.features.feature: - allOf: - - $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: - links: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - type: - const: Feature - required: - - type - - geometry - - properties - x-jsonld-extra-terms: - properties: '@nest' - x-jsonld-prefixes: - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/feature/schema.yaml - ogc.geo.common.data_types.geojson: - title: GeoJSON Feature - type: object - required: - - type - - properties - - geometry - properties: - type: - type: string - enum: - - Feature - x-jsonld-id: '@type' - id: - oneOf: - - type: number - - type: string - x-jsonld-id: '@id' - properties: - oneOf: - - type: object - x-jsonld-id: '@nest' - nullable: true - geometry: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - x-jsonld-id: '@type' - geometries: - type: array - items: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-id: https://purl.org/geojson/vocab#geometry - nullable: true - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-extra-terms: - Feature: https://purl.org/geojson/vocab#Feature - FeatureCollection: https://purl.org/geojson/vocab#FeatureCollection - GeometryCollection: https://purl.org/geojson/vocab#GeometryCollection - LineString: https://purl.org/geojson/vocab#LineString - MultiLineString: https://purl.org/geojson/vocab#MultiLineString - MultiPoint: https://purl.org/geojson/vocab#MultiPoint - MultiPolygon: https://purl.org/geojson/vocab#MultiPolygon - Point: https://purl.org/geojson/vocab#Point - Polygon: https://purl.org/geojson/vocab#Polygon - features: - x-jsonld-container: '@set' - x-jsonld-id: https://purl.org/geojson/vocab#features - x-jsonld-prefixes: - 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 allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.features.featureCollection diff --git a/annotated-schemas/geo/json-fg/feature-lenient/context.jsonld b/annotated-schemas/geo/json-fg/feature-lenient/context.jsonld index 63f23ed6a..7309aed26 100644 --- a/annotated-schemas/geo/json-fg/feature-lenient/context.jsonld +++ b/annotated-schemas/geo/json-fg/feature-lenient/context.jsonld @@ -1,5 +1,16 @@ { "@context": { + "type": "@type", + "id": "@id", + "properties": "@nest", + "geometry": { + "@context": {}, + "@id": "geojson:geometry" + }, + "bbox": { + "@container": "@list", + "@id": "geojson:bbox" + }, "Feature": "geojson:Feature", "FeatureCollection": "geojson:FeatureCollection", "GeometryCollection": "geojson:GeometryCollection", @@ -9,22 +20,10 @@ "MultiPolygon": "geojson:MultiPolygon", "Point": "geojson:Point", "Polygon": "geojson:Polygon", - "bbox": { - "@container": "@list", - "@id": "geojson:bbox" - }, - "coordinates": { - "@container": "@list", - "@id": "geojson:coordinates" - }, "features": { "@container": "@set", "@id": "geojson:features" }, - "properties": "@nest", - "type": "@type", - "id": "@id", - "featureType": "@type", "links": { "@context": { "href": { @@ -45,7 +44,11 @@ }, "@id": "rdfs:seeAlso" }, - "geometry": "geojson:geometry", + "featureType": "@type", + "coordinates": { + "@container": "@list", + "@id": "geojson:coordinates" + }, "geojson": "https://purl.org/geojson/vocab#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "oa": "http://www.w3.org/ns/oa#", diff --git a/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.json b/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.json index 3baac1732..1c4f86e07 100644 --- a/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.json +++ b/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.json @@ -3,7 +3,7 @@ "ogc.geo.json-fg.feature-lenient": { "allOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" + "$ref": "../../features/feature/schema.json" }, { "type": "object", @@ -31,31 +31,37 @@ ], "x-jsonld-id": "@id" }, - "featureType": {}, + "featureType": { + "$ref": "https://beta.schemas.opengis.net/json-fg/featuretype.json", + "x-jsonld-id": "@type" + }, "links": { "type": "array", "items": { "allOf": [ { - "$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_link.json" + "$ref": "https://beta.schemas.opengis.net/json-fg/link.json" }, { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" + "$ref": "../../../ogc-utils/json-link/schema.json" } ] }, "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" }, "time": { - "$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_time.json" + "$ref": "https://beta.schemas.opengis.net/json-fg/time.json" }, "coordRefSys": { - "$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_coordrefsys.json" + "$ref": "https://beta.schemas.opengis.net/json-fg/coordrefsys.json" }, "place": { - "$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_place.json" + "$ref": "https://beta.schemas.opengis.net/json-fg/place.json" + }, + "geometry": { + "$ref": "https://beta.schemas.opengis.net/json-fg/geometry.json", + "x-jsonld-id": "https://purl.org/geojson/vocab#geometry" }, - "geometry": {}, "properties": { "oneOf": [ { @@ -96,1364 +102,6 @@ "rdfs": "http://www.w3.org/2000/01/rdf-schema#" }, "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.json" - }, - "ogc.geo.features.feature": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.geojson" - }, - { - "type": "object", - "properties": { - "links": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "type": { - "const": "Feature" - } - }, - "required": [ - "type", - "geometry", - "properties" - ] - } - ], - "x-jsonld-extra-terms": { - "properties": "@nest" - }, - "x-jsonld-prefixes": { - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/features/feature/schema.json" - }, - "beta.schemas.opengis.net_json-fg_featuretype.json": { - "title": "the featureType member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/featuretype.json" - }, - "beta.schemas.opengis.net_json-fg_link.json": { - "title": "the Link object", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference" - }, - "rel": { - "type": "string" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string" - }, - "hreflang": { - "type": "string" - }, - "title": { - "type": "string" - }, - "length": { - "type": "string" - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/link.json" - }, - "ogc.ogc-utils.json-link": { - "description": "JSON Link", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference", - "x-jsonld-type": "@id", - "x-jsonld-id": "http://www.w3.org/ns/oa#hasTarget" - }, - "rel": { - "type": "string", - "x-jsonld-id": "http://www.iana.org/assignments/relation", - "x-jsonld-type": "@id", - "x-jsonld-base": "http://www.iana.org/assignments/relation/" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/type" - }, - "hreflang": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/language" - }, - "title": { - "type": "string", - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#label" - }, - "length": { - "type": "integer", - "x-jsonld-id": "http://purl.org/dc/terms/extent" - } - }, - "x-jsonld-prefixes": { - "oa": "http://www.w3.org/ns/oa#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", - "dct": "http://purl.org/dc/terms/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.json" - }, - "beta.schemas.opengis.net_json-fg_time.json": { - "title": "the time member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "type": "object", - "properties": { - "date": { - "$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_time.json/$defs/date" - }, - "timestamp": { - "$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_time.json/$defs/timestamp" - }, - "interval": { - "$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_time.json/$defs/interval" - } - } - } - ], - "$defs": { - "date": { - "type": "string", - "pattern": "^\\d{4}-\\d{2}-\\d{2}$" - }, - "timestamp": { - "type": "string", - "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$" - }, - "interval": { - "type": "array", - "minItems": 2, - "maxItems": 2, - "items": { - "oneOf": [ - { - "$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_time.json/$defs/date" - }, - { - "$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_time.json/$defs/timestamp" - }, - { - "type": "string", - "enum": [ - ".." - ] - } - ] - } - } - }, - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/time.json" - }, - "beta.schemas.opengis.net_json-fg_coordrefsys.json": { - "title": "the coordRefSys member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$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_coordrefsys.json/$defs/single-refsys" - }, - { - "type": "array", - "items": { - "$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_coordrefsys.json/$defs/single-refsys" - } - } - ], - "$defs": { - "single-refsys": { - "oneOf": [ - { - "$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_coordrefsys.json/$defs/refsys-simpleref" - }, - { - "$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_coordrefsys.json/$defs/refsys-byref" - }, - { - "$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_coordrefsys.json/$defs/refsys-custom" - } - ] - }, - "refsys-simpleref": { - "type": "string", - "format": "uri" - }, - "refsys-byref": { - "type": "object", - "required": [ - "type", - "href" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Reference" - ] - }, - "href": { - "type": "string", - "format": "uri" - }, - "epoch": { - "type": "number" - } - } - }, - "refsys-custom": { - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "not": { - "enum": [ - "Reference" - ] - } - } - } - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/coordrefsys.json" - }, - "beta.schemas.opengis.net_json-fg_place.json": { - "title": "the place member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$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_geometry-objects.json/$defs/Point" - }, - { - "$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_geometry-objects.json/$defs/MultiPoint" - }, - { - "$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_geometry-objects.json/$defs/LineString" - }, - { - "$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_geometry-objects.json/$defs/MultiLineString" - }, - { - "$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_geometry-objects.json/$defs/Polygon" - }, - { - "$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_geometry-objects.json/$defs/MultiPolygon" - }, - { - "$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_geometry-objects.json/$defs/Polyhedron" - }, - { - "$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_geometry-objects.json/$defs/MultiPolyhedron" - }, - { - "$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_geometry-objects.json/$defs/Prism" - }, - { - "$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_geometry-objects.json/$defs/MultiPrism" - }, - { - "$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_geometry-objects.json/$defs/CustomGeometry" - } - ], - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/place.json" - }, - "beta.schemas.opengis.net_json-fg_geometry.json": { - "title": "the geometry member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$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_geometry-objects.json/$defs/Point" - }, - { - "$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_geometry-objects.json/$defs/MultiPoint" - }, - { - "$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_geometry-objects.json/$defs/LineString" - }, - { - "$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_geometry-objects.json/$defs/MultiLineString" - }, - { - "$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_geometry-objects.json/$defs/Polygon" - }, - { - "$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_geometry-objects.json/$defs/MultiPolygon" - }, - { - "$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_geometry-objects.json/$defs/GeometryCollection" - } - ], - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/geometry.json" - }, - "ogc.geo.common.data_types.geojson": { - "title": "GeoJSON Feature", - "type": "object", - "required": [ - "type", - "properties", - "geometry" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ], - "x-jsonld-id": "@type" - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "x-jsonld-id": "@id" - }, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "x-jsonld-id": "@nest", - "nullable": true - }, - "geometry": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ], - "x-jsonld-id": "@type" - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ] - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ], - "x-jsonld-id": "https://purl.org/geojson/vocab#geometry", - "nullable": true - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - }, - "x-jsonld-extra-terms": { - "Feature": "https://purl.org/geojson/vocab#Feature", - "FeatureCollection": "https://purl.org/geojson/vocab#FeatureCollection", - "GeometryCollection": "https://purl.org/geojson/vocab#GeometryCollection", - "LineString": "https://purl.org/geojson/vocab#LineString", - "MultiLineString": "https://purl.org/geojson/vocab#MultiLineString", - "MultiPoint": "https://purl.org/geojson/vocab#MultiPoint", - "MultiPolygon": "https://purl.org/geojson/vocab#MultiPolygon", - "Point": "https://purl.org/geojson/vocab#Point", - "Polygon": "https://purl.org/geojson/vocab#Polygon", - "features": { - "x-jsonld-container": "@set", - "x-jsonld-id": "https://purl.org/geojson/vocab#features" - } - }, - "x-jsonld-prefixes": { - "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" - }, - "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", - "$defs": { - "CustomGeometry": { - "title": "A custom geometry object", - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "not": { - "enum": [ - "Point", - "MultiPoint", - "LineString", - "MultiLineString", - "Polygon", - "MultiPolygon", - "Polyhedron", - "MultiPolyhedron", - "Prism", - "MultiPrism", - "GeometryCollection" - ] - } - } - } - }, - "Point": { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "$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_geometry-objects.json/$defs/position" - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox" - } - } - }, - "LineString": { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "$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_geometry-objects.json/$defs/position" - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox" - } - } - }, - "Polygon": { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "$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_geometry-objects.json/$defs/position" - } - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiPoint": { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "$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_geometry-objects.json/$defs/position" - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiLineString": { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "$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_geometry-objects.json/$defs/position" - } - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiPolygon": { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "$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_geometry-objects.json/$defs/position" - } - } - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox" - } - } - }, - "Polyhedron": { - "title": "JSON-FG Polyhedron", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polyhedron" - ] - }, - "coordinates": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 4, - "items": { - "$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_geometry-objects.json/$defs/position3d" - } - } - } - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox3d" - } - } - }, - "MultiPolyhedron": { - "title": "JSON-FG MultiPolyhedron", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolyhedron" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 4, - "items": { - "$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_geometry-objects.json/$defs/position3d" - } - } - } - } - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox3d" - } - } - }, - "Prism": { - "title": "JSON-FG Prism", - "type": "object", - "required": [ - "type", - "base", - "upper" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Prism" - ] - }, - "base": { - "oneOf": [ - { - "$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_geometry-objects.json/$defs/Point" - }, - { - "$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_geometry-objects.json/$defs/LineString" - }, - { - "$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_geometry-objects.json/$defs/Polygon" - }, - { - "$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_geometry-objects.json/$defs/MultiPoint" - }, - { - "$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_geometry-objects.json/$defs/MultiLineString" - }, - { - "$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_geometry-objects.json/$defs/MultiPolygon" - } - ] - }, - "lower": { - "type": "number" - }, - "upper": { - "type": "number" - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox3d" - } - } - }, - "MultiPrism": { - "title": "JSON-FG Multi-Prism", - "type": "object", - "required": [ - "type", - "prisms" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPrism" - ] - }, - "prisms": { - "type": "array", - "items": { - "$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_geometry-objects.json/$defs/Prism" - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox3d" - } - } - }, - "GeometryCollection": { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ] - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "$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_geometry-objects.json/$defs/Point" - }, - { - "$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_geometry-objects.json/$defs/MultiPoint" - }, - { - "$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_geometry-objects.json/$defs/LineString" - }, - { - "$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_geometry-objects.json/$defs/MultiLineString" - }, - { - "$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_geometry-objects.json/$defs/Polygon" - }, - { - "$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_geometry-objects.json/$defs/MultiPolygon" - } - ] - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox" - } - } - }, - "position": { - "type": "array", - "minItems": 2, - "maxItems": 3, - "items": { - "type": "number" - } - }, - "position3d": { - "type": "array", - "minItems": 3, - "maxItems": 3, - "items": { - "type": "number" - } - }, - "bbox": { - "oneOf": [ - { - "$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_geometry-objects.json/$defs/bbox2d" - }, - { - "$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_geometry-objects.json/$defs/bbox3d" - } - ] - }, - "bbox2d": { - "type": "array", - "minItems": 4, - "maxItems": 4, - "items": { - "type": "number" - } - }, - "bbox3d": { - "type": "array", - "minItems": 6, - "maxItems": 6, - "items": { - "type": "number" - } - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/geometry-objects.json" } }, "allOf": [ diff --git a/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.yaml b/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.yaml index 3c2068a7c..c9ff71c02 100644 --- a/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.yaml +++ b/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.yaml @@ -1,7 +1,7 @@ x-defs: ogc.geo.json-fg.feature-lenient: allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature + - $ref: ../../features/feature/schema.yaml - type: object required: - type @@ -18,21 +18,25 @@ x-defs: - type: number - type: string x-jsonld-id: '@id' - featureType: {} + featureType: + $ref: https://beta.schemas.opengis.net/json-fg/featuretype.json + x-jsonld-id: '@type' links: type: array items: allOf: - - $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_link.json - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link + - $ref: https://beta.schemas.opengis.net/json-fg/link.json + - $ref: ../../../ogc-utils/json-link/schema.yaml x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso time: - $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_time.json + $ref: https://beta.schemas.opengis.net/json-fg/time.json coordRefSys: - $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_coordrefsys.json + $ref: https://beta.schemas.opengis.net/json-fg/coordrefsys.json place: - $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_place.json - geometry: {} + $ref: https://beta.schemas.opengis.net/json-fg/place.json + geometry: + $ref: https://beta.schemas.opengis.net/json-fg/geometry.json + x-jsonld-id: https://purl.org/geojson/vocab#geometry properties: oneOf: - type: object @@ -61,913 +65,5 @@ x-defs: geojson: https://purl.org/geojson/vocab# rdfs: http://www.w3.org/2000/01/rdf-schema# x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.yaml - ogc.geo.features.feature: - allOf: - - $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: - links: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - type: - const: Feature - required: - - type - - geometry - - properties - x-jsonld-extra-terms: - properties: '@nest' - x-jsonld-prefixes: - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/features/feature/schema.yaml - beta.schemas.opengis.net_json-fg_featuretype.json: - title: the featureType member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - type: string - - type: array - items: - type: string - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/featuretype.json - beta.schemas.opengis.net_json-fg_link.json: - title: the Link object - description: This JSON Schema is part of JSON-FG version 0.1.1 - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - rel: - type: string - anchor: - type: string - type: - type: string - hreflang: - type: string - title: - type: string - length: - type: string - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/link.json - ogc.ogc-utils.json-link: - description: JSON Link - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - x-jsonld-type: '@id' - x-jsonld-id: http://www.w3.org/ns/oa#hasTarget - rel: - type: string - x-jsonld-id: http://www.iana.org/assignments/relation - x-jsonld-type: '@id' - x-jsonld-base: http://www.iana.org/assignments/relation/ - anchor: - type: string - type: - type: string - x-jsonld-id: http://purl.org/dc/terms/type - hreflang: - type: string - x-jsonld-id: http://purl.org/dc/terms/language - title: - type: string - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#label - length: - type: integer - x-jsonld-id: http://purl.org/dc/terms/extent - x-jsonld-prefixes: - oa: http://www.w3.org/ns/oa# - rdfs: http://www.w3.org/2000/01/rdf-schema# - dct: http://purl.org/dc/terms/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.yaml - beta.schemas.opengis.net_json-fg_time.json: - title: the time member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - type: object - properties: - date: - $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_time.json/$defs/date - timestamp: - $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_time.json/$defs/timestamp - interval: - $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_time.json/$defs/interval - $defs: - date: - type: string - pattern: ^\d{4}-\d{2}-\d{2}$ - timestamp: - type: string - pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z$ - interval: - type: array - minItems: 2 - maxItems: 2 - items: - oneOf: - - $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_time.json/$defs/date - - $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_time.json/$defs/timestamp - - type: string - enum: - - .. - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/time.json - beta.schemas.opengis.net_json-fg_coordrefsys.json: - title: the coordRefSys member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $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_coordrefsys.json/$defs/single-refsys - - type: array - items: - $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_coordrefsys.json/$defs/single-refsys - $defs: - single-refsys: - oneOf: - - $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_coordrefsys.json/$defs/refsys-simpleref - - $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_coordrefsys.json/$defs/refsys-byref - - $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_coordrefsys.json/$defs/refsys-custom - refsys-simpleref: - type: string - format: uri - refsys-byref: - type: object - required: - - type - - href - properties: - type: - type: string - enum: - - Reference - href: - type: string - format: uri - epoch: - type: number - refsys-custom: - type: object - required: - - type - properties: - type: - type: string - not: - enum: - - Reference - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/coordrefsys.json - beta.schemas.opengis.net_json-fg_place.json: - title: the place member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $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_geometry-objects.json/$defs/Point - - $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_geometry-objects.json/$defs/MultiPoint - - $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_geometry-objects.json/$defs/LineString - - $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_geometry-objects.json/$defs/MultiLineString - - $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_geometry-objects.json/$defs/Polygon - - $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_geometry-objects.json/$defs/MultiPolygon - - $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_geometry-objects.json/$defs/Polyhedron - - $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_geometry-objects.json/$defs/MultiPolyhedron - - $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_geometry-objects.json/$defs/Prism - - $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_geometry-objects.json/$defs/MultiPrism - - $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_geometry-objects.json/$defs/CustomGeometry - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/place.json - beta.schemas.opengis.net_json-fg_geometry.json: - title: the geometry member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $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_geometry-objects.json/$defs/Point - - $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_geometry-objects.json/$defs/MultiPoint - - $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_geometry-objects.json/$defs/LineString - - $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_geometry-objects.json/$defs/MultiLineString - - $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_geometry-objects.json/$defs/Polygon - - $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_geometry-objects.json/$defs/MultiPolygon - - $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_geometry-objects.json/$defs/GeometryCollection - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/geometry.json - ogc.geo.common.data_types.geojson: - title: GeoJSON Feature - type: object - required: - - type - - properties - - geometry - properties: - type: - type: string - enum: - - Feature - x-jsonld-id: '@type' - id: - oneOf: - - type: number - - type: string - x-jsonld-id: '@id' - properties: - oneOf: - - type: object - x-jsonld-id: '@nest' - nullable: true - geometry: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - x-jsonld-id: '@type' - geometries: - type: array - items: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-id: https://purl.org/geojson/vocab#geometry - nullable: true - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-extra-terms: - Feature: https://purl.org/geojson/vocab#Feature - FeatureCollection: https://purl.org/geojson/vocab#FeatureCollection - GeometryCollection: https://purl.org/geojson/vocab#GeometryCollection - LineString: https://purl.org/geojson/vocab#LineString - MultiLineString: https://purl.org/geojson/vocab#MultiLineString - MultiPoint: https://purl.org/geojson/vocab#MultiPoint - MultiPolygon: https://purl.org/geojson/vocab#MultiPolygon - Point: https://purl.org/geojson/vocab#Point - Polygon: https://purl.org/geojson/vocab#Polygon - features: - x-jsonld-container: '@set' - x-jsonld-id: https://purl.org/geojson/vocab#features - x-jsonld-prefixes: - 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 - 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 - $defs: - CustomGeometry: - title: A custom geometry object - type: object - required: - - type - properties: - type: - type: string - not: - enum: - - Point - - MultiPoint - - LineString - - MultiLineString - - Polygon - - MultiPolygon - - Polyhedron - - MultiPolyhedron - - Prism - - MultiPrism - - GeometryCollection - Point: - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - $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_geometry-objects.json/$defs/position - bbox: - $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_geometry-objects.json/$defs/bbox - LineString: - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - $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_geometry-objects.json/$defs/position - bbox: - $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_geometry-objects.json/$defs/bbox - Polygon: - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - $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_geometry-objects.json/$defs/position - bbox: - $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_geometry-objects.json/$defs/bbox - MultiPoint: - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - $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_geometry-objects.json/$defs/position - bbox: - $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_geometry-objects.json/$defs/bbox - MultiLineString: - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - $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_geometry-objects.json/$defs/position - bbox: - $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_geometry-objects.json/$defs/bbox - MultiPolygon: - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - $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_geometry-objects.json/$defs/position - bbox: - $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_geometry-objects.json/$defs/bbox - Polyhedron: - title: JSON-FG Polyhedron - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polyhedron - coordinates: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 4 - items: - $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_geometry-objects.json/$defs/position3d - bbox: - $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_geometry-objects.json/$defs/bbox3d - MultiPolyhedron: - title: JSON-FG MultiPolyhedron - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolyhedron - coordinates: - type: array - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 4 - items: - $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_geometry-objects.json/$defs/position3d - bbox: - $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_geometry-objects.json/$defs/bbox3d - Prism: - title: JSON-FG Prism - type: object - required: - - type - - base - - upper - properties: - type: - type: string - enum: - - Prism - base: - oneOf: - - $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_geometry-objects.json/$defs/Point - - $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_geometry-objects.json/$defs/LineString - - $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_geometry-objects.json/$defs/Polygon - - $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_geometry-objects.json/$defs/MultiPoint - - $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_geometry-objects.json/$defs/MultiLineString - - $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_geometry-objects.json/$defs/MultiPolygon - lower: - type: number - upper: - type: number - bbox: - $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_geometry-objects.json/$defs/bbox3d - MultiPrism: - title: JSON-FG Multi-Prism - type: object - required: - - type - - prisms - properties: - type: - type: string - enum: - - MultiPrism - prisms: - type: array - items: - $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_geometry-objects.json/$defs/Prism - bbox: - $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_geometry-objects.json/$defs/bbox3d - GeometryCollection: - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - geometries: - type: array - items: - oneOf: - - $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_geometry-objects.json/$defs/Point - - $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_geometry-objects.json/$defs/MultiPoint - - $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_geometry-objects.json/$defs/LineString - - $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_geometry-objects.json/$defs/MultiLineString - - $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_geometry-objects.json/$defs/Polygon - - $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_geometry-objects.json/$defs/MultiPolygon - bbox: - $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_geometry-objects.json/$defs/bbox - position: - type: array - minItems: 2 - maxItems: 3 - items: - type: number - position3d: - type: array - minItems: 3 - maxItems: 3 - items: - type: number - bbox: - oneOf: - - $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_geometry-objects.json/$defs/bbox2d - - $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_geometry-objects.json/$defs/bbox3d - bbox2d: - type: array - minItems: 4 - maxItems: 4 - items: - type: number - bbox3d: - type: array - minItems: 6 - maxItems: 6 - items: - type: number - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/geometry-objects.json allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema-oas3.0.yaml#/x-defs/ogc.geo.json-fg.feature-lenient diff --git a/annotated-schemas/geo/json-fg/feature/context.jsonld b/annotated-schemas/geo/json-fg/feature/context.jsonld index 63f23ed6a..7309aed26 100644 --- a/annotated-schemas/geo/json-fg/feature/context.jsonld +++ b/annotated-schemas/geo/json-fg/feature/context.jsonld @@ -1,5 +1,16 @@ { "@context": { + "type": "@type", + "id": "@id", + "properties": "@nest", + "geometry": { + "@context": {}, + "@id": "geojson:geometry" + }, + "bbox": { + "@container": "@list", + "@id": "geojson:bbox" + }, "Feature": "geojson:Feature", "FeatureCollection": "geojson:FeatureCollection", "GeometryCollection": "geojson:GeometryCollection", @@ -9,22 +20,10 @@ "MultiPolygon": "geojson:MultiPolygon", "Point": "geojson:Point", "Polygon": "geojson:Polygon", - "bbox": { - "@container": "@list", - "@id": "geojson:bbox" - }, - "coordinates": { - "@container": "@list", - "@id": "geojson:coordinates" - }, "features": { "@container": "@set", "@id": "geojson:features" }, - "properties": "@nest", - "type": "@type", - "id": "@id", - "featureType": "@type", "links": { "@context": { "href": { @@ -45,7 +44,11 @@ }, "@id": "rdfs:seeAlso" }, - "geometry": "geojson:geometry", + "featureType": "@type", + "coordinates": { + "@container": "@list", + "@id": "geojson:coordinates" + }, "geojson": "https://purl.org/geojson/vocab#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "oa": "http://www.w3.org/ns/oa#", diff --git a/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json b/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json index 8963caf63..77d303c18 100644 --- a/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json +++ b/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json @@ -13,7 +13,7 @@ ], "allOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" + "$ref": "../../features/feature/schema.json" }, { "properties": { @@ -35,31 +35,37 @@ ], "x-jsonld-id": "@id" }, - "featureType": {}, + "featureType": { + "$ref": "https://beta.schemas.opengis.net/json-fg/featuretype.json", + "x-jsonld-id": "@type" + }, "links": { "type": "array", "items": { "allOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_link.json" + "$ref": "https://beta.schemas.opengis.net/json-fg/link.json" }, { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" + "$ref": "../../../ogc-utils/json-link/schema.json" } ] }, "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" }, "time": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json" + "$ref": "https://beta.schemas.opengis.net/json-fg/time.json" }, "coordRefSys": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json" + "$ref": "https://beta.schemas.opengis.net/json-fg/coordrefsys.json" }, "place": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_place.json" + "$ref": "https://beta.schemas.opengis.net/json-fg/place.json" + }, + "geometry": { + "$ref": "https://beta.schemas.opengis.net/json-fg/geometry.json", + "x-jsonld-id": "https://purl.org/geojson/vocab#geometry" }, - "geometry": {}, "properties": { "oneOf": [ { @@ -101,1364 +107,6 @@ }, "x-schema-version": "https://json-schema.org/draft/2019-09/schema", "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json" - }, - "ogc.geo.features.feature": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.geojson" - }, - { - "type": "object", - "properties": { - "links": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "type": { - "const": "Feature" - } - }, - "required": [ - "type", - "geometry", - "properties" - ] - } - ], - "x-jsonld-extra-terms": { - "properties": "@nest" - }, - "x-jsonld-prefixes": { - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/features/feature/schema.json" - }, - "beta.schemas.opengis.net_json-fg_featuretype.json": { - "title": "the featureType member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/featuretype.json" - }, - "beta.schemas.opengis.net_json-fg_link.json": { - "title": "the Link object", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference" - }, - "rel": { - "type": "string" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string" - }, - "hreflang": { - "type": "string" - }, - "title": { - "type": "string" - }, - "length": { - "type": "string" - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/link.json" - }, - "ogc.ogc-utils.json-link": { - "description": "JSON Link", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference", - "x-jsonld-type": "@id", - "x-jsonld-id": "http://www.w3.org/ns/oa#hasTarget" - }, - "rel": { - "type": "string", - "x-jsonld-id": "http://www.iana.org/assignments/relation", - "x-jsonld-type": "@id", - "x-jsonld-base": "http://www.iana.org/assignments/relation/" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/type" - }, - "hreflang": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/language" - }, - "title": { - "type": "string", - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#label" - }, - "length": { - "type": "integer", - "x-jsonld-id": "http://purl.org/dc/terms/extent" - } - }, - "x-jsonld-prefixes": { - "oa": "http://www.w3.org/ns/oa#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", - "dct": "http://purl.org/dc/terms/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.json" - }, - "beta.schemas.opengis.net_json-fg_time.json": { - "title": "the time member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "type": "object", - "properties": { - "date": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date" - }, - "timestamp": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp" - }, - "interval": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/interval" - } - } - } - ], - "$defs": { - "date": { - "type": "string", - "pattern": "^\\d{4}-\\d{2}-\\d{2}$" - }, - "timestamp": { - "type": "string", - "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$" - }, - "interval": { - "type": "array", - "minItems": 2, - "maxItems": 2, - "items": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp" - }, - { - "type": "string", - "enum": [ - ".." - ] - } - ] - } - } - }, - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/time.json" - }, - "beta.schemas.opengis.net_json-fg_coordrefsys.json": { - "title": "the coordRefSys member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys" - }, - { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys" - } - } - ], - "$defs": { - "single-refsys": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-simpleref" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-byref" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-custom" - } - ] - }, - "refsys-simpleref": { - "type": "string", - "format": "uri" - }, - "refsys-byref": { - "type": "object", - "required": [ - "type", - "href" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Reference" - ] - }, - "href": { - "type": "string", - "format": "uri" - }, - "epoch": { - "type": "number" - } - } - }, - "refsys-custom": { - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "not": { - "enum": [ - "Reference" - ] - } - } - } - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/coordrefsys.json" - }, - "beta.schemas.opengis.net_json-fg_place.json": { - "title": "the place member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polyhedron" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolyhedron" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPrism" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/CustomGeometry" - } - ], - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/place.json" - }, - "beta.schemas.opengis.net_json-fg_geometry.json": { - "title": "the geometry member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/GeometryCollection" - } - ], - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/geometry.json" - }, - "ogc.geo.common.data_types.geojson": { - "title": "GeoJSON Feature", - "type": "object", - "required": [ - "type", - "properties", - "geometry" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ], - "x-jsonld-id": "@type" - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "x-jsonld-id": "@id" - }, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "x-jsonld-id": "@nest", - "nullable": true - }, - "geometry": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ], - "x-jsonld-id": "@type" - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ] - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ], - "x-jsonld-id": "https://purl.org/geojson/vocab#geometry", - "nullable": true - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - }, - "x-jsonld-extra-terms": { - "Feature": "https://purl.org/geojson/vocab#Feature", - "FeatureCollection": "https://purl.org/geojson/vocab#FeatureCollection", - "GeometryCollection": "https://purl.org/geojson/vocab#GeometryCollection", - "LineString": "https://purl.org/geojson/vocab#LineString", - "MultiLineString": "https://purl.org/geojson/vocab#MultiLineString", - "MultiPoint": "https://purl.org/geojson/vocab#MultiPoint", - "MultiPolygon": "https://purl.org/geojson/vocab#MultiPolygon", - "Point": "https://purl.org/geojson/vocab#Point", - "Polygon": "https://purl.org/geojson/vocab#Polygon", - "features": { - "x-jsonld-container": "@set", - "x-jsonld-id": "https://purl.org/geojson/vocab#features" - } - }, - "x-jsonld-prefixes": { - "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" - }, - "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", - "$defs": { - "CustomGeometry": { - "title": "A custom geometry object", - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "not": { - "enum": [ - "Point", - "MultiPoint", - "LineString", - "MultiLineString", - "Polygon", - "MultiPolygon", - "Polyhedron", - "MultiPolyhedron", - "Prism", - "MultiPrism", - "GeometryCollection" - ] - } - } - } - }, - "Point": { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "LineString": { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "Polygon": { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiPoint": { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiLineString": { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiPolygon": { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "Polyhedron": { - "title": "JSON-FG Polyhedron", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polyhedron" - ] - }, - "coordinates": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d" - } - } - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "MultiPolyhedron": { - "title": "JSON-FG MultiPolyhedron", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolyhedron" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d" - } - } - } - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "Prism": { - "title": "JSON-FG Prism", - "type": "object", - "required": [ - "type", - "base", - "upper" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Prism" - ] - }, - "base": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - } - ] - }, - "lower": { - "type": "number" - }, - "upper": { - "type": "number" - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "MultiPrism": { - "title": "JSON-FG Multi-Prism", - "type": "object", - "required": [ - "type", - "prisms" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPrism" - ] - }, - "prisms": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism" - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "GeometryCollection": { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ] - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - } - ] - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "position": { - "type": "array", - "minItems": 2, - "maxItems": 3, - "items": { - "type": "number" - } - }, - "position3d": { - "type": "array", - "minItems": 3, - "maxItems": 3, - "items": { - "type": "number" - } - }, - "bbox": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox2d" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - ] - }, - "bbox2d": { - "type": "array", - "minItems": 4, - "maxItems": 4, - "items": { - "type": "number" - } - }, - "bbox3d": { - "type": "array", - "minItems": 6, - "maxItems": 6, - "items": { - "type": "number" - } - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/geometry-objects.json" } }, "allOf": [ diff --git a/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml b/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml index fad1b60d5..6eaf76e3a 100644 --- a/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml +++ b/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml @@ -10,7 +10,7 @@ x-defs: - geometry - properties allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature + - $ref: ../../features/feature/schema.yaml - properties: type: type: string @@ -22,21 +22,25 @@ x-defs: - type: number - type: string x-jsonld-id: '@id' - featureType: {} + featureType: + $ref: https://beta.schemas.opengis.net/json-fg/featuretype.json + x-jsonld-id: '@type' links: type: array items: allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_link.json - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link + - $ref: https://beta.schemas.opengis.net/json-fg/link.json + - $ref: ../../../ogc-utils/json-link/schema.yaml x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso time: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json + $ref: https://beta.schemas.opengis.net/json-fg/time.json coordRefSys: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json + $ref: https://beta.schemas.opengis.net/json-fg/coordrefsys.json place: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_place.json - geometry: {} + $ref: https://beta.schemas.opengis.net/json-fg/place.json + geometry: + $ref: https://beta.schemas.opengis.net/json-fg/geometry.json + x-jsonld-id: https://purl.org/geojson/vocab#geometry properties: oneOf: - type: object @@ -66,913 +70,5 @@ x-defs: rdfs: http://www.w3.org/2000/01/rdf-schema# x-schema-version: https://json-schema.org/draft/2019-09/schema x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml - ogc.geo.features.feature: - allOf: - - $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: - links: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - type: - const: Feature - required: - - type - - geometry - - properties - x-jsonld-extra-terms: - properties: '@nest' - x-jsonld-prefixes: - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/features/feature/schema.yaml - beta.schemas.opengis.net_json-fg_featuretype.json: - title: the featureType member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - type: string - - type: array - items: - type: string - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/featuretype.json - beta.schemas.opengis.net_json-fg_link.json: - title: the Link object - description: This JSON Schema is part of JSON-FG version 0.1.1 - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - rel: - type: string - anchor: - type: string - type: - type: string - hreflang: - type: string - title: - type: string - length: - type: string - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/link.json - ogc.ogc-utils.json-link: - description: JSON Link - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - x-jsonld-type: '@id' - x-jsonld-id: http://www.w3.org/ns/oa#hasTarget - rel: - type: string - x-jsonld-id: http://www.iana.org/assignments/relation - x-jsonld-type: '@id' - x-jsonld-base: http://www.iana.org/assignments/relation/ - anchor: - type: string - type: - type: string - x-jsonld-id: http://purl.org/dc/terms/type - hreflang: - type: string - x-jsonld-id: http://purl.org/dc/terms/language - title: - type: string - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#label - length: - type: integer - x-jsonld-id: http://purl.org/dc/terms/extent - x-jsonld-prefixes: - oa: http://www.w3.org/ns/oa# - rdfs: http://www.w3.org/2000/01/rdf-schema# - dct: http://purl.org/dc/terms/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.yaml - beta.schemas.opengis.net_json-fg_time.json: - title: the time member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - type: object - properties: - date: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date - timestamp: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp - interval: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/interval - $defs: - date: - type: string - pattern: ^\d{4}-\d{2}-\d{2}$ - timestamp: - type: string - pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z$ - interval: - type: array - minItems: 2 - maxItems: 2 - items: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp - - type: string - enum: - - .. - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/time.json - beta.schemas.opengis.net_json-fg_coordrefsys.json: - title: the coordRefSys member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys - - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys - $defs: - single-refsys: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-simpleref - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-byref - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-custom - refsys-simpleref: - type: string - format: uri - refsys-byref: - type: object - required: - - type - - href - properties: - type: - type: string - enum: - - Reference - href: - type: string - format: uri - epoch: - type: number - refsys-custom: - type: object - required: - - type - properties: - type: - type: string - not: - enum: - - Reference - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/coordrefsys.json - beta.schemas.opengis.net_json-fg_place.json: - title: the place member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polyhedron - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolyhedron - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPrism - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/CustomGeometry - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/place.json - beta.schemas.opengis.net_json-fg_geometry.json: - title: the geometry member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/GeometryCollection - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/geometry.json - ogc.geo.common.data_types.geojson: - title: GeoJSON Feature - type: object - required: - - type - - properties - - geometry - properties: - type: - type: string - enum: - - Feature - x-jsonld-id: '@type' - id: - oneOf: - - type: number - - type: string - x-jsonld-id: '@id' - properties: - oneOf: - - type: object - x-jsonld-id: '@nest' - nullable: true - geometry: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - x-jsonld-id: '@type' - geometries: - type: array - items: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-id: https://purl.org/geojson/vocab#geometry - nullable: true - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-extra-terms: - Feature: https://purl.org/geojson/vocab#Feature - FeatureCollection: https://purl.org/geojson/vocab#FeatureCollection - GeometryCollection: https://purl.org/geojson/vocab#GeometryCollection - LineString: https://purl.org/geojson/vocab#LineString - MultiLineString: https://purl.org/geojson/vocab#MultiLineString - MultiPoint: https://purl.org/geojson/vocab#MultiPoint - MultiPolygon: https://purl.org/geojson/vocab#MultiPolygon - Point: https://purl.org/geojson/vocab#Point - Polygon: https://purl.org/geojson/vocab#Polygon - features: - x-jsonld-container: '@set' - x-jsonld-id: https://purl.org/geojson/vocab#features - x-jsonld-prefixes: - 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 - 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 - $defs: - CustomGeometry: - title: A custom geometry object - type: object - required: - - type - properties: - type: - type: string - not: - enum: - - Point - - MultiPoint - - LineString - - MultiLineString - - Polygon - - MultiPolygon - - Polyhedron - - MultiPolyhedron - - Prism - - MultiPrism - - GeometryCollection - Point: - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - LineString: - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - Polygon: - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - MultiPoint: - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - MultiLineString: - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - MultiPolygon: - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - Polyhedron: - title: JSON-FG Polyhedron - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polyhedron - coordinates: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - MultiPolyhedron: - title: JSON-FG MultiPolyhedron - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolyhedron - coordinates: - type: array - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - Prism: - title: JSON-FG Prism - type: object - required: - - type - - base - - upper - properties: - type: - type: string - enum: - - Prism - base: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - lower: - type: number - upper: - type: number - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - MultiPrism: - title: JSON-FG Multi-Prism - type: object - required: - - type - - prisms - properties: - type: - type: string - enum: - - MultiPrism - prisms: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - GeometryCollection: - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - geometries: - type: array - items: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - position: - type: array - minItems: 2 - maxItems: 3 - items: - type: number - position3d: - type: array - minItems: 3 - maxItems: 3 - items: - type: number - bbox: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox2d - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - bbox2d: - type: array - minItems: 4 - maxItems: 4 - items: - type: number - bbox3d: - type: array - minItems: 6 - maxItems: 6 - items: - type: number - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/geometry-objects.json allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema-oas3.0.yaml#/x-defs/ogc.geo.json-fg.feature diff --git a/annotated-schemas/geo/json-fg/featureCollection-lenient/context.jsonld b/annotated-schemas/geo/json-fg/featureCollection-lenient/context.jsonld index 70cfacc3e..76b4533fe 100644 --- a/annotated-schemas/geo/json-fg/featureCollection-lenient/context.jsonld +++ b/annotated-schemas/geo/json-fg/featureCollection-lenient/context.jsonld @@ -29,8 +29,8 @@ "@container": "@set", "@id": "geojson:features" }, - "properties": "@nest", "id": "@id", + "properties": "@nest", "geometry": { "@context": {}, "@id": "geojson:geometry" @@ -53,8 +53,8 @@ "@id": "geojson:coordinates" }, "geojson": "https://purl.org/geojson/vocab#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "oa": "http://www.w3.org/ns/oa#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "dct": "http://purl.org/dc/terms/", "@version": 1.1 } diff --git a/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json b/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json index c48db586d..4e3809114 100644 --- a/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json +++ b/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json @@ -18,24 +18,27 @@ ], "x-jsonld-id": "@type" }, - "featureType": {}, + "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, "maximum": 3 }, "coordRefSys": { - "$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_coordrefsys.json" + "$ref": "https://beta.schemas.opengis.net/json-fg/coordrefsys.json" }, "links": { "type": "array", "items": { "allOf": [ { - "$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_link.json" + "$ref": "https://beta.schemas.opengis.net/json-fg/link.json" }, { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" + "$ref": "../../../ogc-utils/json-link/schema.json" } ] }, @@ -44,7 +47,7 @@ "features": { "type": "array", "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json#/x-defs/ogc.geo.json-fg.feature-lenient" + "$ref": "../feature-lenient/schema.json" }, "x-jsonld-container": "@set", "x-jsonld-id": "https://purl.org/geojson/vocab#features" @@ -52,2039 +55,13 @@ } }, { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json#/x-defs/ogc.geo.features.featureCollection" + "$ref": "../../features/featureCollection/schema.json" } ], "x-jsonld-prefixes": { "geojson": "https://purl.org/geojson/vocab#" }, "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json" - }, - "beta.schemas.opengis.net_json-fg_featuretype.json": { - "title": "the featureType member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/featuretype.json" - }, - "beta.schemas.opengis.net_json-fg_coordrefsys.json": { - "title": "the coordRefSys member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$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_coordrefsys.json/$defs/single-refsys" - }, - { - "type": "array", - "items": { - "$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_coordrefsys.json/$defs/single-refsys" - } - } - ], - "$defs": { - "single-refsys": { - "oneOf": [ - { - "$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_coordrefsys.json/$defs/refsys-simpleref" - }, - { - "$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_coordrefsys.json/$defs/refsys-byref" - }, - { - "$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_coordrefsys.json/$defs/refsys-custom" - } - ] - }, - "refsys-simpleref": { - "type": "string", - "format": "uri" - }, - "refsys-byref": { - "type": "object", - "required": [ - "type", - "href" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Reference" - ] - }, - "href": { - "type": "string", - "format": "uri" - }, - "epoch": { - "type": "number" - } - } - }, - "refsys-custom": { - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "not": { - "enum": [ - "Reference" - ] - } - } - } - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/coordrefsys.json" - }, - "beta.schemas.opengis.net_json-fg_link.json": { - "title": "the Link object", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference" - }, - "rel": { - "type": "string" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string" - }, - "hreflang": { - "type": "string" - }, - "title": { - "type": "string" - }, - "length": { - "type": "string" - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/link.json" - }, - "ogc.ogc-utils.json-link": { - "description": "JSON Link", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference", - "x-jsonld-type": "@id", - "x-jsonld-id": "http://www.w3.org/ns/oa#hasTarget" - }, - "rel": { - "type": "string", - "x-jsonld-id": "http://www.iana.org/assignments/relation", - "x-jsonld-type": "@id", - "x-jsonld-base": "http://www.iana.org/assignments/relation/" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/type" - }, - "hreflang": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/language" - }, - "title": { - "type": "string", - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#label" - }, - "length": { - "type": "integer", - "x-jsonld-id": "http://purl.org/dc/terms/extent" - } - }, - "x-jsonld-prefixes": { - "oa": "http://www.w3.org/ns/oa#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", - "dct": "http://purl.org/dc/terms/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.json" - }, - "ogc.geo.json-fg.feature-lenient": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" - }, - { - "type": "object", - "required": [ - "type", - "geometry", - "properties" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ], - "x-jsonld-id": "@type" - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "x-jsonld-id": "@id" - }, - "featureType": {}, - "links": { - "type": "array", - "items": { - "allOf": [ - { - "$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_link.json" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - } - ] - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "time": { - "$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_time.json" - }, - "coordRefSys": { - "$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_coordrefsys.json" - }, - "place": { - "$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_place.json" - }, - "geometry": {}, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "x-jsonld-id": "@nest", - "nullable": true - } - } - } - ], - "x-jsonld-extra-terms": { - "Feature": "https://purl.org/geojson/vocab#Feature", - "FeatureCollection": "https://purl.org/geojson/vocab#FeatureCollection", - "GeometryCollection": "https://purl.org/geojson/vocab#GeometryCollection", - "LineString": "https://purl.org/geojson/vocab#LineString", - "MultiLineString": "https://purl.org/geojson/vocab#MultiLineString", - "MultiPoint": "https://purl.org/geojson/vocab#MultiPoint", - "MultiPolygon": "https://purl.org/geojson/vocab#MultiPolygon", - "Point": "https://purl.org/geojson/vocab#Point", - "Polygon": "https://purl.org/geojson/vocab#Polygon", - "bbox": { - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - }, - "coordinates": { - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "features": { - "x-jsonld-container": "@set", - "x-jsonld-id": "https://purl.org/geojson/vocab#features" - } - }, - "x-jsonld-prefixes": { - "geojson": "https://purl.org/geojson/vocab#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/feature-lenient/schema.json" - }, - "ogc.geo.features.featureCollection": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json#/x-defs/geojson.org_schema_FeatureCollection.json" - }, - { - "type": "object", - "properties": { - "links": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "timeStamp": { - "type": "string", - "format": "date-time" - }, - "numberMatched": { - "type": "integer", - "minimum": 0 - }, - "numberReturned": { - "type": "integer", - "minimum": 0 - }, - "features": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" - } - } - } - } - ], - "x-jsonld-extra-terms": { - "properties": "@nest" - }, - "x-jsonld-prefixes": { - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/features/featureCollection/schema.json" - }, - "ogc.geo.features.feature": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.geojson" - }, - { - "type": "object", - "properties": { - "links": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "type": { - "const": "Feature" - } - }, - "required": [ - "type", - "geometry", - "properties" - ] - } - ], - "x-jsonld-extra-terms": { - "properties": "@nest" - }, - "x-jsonld-prefixes": { - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/features/feature/schema.json" - }, - "beta.schemas.opengis.net_json-fg_time.json": { - "title": "the time member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "type": "object", - "properties": { - "date": { - "$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_time.json/$defs/date" - }, - "timestamp": { - "$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_time.json/$defs/timestamp" - }, - "interval": { - "$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_time.json/$defs/interval" - } - } - } - ], - "$defs": { - "date": { - "type": "string", - "pattern": "^\\d{4}-\\d{2}-\\d{2}$" - }, - "timestamp": { - "type": "string", - "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$" - }, - "interval": { - "type": "array", - "minItems": 2, - "maxItems": 2, - "items": { - "oneOf": [ - { - "$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_time.json/$defs/date" - }, - { - "$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_time.json/$defs/timestamp" - }, - { - "type": "string", - "enum": [ - ".." - ] - } - ] - } - } - }, - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/time.json" - }, - "beta.schemas.opengis.net_json-fg_place.json": { - "title": "the place member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$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_geometry-objects.json/$defs/Point" - }, - { - "$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_geometry-objects.json/$defs/MultiPoint" - }, - { - "$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_geometry-objects.json/$defs/LineString" - }, - { - "$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_geometry-objects.json/$defs/MultiLineString" - }, - { - "$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_geometry-objects.json/$defs/Polygon" - }, - { - "$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_geometry-objects.json/$defs/MultiPolygon" - }, - { - "$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_geometry-objects.json/$defs/Polyhedron" - }, - { - "$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_geometry-objects.json/$defs/MultiPolyhedron" - }, - { - "$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_geometry-objects.json/$defs/Prism" - }, - { - "$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_geometry-objects.json/$defs/MultiPrism" - }, - { - "$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_geometry-objects.json/$defs/CustomGeometry" - } - ], - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/place.json" - }, - "beta.schemas.opengis.net_json-fg_geometry.json": { - "title": "the geometry member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$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_geometry-objects.json/$defs/Point" - }, - { - "$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_geometry-objects.json/$defs/MultiPoint" - }, - { - "$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_geometry-objects.json/$defs/LineString" - }, - { - "$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_geometry-objects.json/$defs/MultiLineString" - }, - { - "$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_geometry-objects.json/$defs/Polygon" - }, - { - "$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_geometry-objects.json/$defs/MultiPolygon" - }, - { - "$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_geometry-objects.json/$defs/GeometryCollection" - } - ], - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/geometry.json" - }, - "geojson.org_schema_FeatureCollection.json": { - "title": "GeoJSON FeatureCollection", - "type": "object", - "required": [ - "type", - "features" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "FeatureCollection" - ] - }, - "features": { - "type": "array", - "items": { - "title": "GeoJSON Feature", - "type": "object", - "required": [ - "type", - "properties", - "geometry" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ] - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "nullable": true - }, - "geometry": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ] - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - } - ] - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - } - ], - "nullable": true - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - }, - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://geojson.org/schema/FeatureCollection.json" - }, - "ogc.geo.common.data_types.geojson": { - "title": "GeoJSON Feature", - "type": "object", - "required": [ - "type", - "properties", - "geometry" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ], - "x-jsonld-id": "@type" - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "x-jsonld-id": "@id" - }, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "x-jsonld-id": "@nest", - "nullable": true - }, - "geometry": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ], - "x-jsonld-id": "@type" - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ] - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ], - "x-jsonld-id": "https://purl.org/geojson/vocab#geometry", - "nullable": true - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - }, - "x-jsonld-extra-terms": { - "Feature": "https://purl.org/geojson/vocab#Feature", - "FeatureCollection": "https://purl.org/geojson/vocab#FeatureCollection", - "GeometryCollection": "https://purl.org/geojson/vocab#GeometryCollection", - "LineString": "https://purl.org/geojson/vocab#LineString", - "MultiLineString": "https://purl.org/geojson/vocab#MultiLineString", - "MultiPoint": "https://purl.org/geojson/vocab#MultiPoint", - "MultiPolygon": "https://purl.org/geojson/vocab#MultiPolygon", - "Point": "https://purl.org/geojson/vocab#Point", - "Polygon": "https://purl.org/geojson/vocab#Polygon", - "features": { - "x-jsonld-container": "@set", - "x-jsonld-id": "https://purl.org/geojson/vocab#features" - } - }, - "x-jsonld-prefixes": { - "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" - }, - "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", - "$defs": { - "CustomGeometry": { - "title": "A custom geometry object", - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "not": { - "enum": [ - "Point", - "MultiPoint", - "LineString", - "MultiLineString", - "Polygon", - "MultiPolygon", - "Polyhedron", - "MultiPolyhedron", - "Prism", - "MultiPrism", - "GeometryCollection" - ] - } - } - } - }, - "Point": { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "$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_geometry-objects.json/$defs/position" - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox" - } - } - }, - "LineString": { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "$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_geometry-objects.json/$defs/position" - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox" - } - } - }, - "Polygon": { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "$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_geometry-objects.json/$defs/position" - } - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiPoint": { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "$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_geometry-objects.json/$defs/position" - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiLineString": { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "$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_geometry-objects.json/$defs/position" - } - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiPolygon": { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "$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_geometry-objects.json/$defs/position" - } - } - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox" - } - } - }, - "Polyhedron": { - "title": "JSON-FG Polyhedron", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polyhedron" - ] - }, - "coordinates": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 4, - "items": { - "$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_geometry-objects.json/$defs/position3d" - } - } - } - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox3d" - } - } - }, - "MultiPolyhedron": { - "title": "JSON-FG MultiPolyhedron", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolyhedron" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 4, - "items": { - "$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_geometry-objects.json/$defs/position3d" - } - } - } - } - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox3d" - } - } - }, - "Prism": { - "title": "JSON-FG Prism", - "type": "object", - "required": [ - "type", - "base", - "upper" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Prism" - ] - }, - "base": { - "oneOf": [ - { - "$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_geometry-objects.json/$defs/Point" - }, - { - "$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_geometry-objects.json/$defs/LineString" - }, - { - "$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_geometry-objects.json/$defs/Polygon" - }, - { - "$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_geometry-objects.json/$defs/MultiPoint" - }, - { - "$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_geometry-objects.json/$defs/MultiLineString" - }, - { - "$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_geometry-objects.json/$defs/MultiPolygon" - } - ] - }, - "lower": { - "type": "number" - }, - "upper": { - "type": "number" - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox3d" - } - } - }, - "MultiPrism": { - "title": "JSON-FG Multi-Prism", - "type": "object", - "required": [ - "type", - "prisms" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPrism" - ] - }, - "prisms": { - "type": "array", - "items": { - "$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_geometry-objects.json/$defs/Prism" - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox3d" - } - } - }, - "GeometryCollection": { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ] - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "$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_geometry-objects.json/$defs/Point" - }, - { - "$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_geometry-objects.json/$defs/MultiPoint" - }, - { - "$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_geometry-objects.json/$defs/LineString" - }, - { - "$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_geometry-objects.json/$defs/MultiLineString" - }, - { - "$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_geometry-objects.json/$defs/Polygon" - }, - { - "$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_geometry-objects.json/$defs/MultiPolygon" - } - ] - } - }, - "bbox": { - "$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_geometry-objects.json/$defs/bbox" - } - } - }, - "position": { - "type": "array", - "minItems": 2, - "maxItems": 3, - "items": { - "type": "number" - } - }, - "position3d": { - "type": "array", - "minItems": 3, - "maxItems": 3, - "items": { - "type": "number" - } - }, - "bbox": { - "oneOf": [ - { - "$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_geometry-objects.json/$defs/bbox2d" - }, - { - "$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_geometry-objects.json/$defs/bbox3d" - } - ] - }, - "bbox2d": { - "type": "array", - "minItems": 4, - "maxItems": 4, - "items": { - "type": "number" - } - }, - "bbox3d": { - "type": "array", - "minItems": 6, - "maxItems": 6, - "items": { - "type": "number" - } - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/geometry-objects.json" } }, "allOf": [ diff --git a/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml b/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml index c4f2e9b3e..ace4c57f8 100644 --- a/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml +++ b/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml @@ -13,1378 +13,31 @@ x-defs: enum: - FeatureCollection x-jsonld-id: '@type' - featureType: {} + 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 maximum: 3 coordRefSys: - $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_coordrefsys.json + $ref: https://beta.schemas.opengis.net/json-fg/coordrefsys.json links: type: array items: allOf: - - $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_link.json - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link + - $ref: https://beta.schemas.opengis.net/json-fg/link.json + - $ref: ../../../ogc-utils/json-link/schema.yaml x-jsonld-id: rdfs:seeAlso features: type: array items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml#/x-defs/ogc.geo.json-fg.feature-lenient + $ref: ../feature-lenient/schema.yaml x-jsonld-container: '@set' x-jsonld-id: https://purl.org/geojson/vocab#features - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml#/x-defs/ogc.geo.features.featureCollection + - $ref: ../../features/featureCollection/schema.yaml x-jsonld-prefixes: geojson: https://purl.org/geojson/vocab# x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml - beta.schemas.opengis.net_json-fg_featuretype.json: - title: the featureType member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - type: string - - type: array - items: - type: string - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/featuretype.json - beta.schemas.opengis.net_json-fg_coordrefsys.json: - title: the coordRefSys member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $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_coordrefsys.json/$defs/single-refsys - - type: array - items: - $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_coordrefsys.json/$defs/single-refsys - $defs: - single-refsys: - oneOf: - - $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_coordrefsys.json/$defs/refsys-simpleref - - $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_coordrefsys.json/$defs/refsys-byref - - $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_coordrefsys.json/$defs/refsys-custom - refsys-simpleref: - type: string - format: uri - refsys-byref: - type: object - required: - - type - - href - properties: - type: - type: string - enum: - - Reference - href: - type: string - format: uri - epoch: - type: number - refsys-custom: - type: object - required: - - type - properties: - type: - type: string - not: - enum: - - Reference - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/coordrefsys.json - beta.schemas.opengis.net_json-fg_link.json: - title: the Link object - description: This JSON Schema is part of JSON-FG version 0.1.1 - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - rel: - type: string - anchor: - type: string - type: - type: string - hreflang: - type: string - title: - type: string - length: - type: string - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/link.json - ogc.ogc-utils.json-link: - description: JSON Link - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - x-jsonld-type: '@id' - x-jsonld-id: http://www.w3.org/ns/oa#hasTarget - rel: - type: string - x-jsonld-id: http://www.iana.org/assignments/relation - x-jsonld-type: '@id' - x-jsonld-base: http://www.iana.org/assignments/relation/ - anchor: - type: string - type: - type: string - x-jsonld-id: http://purl.org/dc/terms/type - hreflang: - type: string - x-jsonld-id: http://purl.org/dc/terms/language - title: - type: string - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#label - length: - type: integer - x-jsonld-id: http://purl.org/dc/terms/extent - x-jsonld-prefixes: - oa: http://www.w3.org/ns/oa# - rdfs: http://www.w3.org/2000/01/rdf-schema# - dct: http://purl.org/dc/terms/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.yaml - ogc.geo.json-fg.feature-lenient: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature - - type: object - required: - - type - - geometry - - properties - properties: - type: - type: string - enum: - - Feature - x-jsonld-id: '@type' - id: - oneOf: - - type: number - - type: string - x-jsonld-id: '@id' - featureType: {} - links: - type: array - items: - allOf: - - $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_link.json - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - time: - $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_time.json - coordRefSys: - $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_coordrefsys.json - place: - $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_place.json - geometry: {} - properties: - oneOf: - - type: object - x-jsonld-id: '@nest' - nullable: true - x-jsonld-extra-terms: - Feature: https://purl.org/geojson/vocab#Feature - FeatureCollection: https://purl.org/geojson/vocab#FeatureCollection - GeometryCollection: https://purl.org/geojson/vocab#GeometryCollection - LineString: https://purl.org/geojson/vocab#LineString - MultiLineString: https://purl.org/geojson/vocab#MultiLineString - MultiPoint: https://purl.org/geojson/vocab#MultiPoint - MultiPolygon: https://purl.org/geojson/vocab#MultiPolygon - Point: https://purl.org/geojson/vocab#Point - Polygon: https://purl.org/geojson/vocab#Polygon - bbox: - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - coordinates: - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - features: - x-jsonld-container: '@set' - x-jsonld-id: https://purl.org/geojson/vocab#features - x-jsonld-prefixes: - geojson: https://purl.org/geojson/vocab# - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/feature-lenient/schema.yaml - ogc.geo.features.featureCollection: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml#/x-defs/geojson.org_schema_FeatureCollection.json - - type: object - properties: - links: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - timeStamp: - type: string - format: date-time - numberMatched: - type: integer - minimum: 0 - numberReturned: - type: integer - minimum: 0 - features: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature - x-jsonld-extra-terms: - properties: '@nest' - x-jsonld-prefixes: - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/features/featureCollection/schema.yaml - ogc.geo.features.feature: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.geojson - - type: object - properties: - links: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - type: - const: Feature - required: - - type - - geometry - - properties - x-jsonld-extra-terms: - properties: '@nest' - x-jsonld-prefixes: - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/features/feature/schema.yaml - beta.schemas.opengis.net_json-fg_time.json: - title: the time member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - type: object - properties: - date: - $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_time.json/$defs/date - timestamp: - $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_time.json/$defs/timestamp - interval: - $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_time.json/$defs/interval - $defs: - date: - type: string - pattern: ^\d{4}-\d{2}-\d{2}$ - timestamp: - type: string - pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z$ - interval: - type: array - minItems: 2 - maxItems: 2 - items: - oneOf: - - $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_time.json/$defs/date - - $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_time.json/$defs/timestamp - - type: string - enum: - - .. - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/time.json - beta.schemas.opengis.net_json-fg_place.json: - title: the place member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $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_geometry-objects.json/$defs/Point - - $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_geometry-objects.json/$defs/MultiPoint - - $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_geometry-objects.json/$defs/LineString - - $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_geometry-objects.json/$defs/MultiLineString - - $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_geometry-objects.json/$defs/Polygon - - $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_geometry-objects.json/$defs/MultiPolygon - - $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_geometry-objects.json/$defs/Polyhedron - - $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_geometry-objects.json/$defs/MultiPolyhedron - - $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_geometry-objects.json/$defs/Prism - - $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_geometry-objects.json/$defs/MultiPrism - - $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_geometry-objects.json/$defs/CustomGeometry - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/place.json - beta.schemas.opengis.net_json-fg_geometry.json: - title: the geometry member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $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_geometry-objects.json/$defs/Point - - $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_geometry-objects.json/$defs/MultiPoint - - $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_geometry-objects.json/$defs/LineString - - $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_geometry-objects.json/$defs/MultiLineString - - $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_geometry-objects.json/$defs/Polygon - - $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_geometry-objects.json/$defs/MultiPolygon - - $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_geometry-objects.json/$defs/GeometryCollection - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/geometry.json - geojson.org_schema_FeatureCollection.json: - title: GeoJSON FeatureCollection - type: object - required: - - type - - features - properties: - type: - type: string - enum: - - FeatureCollection - features: - type: array - items: - title: GeoJSON Feature - type: object - required: - - type - - properties - - geometry - properties: - type: - type: string - enum: - - Feature - id: - oneOf: - - type: number - - type: string - properties: - oneOf: - - type: object - nullable: true - geometry: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - geometries: - type: array - items: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - nullable: true - bbox: - type: array - minItems: 4 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - x-schema-version: http://json-schema.org/draft-07/schema# - x-schema-source: https://geojson.org/schema/FeatureCollection.json - ogc.geo.common.data_types.geojson: - title: GeoJSON Feature - type: object - required: - - type - - properties - - geometry - properties: - type: - type: string - enum: - - Feature - x-jsonld-id: '@type' - id: - oneOf: - - type: number - - type: string - x-jsonld-id: '@id' - properties: - oneOf: - - type: object - x-jsonld-id: '@nest' - nullable: true - geometry: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - x-jsonld-id: '@type' - geometries: - type: array - items: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-id: https://purl.org/geojson/vocab#geometry - nullable: true - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-extra-terms: - Feature: https://purl.org/geojson/vocab#Feature - FeatureCollection: https://purl.org/geojson/vocab#FeatureCollection - GeometryCollection: https://purl.org/geojson/vocab#GeometryCollection - LineString: https://purl.org/geojson/vocab#LineString - MultiLineString: https://purl.org/geojson/vocab#MultiLineString - MultiPoint: https://purl.org/geojson/vocab#MultiPoint - MultiPolygon: https://purl.org/geojson/vocab#MultiPolygon - Point: https://purl.org/geojson/vocab#Point - Polygon: https://purl.org/geojson/vocab#Polygon - features: - x-jsonld-container: '@set' - x-jsonld-id: https://purl.org/geojson/vocab#features - x-jsonld-prefixes: - 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 - 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 - $defs: - CustomGeometry: - title: A custom geometry object - type: object - required: - - type - properties: - type: - type: string - not: - enum: - - Point - - MultiPoint - - LineString - - MultiLineString - - Polygon - - MultiPolygon - - Polyhedron - - MultiPolyhedron - - Prism - - MultiPrism - - GeometryCollection - Point: - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - $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_geometry-objects.json/$defs/position - bbox: - $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_geometry-objects.json/$defs/bbox - LineString: - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - $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_geometry-objects.json/$defs/position - bbox: - $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_geometry-objects.json/$defs/bbox - Polygon: - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - $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_geometry-objects.json/$defs/position - bbox: - $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_geometry-objects.json/$defs/bbox - MultiPoint: - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - $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_geometry-objects.json/$defs/position - bbox: - $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_geometry-objects.json/$defs/bbox - MultiLineString: - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - $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_geometry-objects.json/$defs/position - bbox: - $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_geometry-objects.json/$defs/bbox - MultiPolygon: - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - $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_geometry-objects.json/$defs/position - bbox: - $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_geometry-objects.json/$defs/bbox - Polyhedron: - title: JSON-FG Polyhedron - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polyhedron - coordinates: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 4 - items: - $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_geometry-objects.json/$defs/position3d - bbox: - $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_geometry-objects.json/$defs/bbox3d - MultiPolyhedron: - title: JSON-FG MultiPolyhedron - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolyhedron - coordinates: - type: array - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 4 - items: - $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_geometry-objects.json/$defs/position3d - bbox: - $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_geometry-objects.json/$defs/bbox3d - Prism: - title: JSON-FG Prism - type: object - required: - - type - - base - - upper - properties: - type: - type: string - enum: - - Prism - base: - oneOf: - - $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_geometry-objects.json/$defs/Point - - $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_geometry-objects.json/$defs/LineString - - $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_geometry-objects.json/$defs/Polygon - - $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_geometry-objects.json/$defs/MultiPoint - - $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_geometry-objects.json/$defs/MultiLineString - - $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_geometry-objects.json/$defs/MultiPolygon - lower: - type: number - upper: - type: number - bbox: - $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_geometry-objects.json/$defs/bbox3d - MultiPrism: - title: JSON-FG Multi-Prism - type: object - required: - - type - - prisms - properties: - type: - type: string - enum: - - MultiPrism - prisms: - type: array - items: - $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_geometry-objects.json/$defs/Prism - bbox: - $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_geometry-objects.json/$defs/bbox3d - GeometryCollection: - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - geometries: - type: array - items: - oneOf: - - $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_geometry-objects.json/$defs/Point - - $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_geometry-objects.json/$defs/MultiPoint - - $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_geometry-objects.json/$defs/LineString - - $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_geometry-objects.json/$defs/MultiLineString - - $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_geometry-objects.json/$defs/Polygon - - $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_geometry-objects.json/$defs/MultiPolygon - bbox: - $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_geometry-objects.json/$defs/bbox - position: - type: array - minItems: 2 - maxItems: 3 - items: - type: number - position3d: - type: array - minItems: 3 - maxItems: 3 - items: - type: number - bbox: - oneOf: - - $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_geometry-objects.json/$defs/bbox2d - - $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_geometry-objects.json/$defs/bbox3d - bbox2d: - type: array - minItems: 4 - maxItems: 4 - items: - type: number - bbox3d: - type: array - minItems: 6 - maxItems: 6 - items: - type: number - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/geometry-objects.json allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema-oas3.0.yaml#/x-defs/ogc.geo.json-fg.featureCollection-lenient diff --git a/annotated-schemas/geo/json-fg/featureCollection/context.jsonld b/annotated-schemas/geo/json-fg/featureCollection/context.jsonld index 410079c25..37b97e24a 100644 --- a/annotated-schemas/geo/json-fg/featureCollection/context.jsonld +++ b/annotated-schemas/geo/json-fg/featureCollection/context.jsonld @@ -1,8 +1,5 @@ { "@context": { - "properties": "@nest", - "type": "@type", - "featureType": "geojson:collectionFeatureType", "links": { "@context": { "href": { @@ -23,14 +20,9 @@ }, "@id": "rdfs:seeAlso" }, - "features": { - "@context": { - "featureType": "@type" - }, - "@container": "@set", - "@id": "geojson:features" - }, + "type": "@type", "id": "@id", + "properties": "@nest", "geometry": { "@context": {}, "@id": "geojson:geometry" @@ -48,14 +40,42 @@ "MultiPolygon": "geojson:MultiPolygon", "Point": "geojson:Point", "Polygon": "geojson:Polygon", + "features": { + "@container": "@set", + "@id": "geojson:features", + "@context": { + "links": { + "@context": { + "href": { + "@type": "@id", + "@id": "oa:hasTarget" + }, + "rel": { + "@context": { + "@base": "http://www.iana.org/assignments/relation/" + }, + "@id": "http://www.iana.org/assignments/relation", + "@type": "@id" + }, + "type": "dct:type", + "hreflang": "dct:language", + "title": "rdfs:label", + "length": "dct:extent" + }, + "@id": "rdfs:seeAlso" + }, + "featureType": "@type" + } + }, + "featureType": "geojson:collectionFeatureType", "coordinates": { "@container": "@list", "@id": "geojson:coordinates" }, - "geojson": "https://purl.org/geojson/vocab#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "oa": "http://www.w3.org/ns/oa#", "dct": "http://purl.org/dc/terms/", + "geojson": "https://purl.org/geojson/vocab#", "@version": 1.1 } } \ No newline at end of file diff --git a/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json b/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json index 33985cef8..488c2d0dc 100644 --- a/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json +++ b/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json @@ -10,7 +10,7 @@ ], "allOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/ogc.geo.features.featureCollection" + "$ref": "../../features/featureCollection/schema.json" }, { "properties": { @@ -21,24 +21,27 @@ ], "x-jsonld-id": "@type" }, - "featureType": {}, + "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, "maximum": 3 }, "coordRefSys": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json" + "$ref": "https://beta.schemas.opengis.net/json-fg/coordrefsys.json" }, "links": { "type": "array", "items": { "allOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_link.json" + "$ref": "https://beta.schemas.opengis.net/json-fg/link.json" }, { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" + "$ref": "../../../ogc-utils/json-link/schema.json" } ] }, @@ -47,7 +50,7 @@ "features": { "type": "array", "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/ogc.geo.json-fg.feature" + "$ref": "../feature/schema.json" }, "x-jsonld-container": "@set", "x-jsonld-id": "https://purl.org/geojson/vocab#features" @@ -60,2037 +63,6 @@ }, "x-schema-version": "https://json-schema.org/draft/2019-09/schema", "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json" - }, - "ogc.geo.features.featureCollection": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/geojson.org_schema_FeatureCollection.json" - }, - { - "type": "object", - "properties": { - "links": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "timeStamp": { - "type": "string", - "format": "date-time" - }, - "numberMatched": { - "type": "integer", - "minimum": 0 - }, - "numberReturned": { - "type": "integer", - "minimum": 0 - }, - "features": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" - } - } - } - } - ], - "x-jsonld-extra-terms": { - "properties": "@nest" - }, - "x-jsonld-prefixes": { - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/features/featureCollection/schema.json" - }, - "beta.schemas.opengis.net_json-fg_featuretype.json": { - "title": "the featureType member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/featuretype.json" - }, - "beta.schemas.opengis.net_json-fg_coordrefsys.json": { - "title": "the coordRefSys member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys" - }, - { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys" - } - } - ], - "$defs": { - "single-refsys": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-simpleref" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-byref" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-custom" - } - ] - }, - "refsys-simpleref": { - "type": "string", - "format": "uri" - }, - "refsys-byref": { - "type": "object", - "required": [ - "type", - "href" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Reference" - ] - }, - "href": { - "type": "string", - "format": "uri" - }, - "epoch": { - "type": "number" - } - } - }, - "refsys-custom": { - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "not": { - "enum": [ - "Reference" - ] - } - } - } - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/coordrefsys.json" - }, - "beta.schemas.opengis.net_json-fg_link.json": { - "title": "the Link object", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference" - }, - "rel": { - "type": "string" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string" - }, - "hreflang": { - "type": "string" - }, - "title": { - "type": "string" - }, - "length": { - "type": "string" - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/link.json" - }, - "ogc.ogc-utils.json-link": { - "description": "JSON Link", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference", - "x-jsonld-type": "@id", - "x-jsonld-id": "http://www.w3.org/ns/oa#hasTarget" - }, - "rel": { - "type": "string", - "x-jsonld-id": "http://www.iana.org/assignments/relation", - "x-jsonld-type": "@id", - "x-jsonld-base": "http://www.iana.org/assignments/relation/" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/type" - }, - "hreflang": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/language" - }, - "title": { - "type": "string", - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#label" - }, - "length": { - "type": "integer", - "x-jsonld-id": "http://purl.org/dc/terms/extent" - } - }, - "x-jsonld-prefixes": { - "oa": "http://www.w3.org/ns/oa#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", - "dct": "http://purl.org/dc/terms/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.json" - }, - "ogc.geo.json-fg.feature": { - "title": "a JSON-FG Feature", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "type": "object", - "required": [ - "type", - "time", - "place", - "geometry", - "properties" - ], - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" - }, - { - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ], - "x-jsonld-id": "@type" - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "x-jsonld-id": "@id" - }, - "featureType": {}, - "links": { - "type": "array", - "items": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_link.json" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - } - ] - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "time": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json" - }, - "coordRefSys": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json" - }, - "place": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_place.json" - }, - "geometry": {}, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "x-jsonld-id": "@nest", - "nullable": true - } - } - } - ], - "x-jsonld-extra-terms": { - "Feature": "https://purl.org/geojson/vocab#Feature", - "FeatureCollection": "https://purl.org/geojson/vocab#FeatureCollection", - "GeometryCollection": "https://purl.org/geojson/vocab#GeometryCollection", - "LineString": "https://purl.org/geojson/vocab#LineString", - "MultiLineString": "https://purl.org/geojson/vocab#MultiLineString", - "MultiPoint": "https://purl.org/geojson/vocab#MultiPoint", - "MultiPolygon": "https://purl.org/geojson/vocab#MultiPolygon", - "Point": "https://purl.org/geojson/vocab#Point", - "Polygon": "https://purl.org/geojson/vocab#Polygon", - "bbox": { - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - }, - "coordinates": { - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "features": { - "x-jsonld-container": "@set", - "x-jsonld-id": "https://purl.org/geojson/vocab#features" - } - }, - "x-jsonld-prefixes": { - "geojson": "https://purl.org/geojson/vocab#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/feature/schema.json" - }, - "geojson.org_schema_FeatureCollection.json": { - "title": "GeoJSON FeatureCollection", - "type": "object", - "required": [ - "type", - "features" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "FeatureCollection" - ] - }, - "features": { - "type": "array", - "items": { - "title": "GeoJSON Feature", - "type": "object", - "required": [ - "type", - "properties", - "geometry" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ] - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "nullable": true - }, - "geometry": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ] - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - } - ] - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - } - ], - "nullable": true - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - }, - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://geojson.org/schema/FeatureCollection.json" - }, - "ogc.geo.features.feature": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.geojson" - }, - { - "type": "object", - "properties": { - "links": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "type": { - "const": "Feature" - } - }, - "required": [ - "type", - "geometry", - "properties" - ] - } - ], - "x-jsonld-extra-terms": { - "properties": "@nest" - }, - "x-jsonld-prefixes": { - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/features/feature/schema.json" - }, - "beta.schemas.opengis.net_json-fg_time.json": { - "title": "the time member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "type": "object", - "properties": { - "date": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date" - }, - "timestamp": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp" - }, - "interval": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/interval" - } - } - } - ], - "$defs": { - "date": { - "type": "string", - "pattern": "^\\d{4}-\\d{2}-\\d{2}$" - }, - "timestamp": { - "type": "string", - "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$" - }, - "interval": { - "type": "array", - "minItems": 2, - "maxItems": 2, - "items": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp" - }, - { - "type": "string", - "enum": [ - ".." - ] - } - ] - } - } - }, - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/time.json" - }, - "beta.schemas.opengis.net_json-fg_place.json": { - "title": "the place member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polyhedron" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolyhedron" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPrism" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/CustomGeometry" - } - ], - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/place.json" - }, - "beta.schemas.opengis.net_json-fg_geometry.json": { - "title": "the geometry member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/GeometryCollection" - } - ], - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/geometry.json" - }, - "ogc.geo.common.data_types.geojson": { - "title": "GeoJSON Feature", - "type": "object", - "required": [ - "type", - "properties", - "geometry" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ], - "x-jsonld-id": "@type" - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "x-jsonld-id": "@id" - }, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "x-jsonld-id": "@nest", - "nullable": true - }, - "geometry": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ], - "x-jsonld-id": "@type" - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ] - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ], - "x-jsonld-id": "https://purl.org/geojson/vocab#geometry", - "nullable": true - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - }, - "x-jsonld-extra-terms": { - "Feature": "https://purl.org/geojson/vocab#Feature", - "FeatureCollection": "https://purl.org/geojson/vocab#FeatureCollection", - "GeometryCollection": "https://purl.org/geojson/vocab#GeometryCollection", - "LineString": "https://purl.org/geojson/vocab#LineString", - "MultiLineString": "https://purl.org/geojson/vocab#MultiLineString", - "MultiPoint": "https://purl.org/geojson/vocab#MultiPoint", - "MultiPolygon": "https://purl.org/geojson/vocab#MultiPolygon", - "Point": "https://purl.org/geojson/vocab#Point", - "Polygon": "https://purl.org/geojson/vocab#Polygon", - "features": { - "x-jsonld-container": "@set", - "x-jsonld-id": "https://purl.org/geojson/vocab#features" - } - }, - "x-jsonld-prefixes": { - "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" - }, - "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", - "$defs": { - "CustomGeometry": { - "title": "A custom geometry object", - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "not": { - "enum": [ - "Point", - "MultiPoint", - "LineString", - "MultiLineString", - "Polygon", - "MultiPolygon", - "Polyhedron", - "MultiPolyhedron", - "Prism", - "MultiPrism", - "GeometryCollection" - ] - } - } - } - }, - "Point": { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "LineString": { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "Polygon": { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiPoint": { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiLineString": { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiPolygon": { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "Polyhedron": { - "title": "JSON-FG Polyhedron", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polyhedron" - ] - }, - "coordinates": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d" - } - } - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "MultiPolyhedron": { - "title": "JSON-FG MultiPolyhedron", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolyhedron" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d" - } - } - } - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "Prism": { - "title": "JSON-FG Prism", - "type": "object", - "required": [ - "type", - "base", - "upper" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Prism" - ] - }, - "base": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - } - ] - }, - "lower": { - "type": "number" - }, - "upper": { - "type": "number" - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "MultiPrism": { - "title": "JSON-FG Multi-Prism", - "type": "object", - "required": [ - "type", - "prisms" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPrism" - ] - }, - "prisms": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism" - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "GeometryCollection": { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ] - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - } - ] - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "position": { - "type": "array", - "minItems": 2, - "maxItems": 3, - "items": { - "type": "number" - } - }, - "position3d": { - "type": "array", - "minItems": 3, - "maxItems": 3, - "items": { - "type": "number" - } - }, - "bbox": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox2d" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - ] - }, - "bbox2d": { - "type": "array", - "minItems": 4, - "maxItems": 4, - "items": { - "type": "number" - } - }, - "bbox3d": { - "type": "array", - "minItems": 6, - "maxItems": 6, - "items": { - "type": "number" - } - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/geometry-objects.json" } }, "allOf": [ diff --git a/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml b/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml index 07753d08c..386ef1ec6 100644 --- a/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml +++ b/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml @@ -7,1390 +7,38 @@ x-defs: - type - features allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.features.featureCollection + - $ref: ../../features/featureCollection/schema.yaml - properties: type: type: string enum: - FeatureCollection x-jsonld-id: '@type' - featureType: {} + 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 maximum: 3 coordRefSys: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json + $ref: https://beta.schemas.opengis.net/json-fg/coordrefsys.json links: type: array items: allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_link.json - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link + - $ref: https://beta.schemas.opengis.net/json-fg/link.json + - $ref: ../../../ogc-utils/json-link/schema.yaml x-jsonld-id: rdfs:seeAlso features: type: array items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.json-fg.feature + $ref: ../feature/schema.yaml x-jsonld-container: '@set' x-jsonld-id: https://purl.org/geojson/vocab#features x-jsonld-prefixes: geojson: https://purl.org/geojson/vocab# x-schema-version: https://json-schema.org/draft/2019-09/schema x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml - ogc.geo.features.featureCollection: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/geojson.org_schema_FeatureCollection.json - - type: object - properties: - links: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - timeStamp: - type: string - format: date-time - numberMatched: - type: integer - minimum: 0 - numberReturned: - type: integer - minimum: 0 - features: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature - x-jsonld-extra-terms: - properties: '@nest' - x-jsonld-prefixes: - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/features/featureCollection/schema.yaml - beta.schemas.opengis.net_json-fg_featuretype.json: - title: the featureType member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - type: string - - type: array - items: - type: string - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/featuretype.json - beta.schemas.opengis.net_json-fg_coordrefsys.json: - title: the coordRefSys member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys - - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys - $defs: - single-refsys: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-simpleref - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-byref - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-custom - refsys-simpleref: - type: string - format: uri - refsys-byref: - type: object - required: - - type - - href - properties: - type: - type: string - enum: - - Reference - href: - type: string - format: uri - epoch: - type: number - refsys-custom: - type: object - required: - - type - properties: - type: - type: string - not: - enum: - - Reference - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/coordrefsys.json - beta.schemas.opengis.net_json-fg_link.json: - title: the Link object - description: This JSON Schema is part of JSON-FG version 0.1.1 - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - rel: - type: string - anchor: - type: string - type: - type: string - hreflang: - type: string - title: - type: string - length: - type: string - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/link.json - ogc.ogc-utils.json-link: - description: JSON Link - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - x-jsonld-type: '@id' - x-jsonld-id: http://www.w3.org/ns/oa#hasTarget - rel: - type: string - x-jsonld-id: http://www.iana.org/assignments/relation - x-jsonld-type: '@id' - x-jsonld-base: http://www.iana.org/assignments/relation/ - anchor: - type: string - type: - type: string - x-jsonld-id: http://purl.org/dc/terms/type - hreflang: - type: string - x-jsonld-id: http://purl.org/dc/terms/language - title: - type: string - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#label - length: - type: integer - x-jsonld-id: http://purl.org/dc/terms/extent - x-jsonld-prefixes: - oa: http://www.w3.org/ns/oa# - rdfs: http://www.w3.org/2000/01/rdf-schema# - dct: http://purl.org/dc/terms/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.yaml - ogc.geo.json-fg.feature: - title: a JSON-FG Feature - description: This JSON Schema is part of JSON-FG version 0.1.1 - type: object - required: - - type - - time - - place - - geometry - - properties - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature - - properties: - type: - type: string - enum: - - Feature - x-jsonld-id: '@type' - id: - oneOf: - - type: number - - type: string - x-jsonld-id: '@id' - featureType: {} - links: - type: array - items: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_link.json - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - time: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json - coordRefSys: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json - place: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_place.json - geometry: {} - properties: - oneOf: - - type: object - x-jsonld-id: '@nest' - nullable: true - x-jsonld-extra-terms: - Feature: https://purl.org/geojson/vocab#Feature - FeatureCollection: https://purl.org/geojson/vocab#FeatureCollection - GeometryCollection: https://purl.org/geojson/vocab#GeometryCollection - LineString: https://purl.org/geojson/vocab#LineString - MultiLineString: https://purl.org/geojson/vocab#MultiLineString - MultiPoint: https://purl.org/geojson/vocab#MultiPoint - MultiPolygon: https://purl.org/geojson/vocab#MultiPolygon - Point: https://purl.org/geojson/vocab#Point - Polygon: https://purl.org/geojson/vocab#Polygon - bbox: - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - coordinates: - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - features: - x-jsonld-container: '@set' - x-jsonld-id: https://purl.org/geojson/vocab#features - x-jsonld-prefixes: - geojson: https://purl.org/geojson/vocab# - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/feature/schema.yaml - geojson.org_schema_FeatureCollection.json: - title: GeoJSON FeatureCollection - type: object - required: - - type - - features - properties: - type: - type: string - enum: - - FeatureCollection - features: - type: array - items: - title: GeoJSON Feature - type: object - required: - - type - - properties - - geometry - properties: - type: - type: string - enum: - - Feature - id: - oneOf: - - type: number - - type: string - properties: - oneOf: - - type: object - nullable: true - geometry: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - geometries: - type: array - items: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - nullable: true - bbox: - type: array - minItems: 4 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - x-schema-version: http://json-schema.org/draft-07/schema# - x-schema-source: https://geojson.org/schema/FeatureCollection.json - ogc.geo.features.feature: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.geojson - - type: object - properties: - links: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - type: - const: Feature - required: - - type - - geometry - - properties - x-jsonld-extra-terms: - properties: '@nest' - x-jsonld-prefixes: - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/features/feature/schema.yaml - beta.schemas.opengis.net_json-fg_time.json: - title: the time member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - type: object - properties: - date: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date - timestamp: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp - interval: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/interval - $defs: - date: - type: string - pattern: ^\d{4}-\d{2}-\d{2}$ - timestamp: - type: string - pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z$ - interval: - type: array - minItems: 2 - maxItems: 2 - items: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp - - type: string - enum: - - .. - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/time.json - beta.schemas.opengis.net_json-fg_place.json: - title: the place member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polyhedron - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolyhedron - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPrism - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/CustomGeometry - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/place.json - beta.schemas.opengis.net_json-fg_geometry.json: - title: the geometry member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/GeometryCollection - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/geometry.json - ogc.geo.common.data_types.geojson: - title: GeoJSON Feature - type: object - required: - - type - - properties - - geometry - properties: - type: - type: string - enum: - - Feature - x-jsonld-id: '@type' - id: - oneOf: - - type: number - - type: string - x-jsonld-id: '@id' - properties: - oneOf: - - type: object - x-jsonld-id: '@nest' - nullable: true - geometry: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - x-jsonld-id: '@type' - geometries: - type: array - items: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-id: https://purl.org/geojson/vocab#geometry - nullable: true - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-extra-terms: - Feature: https://purl.org/geojson/vocab#Feature - FeatureCollection: https://purl.org/geojson/vocab#FeatureCollection - GeometryCollection: https://purl.org/geojson/vocab#GeometryCollection - LineString: https://purl.org/geojson/vocab#LineString - MultiLineString: https://purl.org/geojson/vocab#MultiLineString - MultiPoint: https://purl.org/geojson/vocab#MultiPoint - MultiPolygon: https://purl.org/geojson/vocab#MultiPolygon - Point: https://purl.org/geojson/vocab#Point - Polygon: https://purl.org/geojson/vocab#Polygon - features: - x-jsonld-container: '@set' - x-jsonld-id: https://purl.org/geojson/vocab#features - x-jsonld-prefixes: - 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 - 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 - $defs: - CustomGeometry: - title: A custom geometry object - type: object - required: - - type - properties: - type: - type: string - not: - enum: - - Point - - MultiPoint - - LineString - - MultiLineString - - Polygon - - MultiPolygon - - Polyhedron - - MultiPolyhedron - - Prism - - MultiPrism - - GeometryCollection - Point: - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - LineString: - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - Polygon: - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - MultiPoint: - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - MultiLineString: - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - MultiPolygon: - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - Polyhedron: - title: JSON-FG Polyhedron - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polyhedron - coordinates: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - MultiPolyhedron: - title: JSON-FG MultiPolyhedron - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolyhedron - coordinates: - type: array - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - Prism: - title: JSON-FG Prism - type: object - required: - - type - - base - - upper - properties: - type: - type: string - enum: - - Prism - base: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - lower: - type: number - upper: - type: number - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - MultiPrism: - title: JSON-FG Multi-Prism - type: object - required: - - type - - prisms - properties: - type: - type: string - enum: - - MultiPrism - prisms: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - GeometryCollection: - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - geometries: - type: array - items: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - position: - type: array - minItems: 2 - maxItems: 3 - items: - type: number - position3d: - type: array - minItems: 3 - maxItems: 3 - items: - type: number - bbox: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox2d - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - bbox2d: - type: array - minItems: 4 - maxItems: 4 - items: - type: number - bbox3d: - type: array - minItems: 6 - maxItems: 6 - items: - type: number - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/geometry-objects.json allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.json-fg.featureCollection diff --git a/annotated-schemas/geo/json-fg/link-role/context.jsonld b/annotated-schemas/geo/json-fg/link-role/context.jsonld index 6d469981d..5be84ec6f 100644 --- a/annotated-schemas/geo/json-fg/link-role/context.jsonld +++ b/annotated-schemas/geo/json-fg/link-role/context.jsonld @@ -23,10 +23,10 @@ "@id": "dct:conformsTo", "@type": "@id" }, - "prof": "http://www.w3.org/ns/dx/prof/", - "dct": "http://purl.org/dc/terms/", "oa": "http://www.w3.org/ns/oa#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "dct": "http://purl.org/dc/terms/", + "prof": "http://www.w3.org/ns/dx/prof/", "@version": 1.1 } } \ No newline at end of file diff --git a/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.json b/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.json index 68bf302b3..5b89cd823 100644 --- a/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.json +++ b/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.json @@ -4,20 +4,28 @@ "description": "annotated link with role and conformance", "$defs": { "coderef": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.json#/x-defs/ogc.ogc-utils.iri-or-curie" + "$ref": "../../../ogc-utils/iri-or-curie/schema.json" }, "coderefs": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.json#/x-defs/ogc.ogc-utils.iri-or-curie" + "$ref": "../../../ogc-utils/iri-or-curie/schema.json" } }, "allOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" + "$ref": "../../../ogc-utils/json-link/schema.json" }, { "properties": { - "role": {}, - "conformsTo": {} + "role": { + "$ref": "#/$defs/coderef", + "x-jsonld-id": "http://www.w3.org/ns/dx/prof/hasRole", + "x-jsonld-type": "@id" + }, + "conformsTo": { + "$ref": "#/$defs/coderefs", + "x-jsonld-id": "http://purl.org/dc/terms/conformsTo", + "x-jsonld-type": "@id" + } }, "required": [ "role" @@ -29,58 +37,6 @@ "dct": "http://purl.org/dc/terms/" }, "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.json" - }, - "ogc.ogc-utils.iri-or-curie": { - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/ogc-utils/iri-or-curie/schema.json" - }, - "ogc.ogc-utils.json-link": { - "description": "JSON Link", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference", - "x-jsonld-type": "@id", - "x-jsonld-id": "http://www.w3.org/ns/oa#hasTarget" - }, - "rel": { - "type": "string", - "x-jsonld-id": "http://www.iana.org/assignments/relation", - "x-jsonld-type": "@id", - "x-jsonld-base": "http://www.iana.org/assignments/relation/" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/type" - }, - "hreflang": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/language" - }, - "title": { - "type": "string", - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#label" - }, - "length": { - "type": "integer", - "x-jsonld-id": "http://purl.org/dc/terms/extent" - } - }, - "x-jsonld-prefixes": { - "oa": "http://www.w3.org/ns/oa#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", - "dct": "http://purl.org/dc/terms/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.json" } }, "allOf": [ diff --git a/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.yaml b/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.yaml index 7880a5857..52f09e31d 100644 --- a/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.yaml +++ b/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.yaml @@ -3,59 +3,25 @@ x-defs: description: annotated link with role and conformance $defs: coderef: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.iri-or-curie + $ref: ../../../ogc-utils/iri-or-curie/schema.yaml coderefs: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.iri-or-curie + $ref: ../../../ogc-utils/iri-or-curie/schema.yaml allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link + - $ref: ../../../ogc-utils/json-link/schema.yaml - properties: - role: {} - conformsTo: {} + role: + $ref: '#/$defs/coderef' + x-jsonld-id: http://www.w3.org/ns/dx/prof/hasRole + x-jsonld-type: '@id' + conformsTo: + $ref: '#/$defs/coderefs' + x-jsonld-id: http://purl.org/dc/terms/conformsTo + x-jsonld-type: '@id' required: - role x-jsonld-prefixes: prof: http://www.w3.org/ns/dx/prof/ dct: http://purl.org/dc/terms/ x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.yaml - ogc.ogc-utils.iri-or-curie: - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/ogc-utils/iri-or-curie/schema.yaml - ogc.ogc-utils.json-link: - description: JSON Link - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - x-jsonld-type: '@id' - x-jsonld-id: http://www.w3.org/ns/oa#hasTarget - rel: - type: string - x-jsonld-id: http://www.iana.org/assignments/relation - x-jsonld-type: '@id' - x-jsonld-base: http://www.iana.org/assignments/relation/ - anchor: - type: string - type: - type: string - x-jsonld-id: http://purl.org/dc/terms/type - hreflang: - type: string - x-jsonld-id: http://purl.org/dc/terms/language - title: - type: string - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#label - length: - type: integer - x-jsonld-id: http://purl.org/dc/terms/extent - x-jsonld-prefixes: - oa: http://www.w3.org/ns/oa# - rdfs: http://www.w3.org/2000/01/rdf-schema# - dct: http://purl.org/dc/terms/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.yaml allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/link-role/schema-oas3.0.yaml#/x-defs/ogc.geo.json-fg.link-role diff --git a/annotated-schemas/ogc-utils/iri-or-curie/schema-oas3.0.json b/annotated-schemas/ogc-utils/iri-or-curie/schema-oas3.0.json index 1b019ef84..548c18011 100644 --- a/annotated-schemas/ogc-utils/iri-or-curie/schema-oas3.0.json +++ b/annotated-schemas/ogc-utils/iri-or-curie/schema-oas3.0.json @@ -1,6 +1,66 @@ { "x-defs": { "ogc.ogc-utils.iri-or-curie": { + "description": "IRI or CURIE", + "$defs": { + "IRI": { + "type": "string", + "pattern": "^\\w+:(\\/?\\/?)[^\\s]+$" + }, + "CURIE": { + "type": "string", + "pattern": "^[A-Za-z_][^\\s:]*:.*$" + }, + "LocalPart": { + "type": "string", + "pattern": "^[^:]*(\\?.*)?(#.*)?$" + }, + "Single": { + "anyOf": [ + { + "$ref": "#/$defs/IRI" + }, + { + "$ref": "#/$defs/CURIE" + }, + { + "$ref": "#/$defs/LocalPart" + } + ] + }, + "Multiple": { + "oneOf": [ + { + "$ref": "#/$defs/Single" + }, + { + "type": "array", + "items": { + "$ref": "#/$defs/Single" + } + } + ] + }, + "MultipleOrObject": { + "oneOf": [ + { + "$ref": "#/$defs/Multiple" + }, + { + "type": "object" + } + ] + }, + "MultipleOrObjectOrNull": { + "oneOf": [ + { + "$ref": "#/$defs/MultipleOrObject" + } + ], + "nullable": true + } + }, + "$ref": "#/$defs/Single", "x-schema-version": "https://json-schema.org/draft/2020-12/schema", "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/iri-or-curie/schema-oas3.0.json" } diff --git a/annotated-schemas/ogc-utils/iri-or-curie/schema-oas3.0.yaml b/annotated-schemas/ogc-utils/iri-or-curie/schema-oas3.0.yaml index fb62f69ae..d60672b4f 100644 --- a/annotated-schemas/ogc-utils/iri-or-curie/schema-oas3.0.yaml +++ b/annotated-schemas/ogc-utils/iri-or-curie/schema-oas3.0.yaml @@ -1,5 +1,36 @@ x-defs: ogc.ogc-utils.iri-or-curie: + description: IRI or CURIE + $defs: + IRI: + type: string + pattern: ^\w+:(\/?\/?)[^\s]+$ + CURIE: + type: string + pattern: ^[A-Za-z_][^\s:]*:.*$ + LocalPart: + type: string + pattern: ^[^:]*(\?.*)?(#.*)?$ + Single: + anyOf: + - $ref: '#/$defs/IRI' + - $ref: '#/$defs/CURIE' + - $ref: '#/$defs/LocalPart' + Multiple: + oneOf: + - $ref: '#/$defs/Single' + - type: array + items: + $ref: '#/$defs/Single' + MultipleOrObject: + oneOf: + - $ref: '#/$defs/Multiple' + - type: object + MultipleOrObjectOrNull: + oneOf: + - $ref: '#/$defs/MultipleOrObject' + nullable: true + $ref: '#/$defs/Single' x-schema-version: https://json-schema.org/draft/2020-12/schema x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/iri-or-curie/schema-oas3.0.yaml allOf: diff --git a/annotated-schemas/ogc-utils/topology/schema-oas3.0.json b/annotated-schemas/ogc-utils/topology/schema-oas3.0.json index 08d04a499..04b17162b 100644 --- a/annotated-schemas/ogc-utils/topology/schema-oas3.0.json +++ b/annotated-schemas/ogc-utils/topology/schema-oas3.0.json @@ -3,11 +3,14 @@ "ogc.ogc-utils.topology": { "description": "feature with geometry by reference", "properties": { - "type": {}, + "type": { + "$ref": "../iri-or-curie/schema.json", + "x-jsonld-id": "@type" + }, "references": { "type": "array", "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/topology/schema-oas3.0.json#/x-defs/ogc.ogc-utils.iri-or-curie" + "$ref": "../iri-or-curie/schema.json" }, "x-jsonld-id": "https://purl.org/geojson/vocab#relatedFeatures", "x-jsonld-type": "@id", @@ -28,10 +31,6 @@ }, "x-schema-version": "https://json-schema.org/draft/2020-12/schema", "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/topology/schema-oas3.0.json" - }, - "ogc.ogc-utils.iri-or-curie": { - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/iri-or-curie/schema.json" } }, "allOf": [ diff --git a/annotated-schemas/ogc-utils/topology/schema-oas3.0.yaml b/annotated-schemas/ogc-utils/topology/schema-oas3.0.yaml index 750d97a8e..f8eb0446a 100644 --- a/annotated-schemas/ogc-utils/topology/schema-oas3.0.yaml +++ b/annotated-schemas/ogc-utils/topology/schema-oas3.0.yaml @@ -2,11 +2,13 @@ x-defs: ogc.ogc-utils.topology: description: feature with geometry by reference properties: - type: {} + type: + $ref: ../iri-or-curie/schema.yaml + x-jsonld-id: '@type' references: type: array items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/topology/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.iri-or-curie + $ref: ../iri-or-curie/schema.yaml x-jsonld-id: https://purl.org/geojson/vocab#relatedFeatures x-jsonld-type: '@id' x-jsonld-container: '@list' @@ -21,8 +23,5 @@ x-defs: dct: http://purl.org/dc/terms/ x-schema-version: https://json-schema.org/draft/2020-12/schema x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/topology/schema-oas3.0.yaml - ogc.ogc-utils.iri-or-curie: - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/iri-or-curie/schema.yaml allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/topology/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.topology diff --git a/annotated-schemas/unstable/sosa/context.jsonld b/annotated-schemas/unstable/sosa/context.jsonld index ffe5942d5..54c4bd0e2 100644 --- a/annotated-schemas/unstable/sosa/context.jsonld +++ b/annotated-schemas/unstable/sosa/context.jsonld @@ -1,15 +1,30 @@ { "@context": { - "Observation": "sosa:Observation", - "Sample": "sosa:Sample", - "System": "sosa:System", - "Platform": "sosa:Platform", + "resultTime": "sosa:resultTime", + "phenomenonTime": "sosa:phenomenonTime", + "hasFeatureOfInterest": { + "@id": "sosa:hasFeatureOfInterest", + "@type": "@id" + }, "observedProperty": { "@id": "sosa:observedProperty", "@type": "@id" }, + "usedProcedure": { + "@id": "sosa:usedProcedure", + "@type": "@id" + }, + "madeBySensor": { + "@id": "sosa:madeBySensor", + "@type": "@id" + }, + "hasResult": "sosa:hasResult", + "hasSimpleResult": "sosa:hasSimpleResult", + "Observation": "sosa:Observation", + "Sample": "sosa:Sample", + "System": "sosa:System", + "Platform": "sosa:Platform", "id": "@id", - "phenomenonTime": "sosa:phenomenonTime", "observes": { "@id": "sosa:observes", "@type": "@id" @@ -22,10 +37,6 @@ "@id": "sosa:madeObservation", "@type": "@id" }, - "madeBySensor": { - "@id": "sosa:madeBySensor", - "@type": "@id" - }, "actsOnProperty": { "@id": "sosa:actsOnProperty", "@type": "@id" @@ -58,22 +69,11 @@ "@id": "sosa:madeBySampler", "@type": "@id" }, - "hasFeatureOfInterest": { - "@id": "sosa:hasFeatureOfInterest", - "@type": "@id" - }, "isFeatureOfInterestOf": { "@id": "sosa:isFeatureOfInterestOf", "@type": "@id" }, - "hasResult": "sosa:hasResult", "isResultOf": "sosa:isResultOf", - "hasSimpleResult": "sosa:hasSimpleResult", - "resultTime": "sosa:resultTime", - "usedProcedure": { - "@id": "sosa:usedProcedure", - "@type": "@id" - }, "hosts": { "@id": "sosa:hosts", "@type": "@id", @@ -110,19 +110,48 @@ "qualityOfObservation": "ssn-system:qualityOfObservation", "hasMember": { "@context": { - "features": "sosa:hasMember" + "featureType": "@type" }, "@id": "sosa:hasMember" }, "features": { "@context": { - "features": "sosa:hasMember" + "features": { + "@container": "@set", + "@id": "geojson:features" + }, + "featureType": "@type" }, - "@id": "geojson:features", - "@container": "@set" + "@container": "@set", + "@id": "sosa:hasMember" }, - "featureType": "@type", "properties": "@nest", + "featureType": "geojson:collectionFeatureType", + "position": { + "@context": { + "lat": "geo:lat", + "lon": "geo:long", + "h": "geopose:h" + }, + "@id": "geopose:position" + }, + "angles": { + "@context": { + "yaw": "geopose:yaw", + "pitch": "geopose:pitch", + "roll": "geopose:roll" + }, + "@id": "geopose:angles" + }, + "type": "@type", + "geometry": { + "@context": {}, + "@id": "geojson:geometry" + }, + "bbox": { + "@container": "@list", + "@id": "geojson:bbox" + }, "Feature": "geojson:Feature", "FeatureCollection": "geojson:FeatureCollection", "GeometryCollection": "geojson:GeometryCollection", @@ -132,15 +161,6 @@ "MultiPolygon": "geojson:MultiPolygon", "Point": "geojson:Point", "Polygon": "geojson:Polygon", - "bbox": { - "@container": "@list", - "@id": "geojson:bbox" - }, - "coordinates": { - "@container": "@list", - "@id": "geojson:coordinates" - }, - "type": "@type", "links": { "@context": { "href": { @@ -161,30 +181,17 @@ }, "@id": "rdfs:seeAlso" }, - "geometry": "geojson:geometry", - "position": { - "@context": { - "lat": "geo:lat", - "lon": "geo:long", - "h": "geopose:h" - }, - "@id": "geopose:position" - }, - "angles": { - "@context": { - "yaw": "geopose:yaw", - "pitch": "geopose:pitch", - "roll": "geopose:roll" - }, - "@id": "geopose:angles" + "coordinates": { + "@container": "@list", + "@id": "geojson:coordinates" }, "sosa": "http://www.w3.org/ns/sosa/", "ssn-system": "ssn:systems/", "ssn": "http://www.w3.org/ns/ssn/", - "geojson": "https://purl.org/geojson/vocab#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "geopose": "http://example.com/geopose/", "geo": "http://www.w3.org/2003/01/geo/wgs84_pos#", + "geojson": "https://purl.org/geojson/vocab#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "oa": "http://www.w3.org/ns/oa#", "dct": "http://purl.org/dc/terms/", "@version": 1.1 diff --git a/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.json b/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.json index 225d44c49..ba9536ae6 100644 --- a/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.json +++ b/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.json @@ -4,7 +4,7 @@ "description": "Example SOSA Vector Observation", "allOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.properties.observation" + "$ref": "../../properties/observation/schema.json" }, { "type": "object", @@ -12,7 +12,7 @@ "hasResult": { "properties": { "pose": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.json#/x-defs/ogc.geo.geopose.basic.ypr" + "$ref": "../../../../geo/geopose/basic/ypr/schema.json" }, "distance": { "type": "number" @@ -32,344 +32,6 @@ ], "x-schema-version": "https://json-schema.org/draft/2020-12/schema", "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.json" - }, - "ogc.unstable.sosa.properties.observation": { - "description": "SOSA Observation", - "type": "object", - "properties": { - "resultTime": { - "type": "string", - "format": "date-time", - "x-jsonld-id": "http://www.w3.org/ns/sosa/resultTime" - }, - "phenomenonTime": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/phenomenonTime", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "hasFeatureOfInterest": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasFeatureOfInterest", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "observedProperty": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/observedProperty", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "usedProcedure": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/usedProcedure", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "madeBySensor": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySensor", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "hasResult": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasResult" - }, - "hasSimpleResult": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSimpleResult" - } - }, - "anyOf": [ - { - "required": [ - "hasResult" - ] - }, - { - "required": [ - "hasSimpleResult" - ] - } - ], - "x-jsonld-extra-terms": { - "Observation": "http://www.w3.org/ns/sosa/Observation", - "Sample": "http://www.w3.org/ns/sosa/Sample", - "System": "http://www.w3.org/ns/sosa/System", - "Platform": "http://www.w3.org/ns/sosa/Platform", - "id": "@id", - "observes": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/observes", - "x-jsonld-type": "@id" - }, - "isObservedBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isObservedBy", - "x-jsonld-type": "@id" - }, - "madeObservation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeObservation", - "x-jsonld-type": "@id" - }, - "actsOnProperty": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/actsOnProperty", - "x-jsonld-type": "@id" - }, - "isActedOnBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isActedOnBy", - "x-jsonld-type": "@id" - }, - "madeActuation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeActuation", - "x-jsonld-type": "@id" - }, - "madeByActuator": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeByActuator", - "x-jsonld-type": "@id" - }, - "hasSample": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSample", - "x-jsonld-type": "@id" - }, - "isSampleOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isSampleOf", - "x-jsonld-type": "@id" - }, - "madeSampling": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeSampling", - "x-jsonld-type": "@id" - }, - "madeBySampler": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySampler", - "x-jsonld-type": "@id" - }, - "isFeatureOfInterestOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isFeatureOfInterestOf", - "x-jsonld-type": "@id" - }, - "isResultOf": "http://www.w3.org/ns/sosa/isResultOf", - "hosts": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hosts", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "isHostedBy": "http://www.w3.org/ns/sosa/isHostedBy", - "isProxyFor": "http://www.w3.org/ns/sosa/isProxyFor", - "wasOriginatedBy": "http://www.w3.org/ns/sosa/wasOriginatedBy", - "detects": "http://www.w3.org/ns/sosa/detects", - "hasProperty": "http://www.w3.org/ns/sosa/hasProperty", - "isPropertyOf": "http://www.w3.org/ns/sosa/isPropertyOf", - "forProperty": "http://www.w3.org/ns/sosa/forProperty", - "implements": "http://www.w3.org/ns/sosa/implements", - "implementedBy": "http://www.w3.org/ns/sosa/implementedBy", - "hasInput": "http://www.w3.org/ns/sosa/hasInput", - "hasOutput": "http://www.w3.org/ns/sosa/hasOutput", - "hasSubSystem": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSubSystem", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "deployedSystem": "http://www.w3.org/ns/sosa/deployedSystem", - "hasDeployment": "http://www.w3.org/ns/sosa/hasDeployment", - "deployedOnPlatform": "http://www.w3.org/ns/sosa/deployedOnPlatform", - "inDeployment": "http://www.w3.org/ns/sosa/inDeployment", - "inCondition": "http://www.w3.org/ns/ssn/systems/inCondition", - "hasSystemCapability": "http://www.w3.org/ns/ssn/systems/hasSystemCapability", - "hasSystemProperty": "http://www.w3.org/ns/ssn/systems/hasSystemProperty", - "hasOperatingRange": "http://www.w3.org/ns/ssn/systems/hasOperatingRange", - "hasOperatingProperty": "http://www.w3.org/ns/ssn/systems/hasOperatingProperty", - "hasSurvivalRange": "http://www.w3.org/ns/ssn/systems/hasSurvivalRange", - "hasSurvivalProperty": "http://www.w3.org/ns/ssn/systems/hasSurvivalProperty", - "qualityOfObservation": "http://www.w3.org/ns/ssn/systems/qualityOfObservation", - "hasMember": "http://www.w3.org/ns/sosa/hasMember", - "features": "http://www.w3.org/ns/sosa/hasMember", - "properties": "@nest", - "featureType": "@type" - }, - "x-jsonld-prefixes": { - "sosa": "http://www.w3.org/ns/sosa/", - "ssn-system": "http://www.w3.org/ns/ssn/systems/", - "ssn": "http://www.w3.org/ns/ssn/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/properties/observation/schema.json" - }, - "ogc.geo.geopose.basic.ypr": { - "description": "Basic-YPR: Basic GeoPose using yaw, pitch, and roll to specify orientation", - "definitions": { - "angles": { - "type": "object", - "properties": { - "yaw": { - "type": "number", - "x-jsonld-id": "http://example.com/geopose/yaw" - }, - "pitch": { - "type": "number", - "x-jsonld-id": "http://example.com/geopose/pitch" - }, - "roll": { - "type": "number", - "x-jsonld-id": "http://example.com/geopose/roll" - } - }, - "required": [ - "yaw", - "pitch", - "roll" - ] - }, - "Position": { - "type": "object", - "properties": { - "lat": { - "type": "number", - "x-jsonld-id": "http://www.w3.org/2003/01/geo/wgs84_pos#lat" - }, - "lon": { - "type": "number", - "x-jsonld-id": "http://www.w3.org/2003/01/geo/wgs84_pos#long" - }, - "h": { - "type": "number", - "x-jsonld-id": "http://example.com/geopose/h" - } - }, - "required": [ - "lat", - "lon", - "h" - ] - } - }, - "type": "object", - "properties": { - "position": {}, - "angles": {} - }, - "required": [ - "position", - "angles" - ], - "x-jsonld-prefixes": { - "geopose": "http://example.com/geopose/", - "geo": "http://www.w3.org/2003/01/geo/wgs84_pos#" - }, - "x-schema-source": "https://schemas.opengis.net/geopose/1.0/schemata/GeoPose.Basic.YPR.Schema.json" - }, - "schemas.opengis.net_geopose_1.0_schemata_GeoPose.Basic.YPR.Schema.json": { - "description": "Basic-YPR: Basic GeoPose using yaw, pitch, and roll to specify orientation", - "definitions": { - "angles": { - "type": "object", - "properties": { - "yaw": { - "type": "number" - }, - "pitch": { - "type": "number" - }, - "roll": { - "type": "number" - } - }, - "required": [ - "yaw", - "pitch", - "roll" - ] - }, - "Position": { - "type": "object", - "properties": { - "lat": { - "type": "number" - }, - "lon": { - "type": "number" - }, - "h": { - "type": "number" - } - }, - "required": [ - "lat", - "lon", - "h" - ] - } - }, - "type": "object", - "properties": { - "position": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.json#/x-defs/schemas.opengis.net_geopose_1.0_schemata_GeoPose.Basic.YPR.Schema.json/definitions/Position" - }, - "angles": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.json#/x-defs/schemas.opengis.net_geopose_1.0_schemata_GeoPose.Basic.YPR.Schema.json/definitions/angles" - } - }, - "required": [ - "position", - "angles" - ], - "x-schema-source": "https://schemas.opengis.net/geopose/1.0/schemata/GeoPose.Basic.YPR.Schema.json" } }, "allOf": [ diff --git a/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.yaml b/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.yaml index 41885d8a8..8596afae9 100644 --- a/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.yaml +++ b/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.yaml @@ -2,13 +2,13 @@ x-defs: ogc.unstable.sosa.examples.vectorObservation: description: Example SOSA Vector Observation allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.observation + - $ref: ../../properties/observation/schema.yaml - type: object properties: hasResult: properties: pose: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.yaml#/x-defs/ogc.geo.geopose.basic.ypr + $ref: ../../../../geo/geopose/basic/ypr/schema.yaml distance: type: number required: @@ -18,240 +18,5 @@ x-defs: - hasSimpleResult x-schema-version: https://json-schema.org/draft/2020-12/schema x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.yaml - ogc.unstable.sosa.properties.observation: - description: SOSA Observation - type: object - properties: - resultTime: - type: string - format: date-time - x-jsonld-id: http://www.w3.org/ns/sosa/resultTime - phenomenonTime: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/phenomenonTime - anyOf: - anyOf: - - type: object - - type: string - hasFeatureOfInterest: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/hasFeatureOfInterest - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - observedProperty: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/observedProperty - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - usedProcedure: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/usedProcedure - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - madeBySensor: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySensor - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - hasResult: - x-jsonld-id: http://www.w3.org/ns/sosa/hasResult - hasSimpleResult: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSimpleResult - anyOf: - - required: - - hasResult - - required: - - hasSimpleResult - x-jsonld-extra-terms: - Observation: http://www.w3.org/ns/sosa/Observation - Sample: http://www.w3.org/ns/sosa/Sample - System: http://www.w3.org/ns/sosa/System - Platform: http://www.w3.org/ns/sosa/Platform - id: '@id' - observes: - x-jsonld-id: http://www.w3.org/ns/sosa/observes - x-jsonld-type: '@id' - isObservedBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isObservedBy - x-jsonld-type: '@id' - madeObservation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeObservation - x-jsonld-type: '@id' - actsOnProperty: - x-jsonld-id: http://www.w3.org/ns/sosa/actsOnProperty - x-jsonld-type: '@id' - isActedOnBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isActedOnBy - x-jsonld-type: '@id' - madeActuation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeActuation - x-jsonld-type: '@id' - madeByActuator: - x-jsonld-id: http://www.w3.org/ns/sosa/madeByActuator - x-jsonld-type: '@id' - hasSample: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSample - x-jsonld-type: '@id' - isSampleOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isSampleOf - x-jsonld-type: '@id' - madeSampling: - x-jsonld-id: http://www.w3.org/ns/sosa/madeSampling - x-jsonld-type: '@id' - madeBySampler: - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySampler - x-jsonld-type: '@id' - isFeatureOfInterestOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isFeatureOfInterestOf - x-jsonld-type: '@id' - isResultOf: http://www.w3.org/ns/sosa/isResultOf - hosts: - x-jsonld-id: http://www.w3.org/ns/sosa/hosts - x-jsonld-type: '@id' - x-jsonld-container: '@set' - isHostedBy: http://www.w3.org/ns/sosa/isHostedBy - isProxyFor: http://www.w3.org/ns/sosa/isProxyFor - wasOriginatedBy: http://www.w3.org/ns/sosa/wasOriginatedBy - detects: http://www.w3.org/ns/sosa/detects - hasProperty: http://www.w3.org/ns/sosa/hasProperty - isPropertyOf: http://www.w3.org/ns/sosa/isPropertyOf - forProperty: http://www.w3.org/ns/sosa/forProperty - implements: http://www.w3.org/ns/sosa/implements - implementedBy: http://www.w3.org/ns/sosa/implementedBy - hasInput: http://www.w3.org/ns/sosa/hasInput - hasOutput: http://www.w3.org/ns/sosa/hasOutput - hasSubSystem: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSubSystem - x-jsonld-type: '@id' - x-jsonld-container: '@set' - deployedSystem: http://www.w3.org/ns/sosa/deployedSystem - hasDeployment: http://www.w3.org/ns/sosa/hasDeployment - deployedOnPlatform: http://www.w3.org/ns/sosa/deployedOnPlatform - inDeployment: http://www.w3.org/ns/sosa/inDeployment - inCondition: http://www.w3.org/ns/ssn/systems/inCondition - hasSystemCapability: http://www.w3.org/ns/ssn/systems/hasSystemCapability - hasSystemProperty: http://www.w3.org/ns/ssn/systems/hasSystemProperty - hasOperatingRange: http://www.w3.org/ns/ssn/systems/hasOperatingRange - hasOperatingProperty: http://www.w3.org/ns/ssn/systems/hasOperatingProperty - hasSurvivalRange: http://www.w3.org/ns/ssn/systems/hasSurvivalRange - hasSurvivalProperty: http://www.w3.org/ns/ssn/systems/hasSurvivalProperty - qualityOfObservation: http://www.w3.org/ns/ssn/systems/qualityOfObservation - hasMember: http://www.w3.org/ns/sosa/hasMember - features: http://www.w3.org/ns/sosa/hasMember - properties: '@nest' - featureType: '@type' - x-jsonld-prefixes: - sosa: http://www.w3.org/ns/sosa/ - ssn-system: http://www.w3.org/ns/ssn/systems/ - ssn: http://www.w3.org/ns/ssn/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/properties/observation/schema.yaml - ogc.geo.geopose.basic.ypr: - description: 'Basic-YPR: Basic GeoPose using yaw, pitch, and roll to specify orientation' - definitions: - angles: - type: object - properties: - yaw: - type: number - x-jsonld-id: http://example.com/geopose/yaw - pitch: - type: number - x-jsonld-id: http://example.com/geopose/pitch - roll: - type: number - x-jsonld-id: http://example.com/geopose/roll - required: - - yaw - - pitch - - roll - Position: - type: object - properties: - lat: - type: number - x-jsonld-id: http://www.w3.org/2003/01/geo/wgs84_pos#lat - lon: - type: number - x-jsonld-id: http://www.w3.org/2003/01/geo/wgs84_pos#long - h: - type: number - x-jsonld-id: http://example.com/geopose/h - required: - - lat - - lon - - h - type: object - properties: - position: {} - angles: {} - required: - - position - - angles - x-jsonld-prefixes: - geopose: http://example.com/geopose/ - geo: http://www.w3.org/2003/01/geo/wgs84_pos# - x-schema-source: https://schemas.opengis.net/geopose/1.0/schemata/GeoPose.Basic.YPR.Schema.json - schemas.opengis.net_geopose_1.0_schemata_GeoPose.Basic.YPR.Schema.json: - description: 'Basic-YPR: Basic GeoPose using yaw, pitch, and roll to specify orientation' - definitions: - angles: - type: object - properties: - yaw: - type: number - pitch: - type: number - roll: - type: number - required: - - yaw - - pitch - - roll - Position: - type: object - properties: - lat: - type: number - lon: - type: number - h: - type: number - required: - - lat - - lon - - h - type: object - properties: - position: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_geopose_1.0_schemata_GeoPose.Basic.YPR.Schema.json/definitions/Position - angles: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_geopose_1.0_schemata_GeoPose.Basic.YPR.Schema.json/definitions/angles - required: - - position - - angles - x-schema-source: https://schemas.opengis.net/geopose/1.0/schemata/GeoPose.Basic.YPR.Schema.json allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservation/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.examples.vectorObservation diff --git a/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/context.jsonld b/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/context.jsonld index 58f9f3e7a..4e82a975a 100644 --- a/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/context.jsonld +++ b/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/context.jsonld @@ -1,15 +1,84 @@ { "@context": { - "Observation": "sosa:Observation", - "Sample": "sosa:Sample", - "System": "sosa:System", - "Platform": "sosa:Platform", + "type": "@type", + "id": "@id", + "properties": "@nest", + "geometry": { + "@context": {}, + "@id": "geojson:geometry" + }, + "bbox": { + "@container": "@list", + "@id": "geojson:bbox" + }, + "Feature": "geojson:Feature", + "FeatureCollection": "geojson:FeatureCollection", + "GeometryCollection": "geojson:GeometryCollection", + "LineString": "geojson:LineString", + "MultiLineString": "geojson:MultiLineString", + "MultiPoint": "geojson:MultiPoint", + "MultiPolygon": "geojson:MultiPolygon", + "Point": "geojson:Point", + "Polygon": "geojson:Polygon", + "features": { + "@container": "@set", + "@id": "sosa:hasMember", + "@context": { + "features": { + "@container": "@set", + "@id": "geojson:features" + } + } + }, + "links": { + "@context": { + "href": { + "@type": "@id", + "@id": "oa:hasTarget" + }, + "rel": { + "@context": { + "@base": "http://www.iana.org/assignments/relation/" + }, + "@id": "http://www.iana.org/assignments/relation", + "@type": "@id" + }, + "type": "dct:type", + "hreflang": "dct:language", + "title": "rdfs:label", + "length": "dct:extent" + }, + "@id": "rdfs:seeAlso" + }, + "featureType": "@type", + "coordinates": { + "@container": "@list", + "@id": "geojson:coordinates" + }, + "resultTime": "sosa:resultTime", + "phenomenonTime": "sosa:phenomenonTime", + "hasFeatureOfInterest": { + "@id": "sosa:hasFeatureOfInterest", + "@type": "@id" + }, "observedProperty": { "@id": "sosa:observedProperty", "@type": "@id" }, - "id": "@id", - "phenomenonTime": "sosa:phenomenonTime", + "usedProcedure": { + "@id": "sosa:usedProcedure", + "@type": "@id" + }, + "madeBySensor": { + "@id": "sosa:madeBySensor", + "@type": "@id" + }, + "hasResult": "sosa:hasResult", + "hasSimpleResult": "sosa:hasSimpleResult", + "Observation": "sosa:Observation", + "Sample": "sosa:Sample", + "System": "sosa:System", + "Platform": "sosa:Platform", "observes": { "@id": "sosa:observes", "@type": "@id" @@ -22,10 +91,6 @@ "@id": "sosa:madeObservation", "@type": "@id" }, - "madeBySensor": { - "@id": "sosa:madeBySensor", - "@type": "@id" - }, "actsOnProperty": { "@id": "sosa:actsOnProperty", "@type": "@id" @@ -58,22 +123,11 @@ "@id": "sosa:madeBySampler", "@type": "@id" }, - "hasFeatureOfInterest": { - "@id": "sosa:hasFeatureOfInterest", - "@type": "@id" - }, "isFeatureOfInterestOf": { "@id": "sosa:isFeatureOfInterestOf", "@type": "@id" }, - "hasResult": "sosa:hasResult", "isResultOf": "sosa:isResultOf", - "hasSimpleResult": "sosa:hasSimpleResult", - "resultTime": "sosa:resultTime", - "usedProcedure": { - "@id": "sosa:usedProcedure", - "@type": "@id" - }, "hosts": { "@id": "sosa:hosts", "@type": "@id", @@ -108,59 +162,9 @@ "hasSurvivalProperty": "ssn-system:hasSurvivalProperty", "qualityOfObservation": "ssn-system:qualityOfObservation", "hasMember": { - "@context": { - "features": "sosa:hasMember" - }, + "@context": {}, "@id": "sosa:hasMember" }, - "features": { - "@context": { - "features": "sosa:hasMember" - }, - "@id": "geojson:features", - "@container": "@set" - }, - "featureType": "@type", - "Feature": "geojson:Feature", - "FeatureCollection": "geojson:FeatureCollection", - "GeometryCollection": "geojson:GeometryCollection", - "LineString": "geojson:LineString", - "MultiLineString": "geojson:MultiLineString", - "MultiPoint": "geojson:MultiPoint", - "MultiPolygon": "geojson:MultiPolygon", - "Point": "geojson:Point", - "Polygon": "geojson:Polygon", - "bbox": { - "@container": "@list", - "@id": "geojson:bbox" - }, - "coordinates": { - "@container": "@list", - "@id": "geojson:coordinates" - }, - "properties": "@nest", - "type": "@type", - "links": { - "@context": { - "href": { - "@type": "@id", - "@id": "oa:hasTarget" - }, - "rel": { - "@context": { - "@base": "http://www.iana.org/assignments/relation/" - }, - "@id": "http://www.iana.org/assignments/relation", - "@type": "@id" - }, - "type": "dct:type", - "hreflang": "dct:language", - "title": "rdfs:label", - "length": "dct:extent" - }, - "@id": "rdfs:seeAlso" - }, - "geometry": "geojson:geometry", "position": { "@context": { "lat": "geo:lat", @@ -177,15 +181,15 @@ }, "@id": "geopose:angles" }, + "geojson": "https://purl.org/geojson/vocab#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "oa": "http://www.w3.org/ns/oa#", + "dct": "http://purl.org/dc/terms/", "sosa": "http://www.w3.org/ns/sosa/", "ssn-system": "ssn:systems/", "ssn": "http://www.w3.org/ns/ssn/", - "geojson": "https://purl.org/geojson/vocab#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "geopose": "http://example.com/geopose/", "geo": "http://www.w3.org/2003/01/geo/wgs84_pos#", - "oa": "http://www.w3.org/ns/oa#", - "dct": "http://purl.org/dc/terms/", "@version": 1.1 } } \ No newline at end of file diff --git a/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json b/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json index 432120d3c..4bc683352 100644 --- a/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json +++ b/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json @@ -6,13 +6,13 @@ "VectorObservation": { "allOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.features.observation" + "$ref": "../../features/observation/schema.json" }, { "type": "object", "properties": { "properties": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.examples.vectorObservation" + "$ref": "../vectorObservation/schema.json" } } } @@ -21,7 +21,7 @@ "VectorObservationCollection": { "allOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.features.observationCollection" + "$ref": "../../features/observationCollection/schema.json" }, { "type": "object", @@ -29,7 +29,7 @@ "features": { "type": "array", "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.examples.vectorObservationFeature/$defs/VectorObservation" + "$ref": "#/$defs/VectorObservation" } } } @@ -39,2998 +39,14 @@ }, "anyOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.examples.vectorObservationFeature/$defs/VectorObservation" + "$ref": "#/$defs/VectorObservation" }, { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.examples.vectorObservationFeature/$defs/VectorObservationCollection" + "$ref": "#/$defs/VectorObservationCollection" } ], "x-schema-version": "https://json-schema.org/draft/2020-12/schema", "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json" - }, - "ogc.unstable.sosa.features.observation": { - "description": "SOSA Observation Feature", - "type": "object", - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.geo.json-fg.feature-lenient" - }, - { - "type": "object", - "properties": { - "properties": {} - } - } - ], - "x-jsonld-extra-terms": { - "Observation": "http://www.w3.org/ns/sosa/Observation", - "Sample": "http://www.w3.org/ns/sosa/Sample", - "System": "http://www.w3.org/ns/sosa/System", - "Platform": "http://www.w3.org/ns/sosa/Platform", - "observedProperty": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/observedProperty", - "x-jsonld-type": "@id" - }, - "id": "@id", - "phenomenonTime": "http://www.w3.org/ns/sosa/phenomenonTime", - "observes": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/observes", - "x-jsonld-type": "@id" - }, - "isObservedBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isObservedBy", - "x-jsonld-type": "@id" - }, - "madeObservation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeObservation", - "x-jsonld-type": "@id" - }, - "madeBySensor": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySensor", - "x-jsonld-type": "@id" - }, - "actsOnProperty": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/actsOnProperty", - "x-jsonld-type": "@id" - }, - "isActedOnBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isActedOnBy", - "x-jsonld-type": "@id" - }, - "madeActuation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeActuation", - "x-jsonld-type": "@id" - }, - "madeByActuator": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeByActuator", - "x-jsonld-type": "@id" - }, - "hasSample": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSample", - "x-jsonld-type": "@id" - }, - "isSampleOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isSampleOf", - "x-jsonld-type": "@id" - }, - "madeSampling": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeSampling", - "x-jsonld-type": "@id" - }, - "madeBySampler": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySampler", - "x-jsonld-type": "@id" - }, - "hasFeatureOfInterest": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasFeatureOfInterest", - "x-jsonld-type": "@id" - }, - "isFeatureOfInterestOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isFeatureOfInterestOf", - "x-jsonld-type": "@id" - }, - "hasResult": "http://www.w3.org/ns/sosa/hasResult", - "isResultOf": "http://www.w3.org/ns/sosa/isResultOf", - "hasSimpleResult": "http://www.w3.org/ns/sosa/hasSimpleResult", - "resultTime": "http://www.w3.org/ns/sosa/resultTime", - "usedProcedure": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/usedProcedure", - "x-jsonld-type": "@id" - }, - "hosts": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hosts", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "isHostedBy": "http://www.w3.org/ns/sosa/isHostedBy", - "isProxyFor": "http://www.w3.org/ns/sosa/isProxyFor", - "wasOriginatedBy": "http://www.w3.org/ns/sosa/wasOriginatedBy", - "detects": "http://www.w3.org/ns/sosa/detects", - "hasProperty": "http://www.w3.org/ns/sosa/hasProperty", - "isPropertyOf": "http://www.w3.org/ns/sosa/isPropertyOf", - "forProperty": "http://www.w3.org/ns/sosa/forProperty", - "implements": "http://www.w3.org/ns/sosa/implements", - "implementedBy": "http://www.w3.org/ns/sosa/implementedBy", - "hasInput": "http://www.w3.org/ns/sosa/hasInput", - "hasOutput": "http://www.w3.org/ns/sosa/hasOutput", - "hasSubSystem": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSubSystem", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "deployedSystem": "http://www.w3.org/ns/sosa/deployedSystem", - "hasDeployment": "http://www.w3.org/ns/sosa/hasDeployment", - "deployedOnPlatform": "http://www.w3.org/ns/sosa/deployedOnPlatform", - "inDeployment": "http://www.w3.org/ns/sosa/inDeployment", - "inCondition": "http://www.w3.org/ns/ssn/systems/inCondition", - "hasSystemCapability": "http://www.w3.org/ns/ssn/systems/hasSystemCapability", - "hasSystemProperty": "http://www.w3.org/ns/ssn/systems/hasSystemProperty", - "hasOperatingRange": "http://www.w3.org/ns/ssn/systems/hasOperatingRange", - "hasOperatingProperty": "http://www.w3.org/ns/ssn/systems/hasOperatingProperty", - "hasSurvivalRange": "http://www.w3.org/ns/ssn/systems/hasSurvivalRange", - "hasSurvivalProperty": "http://www.w3.org/ns/ssn/systems/hasSurvivalProperty", - "qualityOfObservation": "http://www.w3.org/ns/ssn/systems/qualityOfObservation", - "hasMember": "http://www.w3.org/ns/sosa/hasMember", - "features": "http://www.w3.org/ns/sosa/hasMember", - "featureType": "@type" - }, - "x-jsonld-prefixes": { - "sosa": "http://www.w3.org/ns/sosa/", - "ssn-system": "http://www.w3.org/ns/ssn/systems/", - "ssn": "http://www.w3.org/ns/ssn/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/features/observation/schema.json" - }, - "ogc.unstable.sosa.examples.vectorObservation": { - "description": "Example SOSA Vector Observation", - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.properties.observation" - }, - { - "type": "object", - "properties": { - "hasResult": { - "properties": { - "pose": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.geo.geopose.basic.ypr" - }, - "distance": { - "type": "number" - } - } - } - }, - "required": [ - "hasResult" - ], - "not": { - "required": [ - "hasSimpleResult" - ] - } - } - ], - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/vectorObservation/schema.json" - }, - "ogc.unstable.sosa.features.observationCollection": { - "description": "SOSA Observation Feature", - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.geo.json-fg.featureCollection-lenient" - }, - { - "type": "object", - "properties": { - "properties": {}, - "features": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.features.observation" - }, - { - "type": "string" - } - ] - }, - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasMember" - } - } - } - ], - "x-jsonld-extra-terms": { - "Observation": "http://www.w3.org/ns/sosa/Observation", - "Sample": "http://www.w3.org/ns/sosa/Sample", - "System": "http://www.w3.org/ns/sosa/System", - "Platform": "http://www.w3.org/ns/sosa/Platform", - "observedProperty": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/observedProperty", - "x-jsonld-type": "@id" - }, - "id": "@id", - "phenomenonTime": "http://www.w3.org/ns/sosa/phenomenonTime", - "observes": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/observes", - "x-jsonld-type": "@id" - }, - "isObservedBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isObservedBy", - "x-jsonld-type": "@id" - }, - "madeObservation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeObservation", - "x-jsonld-type": "@id" - }, - "madeBySensor": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySensor", - "x-jsonld-type": "@id" - }, - "actsOnProperty": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/actsOnProperty", - "x-jsonld-type": "@id" - }, - "isActedOnBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isActedOnBy", - "x-jsonld-type": "@id" - }, - "madeActuation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeActuation", - "x-jsonld-type": "@id" - }, - "madeByActuator": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeByActuator", - "x-jsonld-type": "@id" - }, - "hasSample": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSample", - "x-jsonld-type": "@id" - }, - "isSampleOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isSampleOf", - "x-jsonld-type": "@id" - }, - "madeSampling": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeSampling", - "x-jsonld-type": "@id" - }, - "madeBySampler": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySampler", - "x-jsonld-type": "@id" - }, - "hasFeatureOfInterest": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasFeatureOfInterest", - "x-jsonld-type": "@id" - }, - "isFeatureOfInterestOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isFeatureOfInterestOf", - "x-jsonld-type": "@id" - }, - "hasResult": "http://www.w3.org/ns/sosa/hasResult", - "isResultOf": "http://www.w3.org/ns/sosa/isResultOf", - "hasSimpleResult": "http://www.w3.org/ns/sosa/hasSimpleResult", - "resultTime": "http://www.w3.org/ns/sosa/resultTime", - "usedProcedure": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/usedProcedure", - "x-jsonld-type": "@id" - }, - "hosts": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hosts", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "isHostedBy": "http://www.w3.org/ns/sosa/isHostedBy", - "isProxyFor": "http://www.w3.org/ns/sosa/isProxyFor", - "wasOriginatedBy": "http://www.w3.org/ns/sosa/wasOriginatedBy", - "detects": "http://www.w3.org/ns/sosa/detects", - "hasProperty": "http://www.w3.org/ns/sosa/hasProperty", - "isPropertyOf": "http://www.w3.org/ns/sosa/isPropertyOf", - "forProperty": "http://www.w3.org/ns/sosa/forProperty", - "implements": "http://www.w3.org/ns/sosa/implements", - "implementedBy": "http://www.w3.org/ns/sosa/implementedBy", - "hasInput": "http://www.w3.org/ns/sosa/hasInput", - "hasOutput": "http://www.w3.org/ns/sosa/hasOutput", - "hasSubSystem": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSubSystem", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "deployedSystem": "http://www.w3.org/ns/sosa/deployedSystem", - "hasDeployment": "http://www.w3.org/ns/sosa/hasDeployment", - "deployedOnPlatform": "http://www.w3.org/ns/sosa/deployedOnPlatform", - "inDeployment": "http://www.w3.org/ns/sosa/inDeployment", - "inCondition": "http://www.w3.org/ns/ssn/systems/inCondition", - "hasSystemCapability": "http://www.w3.org/ns/ssn/systems/hasSystemCapability", - "hasSystemProperty": "http://www.w3.org/ns/ssn/systems/hasSystemProperty", - "hasOperatingRange": "http://www.w3.org/ns/ssn/systems/hasOperatingRange", - "hasOperatingProperty": "http://www.w3.org/ns/ssn/systems/hasOperatingProperty", - "hasSurvivalRange": "http://www.w3.org/ns/ssn/systems/hasSurvivalRange", - "hasSurvivalProperty": "http://www.w3.org/ns/ssn/systems/hasSurvivalProperty", - "qualityOfObservation": "http://www.w3.org/ns/ssn/systems/qualityOfObservation", - "hasMember": "http://www.w3.org/ns/sosa/hasMember", - "featureType": "@type" - }, - "x-jsonld-prefixes": { - "sosa": "http://www.w3.org/ns/sosa/", - "ssn-system": "http://www.w3.org/ns/ssn/systems/", - "ssn": "http://www.w3.org/ns/ssn/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/features/observationCollection/schema.json" - }, - "ogc.geo.json-fg.feature-lenient": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" - }, - { - "type": "object", - "required": [ - "type", - "geometry", - "properties" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ], - "x-jsonld-id": "@type" - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "x-jsonld-id": "@id" - }, - "featureType": {}, - "links": { - "type": "array", - "items": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_link.json" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - } - ] - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "time": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json" - }, - "coordRefSys": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json" - }, - "place": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_place.json" - }, - "geometry": {}, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "x-jsonld-id": "@nest", - "nullable": true - } - } - } - ], - "x-jsonld-extra-terms": { - "Feature": "https://purl.org/geojson/vocab#Feature", - "FeatureCollection": "https://purl.org/geojson/vocab#FeatureCollection", - "GeometryCollection": "https://purl.org/geojson/vocab#GeometryCollection", - "LineString": "https://purl.org/geojson/vocab#LineString", - "MultiLineString": "https://purl.org/geojson/vocab#MultiLineString", - "MultiPoint": "https://purl.org/geojson/vocab#MultiPoint", - "MultiPolygon": "https://purl.org/geojson/vocab#MultiPolygon", - "Point": "https://purl.org/geojson/vocab#Point", - "Polygon": "https://purl.org/geojson/vocab#Polygon", - "bbox": { - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - }, - "coordinates": { - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "features": { - "x-jsonld-container": "@set", - "x-jsonld-id": "https://purl.org/geojson/vocab#features" - } - }, - "x-jsonld-prefixes": { - "geojson": "https://purl.org/geojson/vocab#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/geo/json-fg/feature-lenient/schema.json" - }, - "ogc.unstable.sosa.properties.observation": { - "description": "SOSA Observation", - "type": "object", - "properties": { - "resultTime": { - "type": "string", - "format": "date-time", - "x-jsonld-id": "http://www.w3.org/ns/sosa/resultTime" - }, - "phenomenonTime": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/phenomenonTime", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "hasFeatureOfInterest": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasFeatureOfInterest", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "observedProperty": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/observedProperty", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "usedProcedure": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/usedProcedure", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "madeBySensor": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySensor", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "hasResult": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasResult" - }, - "hasSimpleResult": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSimpleResult" - } - }, - "anyOf": [ - { - "required": [ - "hasResult" - ] - }, - { - "required": [ - "hasSimpleResult" - ] - } - ], - "x-jsonld-extra-terms": { - "Observation": "http://www.w3.org/ns/sosa/Observation", - "Sample": "http://www.w3.org/ns/sosa/Sample", - "System": "http://www.w3.org/ns/sosa/System", - "Platform": "http://www.w3.org/ns/sosa/Platform", - "id": "@id", - "observes": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/observes", - "x-jsonld-type": "@id" - }, - "isObservedBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isObservedBy", - "x-jsonld-type": "@id" - }, - "madeObservation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeObservation", - "x-jsonld-type": "@id" - }, - "actsOnProperty": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/actsOnProperty", - "x-jsonld-type": "@id" - }, - "isActedOnBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isActedOnBy", - "x-jsonld-type": "@id" - }, - "madeActuation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeActuation", - "x-jsonld-type": "@id" - }, - "madeByActuator": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeByActuator", - "x-jsonld-type": "@id" - }, - "hasSample": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSample", - "x-jsonld-type": "@id" - }, - "isSampleOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isSampleOf", - "x-jsonld-type": "@id" - }, - "madeSampling": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeSampling", - "x-jsonld-type": "@id" - }, - "madeBySampler": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySampler", - "x-jsonld-type": "@id" - }, - "isFeatureOfInterestOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isFeatureOfInterestOf", - "x-jsonld-type": "@id" - }, - "isResultOf": "http://www.w3.org/ns/sosa/isResultOf", - "hosts": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hosts", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "isHostedBy": "http://www.w3.org/ns/sosa/isHostedBy", - "isProxyFor": "http://www.w3.org/ns/sosa/isProxyFor", - "wasOriginatedBy": "http://www.w3.org/ns/sosa/wasOriginatedBy", - "detects": "http://www.w3.org/ns/sosa/detects", - "hasProperty": "http://www.w3.org/ns/sosa/hasProperty", - "isPropertyOf": "http://www.w3.org/ns/sosa/isPropertyOf", - "forProperty": "http://www.w3.org/ns/sosa/forProperty", - "implements": "http://www.w3.org/ns/sosa/implements", - "implementedBy": "http://www.w3.org/ns/sosa/implementedBy", - "hasInput": "http://www.w3.org/ns/sosa/hasInput", - "hasOutput": "http://www.w3.org/ns/sosa/hasOutput", - "hasSubSystem": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSubSystem", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "deployedSystem": "http://www.w3.org/ns/sosa/deployedSystem", - "hasDeployment": "http://www.w3.org/ns/sosa/hasDeployment", - "deployedOnPlatform": "http://www.w3.org/ns/sosa/deployedOnPlatform", - "inDeployment": "http://www.w3.org/ns/sosa/inDeployment", - "inCondition": "http://www.w3.org/ns/ssn/systems/inCondition", - "hasSystemCapability": "http://www.w3.org/ns/ssn/systems/hasSystemCapability", - "hasSystemProperty": "http://www.w3.org/ns/ssn/systems/hasSystemProperty", - "hasOperatingRange": "http://www.w3.org/ns/ssn/systems/hasOperatingRange", - "hasOperatingProperty": "http://www.w3.org/ns/ssn/systems/hasOperatingProperty", - "hasSurvivalRange": "http://www.w3.org/ns/ssn/systems/hasSurvivalRange", - "hasSurvivalProperty": "http://www.w3.org/ns/ssn/systems/hasSurvivalProperty", - "qualityOfObservation": "http://www.w3.org/ns/ssn/systems/qualityOfObservation", - "hasMember": "http://www.w3.org/ns/sosa/hasMember", - "features": "http://www.w3.org/ns/sosa/hasMember", - "properties": "@nest", - "featureType": "@type" - }, - "x-jsonld-prefixes": { - "sosa": "http://www.w3.org/ns/sosa/", - "ssn-system": "http://www.w3.org/ns/ssn/systems/", - "ssn": "http://www.w3.org/ns/ssn/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/properties/observation/schema.json" - }, - "ogc.geo.geopose.basic.ypr": { - "description": "Basic-YPR: Basic GeoPose using yaw, pitch, and roll to specify orientation", - "definitions": { - "angles": { - "type": "object", - "properties": { - "yaw": { - "type": "number", - "x-jsonld-id": "http://example.com/geopose/yaw" - }, - "pitch": { - "type": "number", - "x-jsonld-id": "http://example.com/geopose/pitch" - }, - "roll": { - "type": "number", - "x-jsonld-id": "http://example.com/geopose/roll" - } - }, - "required": [ - "yaw", - "pitch", - "roll" - ] - }, - "Position": { - "type": "object", - "properties": { - "lat": { - "type": "number", - "x-jsonld-id": "http://www.w3.org/2003/01/geo/wgs84_pos#lat" - }, - "lon": { - "type": "number", - "x-jsonld-id": "http://www.w3.org/2003/01/geo/wgs84_pos#long" - }, - "h": { - "type": "number", - "x-jsonld-id": "http://example.com/geopose/h" - } - }, - "required": [ - "lat", - "lon", - "h" - ] - } - }, - "type": "object", - "properties": { - "position": {}, - "angles": {} - }, - "required": [ - "position", - "angles" - ], - "x-jsonld-prefixes": { - "geopose": "http://example.com/geopose/", - "geo": "http://www.w3.org/2003/01/geo/wgs84_pos#" - }, - "x-schema-source": "https://schemas.opengis.net/geopose/1.0/schemata/GeoPose.Basic.YPR.Schema.json" - }, - "ogc.geo.json-fg.featureCollection-lenient": { - "allOf": [ - { - "title": "a JSON-FG Feature Collection", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "type": "object", - "required": [ - "type", - "features" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "FeatureCollection" - ], - "x-jsonld-id": "@type" - }, - "featureType": {}, - "geometryDimension": { - "type": "integer", - "minimum": 0, - "maximum": 3 - }, - "coordRefSys": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json" - }, - "links": { - "type": "array", - "items": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_link.json" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - } - ] - }, - "x-jsonld-id": "rdfs:seeAlso" - }, - "features": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.geo.json-fg.feature-lenient" - }, - "x-jsonld-container": "@set", - "x-jsonld-id": "https://purl.org/geojson/vocab#features" - } - } - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.geo.features.featureCollection" - } - ], - "x-jsonld-prefixes": { - "geojson": "https://purl.org/geojson/vocab#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/geo/json-fg/featureCollection-lenient/schema.json" - }, - "ogc.unstable.sosa.properties.observationCollection": { - "description": "SOSA ObservationCollection", - "$defs": { - "collection": { - "type": "object", - "properties": { - "resultTime": { - "type": "string", - "format": "date-time", - "x-jsonld-id": "http://www.w3.org/ns/sosa/resultTime" - }, - "phenomenonTime": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/phenomenonTime", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "hasFeatureOfInterest": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasFeatureOfInterest", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "observedProperty": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/observedProperty", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "usedProcedure": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/usedProcedure", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "madeBySensor": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySensor", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "hasMember": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.properties.observationCollection/$defs/collection" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.properties.observation" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.ogc-utils.iri-or-curie" - } - ] - }, - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasMember" - } - } - } - }, - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.properties.observationCollection/$defs/collection" - }, - { - "not": { - "anyOf": [ - { - "required": [ - "hasResult" - ] - }, - { - "required": [ - "hasSimpleResult" - ] - } - ] - } - } - ], - "x-jsonld-extra-terms": { - "Observation": "http://www.w3.org/ns/sosa/Observation", - "Sample": "http://www.w3.org/ns/sosa/Sample", - "System": "http://www.w3.org/ns/sosa/System", - "Platform": "http://www.w3.org/ns/sosa/Platform", - "id": "@id", - "observes": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/observes", - "x-jsonld-type": "@id" - }, - "isObservedBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isObservedBy", - "x-jsonld-type": "@id" - }, - "madeObservation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeObservation", - "x-jsonld-type": "@id" - }, - "actsOnProperty": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/actsOnProperty", - "x-jsonld-type": "@id" - }, - "isActedOnBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isActedOnBy", - "x-jsonld-type": "@id" - }, - "madeActuation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeActuation", - "x-jsonld-type": "@id" - }, - "madeByActuator": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeByActuator", - "x-jsonld-type": "@id" - }, - "hasSample": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSample", - "x-jsonld-type": "@id" - }, - "isSampleOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isSampleOf", - "x-jsonld-type": "@id" - }, - "madeSampling": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeSampling", - "x-jsonld-type": "@id" - }, - "madeBySampler": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySampler", - "x-jsonld-type": "@id" - }, - "isFeatureOfInterestOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isFeatureOfInterestOf", - "x-jsonld-type": "@id" - }, - "hasResult": "http://www.w3.org/ns/sosa/hasResult", - "isResultOf": "http://www.w3.org/ns/sosa/isResultOf", - "hasSimpleResult": "http://www.w3.org/ns/sosa/hasSimpleResult", - "hosts": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hosts", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "isHostedBy": "http://www.w3.org/ns/sosa/isHostedBy", - "isProxyFor": "http://www.w3.org/ns/sosa/isProxyFor", - "wasOriginatedBy": "http://www.w3.org/ns/sosa/wasOriginatedBy", - "detects": "http://www.w3.org/ns/sosa/detects", - "hasProperty": "http://www.w3.org/ns/sosa/hasProperty", - "isPropertyOf": "http://www.w3.org/ns/sosa/isPropertyOf", - "forProperty": "http://www.w3.org/ns/sosa/forProperty", - "implements": "http://www.w3.org/ns/sosa/implements", - "implementedBy": "http://www.w3.org/ns/sosa/implementedBy", - "hasInput": "http://www.w3.org/ns/sosa/hasInput", - "hasOutput": "http://www.w3.org/ns/sosa/hasOutput", - "hasSubSystem": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSubSystem", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "deployedSystem": "http://www.w3.org/ns/sosa/deployedSystem", - "hasDeployment": "http://www.w3.org/ns/sosa/hasDeployment", - "deployedOnPlatform": "http://www.w3.org/ns/sosa/deployedOnPlatform", - "inDeployment": "http://www.w3.org/ns/sosa/inDeployment", - "inCondition": "http://www.w3.org/ns/ssn/systems/inCondition", - "hasSystemCapability": "http://www.w3.org/ns/ssn/systems/hasSystemCapability", - "hasSystemProperty": "http://www.w3.org/ns/ssn/systems/hasSystemProperty", - "hasOperatingRange": "http://www.w3.org/ns/ssn/systems/hasOperatingRange", - "hasOperatingProperty": "http://www.w3.org/ns/ssn/systems/hasOperatingProperty", - "hasSurvivalRange": "http://www.w3.org/ns/ssn/systems/hasSurvivalRange", - "hasSurvivalProperty": "http://www.w3.org/ns/ssn/systems/hasSurvivalProperty", - "qualityOfObservation": "http://www.w3.org/ns/ssn/systems/qualityOfObservation", - "features": "http://www.w3.org/ns/sosa/hasMember", - "properties": "@nest", - "featureType": "@type" - }, - "x-jsonld-prefixes": { - "sosa": "http://www.w3.org/ns/sosa/", - "ssn-system": "http://www.w3.org/ns/ssn/systems/", - "ssn": "http://www.w3.org/ns/ssn/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/properties/observationCollection/schema.json" - }, - "ogc.geo.features.feature": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.geojson" - }, - { - "type": "object", - "properties": { - "links": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "type": { - "const": "Feature" - } - }, - "required": [ - "type", - "geometry", - "properties" - ] - } - ], - "x-jsonld-extra-terms": { - "properties": "@nest" - }, - "x-jsonld-prefixes": { - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/geo/features/feature/schema.json" - }, - "beta.schemas.opengis.net_json-fg_featuretype.json": { - "title": "the featureType member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/featuretype.json" - }, - "beta.schemas.opengis.net_json-fg_link.json": { - "title": "the Link object", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference" - }, - "rel": { - "type": "string" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string" - }, - "hreflang": { - "type": "string" - }, - "title": { - "type": "string" - }, - "length": { - "type": "string" - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/link.json" - }, - "ogc.ogc-utils.json-link": { - "description": "JSON Link", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference", - "x-jsonld-type": "@id", - "x-jsonld-id": "http://www.w3.org/ns/oa#hasTarget" - }, - "rel": { - "type": "string", - "x-jsonld-id": "http://www.iana.org/assignments/relation", - "x-jsonld-type": "@id", - "x-jsonld-base": "http://www.iana.org/assignments/relation/" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/type" - }, - "hreflang": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/language" - }, - "title": { - "type": "string", - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#label" - }, - "length": { - "type": "integer", - "x-jsonld-id": "http://purl.org/dc/terms/extent" - } - }, - "x-jsonld-prefixes": { - "oa": "http://www.w3.org/ns/oa#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", - "dct": "http://purl.org/dc/terms/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.json" - }, - "beta.schemas.opengis.net_json-fg_time.json": { - "title": "the time member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "type": "object", - "properties": { - "date": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date" - }, - "timestamp": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp" - }, - "interval": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/interval" - } - } - } - ], - "$defs": { - "date": { - "type": "string", - "pattern": "^\\d{4}-\\d{2}-\\d{2}$" - }, - "timestamp": { - "type": "string", - "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$" - }, - "interval": { - "type": "array", - "minItems": 2, - "maxItems": 2, - "items": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp" - }, - { - "type": "string", - "enum": [ - ".." - ] - } - ] - } - } - }, - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/time.json" - }, - "beta.schemas.opengis.net_json-fg_coordrefsys.json": { - "title": "the coordRefSys member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys" - }, - { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys" - } - } - ], - "$defs": { - "single-refsys": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-simpleref" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-byref" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-custom" - } - ] - }, - "refsys-simpleref": { - "type": "string", - "format": "uri" - }, - "refsys-byref": { - "type": "object", - "required": [ - "type", - "href" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Reference" - ] - }, - "href": { - "type": "string", - "format": "uri" - }, - "epoch": { - "type": "number" - } - } - }, - "refsys-custom": { - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "not": { - "enum": [ - "Reference" - ] - } - } - } - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/coordrefsys.json" - }, - "beta.schemas.opengis.net_json-fg_place.json": { - "title": "the place member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polyhedron" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolyhedron" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPrism" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/CustomGeometry" - } - ], - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/place.json" - }, - "beta.schemas.opengis.net_json-fg_geometry.json": { - "title": "the geometry member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/GeometryCollection" - } - ], - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/geometry.json" - }, - "schemas.opengis.net_geopose_1.0_schemata_GeoPose.Basic.YPR.Schema.json": { - "description": "Basic-YPR: Basic GeoPose using yaw, pitch, and roll to specify orientation", - "definitions": { - "angles": { - "type": "object", - "properties": { - "yaw": { - "type": "number" - }, - "pitch": { - "type": "number" - }, - "roll": { - "type": "number" - } - }, - "required": [ - "yaw", - "pitch", - "roll" - ] - }, - "Position": { - "type": "object", - "properties": { - "lat": { - "type": "number" - }, - "lon": { - "type": "number" - }, - "h": { - "type": "number" - } - }, - "required": [ - "lat", - "lon", - "h" - ] - } - }, - "type": "object", - "properties": { - "position": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/schemas.opengis.net_geopose_1.0_schemata_GeoPose.Basic.YPR.Schema.json/definitions/Position" - }, - "angles": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/schemas.opengis.net_geopose_1.0_schemata_GeoPose.Basic.YPR.Schema.json/definitions/angles" - } - }, - "required": [ - "position", - "angles" - ], - "x-schema-source": "https://schemas.opengis.net/geopose/1.0/schemata/GeoPose.Basic.YPR.Schema.json" - }, - "ogc.geo.features.featureCollection": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/geojson.org_schema_FeatureCollection.json" - }, - { - "type": "object", - "properties": { - "links": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "timeStamp": { - "type": "string", - "format": "date-time" - }, - "numberMatched": { - "type": "integer", - "minimum": 0 - }, - "numberReturned": { - "type": "integer", - "minimum": 0 - }, - "features": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" - } - } - } - } - ], - "x-jsonld-extra-terms": { - "properties": "@nest" - }, - "x-jsonld-prefixes": { - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/geo/features/featureCollection/schema.json" - }, - "ogc.ogc-utils.iri-or-curie": { - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/ogc-utils/iri-or-curie/schema.json" - }, - "ogc.geo.common.data_types.geojson": { - "title": "GeoJSON Feature", - "type": "object", - "required": [ - "type", - "properties", - "geometry" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ], - "x-jsonld-id": "@type" - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "x-jsonld-id": "@id" - }, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "x-jsonld-id": "@nest", - "nullable": true - }, - "geometry": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ], - "x-jsonld-id": "@type" - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ] - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ], - "x-jsonld-id": "https://purl.org/geojson/vocab#geometry", - "nullable": true - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - }, - "x-jsonld-extra-terms": { - "Feature": "https://purl.org/geojson/vocab#Feature", - "FeatureCollection": "https://purl.org/geojson/vocab#FeatureCollection", - "GeometryCollection": "https://purl.org/geojson/vocab#GeometryCollection", - "LineString": "https://purl.org/geojson/vocab#LineString", - "MultiLineString": "https://purl.org/geojson/vocab#MultiLineString", - "MultiPoint": "https://purl.org/geojson/vocab#MultiPoint", - "MultiPolygon": "https://purl.org/geojson/vocab#MultiPolygon", - "Point": "https://purl.org/geojson/vocab#Point", - "Polygon": "https://purl.org/geojson/vocab#Polygon", - "features": { - "x-jsonld-container": "@set", - "x-jsonld-id": "https://purl.org/geojson/vocab#features" - } - }, - "x-jsonld-prefixes": { - "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" - }, - "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", - "$defs": { - "CustomGeometry": { - "title": "A custom geometry object", - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "not": { - "enum": [ - "Point", - "MultiPoint", - "LineString", - "MultiLineString", - "Polygon", - "MultiPolygon", - "Polyhedron", - "MultiPolyhedron", - "Prism", - "MultiPrism", - "GeometryCollection" - ] - } - } - } - }, - "Point": { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "LineString": { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "Polygon": { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiPoint": { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiLineString": { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiPolygon": { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "Polyhedron": { - "title": "JSON-FG Polyhedron", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polyhedron" - ] - }, - "coordinates": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d" - } - } - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "MultiPolyhedron": { - "title": "JSON-FG MultiPolyhedron", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolyhedron" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d" - } - } - } - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "Prism": { - "title": "JSON-FG Prism", - "type": "object", - "required": [ - "type", - "base", - "upper" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Prism" - ] - }, - "base": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - } - ] - }, - "lower": { - "type": "number" - }, - "upper": { - "type": "number" - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "MultiPrism": { - "title": "JSON-FG Multi-Prism", - "type": "object", - "required": [ - "type", - "prisms" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPrism" - ] - }, - "prisms": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism" - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "GeometryCollection": { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ] - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - } - ] - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "position": { - "type": "array", - "minItems": 2, - "maxItems": 3, - "items": { - "type": "number" - } - }, - "position3d": { - "type": "array", - "minItems": 3, - "maxItems": 3, - "items": { - "type": "number" - } - }, - "bbox": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox2d" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - ] - }, - "bbox2d": { - "type": "array", - "minItems": 4, - "maxItems": 4, - "items": { - "type": "number" - } - }, - "bbox3d": { - "type": "array", - "minItems": 6, - "maxItems": 6, - "items": { - "type": "number" - } - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/geometry-objects.json" - }, - "geojson.org_schema_FeatureCollection.json": { - "title": "GeoJSON FeatureCollection", - "type": "object", - "required": [ - "type", - "features" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "FeatureCollection" - ] - }, - "features": { - "type": "array", - "items": { - "title": "GeoJSON Feature", - "type": "object", - "required": [ - "type", - "properties", - "geometry" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ] - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "nullable": true - }, - "geometry": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ] - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - } - ] - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - } - ], - "nullable": true - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - }, - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://geojson.org/schema/FeatureCollection.json" } }, "allOf": [ diff --git a/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml b/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml index 67654f5f7..34ef62b7d 100644 --- a/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml +++ b/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml @@ -4,2047 +4,24 @@ x-defs: $defs: VectorObservation: allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.features.observation + - $ref: ../../features/observation/schema.yaml - type: object properties: properties: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.examples.vectorObservation + $ref: ../vectorObservation/schema.yaml VectorObservationCollection: allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.features.observationCollection + - $ref: ../../features/observationCollection/schema.yaml - type: object properties: features: type: array items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.examples.vectorObservationFeature/$defs/VectorObservation + $ref: '#/$defs/VectorObservation' anyOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.examples.vectorObservationFeature/$defs/VectorObservation - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.examples.vectorObservationFeature/$defs/VectorObservationCollection + - $ref: '#/$defs/VectorObservation' + - $ref: '#/$defs/VectorObservationCollection' x-schema-version: https://json-schema.org/draft/2020-12/schema x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml - ogc.unstable.sosa.features.observation: - description: SOSA Observation Feature - type: object - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.geo.json-fg.feature-lenient - - type: object - properties: - properties: {} - x-jsonld-extra-terms: - Observation: http://www.w3.org/ns/sosa/Observation - Sample: http://www.w3.org/ns/sosa/Sample - System: http://www.w3.org/ns/sosa/System - Platform: http://www.w3.org/ns/sosa/Platform - observedProperty: - x-jsonld-id: http://www.w3.org/ns/sosa/observedProperty - x-jsonld-type: '@id' - id: '@id' - phenomenonTime: http://www.w3.org/ns/sosa/phenomenonTime - observes: - x-jsonld-id: http://www.w3.org/ns/sosa/observes - x-jsonld-type: '@id' - isObservedBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isObservedBy - x-jsonld-type: '@id' - madeObservation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeObservation - x-jsonld-type: '@id' - madeBySensor: - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySensor - x-jsonld-type: '@id' - actsOnProperty: - x-jsonld-id: http://www.w3.org/ns/sosa/actsOnProperty - x-jsonld-type: '@id' - isActedOnBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isActedOnBy - x-jsonld-type: '@id' - madeActuation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeActuation - x-jsonld-type: '@id' - madeByActuator: - x-jsonld-id: http://www.w3.org/ns/sosa/madeByActuator - x-jsonld-type: '@id' - hasSample: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSample - x-jsonld-type: '@id' - isSampleOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isSampleOf - x-jsonld-type: '@id' - madeSampling: - x-jsonld-id: http://www.w3.org/ns/sosa/madeSampling - x-jsonld-type: '@id' - madeBySampler: - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySampler - x-jsonld-type: '@id' - hasFeatureOfInterest: - x-jsonld-id: http://www.w3.org/ns/sosa/hasFeatureOfInterest - x-jsonld-type: '@id' - isFeatureOfInterestOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isFeatureOfInterestOf - x-jsonld-type: '@id' - hasResult: http://www.w3.org/ns/sosa/hasResult - isResultOf: http://www.w3.org/ns/sosa/isResultOf - hasSimpleResult: http://www.w3.org/ns/sosa/hasSimpleResult - resultTime: http://www.w3.org/ns/sosa/resultTime - usedProcedure: - x-jsonld-id: http://www.w3.org/ns/sosa/usedProcedure - x-jsonld-type: '@id' - hosts: - x-jsonld-id: http://www.w3.org/ns/sosa/hosts - x-jsonld-type: '@id' - x-jsonld-container: '@set' - isHostedBy: http://www.w3.org/ns/sosa/isHostedBy - isProxyFor: http://www.w3.org/ns/sosa/isProxyFor - wasOriginatedBy: http://www.w3.org/ns/sosa/wasOriginatedBy - detects: http://www.w3.org/ns/sosa/detects - hasProperty: http://www.w3.org/ns/sosa/hasProperty - isPropertyOf: http://www.w3.org/ns/sosa/isPropertyOf - forProperty: http://www.w3.org/ns/sosa/forProperty - implements: http://www.w3.org/ns/sosa/implements - implementedBy: http://www.w3.org/ns/sosa/implementedBy - hasInput: http://www.w3.org/ns/sosa/hasInput - hasOutput: http://www.w3.org/ns/sosa/hasOutput - hasSubSystem: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSubSystem - x-jsonld-type: '@id' - x-jsonld-container: '@set' - deployedSystem: http://www.w3.org/ns/sosa/deployedSystem - hasDeployment: http://www.w3.org/ns/sosa/hasDeployment - deployedOnPlatform: http://www.w3.org/ns/sosa/deployedOnPlatform - inDeployment: http://www.w3.org/ns/sosa/inDeployment - inCondition: http://www.w3.org/ns/ssn/systems/inCondition - hasSystemCapability: http://www.w3.org/ns/ssn/systems/hasSystemCapability - hasSystemProperty: http://www.w3.org/ns/ssn/systems/hasSystemProperty - hasOperatingRange: http://www.w3.org/ns/ssn/systems/hasOperatingRange - hasOperatingProperty: http://www.w3.org/ns/ssn/systems/hasOperatingProperty - hasSurvivalRange: http://www.w3.org/ns/ssn/systems/hasSurvivalRange - hasSurvivalProperty: http://www.w3.org/ns/ssn/systems/hasSurvivalProperty - qualityOfObservation: http://www.w3.org/ns/ssn/systems/qualityOfObservation - hasMember: http://www.w3.org/ns/sosa/hasMember - features: http://www.w3.org/ns/sosa/hasMember - featureType: '@type' - x-jsonld-prefixes: - sosa: http://www.w3.org/ns/sosa/ - ssn-system: http://www.w3.org/ns/ssn/systems/ - ssn: http://www.w3.org/ns/ssn/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/features/observation/schema.yaml - ogc.unstable.sosa.examples.vectorObservation: - description: Example SOSA Vector Observation - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.observation - - type: object - properties: - hasResult: - properties: - pose: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.geo.geopose.basic.ypr - distance: - type: number - required: - - hasResult - not: - required: - - hasSimpleResult - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/vectorObservation/schema.yaml - ogc.unstable.sosa.features.observationCollection: - description: SOSA Observation Feature - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.geo.json-fg.featureCollection-lenient - - type: object - properties: - properties: {} - features: - type: array - items: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.features.observation - - type: string - x-jsonld-id: http://www.w3.org/ns/sosa/hasMember - x-jsonld-extra-terms: - Observation: http://www.w3.org/ns/sosa/Observation - Sample: http://www.w3.org/ns/sosa/Sample - System: http://www.w3.org/ns/sosa/System - Platform: http://www.w3.org/ns/sosa/Platform - observedProperty: - x-jsonld-id: http://www.w3.org/ns/sosa/observedProperty - x-jsonld-type: '@id' - id: '@id' - phenomenonTime: http://www.w3.org/ns/sosa/phenomenonTime - observes: - x-jsonld-id: http://www.w3.org/ns/sosa/observes - x-jsonld-type: '@id' - isObservedBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isObservedBy - x-jsonld-type: '@id' - madeObservation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeObservation - x-jsonld-type: '@id' - madeBySensor: - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySensor - x-jsonld-type: '@id' - actsOnProperty: - x-jsonld-id: http://www.w3.org/ns/sosa/actsOnProperty - x-jsonld-type: '@id' - isActedOnBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isActedOnBy - x-jsonld-type: '@id' - madeActuation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeActuation - x-jsonld-type: '@id' - madeByActuator: - x-jsonld-id: http://www.w3.org/ns/sosa/madeByActuator - x-jsonld-type: '@id' - hasSample: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSample - x-jsonld-type: '@id' - isSampleOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isSampleOf - x-jsonld-type: '@id' - madeSampling: - x-jsonld-id: http://www.w3.org/ns/sosa/madeSampling - x-jsonld-type: '@id' - madeBySampler: - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySampler - x-jsonld-type: '@id' - hasFeatureOfInterest: - x-jsonld-id: http://www.w3.org/ns/sosa/hasFeatureOfInterest - x-jsonld-type: '@id' - isFeatureOfInterestOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isFeatureOfInterestOf - x-jsonld-type: '@id' - hasResult: http://www.w3.org/ns/sosa/hasResult - isResultOf: http://www.w3.org/ns/sosa/isResultOf - hasSimpleResult: http://www.w3.org/ns/sosa/hasSimpleResult - resultTime: http://www.w3.org/ns/sosa/resultTime - usedProcedure: - x-jsonld-id: http://www.w3.org/ns/sosa/usedProcedure - x-jsonld-type: '@id' - hosts: - x-jsonld-id: http://www.w3.org/ns/sosa/hosts - x-jsonld-type: '@id' - x-jsonld-container: '@set' - isHostedBy: http://www.w3.org/ns/sosa/isHostedBy - isProxyFor: http://www.w3.org/ns/sosa/isProxyFor - wasOriginatedBy: http://www.w3.org/ns/sosa/wasOriginatedBy - detects: http://www.w3.org/ns/sosa/detects - hasProperty: http://www.w3.org/ns/sosa/hasProperty - isPropertyOf: http://www.w3.org/ns/sosa/isPropertyOf - forProperty: http://www.w3.org/ns/sosa/forProperty - implements: http://www.w3.org/ns/sosa/implements - implementedBy: http://www.w3.org/ns/sosa/implementedBy - hasInput: http://www.w3.org/ns/sosa/hasInput - hasOutput: http://www.w3.org/ns/sosa/hasOutput - hasSubSystem: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSubSystem - x-jsonld-type: '@id' - x-jsonld-container: '@set' - deployedSystem: http://www.w3.org/ns/sosa/deployedSystem - hasDeployment: http://www.w3.org/ns/sosa/hasDeployment - deployedOnPlatform: http://www.w3.org/ns/sosa/deployedOnPlatform - inDeployment: http://www.w3.org/ns/sosa/inDeployment - inCondition: http://www.w3.org/ns/ssn/systems/inCondition - hasSystemCapability: http://www.w3.org/ns/ssn/systems/hasSystemCapability - hasSystemProperty: http://www.w3.org/ns/ssn/systems/hasSystemProperty - hasOperatingRange: http://www.w3.org/ns/ssn/systems/hasOperatingRange - hasOperatingProperty: http://www.w3.org/ns/ssn/systems/hasOperatingProperty - hasSurvivalRange: http://www.w3.org/ns/ssn/systems/hasSurvivalRange - hasSurvivalProperty: http://www.w3.org/ns/ssn/systems/hasSurvivalProperty - qualityOfObservation: http://www.w3.org/ns/ssn/systems/qualityOfObservation - hasMember: http://www.w3.org/ns/sosa/hasMember - featureType: '@type' - x-jsonld-prefixes: - sosa: http://www.w3.org/ns/sosa/ - ssn-system: http://www.w3.org/ns/ssn/systems/ - ssn: http://www.w3.org/ns/ssn/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/features/observationCollection/schema.yaml - ogc.geo.json-fg.feature-lenient: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature - - type: object - required: - - type - - geometry - - properties - properties: - type: - type: string - enum: - - Feature - x-jsonld-id: '@type' - id: - oneOf: - - type: number - - type: string - x-jsonld-id: '@id' - featureType: {} - links: - type: array - items: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_link.json - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - time: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json - coordRefSys: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json - place: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_place.json - geometry: {} - properties: - oneOf: - - type: object - x-jsonld-id: '@nest' - nullable: true - x-jsonld-extra-terms: - Feature: https://purl.org/geojson/vocab#Feature - FeatureCollection: https://purl.org/geojson/vocab#FeatureCollection - GeometryCollection: https://purl.org/geojson/vocab#GeometryCollection - LineString: https://purl.org/geojson/vocab#LineString - MultiLineString: https://purl.org/geojson/vocab#MultiLineString - MultiPoint: https://purl.org/geojson/vocab#MultiPoint - MultiPolygon: https://purl.org/geojson/vocab#MultiPolygon - Point: https://purl.org/geojson/vocab#Point - Polygon: https://purl.org/geojson/vocab#Polygon - bbox: - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - coordinates: - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - features: - x-jsonld-container: '@set' - x-jsonld-id: https://purl.org/geojson/vocab#features - x-jsonld-prefixes: - geojson: https://purl.org/geojson/vocab# - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-source: https://opengeospatial.github.io/bblocks/geo/json-fg/feature-lenient/schema.yaml - ogc.unstable.sosa.properties.observation: - description: SOSA Observation - type: object - properties: - resultTime: - type: string - format: date-time - x-jsonld-id: http://www.w3.org/ns/sosa/resultTime - phenomenonTime: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/phenomenonTime - anyOf: - anyOf: - - type: object - - type: string - hasFeatureOfInterest: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/hasFeatureOfInterest - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - observedProperty: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/observedProperty - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - usedProcedure: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/usedProcedure - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - madeBySensor: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySensor - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - hasResult: - x-jsonld-id: http://www.w3.org/ns/sosa/hasResult - hasSimpleResult: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSimpleResult - anyOf: - - required: - - hasResult - - required: - - hasSimpleResult - x-jsonld-extra-terms: - Observation: http://www.w3.org/ns/sosa/Observation - Sample: http://www.w3.org/ns/sosa/Sample - System: http://www.w3.org/ns/sosa/System - Platform: http://www.w3.org/ns/sosa/Platform - id: '@id' - observes: - x-jsonld-id: http://www.w3.org/ns/sosa/observes - x-jsonld-type: '@id' - isObservedBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isObservedBy - x-jsonld-type: '@id' - madeObservation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeObservation - x-jsonld-type: '@id' - actsOnProperty: - x-jsonld-id: http://www.w3.org/ns/sosa/actsOnProperty - x-jsonld-type: '@id' - isActedOnBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isActedOnBy - x-jsonld-type: '@id' - madeActuation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeActuation - x-jsonld-type: '@id' - madeByActuator: - x-jsonld-id: http://www.w3.org/ns/sosa/madeByActuator - x-jsonld-type: '@id' - hasSample: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSample - x-jsonld-type: '@id' - isSampleOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isSampleOf - x-jsonld-type: '@id' - madeSampling: - x-jsonld-id: http://www.w3.org/ns/sosa/madeSampling - x-jsonld-type: '@id' - madeBySampler: - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySampler - x-jsonld-type: '@id' - isFeatureOfInterestOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isFeatureOfInterestOf - x-jsonld-type: '@id' - isResultOf: http://www.w3.org/ns/sosa/isResultOf - hosts: - x-jsonld-id: http://www.w3.org/ns/sosa/hosts - x-jsonld-type: '@id' - x-jsonld-container: '@set' - isHostedBy: http://www.w3.org/ns/sosa/isHostedBy - isProxyFor: http://www.w3.org/ns/sosa/isProxyFor - wasOriginatedBy: http://www.w3.org/ns/sosa/wasOriginatedBy - detects: http://www.w3.org/ns/sosa/detects - hasProperty: http://www.w3.org/ns/sosa/hasProperty - isPropertyOf: http://www.w3.org/ns/sosa/isPropertyOf - forProperty: http://www.w3.org/ns/sosa/forProperty - implements: http://www.w3.org/ns/sosa/implements - implementedBy: http://www.w3.org/ns/sosa/implementedBy - hasInput: http://www.w3.org/ns/sosa/hasInput - hasOutput: http://www.w3.org/ns/sosa/hasOutput - hasSubSystem: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSubSystem - x-jsonld-type: '@id' - x-jsonld-container: '@set' - deployedSystem: http://www.w3.org/ns/sosa/deployedSystem - hasDeployment: http://www.w3.org/ns/sosa/hasDeployment - deployedOnPlatform: http://www.w3.org/ns/sosa/deployedOnPlatform - inDeployment: http://www.w3.org/ns/sosa/inDeployment - inCondition: http://www.w3.org/ns/ssn/systems/inCondition - hasSystemCapability: http://www.w3.org/ns/ssn/systems/hasSystemCapability - hasSystemProperty: http://www.w3.org/ns/ssn/systems/hasSystemProperty - hasOperatingRange: http://www.w3.org/ns/ssn/systems/hasOperatingRange - hasOperatingProperty: http://www.w3.org/ns/ssn/systems/hasOperatingProperty - hasSurvivalRange: http://www.w3.org/ns/ssn/systems/hasSurvivalRange - hasSurvivalProperty: http://www.w3.org/ns/ssn/systems/hasSurvivalProperty - qualityOfObservation: http://www.w3.org/ns/ssn/systems/qualityOfObservation - hasMember: http://www.w3.org/ns/sosa/hasMember - features: http://www.w3.org/ns/sosa/hasMember - properties: '@nest' - featureType: '@type' - x-jsonld-prefixes: - sosa: http://www.w3.org/ns/sosa/ - ssn-system: http://www.w3.org/ns/ssn/systems/ - ssn: http://www.w3.org/ns/ssn/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/properties/observation/schema.yaml - ogc.geo.geopose.basic.ypr: - description: 'Basic-YPR: Basic GeoPose using yaw, pitch, and roll to specify orientation' - definitions: - angles: - type: object - properties: - yaw: - type: number - x-jsonld-id: http://example.com/geopose/yaw - pitch: - type: number - x-jsonld-id: http://example.com/geopose/pitch - roll: - type: number - x-jsonld-id: http://example.com/geopose/roll - required: - - yaw - - pitch - - roll - Position: - type: object - properties: - lat: - type: number - x-jsonld-id: http://www.w3.org/2003/01/geo/wgs84_pos#lat - lon: - type: number - x-jsonld-id: http://www.w3.org/2003/01/geo/wgs84_pos#long - h: - type: number - x-jsonld-id: http://example.com/geopose/h - required: - - lat - - lon - - h - type: object - properties: - position: {} - angles: {} - required: - - position - - angles - x-jsonld-prefixes: - geopose: http://example.com/geopose/ - geo: http://www.w3.org/2003/01/geo/wgs84_pos# - x-schema-source: https://schemas.opengis.net/geopose/1.0/schemata/GeoPose.Basic.YPR.Schema.json - ogc.geo.json-fg.featureCollection-lenient: - allOf: - - title: a JSON-FG Feature Collection - description: This JSON Schema is part of JSON-FG version 0.1.1 - type: object - required: - - type - - features - properties: - type: - type: string - enum: - - FeatureCollection - x-jsonld-id: '@type' - featureType: {} - geometryDimension: - type: integer - minimum: 0 - maximum: 3 - coordRefSys: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json - links: - type: array - items: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_link.json - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: rdfs:seeAlso - features: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.geo.json-fg.feature-lenient - x-jsonld-container: '@set' - x-jsonld-id: https://purl.org/geojson/vocab#features - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.geo.features.featureCollection - x-jsonld-prefixes: - geojson: https://purl.org/geojson/vocab# - x-schema-source: https://opengeospatial.github.io/bblocks/geo/json-fg/featureCollection-lenient/schema.yaml - ogc.unstable.sosa.properties.observationCollection: - description: SOSA ObservationCollection - $defs: - collection: - type: object - properties: - resultTime: - type: string - format: date-time - x-jsonld-id: http://www.w3.org/ns/sosa/resultTime - phenomenonTime: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/phenomenonTime - anyOf: - anyOf: - - type: object - - type: string - hasFeatureOfInterest: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/hasFeatureOfInterest - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - observedProperty: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/observedProperty - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - usedProcedure: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/usedProcedure - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - madeBySensor: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySensor - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - hasMember: - type: array - items: - anyOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.observationCollection/$defs/collection - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.observation - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.iri-or-curie - x-jsonld-id: http://www.w3.org/ns/sosa/hasMember - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.observationCollection/$defs/collection - - not: - anyOf: - - required: - - hasResult - - required: - - hasSimpleResult - x-jsonld-extra-terms: - Observation: http://www.w3.org/ns/sosa/Observation - Sample: http://www.w3.org/ns/sosa/Sample - System: http://www.w3.org/ns/sosa/System - Platform: http://www.w3.org/ns/sosa/Platform - id: '@id' - observes: - x-jsonld-id: http://www.w3.org/ns/sosa/observes - x-jsonld-type: '@id' - isObservedBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isObservedBy - x-jsonld-type: '@id' - madeObservation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeObservation - x-jsonld-type: '@id' - actsOnProperty: - x-jsonld-id: http://www.w3.org/ns/sosa/actsOnProperty - x-jsonld-type: '@id' - isActedOnBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isActedOnBy - x-jsonld-type: '@id' - madeActuation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeActuation - x-jsonld-type: '@id' - madeByActuator: - x-jsonld-id: http://www.w3.org/ns/sosa/madeByActuator - x-jsonld-type: '@id' - hasSample: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSample - x-jsonld-type: '@id' - isSampleOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isSampleOf - x-jsonld-type: '@id' - madeSampling: - x-jsonld-id: http://www.w3.org/ns/sosa/madeSampling - x-jsonld-type: '@id' - madeBySampler: - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySampler - x-jsonld-type: '@id' - isFeatureOfInterestOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isFeatureOfInterestOf - x-jsonld-type: '@id' - hasResult: http://www.w3.org/ns/sosa/hasResult - isResultOf: http://www.w3.org/ns/sosa/isResultOf - hasSimpleResult: http://www.w3.org/ns/sosa/hasSimpleResult - hosts: - x-jsonld-id: http://www.w3.org/ns/sosa/hosts - x-jsonld-type: '@id' - x-jsonld-container: '@set' - isHostedBy: http://www.w3.org/ns/sosa/isHostedBy - isProxyFor: http://www.w3.org/ns/sosa/isProxyFor - wasOriginatedBy: http://www.w3.org/ns/sosa/wasOriginatedBy - detects: http://www.w3.org/ns/sosa/detects - hasProperty: http://www.w3.org/ns/sosa/hasProperty - isPropertyOf: http://www.w3.org/ns/sosa/isPropertyOf - forProperty: http://www.w3.org/ns/sosa/forProperty - implements: http://www.w3.org/ns/sosa/implements - implementedBy: http://www.w3.org/ns/sosa/implementedBy - hasInput: http://www.w3.org/ns/sosa/hasInput - hasOutput: http://www.w3.org/ns/sosa/hasOutput - hasSubSystem: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSubSystem - x-jsonld-type: '@id' - x-jsonld-container: '@set' - deployedSystem: http://www.w3.org/ns/sosa/deployedSystem - hasDeployment: http://www.w3.org/ns/sosa/hasDeployment - deployedOnPlatform: http://www.w3.org/ns/sosa/deployedOnPlatform - inDeployment: http://www.w3.org/ns/sosa/inDeployment - inCondition: http://www.w3.org/ns/ssn/systems/inCondition - hasSystemCapability: http://www.w3.org/ns/ssn/systems/hasSystemCapability - hasSystemProperty: http://www.w3.org/ns/ssn/systems/hasSystemProperty - hasOperatingRange: http://www.w3.org/ns/ssn/systems/hasOperatingRange - hasOperatingProperty: http://www.w3.org/ns/ssn/systems/hasOperatingProperty - hasSurvivalRange: http://www.w3.org/ns/ssn/systems/hasSurvivalRange - hasSurvivalProperty: http://www.w3.org/ns/ssn/systems/hasSurvivalProperty - qualityOfObservation: http://www.w3.org/ns/ssn/systems/qualityOfObservation - features: http://www.w3.org/ns/sosa/hasMember - properties: '@nest' - featureType: '@type' - x-jsonld-prefixes: - sosa: http://www.w3.org/ns/sosa/ - ssn-system: http://www.w3.org/ns/ssn/systems/ - ssn: http://www.w3.org/ns/ssn/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/properties/observationCollection/schema.yaml - ogc.geo.features.feature: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.geojson - - type: object - properties: - links: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - type: - const: Feature - required: - - type - - geometry - - properties - x-jsonld-extra-terms: - properties: '@nest' - x-jsonld-prefixes: - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-source: https://opengeospatial.github.io/bblocks/geo/features/feature/schema.yaml - beta.schemas.opengis.net_json-fg_featuretype.json: - title: the featureType member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - type: string - - type: array - items: - type: string - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/featuretype.json - beta.schemas.opengis.net_json-fg_link.json: - title: the Link object - description: This JSON Schema is part of JSON-FG version 0.1.1 - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - rel: - type: string - anchor: - type: string - type: - type: string - hreflang: - type: string - title: - type: string - length: - type: string - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/link.json - ogc.ogc-utils.json-link: - description: JSON Link - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - x-jsonld-type: '@id' - x-jsonld-id: http://www.w3.org/ns/oa#hasTarget - rel: - type: string - x-jsonld-id: http://www.iana.org/assignments/relation - x-jsonld-type: '@id' - x-jsonld-base: http://www.iana.org/assignments/relation/ - anchor: - type: string - type: - type: string - x-jsonld-id: http://purl.org/dc/terms/type - hreflang: - type: string - x-jsonld-id: http://purl.org/dc/terms/language - title: - type: string - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#label - length: - type: integer - x-jsonld-id: http://purl.org/dc/terms/extent - x-jsonld-prefixes: - oa: http://www.w3.org/ns/oa# - rdfs: http://www.w3.org/2000/01/rdf-schema# - dct: http://purl.org/dc/terms/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.yaml - beta.schemas.opengis.net_json-fg_time.json: - title: the time member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - type: object - properties: - date: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date - timestamp: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp - interval: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/interval - $defs: - date: - type: string - pattern: ^\d{4}-\d{2}-\d{2}$ - timestamp: - type: string - pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z$ - interval: - type: array - minItems: 2 - maxItems: 2 - items: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp - - type: string - enum: - - .. - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/time.json - beta.schemas.opengis.net_json-fg_coordrefsys.json: - title: the coordRefSys member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys - - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys - $defs: - single-refsys: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-simpleref - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-byref - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-custom - refsys-simpleref: - type: string - format: uri - refsys-byref: - type: object - required: - - type - - href - properties: - type: - type: string - enum: - - Reference - href: - type: string - format: uri - epoch: - type: number - refsys-custom: - type: object - required: - - type - properties: - type: - type: string - not: - enum: - - Reference - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/coordrefsys.json - beta.schemas.opengis.net_json-fg_place.json: - title: the place member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polyhedron - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolyhedron - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPrism - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/CustomGeometry - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/place.json - beta.schemas.opengis.net_json-fg_geometry.json: - title: the geometry member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/GeometryCollection - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/geometry.json - schemas.opengis.net_geopose_1.0_schemata_GeoPose.Basic.YPR.Schema.json: - description: 'Basic-YPR: Basic GeoPose using yaw, pitch, and roll to specify orientation' - definitions: - angles: - type: object - properties: - yaw: - type: number - pitch: - type: number - roll: - type: number - required: - - yaw - - pitch - - roll - Position: - type: object - properties: - lat: - type: number - lon: - type: number - h: - type: number - required: - - lat - - lon - - h - type: object - properties: - position: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_geopose_1.0_schemata_GeoPose.Basic.YPR.Schema.json/definitions/Position - angles: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_geopose_1.0_schemata_GeoPose.Basic.YPR.Schema.json/definitions/angles - required: - - position - - angles - x-schema-source: https://schemas.opengis.net/geopose/1.0/schemata/GeoPose.Basic.YPR.Schema.json - ogc.geo.features.featureCollection: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/geojson.org_schema_FeatureCollection.json - - type: object - properties: - links: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - timeStamp: - type: string - format: date-time - numberMatched: - type: integer - minimum: 0 - numberReturned: - type: integer - minimum: 0 - features: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature - x-jsonld-extra-terms: - properties: '@nest' - x-jsonld-prefixes: - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-source: https://opengeospatial.github.io/bblocks/geo/features/featureCollection/schema.yaml - ogc.ogc-utils.iri-or-curie: - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/ogc-utils/iri-or-curie/schema.yaml - ogc.geo.common.data_types.geojson: - title: GeoJSON Feature - type: object - required: - - type - - properties - - geometry - properties: - type: - type: string - enum: - - Feature - x-jsonld-id: '@type' - id: - oneOf: - - type: number - - type: string - x-jsonld-id: '@id' - properties: - oneOf: - - type: object - x-jsonld-id: '@nest' - nullable: true - geometry: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - x-jsonld-id: '@type' - geometries: - type: array - items: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-id: https://purl.org/geojson/vocab#geometry - nullable: true - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-extra-terms: - Feature: https://purl.org/geojson/vocab#Feature - FeatureCollection: https://purl.org/geojson/vocab#FeatureCollection - GeometryCollection: https://purl.org/geojson/vocab#GeometryCollection - LineString: https://purl.org/geojson/vocab#LineString - MultiLineString: https://purl.org/geojson/vocab#MultiLineString - MultiPoint: https://purl.org/geojson/vocab#MultiPoint - MultiPolygon: https://purl.org/geojson/vocab#MultiPolygon - Point: https://purl.org/geojson/vocab#Point - Polygon: https://purl.org/geojson/vocab#Polygon - features: - x-jsonld-container: '@set' - x-jsonld-id: https://purl.org/geojson/vocab#features - x-jsonld-prefixes: - 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 - 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 - $defs: - CustomGeometry: - title: A custom geometry object - type: object - required: - - type - properties: - type: - type: string - not: - enum: - - Point - - MultiPoint - - LineString - - MultiLineString - - Polygon - - MultiPolygon - - Polyhedron - - MultiPolyhedron - - Prism - - MultiPrism - - GeometryCollection - Point: - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - LineString: - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - Polygon: - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - MultiPoint: - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - MultiLineString: - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - MultiPolygon: - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - Polyhedron: - title: JSON-FG Polyhedron - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polyhedron - coordinates: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - MultiPolyhedron: - title: JSON-FG MultiPolyhedron - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolyhedron - coordinates: - type: array - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - Prism: - title: JSON-FG Prism - type: object - required: - - type - - base - - upper - properties: - type: - type: string - enum: - - Prism - base: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - lower: - type: number - upper: - type: number - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - MultiPrism: - title: JSON-FG Multi-Prism - type: object - required: - - type - - prisms - properties: - type: - type: string - enum: - - MultiPrism - prisms: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - GeometryCollection: - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - geometries: - type: array - items: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - position: - type: array - minItems: 2 - maxItems: 3 - items: - type: number - position3d: - type: array - minItems: 3 - maxItems: 3 - items: - type: number - bbox: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox2d - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - bbox2d: - type: array - minItems: 4 - maxItems: 4 - items: - type: number - bbox3d: - type: array - minItems: 6 - maxItems: 6 - items: - type: number - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/geometry-objects.json - geojson.org_schema_FeatureCollection.json: - title: GeoJSON FeatureCollection - type: object - required: - - type - - features - properties: - type: - type: string - enum: - - FeatureCollection - features: - type: array - items: - title: GeoJSON Feature - type: object - required: - - type - - properties - - geometry - properties: - type: - type: string - enum: - - Feature - id: - oneOf: - - type: number - - type: string - properties: - oneOf: - - type: object - nullable: true - geometry: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - geometries: - type: array - items: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - nullable: true - bbox: - type: array - minItems: 4 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - x-schema-version: http://json-schema.org/draft-07/schema# - x-schema-source: https://geojson.org/schema/FeatureCollection.json allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/examples/vectorObservationFeature/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.examples.vectorObservationFeature diff --git a/annotated-schemas/unstable/sosa/features/observation/context.jsonld b/annotated-schemas/unstable/sosa/features/observation/context.jsonld index 6bdbfcac5..9d47c4278 100644 --- a/annotated-schemas/unstable/sosa/features/observation/context.jsonld +++ b/annotated-schemas/unstable/sosa/features/observation/context.jsonld @@ -1,15 +1,78 @@ { "@context": { - "Observation": "sosa:Observation", - "Sample": "sosa:Sample", - "System": "sosa:System", - "Platform": "sosa:Platform", + "type": "@type", + "id": "@id", + "properties": "@nest", + "geometry": { + "@context": {}, + "@id": "geojson:geometry" + }, + "bbox": { + "@container": "@list", + "@id": "geojson:bbox" + }, + "Feature": "geojson:Feature", + "FeatureCollection": "geojson:FeatureCollection", + "GeometryCollection": "geojson:GeometryCollection", + "LineString": "geojson:LineString", + "MultiLineString": "geojson:MultiLineString", + "MultiPoint": "geojson:MultiPoint", + "MultiPolygon": "geojson:MultiPolygon", + "Point": "geojson:Point", + "Polygon": "geojson:Polygon", + "features": { + "@container": "@set", + "@id": "geojson:features" + }, + "links": { + "@context": { + "href": { + "@type": "@id", + "@id": "oa:hasTarget" + }, + "rel": { + "@context": { + "@base": "http://www.iana.org/assignments/relation/" + }, + "@id": "http://www.iana.org/assignments/relation", + "@type": "@id" + }, + "type": "dct:type", + "hreflang": "dct:language", + "title": "rdfs:label", + "length": "dct:extent" + }, + "@id": "rdfs:seeAlso" + }, + "featureType": "@type", + "coordinates": { + "@container": "@list", + "@id": "geojson:coordinates" + }, + "resultTime": "sosa:resultTime", + "phenomenonTime": "sosa:phenomenonTime", + "hasFeatureOfInterest": { + "@id": "sosa:hasFeatureOfInterest", + "@type": "@id" + }, "observedProperty": { "@id": "sosa:observedProperty", "@type": "@id" }, - "id": "@id", - "phenomenonTime": "sosa:phenomenonTime", + "usedProcedure": { + "@id": "sosa:usedProcedure", + "@type": "@id" + }, + "madeBySensor": { + "@id": "sosa:madeBySensor", + "@type": "@id" + }, + "hasResult": "sosa:hasResult", + "hasSimpleResult": "sosa:hasSimpleResult", + "Observation": "sosa:Observation", + "Sample": "sosa:Sample", + "System": "sosa:System", + "Platform": "sosa:Platform", "observes": { "@id": "sosa:observes", "@type": "@id" @@ -22,10 +85,6 @@ "@id": "sosa:madeObservation", "@type": "@id" }, - "madeBySensor": { - "@id": "sosa:madeBySensor", - "@type": "@id" - }, "actsOnProperty": { "@id": "sosa:actsOnProperty", "@type": "@id" @@ -58,22 +117,11 @@ "@id": "sosa:madeBySampler", "@type": "@id" }, - "hasFeatureOfInterest": { - "@id": "sosa:hasFeatureOfInterest", - "@type": "@id" - }, "isFeatureOfInterestOf": { "@id": "sosa:isFeatureOfInterestOf", "@type": "@id" }, - "hasResult": "sosa:hasResult", "isResultOf": "sosa:isResultOf", - "hasSimpleResult": "sosa:hasSimpleResult", - "resultTime": "sosa:resultTime", - "usedProcedure": { - "@id": "sosa:usedProcedure", - "@type": "@id" - }, "hosts": { "@id": "sosa:hosts", "@type": "@id", @@ -108,55 +156,13 @@ "hasSurvivalProperty": "ssn-system:hasSurvivalProperty", "qualityOfObservation": "ssn-system:qualityOfObservation", "hasMember": "sosa:hasMember", - "features": "sosa:hasMember", - "featureType": "@type", - "Feature": "geojson:Feature", - "FeatureCollection": "geojson:FeatureCollection", - "GeometryCollection": "geojson:GeometryCollection", - "LineString": "geojson:LineString", - "MultiLineString": "geojson:MultiLineString", - "MultiPoint": "geojson:MultiPoint", - "MultiPolygon": "geojson:MultiPolygon", - "Point": "geojson:Point", - "Polygon": "geojson:Polygon", - "bbox": { - "@container": "@list", - "@id": "geojson:bbox" - }, - "coordinates": { - "@container": "@list", - "@id": "geojson:coordinates" - }, - "properties": "@nest", - "type": "@type", - "links": { - "@context": { - "href": { - "@type": "@id", - "@id": "oa:hasTarget" - }, - "rel": { - "@context": { - "@base": "http://www.iana.org/assignments/relation/" - }, - "@id": "http://www.iana.org/assignments/relation", - "@type": "@id" - }, - "type": "dct:type", - "hreflang": "dct:language", - "title": "rdfs:label", - "length": "dct:extent" - }, - "@id": "rdfs:seeAlso" - }, - "geometry": "geojson:geometry", - "sosa": "http://www.w3.org/ns/sosa/", - "ssn-system": "ssn:systems/", - "ssn": "http://www.w3.org/ns/ssn/", "geojson": "https://purl.org/geojson/vocab#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "oa": "http://www.w3.org/ns/oa#", "dct": "http://purl.org/dc/terms/", + "sosa": "http://www.w3.org/ns/sosa/", + "ssn-system": "ssn:systems/", + "ssn": "http://www.w3.org/ns/ssn/", "@version": 1.1 } } \ No newline at end of file diff --git a/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json b/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json index 62c62cba9..5e7190441 100644 --- a/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json +++ b/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json @@ -5,12 +5,15 @@ "type": "object", "allOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/ogc.geo.json-fg.feature-lenient" + "$ref": "../../../../geo/json-fg/feature-lenient/schema.json" }, { "type": "object", "properties": { - "properties": {} + "properties": { + "$ref": "../../properties/observation/schema.json", + "x-jsonld-id": "@nest" + } } } ], @@ -133,1679 +136,6 @@ }, "x-schema-version": "https://json-schema.org/draft/2020-12/schema", "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json" - }, - "ogc.geo.json-fg.feature-lenient": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" - }, - { - "type": "object", - "required": [ - "type", - "geometry", - "properties" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ], - "x-jsonld-id": "@type" - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "x-jsonld-id": "@id" - }, - "featureType": {}, - "links": { - "type": "array", - "items": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_link.json" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - } - ] - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "time": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json" - }, - "coordRefSys": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json" - }, - "place": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_place.json" - }, - "geometry": {}, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "x-jsonld-id": "@nest", - "nullable": true - } - } - } - ], - "x-jsonld-extra-terms": { - "Feature": "https://purl.org/geojson/vocab#Feature", - "FeatureCollection": "https://purl.org/geojson/vocab#FeatureCollection", - "GeometryCollection": "https://purl.org/geojson/vocab#GeometryCollection", - "LineString": "https://purl.org/geojson/vocab#LineString", - "MultiLineString": "https://purl.org/geojson/vocab#MultiLineString", - "MultiPoint": "https://purl.org/geojson/vocab#MultiPoint", - "MultiPolygon": "https://purl.org/geojson/vocab#MultiPolygon", - "Point": "https://purl.org/geojson/vocab#Point", - "Polygon": "https://purl.org/geojson/vocab#Polygon", - "bbox": { - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - }, - "coordinates": { - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "features": { - "x-jsonld-container": "@set", - "x-jsonld-id": "https://purl.org/geojson/vocab#features" - } - }, - "x-jsonld-prefixes": { - "geojson": "https://purl.org/geojson/vocab#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/geo/json-fg/feature-lenient/schema.json" - }, - "ogc.unstable.sosa.properties.observation": { - "description": "SOSA Observation", - "type": "object", - "properties": { - "resultTime": { - "type": "string", - "format": "date-time", - "x-jsonld-id": "http://www.w3.org/ns/sosa/resultTime" - }, - "phenomenonTime": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/phenomenonTime", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "hasFeatureOfInterest": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasFeatureOfInterest", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "observedProperty": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/observedProperty", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "usedProcedure": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/usedProcedure", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "madeBySensor": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySensor", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "hasResult": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasResult" - }, - "hasSimpleResult": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSimpleResult" - } - }, - "anyOf": [ - { - "required": [ - "hasResult" - ] - }, - { - "required": [ - "hasSimpleResult" - ] - } - ], - "x-jsonld-extra-terms": { - "Observation": "http://www.w3.org/ns/sosa/Observation", - "Sample": "http://www.w3.org/ns/sosa/Sample", - "System": "http://www.w3.org/ns/sosa/System", - "Platform": "http://www.w3.org/ns/sosa/Platform", - "id": "@id", - "observes": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/observes", - "x-jsonld-type": "@id" - }, - "isObservedBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isObservedBy", - "x-jsonld-type": "@id" - }, - "madeObservation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeObservation", - "x-jsonld-type": "@id" - }, - "actsOnProperty": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/actsOnProperty", - "x-jsonld-type": "@id" - }, - "isActedOnBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isActedOnBy", - "x-jsonld-type": "@id" - }, - "madeActuation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeActuation", - "x-jsonld-type": "@id" - }, - "madeByActuator": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeByActuator", - "x-jsonld-type": "@id" - }, - "hasSample": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSample", - "x-jsonld-type": "@id" - }, - "isSampleOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isSampleOf", - "x-jsonld-type": "@id" - }, - "madeSampling": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeSampling", - "x-jsonld-type": "@id" - }, - "madeBySampler": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySampler", - "x-jsonld-type": "@id" - }, - "isFeatureOfInterestOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isFeatureOfInterestOf", - "x-jsonld-type": "@id" - }, - "isResultOf": "http://www.w3.org/ns/sosa/isResultOf", - "hosts": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hosts", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "isHostedBy": "http://www.w3.org/ns/sosa/isHostedBy", - "isProxyFor": "http://www.w3.org/ns/sosa/isProxyFor", - "wasOriginatedBy": "http://www.w3.org/ns/sosa/wasOriginatedBy", - "detects": "http://www.w3.org/ns/sosa/detects", - "hasProperty": "http://www.w3.org/ns/sosa/hasProperty", - "isPropertyOf": "http://www.w3.org/ns/sosa/isPropertyOf", - "forProperty": "http://www.w3.org/ns/sosa/forProperty", - "implements": "http://www.w3.org/ns/sosa/implements", - "implementedBy": "http://www.w3.org/ns/sosa/implementedBy", - "hasInput": "http://www.w3.org/ns/sosa/hasInput", - "hasOutput": "http://www.w3.org/ns/sosa/hasOutput", - "hasSubSystem": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSubSystem", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "deployedSystem": "http://www.w3.org/ns/sosa/deployedSystem", - "hasDeployment": "http://www.w3.org/ns/sosa/hasDeployment", - "deployedOnPlatform": "http://www.w3.org/ns/sosa/deployedOnPlatform", - "inDeployment": "http://www.w3.org/ns/sosa/inDeployment", - "inCondition": "http://www.w3.org/ns/ssn/systems/inCondition", - "hasSystemCapability": "http://www.w3.org/ns/ssn/systems/hasSystemCapability", - "hasSystemProperty": "http://www.w3.org/ns/ssn/systems/hasSystemProperty", - "hasOperatingRange": "http://www.w3.org/ns/ssn/systems/hasOperatingRange", - "hasOperatingProperty": "http://www.w3.org/ns/ssn/systems/hasOperatingProperty", - "hasSurvivalRange": "http://www.w3.org/ns/ssn/systems/hasSurvivalRange", - "hasSurvivalProperty": "http://www.w3.org/ns/ssn/systems/hasSurvivalProperty", - "qualityOfObservation": "http://www.w3.org/ns/ssn/systems/qualityOfObservation", - "hasMember": "http://www.w3.org/ns/sosa/hasMember", - "features": "http://www.w3.org/ns/sosa/hasMember", - "properties": "@nest", - "featureType": "@type" - }, - "x-jsonld-prefixes": { - "sosa": "http://www.w3.org/ns/sosa/", - "ssn-system": "http://www.w3.org/ns/ssn/systems/", - "ssn": "http://www.w3.org/ns/ssn/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/properties/observation/schema.json" - }, - "ogc.geo.features.feature": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.geojson" - }, - { - "type": "object", - "properties": { - "links": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "type": { - "const": "Feature" - } - }, - "required": [ - "type", - "geometry", - "properties" - ] - } - ], - "x-jsonld-extra-terms": { - "properties": "@nest" - }, - "x-jsonld-prefixes": { - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/geo/features/feature/schema.json" - }, - "beta.schemas.opengis.net_json-fg_featuretype.json": { - "title": "the featureType member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/featuretype.json" - }, - "beta.schemas.opengis.net_json-fg_link.json": { - "title": "the Link object", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference" - }, - "rel": { - "type": "string" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string" - }, - "hreflang": { - "type": "string" - }, - "title": { - "type": "string" - }, - "length": { - "type": "string" - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/link.json" - }, - "ogc.ogc-utils.json-link": { - "description": "JSON Link", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference", - "x-jsonld-type": "@id", - "x-jsonld-id": "http://www.w3.org/ns/oa#hasTarget" - }, - "rel": { - "type": "string", - "x-jsonld-id": "http://www.iana.org/assignments/relation", - "x-jsonld-type": "@id", - "x-jsonld-base": "http://www.iana.org/assignments/relation/" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/type" - }, - "hreflang": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/language" - }, - "title": { - "type": "string", - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#label" - }, - "length": { - "type": "integer", - "x-jsonld-id": "http://purl.org/dc/terms/extent" - } - }, - "x-jsonld-prefixes": { - "oa": "http://www.w3.org/ns/oa#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", - "dct": "http://purl.org/dc/terms/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.json" - }, - "beta.schemas.opengis.net_json-fg_time.json": { - "title": "the time member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "type": "object", - "properties": { - "date": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date" - }, - "timestamp": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp" - }, - "interval": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/interval" - } - } - } - ], - "$defs": { - "date": { - "type": "string", - "pattern": "^\\d{4}-\\d{2}-\\d{2}$" - }, - "timestamp": { - "type": "string", - "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$" - }, - "interval": { - "type": "array", - "minItems": 2, - "maxItems": 2, - "items": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp" - }, - { - "type": "string", - "enum": [ - ".." - ] - } - ] - } - } - }, - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/time.json" - }, - "beta.schemas.opengis.net_json-fg_coordrefsys.json": { - "title": "the coordRefSys member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys" - }, - { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys" - } - } - ], - "$defs": { - "single-refsys": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-simpleref" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-byref" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-custom" - } - ] - }, - "refsys-simpleref": { - "type": "string", - "format": "uri" - }, - "refsys-byref": { - "type": "object", - "required": [ - "type", - "href" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Reference" - ] - }, - "href": { - "type": "string", - "format": "uri" - }, - "epoch": { - "type": "number" - } - } - }, - "refsys-custom": { - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "not": { - "enum": [ - "Reference" - ] - } - } - } - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/coordrefsys.json" - }, - "beta.schemas.opengis.net_json-fg_place.json": { - "title": "the place member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polyhedron" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolyhedron" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPrism" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/CustomGeometry" - } - ], - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/place.json" - }, - "beta.schemas.opengis.net_json-fg_geometry.json": { - "title": "the geometry member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/GeometryCollection" - } - ], - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/geometry.json" - }, - "ogc.geo.common.data_types.geojson": { - "title": "GeoJSON Feature", - "type": "object", - "required": [ - "type", - "properties", - "geometry" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ], - "x-jsonld-id": "@type" - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "x-jsonld-id": "@id" - }, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "x-jsonld-id": "@nest", - "nullable": true - }, - "geometry": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ], - "x-jsonld-id": "@type" - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ] - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ], - "x-jsonld-id": "https://purl.org/geojson/vocab#geometry", - "nullable": true - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - }, - "x-jsonld-extra-terms": { - "Feature": "https://purl.org/geojson/vocab#Feature", - "FeatureCollection": "https://purl.org/geojson/vocab#FeatureCollection", - "GeometryCollection": "https://purl.org/geojson/vocab#GeometryCollection", - "LineString": "https://purl.org/geojson/vocab#LineString", - "MultiLineString": "https://purl.org/geojson/vocab#MultiLineString", - "MultiPoint": "https://purl.org/geojson/vocab#MultiPoint", - "MultiPolygon": "https://purl.org/geojson/vocab#MultiPolygon", - "Point": "https://purl.org/geojson/vocab#Point", - "Polygon": "https://purl.org/geojson/vocab#Polygon", - "features": { - "x-jsonld-container": "@set", - "x-jsonld-id": "https://purl.org/geojson/vocab#features" - } - }, - "x-jsonld-prefixes": { - "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" - }, - "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", - "$defs": { - "CustomGeometry": { - "title": "A custom geometry object", - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "not": { - "enum": [ - "Point", - "MultiPoint", - "LineString", - "MultiLineString", - "Polygon", - "MultiPolygon", - "Polyhedron", - "MultiPolyhedron", - "Prism", - "MultiPrism", - "GeometryCollection" - ] - } - } - } - }, - "Point": { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "LineString": { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "Polygon": { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiPoint": { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiLineString": { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiPolygon": { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "Polyhedron": { - "title": "JSON-FG Polyhedron", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polyhedron" - ] - }, - "coordinates": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d" - } - } - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "MultiPolyhedron": { - "title": "JSON-FG MultiPolyhedron", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolyhedron" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d" - } - } - } - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "Prism": { - "title": "JSON-FG Prism", - "type": "object", - "required": [ - "type", - "base", - "upper" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Prism" - ] - }, - "base": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - } - ] - }, - "lower": { - "type": "number" - }, - "upper": { - "type": "number" - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "MultiPrism": { - "title": "JSON-FG Multi-Prism", - "type": "object", - "required": [ - "type", - "prisms" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPrism" - ] - }, - "prisms": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism" - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "GeometryCollection": { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ] - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - } - ] - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "position": { - "type": "array", - "minItems": 2, - "maxItems": 3, - "items": { - "type": "number" - } - }, - "position3d": { - "type": "array", - "minItems": 3, - "maxItems": 3, - "items": { - "type": "number" - } - }, - "bbox": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox2d" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - ] - }, - "bbox2d": { - "type": "array", - "minItems": 4, - "maxItems": 4, - "items": { - "type": "number" - } - }, - "bbox3d": { - "type": "array", - "minItems": 6, - "maxItems": 6, - "items": { - "type": "number" - } - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/geometry-objects.json" } }, "allOf": [ diff --git a/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml b/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml index 221075b10..5f10c9e14 100644 --- a/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml +++ b/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml @@ -3,10 +3,12 @@ x-defs: description: SOSA Observation Feature type: object allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/ogc.geo.json-fg.feature-lenient + - $ref: ../../../../geo/json-fg/feature-lenient/schema.yaml - type: object properties: - properties: {} + properties: + $ref: ../../properties/observation/schema.yaml + x-jsonld-id: '@nest' x-jsonld-extra-terms: Observation: http://www.w3.org/ns/sosa/Observation Sample: http://www.w3.org/ns/sosa/Sample @@ -106,1125 +108,5 @@ x-defs: ssn: http://www.w3.org/ns/ssn/ x-schema-version: https://json-schema.org/draft/2020-12/schema x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml - ogc.geo.json-fg.feature-lenient: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature - - type: object - required: - - type - - geometry - - properties - properties: - type: - type: string - enum: - - Feature - x-jsonld-id: '@type' - id: - oneOf: - - type: number - - type: string - x-jsonld-id: '@id' - featureType: {} - links: - type: array - items: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_link.json - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - time: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json - coordRefSys: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json - place: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_place.json - geometry: {} - properties: - oneOf: - - type: object - x-jsonld-id: '@nest' - nullable: true - x-jsonld-extra-terms: - Feature: https://purl.org/geojson/vocab#Feature - FeatureCollection: https://purl.org/geojson/vocab#FeatureCollection - GeometryCollection: https://purl.org/geojson/vocab#GeometryCollection - LineString: https://purl.org/geojson/vocab#LineString - MultiLineString: https://purl.org/geojson/vocab#MultiLineString - MultiPoint: https://purl.org/geojson/vocab#MultiPoint - MultiPolygon: https://purl.org/geojson/vocab#MultiPolygon - Point: https://purl.org/geojson/vocab#Point - Polygon: https://purl.org/geojson/vocab#Polygon - bbox: - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - coordinates: - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - features: - x-jsonld-container: '@set' - x-jsonld-id: https://purl.org/geojson/vocab#features - x-jsonld-prefixes: - geojson: https://purl.org/geojson/vocab# - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-source: https://opengeospatial.github.io/bblocks/geo/json-fg/feature-lenient/schema.yaml - ogc.unstable.sosa.properties.observation: - description: SOSA Observation - type: object - properties: - resultTime: - type: string - format: date-time - x-jsonld-id: http://www.w3.org/ns/sosa/resultTime - phenomenonTime: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/phenomenonTime - anyOf: - anyOf: - - type: object - - type: string - hasFeatureOfInterest: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/hasFeatureOfInterest - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - observedProperty: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/observedProperty - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - usedProcedure: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/usedProcedure - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - madeBySensor: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySensor - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - hasResult: - x-jsonld-id: http://www.w3.org/ns/sosa/hasResult - hasSimpleResult: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSimpleResult - anyOf: - - required: - - hasResult - - required: - - hasSimpleResult - x-jsonld-extra-terms: - Observation: http://www.w3.org/ns/sosa/Observation - Sample: http://www.w3.org/ns/sosa/Sample - System: http://www.w3.org/ns/sosa/System - Platform: http://www.w3.org/ns/sosa/Platform - id: '@id' - observes: - x-jsonld-id: http://www.w3.org/ns/sosa/observes - x-jsonld-type: '@id' - isObservedBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isObservedBy - x-jsonld-type: '@id' - madeObservation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeObservation - x-jsonld-type: '@id' - actsOnProperty: - x-jsonld-id: http://www.w3.org/ns/sosa/actsOnProperty - x-jsonld-type: '@id' - isActedOnBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isActedOnBy - x-jsonld-type: '@id' - madeActuation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeActuation - x-jsonld-type: '@id' - madeByActuator: - x-jsonld-id: http://www.w3.org/ns/sosa/madeByActuator - x-jsonld-type: '@id' - hasSample: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSample - x-jsonld-type: '@id' - isSampleOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isSampleOf - x-jsonld-type: '@id' - madeSampling: - x-jsonld-id: http://www.w3.org/ns/sosa/madeSampling - x-jsonld-type: '@id' - madeBySampler: - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySampler - x-jsonld-type: '@id' - isFeatureOfInterestOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isFeatureOfInterestOf - x-jsonld-type: '@id' - isResultOf: http://www.w3.org/ns/sosa/isResultOf - hosts: - x-jsonld-id: http://www.w3.org/ns/sosa/hosts - x-jsonld-type: '@id' - x-jsonld-container: '@set' - isHostedBy: http://www.w3.org/ns/sosa/isHostedBy - isProxyFor: http://www.w3.org/ns/sosa/isProxyFor - wasOriginatedBy: http://www.w3.org/ns/sosa/wasOriginatedBy - detects: http://www.w3.org/ns/sosa/detects - hasProperty: http://www.w3.org/ns/sosa/hasProperty - isPropertyOf: http://www.w3.org/ns/sosa/isPropertyOf - forProperty: http://www.w3.org/ns/sosa/forProperty - implements: http://www.w3.org/ns/sosa/implements - implementedBy: http://www.w3.org/ns/sosa/implementedBy - hasInput: http://www.w3.org/ns/sosa/hasInput - hasOutput: http://www.w3.org/ns/sosa/hasOutput - hasSubSystem: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSubSystem - x-jsonld-type: '@id' - x-jsonld-container: '@set' - deployedSystem: http://www.w3.org/ns/sosa/deployedSystem - hasDeployment: http://www.w3.org/ns/sosa/hasDeployment - deployedOnPlatform: http://www.w3.org/ns/sosa/deployedOnPlatform - inDeployment: http://www.w3.org/ns/sosa/inDeployment - inCondition: http://www.w3.org/ns/ssn/systems/inCondition - hasSystemCapability: http://www.w3.org/ns/ssn/systems/hasSystemCapability - hasSystemProperty: http://www.w3.org/ns/ssn/systems/hasSystemProperty - hasOperatingRange: http://www.w3.org/ns/ssn/systems/hasOperatingRange - hasOperatingProperty: http://www.w3.org/ns/ssn/systems/hasOperatingProperty - hasSurvivalRange: http://www.w3.org/ns/ssn/systems/hasSurvivalRange - hasSurvivalProperty: http://www.w3.org/ns/ssn/systems/hasSurvivalProperty - qualityOfObservation: http://www.w3.org/ns/ssn/systems/qualityOfObservation - hasMember: http://www.w3.org/ns/sosa/hasMember - features: http://www.w3.org/ns/sosa/hasMember - properties: '@nest' - featureType: '@type' - x-jsonld-prefixes: - sosa: http://www.w3.org/ns/sosa/ - ssn-system: http://www.w3.org/ns/ssn/systems/ - ssn: http://www.w3.org/ns/ssn/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/properties/observation/schema.yaml - ogc.geo.features.feature: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.geojson - - type: object - properties: - links: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - type: - const: Feature - required: - - type - - geometry - - properties - x-jsonld-extra-terms: - properties: '@nest' - x-jsonld-prefixes: - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-source: https://opengeospatial.github.io/bblocks/geo/features/feature/schema.yaml - beta.schemas.opengis.net_json-fg_featuretype.json: - title: the featureType member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - type: string - - type: array - items: - type: string - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/featuretype.json - beta.schemas.opengis.net_json-fg_link.json: - title: the Link object - description: This JSON Schema is part of JSON-FG version 0.1.1 - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - rel: - type: string - anchor: - type: string - type: - type: string - hreflang: - type: string - title: - type: string - length: - type: string - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/link.json - ogc.ogc-utils.json-link: - description: JSON Link - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - x-jsonld-type: '@id' - x-jsonld-id: http://www.w3.org/ns/oa#hasTarget - rel: - type: string - x-jsonld-id: http://www.iana.org/assignments/relation - x-jsonld-type: '@id' - x-jsonld-base: http://www.iana.org/assignments/relation/ - anchor: - type: string - type: - type: string - x-jsonld-id: http://purl.org/dc/terms/type - hreflang: - type: string - x-jsonld-id: http://purl.org/dc/terms/language - title: - type: string - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#label - length: - type: integer - x-jsonld-id: http://purl.org/dc/terms/extent - x-jsonld-prefixes: - oa: http://www.w3.org/ns/oa# - rdfs: http://www.w3.org/2000/01/rdf-schema# - dct: http://purl.org/dc/terms/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.yaml - beta.schemas.opengis.net_json-fg_time.json: - title: the time member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - type: object - properties: - date: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date - timestamp: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp - interval: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/interval - $defs: - date: - type: string - pattern: ^\d{4}-\d{2}-\d{2}$ - timestamp: - type: string - pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z$ - interval: - type: array - minItems: 2 - maxItems: 2 - items: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp - - type: string - enum: - - .. - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/time.json - beta.schemas.opengis.net_json-fg_coordrefsys.json: - title: the coordRefSys member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys - - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys - $defs: - single-refsys: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-simpleref - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-byref - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-custom - refsys-simpleref: - type: string - format: uri - refsys-byref: - type: object - required: - - type - - href - properties: - type: - type: string - enum: - - Reference - href: - type: string - format: uri - epoch: - type: number - refsys-custom: - type: object - required: - - type - properties: - type: - type: string - not: - enum: - - Reference - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/coordrefsys.json - beta.schemas.opengis.net_json-fg_place.json: - title: the place member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polyhedron - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolyhedron - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPrism - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/CustomGeometry - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/place.json - beta.schemas.opengis.net_json-fg_geometry.json: - title: the geometry member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/GeometryCollection - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/geometry.json - ogc.geo.common.data_types.geojson: - title: GeoJSON Feature - type: object - required: - - type - - properties - - geometry - properties: - type: - type: string - enum: - - Feature - x-jsonld-id: '@type' - id: - oneOf: - - type: number - - type: string - x-jsonld-id: '@id' - properties: - oneOf: - - type: object - x-jsonld-id: '@nest' - nullable: true - geometry: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - x-jsonld-id: '@type' - geometries: - type: array - items: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-id: https://purl.org/geojson/vocab#geometry - nullable: true - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-extra-terms: - Feature: https://purl.org/geojson/vocab#Feature - FeatureCollection: https://purl.org/geojson/vocab#FeatureCollection - GeometryCollection: https://purl.org/geojson/vocab#GeometryCollection - LineString: https://purl.org/geojson/vocab#LineString - MultiLineString: https://purl.org/geojson/vocab#MultiLineString - MultiPoint: https://purl.org/geojson/vocab#MultiPoint - MultiPolygon: https://purl.org/geojson/vocab#MultiPolygon - Point: https://purl.org/geojson/vocab#Point - Polygon: https://purl.org/geojson/vocab#Polygon - features: - x-jsonld-container: '@set' - x-jsonld-id: https://purl.org/geojson/vocab#features - x-jsonld-prefixes: - 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 - 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 - $defs: - CustomGeometry: - title: A custom geometry object - type: object - required: - - type - properties: - type: - type: string - not: - enum: - - Point - - MultiPoint - - LineString - - MultiLineString - - Polygon - - MultiPolygon - - Polyhedron - - MultiPolyhedron - - Prism - - MultiPrism - - GeometryCollection - Point: - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - LineString: - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - Polygon: - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - MultiPoint: - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - MultiLineString: - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - MultiPolygon: - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - Polyhedron: - title: JSON-FG Polyhedron - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polyhedron - coordinates: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - MultiPolyhedron: - title: JSON-FG MultiPolyhedron - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolyhedron - coordinates: - type: array - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - Prism: - title: JSON-FG Prism - type: object - required: - - type - - base - - upper - properties: - type: - type: string - enum: - - Prism - base: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - lower: - type: number - upper: - type: number - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - MultiPrism: - title: JSON-FG Multi-Prism - type: object - required: - - type - - prisms - properties: - type: - type: string - enum: - - MultiPrism - prisms: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - GeometryCollection: - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - geometries: - type: array - items: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - position: - type: array - minItems: 2 - maxItems: 3 - items: - type: number - position3d: - type: array - minItems: 3 - maxItems: 3 - items: - type: number - bbox: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox2d - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - bbox2d: - type: array - minItems: 4 - maxItems: 4 - items: - type: number - bbox3d: - type: array - minItems: 6 - maxItems: 6 - items: - type: number - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/geometry-objects.json allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observation/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.features.observation diff --git a/annotated-schemas/unstable/sosa/features/observationCollection/context.jsonld b/annotated-schemas/unstable/sosa/features/observationCollection/context.jsonld index 257ac946c..553c4160b 100644 --- a/annotated-schemas/unstable/sosa/features/observationCollection/context.jsonld +++ b/annotated-schemas/unstable/sosa/features/observationCollection/context.jsonld @@ -1,15 +1,85 @@ { "@context": { - "Observation": "sosa:Observation", - "Sample": "sosa:Sample", - "System": "sosa:System", - "Platform": "sosa:Platform", + "type": "@type", + "featureType": "geojson:collectionFeatureType", + "links": { + "@context": { + "href": { + "@type": "@id", + "@id": "oa:hasTarget" + }, + "rel": { + "@context": { + "@base": "http://www.iana.org/assignments/relation/" + }, + "@id": "http://www.iana.org/assignments/relation", + "@type": "@id" + }, + "type": "dct:type", + "hreflang": "dct:language", + "title": "rdfs:label", + "length": "dct:extent" + }, + "@id": "rdfs:seeAlso" + }, + "features": { + "@context": { + "features": { + "@container": "@set", + "@id": "geojson:features" + }, + "featureType": "@type" + }, + "@container": "@set", + "@id": "sosa:hasMember" + }, + "id": "@id", + "properties": "@nest", + "geometry": { + "@context": {}, + "@id": "geojson:geometry" + }, + "bbox": { + "@container": "@list", + "@id": "geojson:bbox" + }, + "Feature": "geojson:Feature", + "FeatureCollection": "geojson:FeatureCollection", + "GeometryCollection": "geojson:GeometryCollection", + "LineString": "geojson:LineString", + "MultiLineString": "geojson:MultiLineString", + "MultiPoint": "geojson:MultiPoint", + "MultiPolygon": "geojson:MultiPolygon", + "Point": "geojson:Point", + "Polygon": "geojson:Polygon", + "resultTime": "sosa:resultTime", + "phenomenonTime": "sosa:phenomenonTime", + "hasFeatureOfInterest": { + "@id": "sosa:hasFeatureOfInterest", + "@type": "@id" + }, "observedProperty": { "@id": "sosa:observedProperty", "@type": "@id" }, - "id": "@id", - "phenomenonTime": "sosa:phenomenonTime", + "usedProcedure": { + "@id": "sosa:usedProcedure", + "@type": "@id" + }, + "madeBySensor": { + "@id": "sosa:madeBySensor", + "@type": "@id" + }, + "hasMember": { + "@context": { + "featureType": "@type" + }, + "@id": "sosa:hasMember" + }, + "Observation": "sosa:Observation", + "Sample": "sosa:Sample", + "System": "sosa:System", + "Platform": "sosa:Platform", "observes": { "@id": "sosa:observes", "@type": "@id" @@ -22,10 +92,6 @@ "@id": "sosa:madeObservation", "@type": "@id" }, - "madeBySensor": { - "@id": "sosa:madeBySensor", - "@type": "@id" - }, "actsOnProperty": { "@id": "sosa:actsOnProperty", "@type": "@id" @@ -58,10 +124,6 @@ "@id": "sosa:madeBySampler", "@type": "@id" }, - "hasFeatureOfInterest": { - "@id": "sosa:hasFeatureOfInterest", - "@type": "@id" - }, "isFeatureOfInterestOf": { "@id": "sosa:isFeatureOfInterestOf", "@type": "@id" @@ -69,11 +131,6 @@ "hasResult": "sosa:hasResult", "isResultOf": "sosa:isResultOf", "hasSimpleResult": "sosa:hasSimpleResult", - "resultTime": "sosa:resultTime", - "usedProcedure": { - "@id": "sosa:usedProcedure", - "@type": "@id" - }, "hosts": { "@id": "sosa:hosts", "@type": "@id", @@ -107,72 +164,17 @@ "hasSurvivalRange": "ssn-system:hasSurvivalRange", "hasSurvivalProperty": "ssn-system:hasSurvivalProperty", "qualityOfObservation": "ssn-system:qualityOfObservation", - "hasMember": { - "@context": { - "features": "sosa:hasMember", - "featureType": "@type" - }, - "@id": "sosa:hasMember" - }, - "featureType": "geojson:collectionFeatureType", - "properties": "@nest", - "features": { - "@context": { - "features": "sosa:hasMember", - "featureType": "@type" - }, - "@id": "geojson:features", - "@container": "@set" - }, - "type": "@type", - "links": { - "@context": { - "href": { - "@type": "@id", - "@id": "oa:hasTarget" - }, - "rel": { - "@context": { - "@base": "http://www.iana.org/assignments/relation/" - }, - "@id": "http://www.iana.org/assignments/relation", - "@type": "@id" - }, - "type": "dct:type", - "hreflang": "dct:language", - "title": "rdfs:label", - "length": "dct:extent" - }, - "@id": "rdfs:seeAlso" - }, - "geometry": { - "@context": {}, - "@id": "geojson:geometry" - }, - "bbox": { - "@container": "@list", - "@id": "geojson:bbox" - }, - "Feature": "geojson:Feature", - "FeatureCollection": "geojson:FeatureCollection", - "GeometryCollection": "geojson:GeometryCollection", - "LineString": "geojson:LineString", - "MultiLineString": "geojson:MultiLineString", - "MultiPoint": "geojson:MultiPoint", - "MultiPolygon": "geojson:MultiPolygon", - "Point": "geojson:Point", - "Polygon": "geojson:Polygon", "coordinates": { "@container": "@list", "@id": "geojson:coordinates" }, - "sosa": "http://www.w3.org/ns/sosa/", - "ssn-system": "ssn:systems/", - "ssn": "http://www.w3.org/ns/ssn/", "geojson": "https://purl.org/geojson/vocab#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "oa": "http://www.w3.org/ns/oa#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "dct": "http://purl.org/dc/terms/", + "sosa": "http://www.w3.org/ns/sosa/", + "ssn-system": "ssn:systems/", + "ssn": "http://www.w3.org/ns/ssn/", "@version": 1.1 } } \ No newline at end of file diff --git a/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json b/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json index 45e14be5d..75b7273fe 100644 --- a/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json +++ b/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json @@ -4,18 +4,21 @@ "description": "SOSA Observation Feature", "allOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/ogc.geo.json-fg.featureCollection-lenient" + "$ref": "../../../../geo/json-fg/featureCollection-lenient/schema.json" }, { "type": "object", "properties": { - "properties": {}, + "properties": { + "$ref": "../../properties/observationCollection/schema.json", + "x-jsonld-id": "@nest" + }, "features": { "type": "array", "items": { "oneOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.features.observation" + "$ref": "../observation/schema.json" }, { "type": "string" @@ -145,2691 +148,6 @@ }, "x-schema-version": "https://json-schema.org/draft/2020-12/schema", "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json" - }, - "ogc.geo.json-fg.featureCollection-lenient": { - "allOf": [ - { - "title": "a JSON-FG Feature Collection", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "type": "object", - "required": [ - "type", - "features" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "FeatureCollection" - ], - "x-jsonld-id": "@type" - }, - "featureType": {}, - "geometryDimension": { - "type": "integer", - "minimum": 0, - "maximum": 3 - }, - "coordRefSys": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json" - }, - "links": { - "type": "array", - "items": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_link.json" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - } - ] - }, - "x-jsonld-id": "rdfs:seeAlso" - }, - "features": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/ogc.geo.json-fg.feature-lenient" - }, - "x-jsonld-container": "@set", - "x-jsonld-id": "https://purl.org/geojson/vocab#features" - } - } - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/ogc.geo.features.featureCollection" - } - ], - "x-jsonld-prefixes": { - "geojson": "https://purl.org/geojson/vocab#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/geo/json-fg/featureCollection-lenient/schema.json" - }, - "ogc.unstable.sosa.properties.observationCollection": { - "description": "SOSA ObservationCollection", - "$defs": { - "collection": { - "type": "object", - "properties": { - "resultTime": { - "type": "string", - "format": "date-time", - "x-jsonld-id": "http://www.w3.org/ns/sosa/resultTime" - }, - "phenomenonTime": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/phenomenonTime", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "hasFeatureOfInterest": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasFeatureOfInterest", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "observedProperty": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/observedProperty", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "usedProcedure": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/usedProcedure", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "madeBySensor": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySensor", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "hasMember": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.properties.observationCollection/$defs/collection" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.properties.observation" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/ogc.ogc-utils.iri-or-curie" - } - ] - }, - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasMember" - } - } - } - }, - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.properties.observationCollection/$defs/collection" - }, - { - "not": { - "anyOf": [ - { - "required": [ - "hasResult" - ] - }, - { - "required": [ - "hasSimpleResult" - ] - } - ] - } - } - ], - "x-jsonld-extra-terms": { - "Observation": "http://www.w3.org/ns/sosa/Observation", - "Sample": "http://www.w3.org/ns/sosa/Sample", - "System": "http://www.w3.org/ns/sosa/System", - "Platform": "http://www.w3.org/ns/sosa/Platform", - "id": "@id", - "observes": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/observes", - "x-jsonld-type": "@id" - }, - "isObservedBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isObservedBy", - "x-jsonld-type": "@id" - }, - "madeObservation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeObservation", - "x-jsonld-type": "@id" - }, - "actsOnProperty": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/actsOnProperty", - "x-jsonld-type": "@id" - }, - "isActedOnBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isActedOnBy", - "x-jsonld-type": "@id" - }, - "madeActuation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeActuation", - "x-jsonld-type": "@id" - }, - "madeByActuator": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeByActuator", - "x-jsonld-type": "@id" - }, - "hasSample": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSample", - "x-jsonld-type": "@id" - }, - "isSampleOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isSampleOf", - "x-jsonld-type": "@id" - }, - "madeSampling": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeSampling", - "x-jsonld-type": "@id" - }, - "madeBySampler": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySampler", - "x-jsonld-type": "@id" - }, - "isFeatureOfInterestOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isFeatureOfInterestOf", - "x-jsonld-type": "@id" - }, - "hasResult": "http://www.w3.org/ns/sosa/hasResult", - "isResultOf": "http://www.w3.org/ns/sosa/isResultOf", - "hasSimpleResult": "http://www.w3.org/ns/sosa/hasSimpleResult", - "hosts": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hosts", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "isHostedBy": "http://www.w3.org/ns/sosa/isHostedBy", - "isProxyFor": "http://www.w3.org/ns/sosa/isProxyFor", - "wasOriginatedBy": "http://www.w3.org/ns/sosa/wasOriginatedBy", - "detects": "http://www.w3.org/ns/sosa/detects", - "hasProperty": "http://www.w3.org/ns/sosa/hasProperty", - "isPropertyOf": "http://www.w3.org/ns/sosa/isPropertyOf", - "forProperty": "http://www.w3.org/ns/sosa/forProperty", - "implements": "http://www.w3.org/ns/sosa/implements", - "implementedBy": "http://www.w3.org/ns/sosa/implementedBy", - "hasInput": "http://www.w3.org/ns/sosa/hasInput", - "hasOutput": "http://www.w3.org/ns/sosa/hasOutput", - "hasSubSystem": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSubSystem", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "deployedSystem": "http://www.w3.org/ns/sosa/deployedSystem", - "hasDeployment": "http://www.w3.org/ns/sosa/hasDeployment", - "deployedOnPlatform": "http://www.w3.org/ns/sosa/deployedOnPlatform", - "inDeployment": "http://www.w3.org/ns/sosa/inDeployment", - "inCondition": "http://www.w3.org/ns/ssn/systems/inCondition", - "hasSystemCapability": "http://www.w3.org/ns/ssn/systems/hasSystemCapability", - "hasSystemProperty": "http://www.w3.org/ns/ssn/systems/hasSystemProperty", - "hasOperatingRange": "http://www.w3.org/ns/ssn/systems/hasOperatingRange", - "hasOperatingProperty": "http://www.w3.org/ns/ssn/systems/hasOperatingProperty", - "hasSurvivalRange": "http://www.w3.org/ns/ssn/systems/hasSurvivalRange", - "hasSurvivalProperty": "http://www.w3.org/ns/ssn/systems/hasSurvivalProperty", - "qualityOfObservation": "http://www.w3.org/ns/ssn/systems/qualityOfObservation", - "features": "http://www.w3.org/ns/sosa/hasMember", - "properties": "@nest", - "featureType": "@type" - }, - "x-jsonld-prefixes": { - "sosa": "http://www.w3.org/ns/sosa/", - "ssn-system": "http://www.w3.org/ns/ssn/systems/", - "ssn": "http://www.w3.org/ns/ssn/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/properties/observationCollection/schema.json" - }, - "ogc.unstable.sosa.features.observation": { - "description": "SOSA Observation Feature", - "type": "object", - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/ogc.geo.json-fg.feature-lenient" - }, - { - "type": "object", - "properties": { - "properties": {} - } - } - ], - "x-jsonld-extra-terms": { - "Observation": "http://www.w3.org/ns/sosa/Observation", - "Sample": "http://www.w3.org/ns/sosa/Sample", - "System": "http://www.w3.org/ns/sosa/System", - "Platform": "http://www.w3.org/ns/sosa/Platform", - "observedProperty": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/observedProperty", - "x-jsonld-type": "@id" - }, - "id": "@id", - "phenomenonTime": "http://www.w3.org/ns/sosa/phenomenonTime", - "observes": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/observes", - "x-jsonld-type": "@id" - }, - "isObservedBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isObservedBy", - "x-jsonld-type": "@id" - }, - "madeObservation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeObservation", - "x-jsonld-type": "@id" - }, - "madeBySensor": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySensor", - "x-jsonld-type": "@id" - }, - "actsOnProperty": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/actsOnProperty", - "x-jsonld-type": "@id" - }, - "isActedOnBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isActedOnBy", - "x-jsonld-type": "@id" - }, - "madeActuation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeActuation", - "x-jsonld-type": "@id" - }, - "madeByActuator": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeByActuator", - "x-jsonld-type": "@id" - }, - "hasSample": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSample", - "x-jsonld-type": "@id" - }, - "isSampleOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isSampleOf", - "x-jsonld-type": "@id" - }, - "madeSampling": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeSampling", - "x-jsonld-type": "@id" - }, - "madeBySampler": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySampler", - "x-jsonld-type": "@id" - }, - "hasFeatureOfInterest": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasFeatureOfInterest", - "x-jsonld-type": "@id" - }, - "isFeatureOfInterestOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isFeatureOfInterestOf", - "x-jsonld-type": "@id" - }, - "hasResult": "http://www.w3.org/ns/sosa/hasResult", - "isResultOf": "http://www.w3.org/ns/sosa/isResultOf", - "hasSimpleResult": "http://www.w3.org/ns/sosa/hasSimpleResult", - "resultTime": "http://www.w3.org/ns/sosa/resultTime", - "usedProcedure": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/usedProcedure", - "x-jsonld-type": "@id" - }, - "hosts": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hosts", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "isHostedBy": "http://www.w3.org/ns/sosa/isHostedBy", - "isProxyFor": "http://www.w3.org/ns/sosa/isProxyFor", - "wasOriginatedBy": "http://www.w3.org/ns/sosa/wasOriginatedBy", - "detects": "http://www.w3.org/ns/sosa/detects", - "hasProperty": "http://www.w3.org/ns/sosa/hasProperty", - "isPropertyOf": "http://www.w3.org/ns/sosa/isPropertyOf", - "forProperty": "http://www.w3.org/ns/sosa/forProperty", - "implements": "http://www.w3.org/ns/sosa/implements", - "implementedBy": "http://www.w3.org/ns/sosa/implementedBy", - "hasInput": "http://www.w3.org/ns/sosa/hasInput", - "hasOutput": "http://www.w3.org/ns/sosa/hasOutput", - "hasSubSystem": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSubSystem", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "deployedSystem": "http://www.w3.org/ns/sosa/deployedSystem", - "hasDeployment": "http://www.w3.org/ns/sosa/hasDeployment", - "deployedOnPlatform": "http://www.w3.org/ns/sosa/deployedOnPlatform", - "inDeployment": "http://www.w3.org/ns/sosa/inDeployment", - "inCondition": "http://www.w3.org/ns/ssn/systems/inCondition", - "hasSystemCapability": "http://www.w3.org/ns/ssn/systems/hasSystemCapability", - "hasSystemProperty": "http://www.w3.org/ns/ssn/systems/hasSystemProperty", - "hasOperatingRange": "http://www.w3.org/ns/ssn/systems/hasOperatingRange", - "hasOperatingProperty": "http://www.w3.org/ns/ssn/systems/hasOperatingProperty", - "hasSurvivalRange": "http://www.w3.org/ns/ssn/systems/hasSurvivalRange", - "hasSurvivalProperty": "http://www.w3.org/ns/ssn/systems/hasSurvivalProperty", - "qualityOfObservation": "http://www.w3.org/ns/ssn/systems/qualityOfObservation", - "hasMember": "http://www.w3.org/ns/sosa/hasMember", - "features": "http://www.w3.org/ns/sosa/hasMember", - "featureType": "@type" - }, - "x-jsonld-prefixes": { - "sosa": "http://www.w3.org/ns/sosa/", - "ssn-system": "http://www.w3.org/ns/ssn/systems/", - "ssn": "http://www.w3.org/ns/ssn/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/observation/schema.json" - }, - "beta.schemas.opengis.net_json-fg_featuretype.json": { - "title": "the featureType member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/featuretype.json" - }, - "beta.schemas.opengis.net_json-fg_coordrefsys.json": { - "title": "the coordRefSys member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys" - }, - { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys" - } - } - ], - "$defs": { - "single-refsys": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-simpleref" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-byref" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-custom" - } - ] - }, - "refsys-simpleref": { - "type": "string", - "format": "uri" - }, - "refsys-byref": { - "type": "object", - "required": [ - "type", - "href" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Reference" - ] - }, - "href": { - "type": "string", - "format": "uri" - }, - "epoch": { - "type": "number" - } - } - }, - "refsys-custom": { - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "not": { - "enum": [ - "Reference" - ] - } - } - } - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/coordrefsys.json" - }, - "beta.schemas.opengis.net_json-fg_link.json": { - "title": "the Link object", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference" - }, - "rel": { - "type": "string" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string" - }, - "hreflang": { - "type": "string" - }, - "title": { - "type": "string" - }, - "length": { - "type": "string" - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/link.json" - }, - "ogc.ogc-utils.json-link": { - "description": "JSON Link", - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "format": "uri-reference", - "x-jsonld-type": "@id", - "x-jsonld-id": "http://www.w3.org/ns/oa#hasTarget" - }, - "rel": { - "type": "string", - "x-jsonld-id": "http://www.iana.org/assignments/relation", - "x-jsonld-type": "@id", - "x-jsonld-base": "http://www.iana.org/assignments/relation/" - }, - "anchor": { - "type": "string" - }, - "type": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/type" - }, - "hreflang": { - "type": "string", - "x-jsonld-id": "http://purl.org/dc/terms/language" - }, - "title": { - "type": "string", - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#label" - }, - "length": { - "type": "integer", - "x-jsonld-id": "http://purl.org/dc/terms/extent" - } - }, - "x-jsonld-prefixes": { - "oa": "http://www.w3.org/ns/oa#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", - "dct": "http://purl.org/dc/terms/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.json" - }, - "ogc.geo.json-fg.feature-lenient": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" - }, - { - "type": "object", - "required": [ - "type", - "geometry", - "properties" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ], - "x-jsonld-id": "@type" - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "x-jsonld-id": "@id" - }, - "featureType": {}, - "links": { - "type": "array", - "items": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_link.json" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - } - ] - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "time": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json" - }, - "coordRefSys": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json" - }, - "place": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_place.json" - }, - "geometry": {}, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "x-jsonld-id": "@nest", - "nullable": true - } - } - } - ], - "x-jsonld-extra-terms": { - "Feature": "https://purl.org/geojson/vocab#Feature", - "FeatureCollection": "https://purl.org/geojson/vocab#FeatureCollection", - "GeometryCollection": "https://purl.org/geojson/vocab#GeometryCollection", - "LineString": "https://purl.org/geojson/vocab#LineString", - "MultiLineString": "https://purl.org/geojson/vocab#MultiLineString", - "MultiPoint": "https://purl.org/geojson/vocab#MultiPoint", - "MultiPolygon": "https://purl.org/geojson/vocab#MultiPolygon", - "Point": "https://purl.org/geojson/vocab#Point", - "Polygon": "https://purl.org/geojson/vocab#Polygon", - "bbox": { - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - }, - "coordinates": { - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "features": { - "x-jsonld-container": "@set", - "x-jsonld-id": "https://purl.org/geojson/vocab#features" - } - }, - "x-jsonld-prefixes": { - "geojson": "https://purl.org/geojson/vocab#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/geo/json-fg/feature-lenient/schema.json" - }, - "ogc.geo.features.featureCollection": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/geojson.org_schema_FeatureCollection.json" - }, - { - "type": "object", - "properties": { - "links": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "timeStamp": { - "type": "string", - "format": "date-time" - }, - "numberMatched": { - "type": "integer", - "minimum": 0 - }, - "numberReturned": { - "type": "integer", - "minimum": 0 - }, - "features": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" - } - } - } - } - ], - "x-jsonld-extra-terms": { - "properties": "@nest" - }, - "x-jsonld-prefixes": { - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/geo/features/featureCollection/schema.json" - }, - "ogc.unstable.sosa.properties.observation": { - "description": "SOSA Observation", - "type": "object", - "properties": { - "resultTime": { - "type": "string", - "format": "date-time", - "x-jsonld-id": "http://www.w3.org/ns/sosa/resultTime" - }, - "phenomenonTime": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/phenomenonTime", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "hasFeatureOfInterest": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasFeatureOfInterest", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "observedProperty": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/observedProperty", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "usedProcedure": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/usedProcedure", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "madeBySensor": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySensor", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "hasResult": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasResult" - }, - "hasSimpleResult": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSimpleResult" - } - }, - "anyOf": [ - { - "required": [ - "hasResult" - ] - }, - { - "required": [ - "hasSimpleResult" - ] - } - ], - "x-jsonld-extra-terms": { - "Observation": "http://www.w3.org/ns/sosa/Observation", - "Sample": "http://www.w3.org/ns/sosa/Sample", - "System": "http://www.w3.org/ns/sosa/System", - "Platform": "http://www.w3.org/ns/sosa/Platform", - "id": "@id", - "observes": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/observes", - "x-jsonld-type": "@id" - }, - "isObservedBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isObservedBy", - "x-jsonld-type": "@id" - }, - "madeObservation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeObservation", - "x-jsonld-type": "@id" - }, - "actsOnProperty": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/actsOnProperty", - "x-jsonld-type": "@id" - }, - "isActedOnBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isActedOnBy", - "x-jsonld-type": "@id" - }, - "madeActuation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeActuation", - "x-jsonld-type": "@id" - }, - "madeByActuator": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeByActuator", - "x-jsonld-type": "@id" - }, - "hasSample": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSample", - "x-jsonld-type": "@id" - }, - "isSampleOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isSampleOf", - "x-jsonld-type": "@id" - }, - "madeSampling": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeSampling", - "x-jsonld-type": "@id" - }, - "madeBySampler": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySampler", - "x-jsonld-type": "@id" - }, - "isFeatureOfInterestOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isFeatureOfInterestOf", - "x-jsonld-type": "@id" - }, - "isResultOf": "http://www.w3.org/ns/sosa/isResultOf", - "hosts": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hosts", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "isHostedBy": "http://www.w3.org/ns/sosa/isHostedBy", - "isProxyFor": "http://www.w3.org/ns/sosa/isProxyFor", - "wasOriginatedBy": "http://www.w3.org/ns/sosa/wasOriginatedBy", - "detects": "http://www.w3.org/ns/sosa/detects", - "hasProperty": "http://www.w3.org/ns/sosa/hasProperty", - "isPropertyOf": "http://www.w3.org/ns/sosa/isPropertyOf", - "forProperty": "http://www.w3.org/ns/sosa/forProperty", - "implements": "http://www.w3.org/ns/sosa/implements", - "implementedBy": "http://www.w3.org/ns/sosa/implementedBy", - "hasInput": "http://www.w3.org/ns/sosa/hasInput", - "hasOutput": "http://www.w3.org/ns/sosa/hasOutput", - "hasSubSystem": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSubSystem", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "deployedSystem": "http://www.w3.org/ns/sosa/deployedSystem", - "hasDeployment": "http://www.w3.org/ns/sosa/hasDeployment", - "deployedOnPlatform": "http://www.w3.org/ns/sosa/deployedOnPlatform", - "inDeployment": "http://www.w3.org/ns/sosa/inDeployment", - "inCondition": "http://www.w3.org/ns/ssn/systems/inCondition", - "hasSystemCapability": "http://www.w3.org/ns/ssn/systems/hasSystemCapability", - "hasSystemProperty": "http://www.w3.org/ns/ssn/systems/hasSystemProperty", - "hasOperatingRange": "http://www.w3.org/ns/ssn/systems/hasOperatingRange", - "hasOperatingProperty": "http://www.w3.org/ns/ssn/systems/hasOperatingProperty", - "hasSurvivalRange": "http://www.w3.org/ns/ssn/systems/hasSurvivalRange", - "hasSurvivalProperty": "http://www.w3.org/ns/ssn/systems/hasSurvivalProperty", - "qualityOfObservation": "http://www.w3.org/ns/ssn/systems/qualityOfObservation", - "hasMember": "http://www.w3.org/ns/sosa/hasMember", - "features": "http://www.w3.org/ns/sosa/hasMember", - "properties": "@nest", - "featureType": "@type" - }, - "x-jsonld-prefixes": { - "sosa": "http://www.w3.org/ns/sosa/", - "ssn-system": "http://www.w3.org/ns/ssn/systems/", - "ssn": "http://www.w3.org/ns/ssn/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/properties/observation/schema.json" - }, - "ogc.ogc-utils.iri-or-curie": { - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/ogc-utils/iri-or-curie/schema.json" - }, - "ogc.geo.features.feature": { - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.geojson" - }, - { - "type": "object", - "properties": { - "links": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" - }, - "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso" - }, - "type": { - "const": "Feature" - } - }, - "required": [ - "type", - "geometry", - "properties" - ] - } - ], - "x-jsonld-extra-terms": { - "properties": "@nest" - }, - "x-jsonld-prefixes": { - "rdfs": "http://www.w3.org/2000/01/rdf-schema#" - }, - "x-schema-source": "https://opengeospatial.github.io/bblocks/geo/features/feature/schema.json" - }, - "beta.schemas.opengis.net_json-fg_time.json": { - "title": "the time member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "type": "object", - "properties": { - "date": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date" - }, - "timestamp": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp" - }, - "interval": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/interval" - } - } - } - ], - "$defs": { - "date": { - "type": "string", - "pattern": "^\\d{4}-\\d{2}-\\d{2}$" - }, - "timestamp": { - "type": "string", - "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$" - }, - "interval": { - "type": "array", - "minItems": 2, - "maxItems": 2, - "items": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp" - }, - { - "type": "string", - "enum": [ - ".." - ] - } - ] - } - } - }, - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/time.json" - }, - "beta.schemas.opengis.net_json-fg_place.json": { - "title": "the place member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polyhedron" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolyhedron" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPrism" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/CustomGeometry" - } - ], - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/place.json" - }, - "beta.schemas.opengis.net_json-fg_geometry.json": { - "title": "the geometry member", - "description": "This JSON Schema is part of JSON-FG version 0.1.1", - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/GeometryCollection" - } - ], - "nullable": true, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/geometry.json" - }, - "geojson.org_schema_FeatureCollection.json": { - "title": "GeoJSON FeatureCollection", - "type": "object", - "required": [ - "type", - "features" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "FeatureCollection" - ] - }, - "features": { - "type": "array", - "items": { - "title": "GeoJSON Feature", - "type": "object", - "required": [ - "type", - "properties", - "geometry" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ] - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "nullable": true - }, - "geometry": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ] - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - } - ] - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - } - ], - "nullable": true - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - }, - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://geojson.org/schema/FeatureCollection.json" - }, - "ogc.geo.common.data_types.geojson": { - "title": "GeoJSON Feature", - "type": "object", - "required": [ - "type", - "properties", - "geometry" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ], - "x-jsonld-id": "@type" - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "x-jsonld-id": "@id" - }, - "properties": { - "oneOf": [ - { - "type": "object" - } - ], - "x-jsonld-id": "@nest", - "nullable": true - }, - "geometry": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ], - "x-jsonld-id": "@type" - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ], - "x-jsonld-id": "@type" - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates" - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ] - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - } - } - ], - "x-jsonld-id": "https://purl.org/geojson/vocab#geometry", - "nullable": true - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - }, - "x-jsonld-container": "@list", - "x-jsonld-id": "https://purl.org/geojson/vocab#bbox" - } - }, - "x-jsonld-extra-terms": { - "Feature": "https://purl.org/geojson/vocab#Feature", - "FeatureCollection": "https://purl.org/geojson/vocab#FeatureCollection", - "GeometryCollection": "https://purl.org/geojson/vocab#GeometryCollection", - "LineString": "https://purl.org/geojson/vocab#LineString", - "MultiLineString": "https://purl.org/geojson/vocab#MultiLineString", - "MultiPoint": "https://purl.org/geojson/vocab#MultiPoint", - "MultiPolygon": "https://purl.org/geojson/vocab#MultiPolygon", - "Point": "https://purl.org/geojson/vocab#Point", - "Polygon": "https://purl.org/geojson/vocab#Polygon", - "features": { - "x-jsonld-container": "@set", - "x-jsonld-id": "https://purl.org/geojson/vocab#features" - } - }, - "x-jsonld-prefixes": { - "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" - }, - "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", - "$defs": { - "CustomGeometry": { - "title": "A custom geometry object", - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "not": { - "enum": [ - "Point", - "MultiPoint", - "LineString", - "MultiLineString", - "Polygon", - "MultiPolygon", - "Polyhedron", - "MultiPolyhedron", - "Prism", - "MultiPrism", - "GeometryCollection" - ] - } - } - } - }, - "Point": { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "LineString": { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "Polygon": { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiPoint": { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiLineString": { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "MultiPolygon": { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position" - } - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "Polyhedron": { - "title": "JSON-FG Polyhedron", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polyhedron" - ] - }, - "coordinates": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d" - } - } - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "MultiPolyhedron": { - "title": "JSON-FG MultiPolyhedron", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolyhedron" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 1, - "items": { - "type": "array", - "minItems": 4, - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d" - } - } - } - } - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "Prism": { - "title": "JSON-FG Prism", - "type": "object", - "required": [ - "type", - "base", - "upper" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Prism" - ] - }, - "base": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - } - ] - }, - "lower": { - "type": "number" - }, - "upper": { - "type": "number" - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "MultiPrism": { - "title": "JSON-FG Multi-Prism", - "type": "object", - "required": [ - "type", - "prisms" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPrism" - ] - }, - "prisms": { - "type": "array", - "items": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism" - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - } - }, - "GeometryCollection": { - "title": "GeoJSON GeometryCollection", - "type": "object", - "required": [ - "type", - "geometries" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "GeometryCollection" - ] - }, - "geometries": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon" - } - ] - } - }, - "bbox": { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox" - } - } - }, - "position": { - "type": "array", - "minItems": 2, - "maxItems": 3, - "items": { - "type": "number" - } - }, - "position3d": { - "type": "array", - "minItems": 3, - "maxItems": 3, - "items": { - "type": "number" - } - }, - "bbox": { - "oneOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox2d" - }, - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.json#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d" - } - ] - }, - "bbox2d": { - "type": "array", - "minItems": 4, - "maxItems": 4, - "items": { - "type": "number" - } - }, - "bbox3d": { - "type": "array", - "minItems": 6, - "maxItems": 6, - "items": { - "type": "number" - } - } - }, - "x-schema-version": "https://json-schema.org/draft/2019-09/schema", - "x-schema-source": "https://beta.schemas.opengis.net/json-fg/geometry-objects.json" } }, "allOf": [ diff --git a/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml b/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml index 7181d45d2..75e296e95 100644 --- a/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml +++ b/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml @@ -2,15 +2,17 @@ x-defs: ogc.unstable.sosa.features.observationCollection: description: SOSA Observation Feature allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.json-fg.featureCollection-lenient + - $ref: ../../../../geo/json-fg/featureCollection-lenient/schema.yaml - type: object properties: - properties: {} + properties: + $ref: ../../properties/observationCollection/schema.yaml + x-jsonld-id: '@nest' features: type: array items: oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.features.observation + - $ref: ../observation/schema.yaml - type: string x-jsonld-id: http://www.w3.org/ns/sosa/hasMember x-jsonld-extra-terms: @@ -111,1812 +113,5 @@ x-defs: ssn: http://www.w3.org/ns/ssn/ x-schema-version: https://json-schema.org/draft/2020-12/schema x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml - ogc.geo.json-fg.featureCollection-lenient: - allOf: - - title: a JSON-FG Feature Collection - description: This JSON Schema is part of JSON-FG version 0.1.1 - type: object - required: - - type - - features - properties: - type: - type: string - enum: - - FeatureCollection - x-jsonld-id: '@type' - featureType: {} - geometryDimension: - type: integer - minimum: 0 - maximum: 3 - coordRefSys: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json - links: - type: array - items: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_link.json - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: rdfs:seeAlso - features: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.json-fg.feature-lenient - x-jsonld-container: '@set' - x-jsonld-id: https://purl.org/geojson/vocab#features - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.features.featureCollection - x-jsonld-prefixes: - geojson: https://purl.org/geojson/vocab# - x-schema-source: https://opengeospatial.github.io/bblocks/geo/json-fg/featureCollection-lenient/schema.yaml - ogc.unstable.sosa.properties.observationCollection: - description: SOSA ObservationCollection - $defs: - collection: - type: object - properties: - resultTime: - type: string - format: date-time - x-jsonld-id: http://www.w3.org/ns/sosa/resultTime - phenomenonTime: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/phenomenonTime - anyOf: - anyOf: - - type: object - - type: string - hasFeatureOfInterest: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/hasFeatureOfInterest - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - observedProperty: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/observedProperty - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - usedProcedure: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/usedProcedure - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - madeBySensor: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySensor - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - hasMember: - type: array - items: - anyOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.observationCollection/$defs/collection - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.observation - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.iri-or-curie - x-jsonld-id: http://www.w3.org/ns/sosa/hasMember - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.observationCollection/$defs/collection - - not: - anyOf: - - required: - - hasResult - - required: - - hasSimpleResult - x-jsonld-extra-terms: - Observation: http://www.w3.org/ns/sosa/Observation - Sample: http://www.w3.org/ns/sosa/Sample - System: http://www.w3.org/ns/sosa/System - Platform: http://www.w3.org/ns/sosa/Platform - id: '@id' - observes: - x-jsonld-id: http://www.w3.org/ns/sosa/observes - x-jsonld-type: '@id' - isObservedBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isObservedBy - x-jsonld-type: '@id' - madeObservation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeObservation - x-jsonld-type: '@id' - actsOnProperty: - x-jsonld-id: http://www.w3.org/ns/sosa/actsOnProperty - x-jsonld-type: '@id' - isActedOnBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isActedOnBy - x-jsonld-type: '@id' - madeActuation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeActuation - x-jsonld-type: '@id' - madeByActuator: - x-jsonld-id: http://www.w3.org/ns/sosa/madeByActuator - x-jsonld-type: '@id' - hasSample: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSample - x-jsonld-type: '@id' - isSampleOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isSampleOf - x-jsonld-type: '@id' - madeSampling: - x-jsonld-id: http://www.w3.org/ns/sosa/madeSampling - x-jsonld-type: '@id' - madeBySampler: - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySampler - x-jsonld-type: '@id' - isFeatureOfInterestOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isFeatureOfInterestOf - x-jsonld-type: '@id' - hasResult: http://www.w3.org/ns/sosa/hasResult - isResultOf: http://www.w3.org/ns/sosa/isResultOf - hasSimpleResult: http://www.w3.org/ns/sosa/hasSimpleResult - hosts: - x-jsonld-id: http://www.w3.org/ns/sosa/hosts - x-jsonld-type: '@id' - x-jsonld-container: '@set' - isHostedBy: http://www.w3.org/ns/sosa/isHostedBy - isProxyFor: http://www.w3.org/ns/sosa/isProxyFor - wasOriginatedBy: http://www.w3.org/ns/sosa/wasOriginatedBy - detects: http://www.w3.org/ns/sosa/detects - hasProperty: http://www.w3.org/ns/sosa/hasProperty - isPropertyOf: http://www.w3.org/ns/sosa/isPropertyOf - forProperty: http://www.w3.org/ns/sosa/forProperty - implements: http://www.w3.org/ns/sosa/implements - implementedBy: http://www.w3.org/ns/sosa/implementedBy - hasInput: http://www.w3.org/ns/sosa/hasInput - hasOutput: http://www.w3.org/ns/sosa/hasOutput - hasSubSystem: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSubSystem - x-jsonld-type: '@id' - x-jsonld-container: '@set' - deployedSystem: http://www.w3.org/ns/sosa/deployedSystem - hasDeployment: http://www.w3.org/ns/sosa/hasDeployment - deployedOnPlatform: http://www.w3.org/ns/sosa/deployedOnPlatform - inDeployment: http://www.w3.org/ns/sosa/inDeployment - inCondition: http://www.w3.org/ns/ssn/systems/inCondition - hasSystemCapability: http://www.w3.org/ns/ssn/systems/hasSystemCapability - hasSystemProperty: http://www.w3.org/ns/ssn/systems/hasSystemProperty - hasOperatingRange: http://www.w3.org/ns/ssn/systems/hasOperatingRange - hasOperatingProperty: http://www.w3.org/ns/ssn/systems/hasOperatingProperty - hasSurvivalRange: http://www.w3.org/ns/ssn/systems/hasSurvivalRange - hasSurvivalProperty: http://www.w3.org/ns/ssn/systems/hasSurvivalProperty - qualityOfObservation: http://www.w3.org/ns/ssn/systems/qualityOfObservation - features: http://www.w3.org/ns/sosa/hasMember - properties: '@nest' - featureType: '@type' - x-jsonld-prefixes: - sosa: http://www.w3.org/ns/sosa/ - ssn-system: http://www.w3.org/ns/ssn/systems/ - ssn: http://www.w3.org/ns/ssn/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/properties/observationCollection/schema.yaml - ogc.unstable.sosa.features.observation: - description: SOSA Observation Feature - type: object - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.json-fg.feature-lenient - - type: object - properties: - properties: {} - x-jsonld-extra-terms: - Observation: http://www.w3.org/ns/sosa/Observation - Sample: http://www.w3.org/ns/sosa/Sample - System: http://www.w3.org/ns/sosa/System - Platform: http://www.w3.org/ns/sosa/Platform - observedProperty: - x-jsonld-id: http://www.w3.org/ns/sosa/observedProperty - x-jsonld-type: '@id' - id: '@id' - phenomenonTime: http://www.w3.org/ns/sosa/phenomenonTime - observes: - x-jsonld-id: http://www.w3.org/ns/sosa/observes - x-jsonld-type: '@id' - isObservedBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isObservedBy - x-jsonld-type: '@id' - madeObservation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeObservation - x-jsonld-type: '@id' - madeBySensor: - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySensor - x-jsonld-type: '@id' - actsOnProperty: - x-jsonld-id: http://www.w3.org/ns/sosa/actsOnProperty - x-jsonld-type: '@id' - isActedOnBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isActedOnBy - x-jsonld-type: '@id' - madeActuation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeActuation - x-jsonld-type: '@id' - madeByActuator: - x-jsonld-id: http://www.w3.org/ns/sosa/madeByActuator - x-jsonld-type: '@id' - hasSample: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSample - x-jsonld-type: '@id' - isSampleOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isSampleOf - x-jsonld-type: '@id' - madeSampling: - x-jsonld-id: http://www.w3.org/ns/sosa/madeSampling - x-jsonld-type: '@id' - madeBySampler: - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySampler - x-jsonld-type: '@id' - hasFeatureOfInterest: - x-jsonld-id: http://www.w3.org/ns/sosa/hasFeatureOfInterest - x-jsonld-type: '@id' - isFeatureOfInterestOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isFeatureOfInterestOf - x-jsonld-type: '@id' - hasResult: http://www.w3.org/ns/sosa/hasResult - isResultOf: http://www.w3.org/ns/sosa/isResultOf - hasSimpleResult: http://www.w3.org/ns/sosa/hasSimpleResult - resultTime: http://www.w3.org/ns/sosa/resultTime - usedProcedure: - x-jsonld-id: http://www.w3.org/ns/sosa/usedProcedure - x-jsonld-type: '@id' - hosts: - x-jsonld-id: http://www.w3.org/ns/sosa/hosts - x-jsonld-type: '@id' - x-jsonld-container: '@set' - isHostedBy: http://www.w3.org/ns/sosa/isHostedBy - isProxyFor: http://www.w3.org/ns/sosa/isProxyFor - wasOriginatedBy: http://www.w3.org/ns/sosa/wasOriginatedBy - detects: http://www.w3.org/ns/sosa/detects - hasProperty: http://www.w3.org/ns/sosa/hasProperty - isPropertyOf: http://www.w3.org/ns/sosa/isPropertyOf - forProperty: http://www.w3.org/ns/sosa/forProperty - implements: http://www.w3.org/ns/sosa/implements - implementedBy: http://www.w3.org/ns/sosa/implementedBy - hasInput: http://www.w3.org/ns/sosa/hasInput - hasOutput: http://www.w3.org/ns/sosa/hasOutput - hasSubSystem: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSubSystem - x-jsonld-type: '@id' - x-jsonld-container: '@set' - deployedSystem: http://www.w3.org/ns/sosa/deployedSystem - hasDeployment: http://www.w3.org/ns/sosa/hasDeployment - deployedOnPlatform: http://www.w3.org/ns/sosa/deployedOnPlatform - inDeployment: http://www.w3.org/ns/sosa/inDeployment - inCondition: http://www.w3.org/ns/ssn/systems/inCondition - hasSystemCapability: http://www.w3.org/ns/ssn/systems/hasSystemCapability - hasSystemProperty: http://www.w3.org/ns/ssn/systems/hasSystemProperty - hasOperatingRange: http://www.w3.org/ns/ssn/systems/hasOperatingRange - hasOperatingProperty: http://www.w3.org/ns/ssn/systems/hasOperatingProperty - hasSurvivalRange: http://www.w3.org/ns/ssn/systems/hasSurvivalRange - hasSurvivalProperty: http://www.w3.org/ns/ssn/systems/hasSurvivalProperty - qualityOfObservation: http://www.w3.org/ns/ssn/systems/qualityOfObservation - hasMember: http://www.w3.org/ns/sosa/hasMember - features: http://www.w3.org/ns/sosa/hasMember - featureType: '@type' - x-jsonld-prefixes: - sosa: http://www.w3.org/ns/sosa/ - ssn-system: http://www.w3.org/ns/ssn/systems/ - ssn: http://www.w3.org/ns/ssn/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/observation/schema.yaml - beta.schemas.opengis.net_json-fg_featuretype.json: - title: the featureType member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - type: string - - type: array - items: - type: string - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/featuretype.json - beta.schemas.opengis.net_json-fg_coordrefsys.json: - title: the coordRefSys member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys - - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/single-refsys - $defs: - single-refsys: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-simpleref - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-byref - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json/$defs/refsys-custom - refsys-simpleref: - type: string - format: uri - refsys-byref: - type: object - required: - - type - - href - properties: - type: - type: string - enum: - - Reference - href: - type: string - format: uri - epoch: - type: number - refsys-custom: - type: object - required: - - type - properties: - type: - type: string - not: - enum: - - Reference - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/coordrefsys.json - beta.schemas.opengis.net_json-fg_link.json: - title: the Link object - description: This JSON Schema is part of JSON-FG version 0.1.1 - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - rel: - type: string - anchor: - type: string - type: - type: string - hreflang: - type: string - title: - type: string - length: - type: string - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/link.json - ogc.ogc-utils.json-link: - description: JSON Link - type: object - required: - - href - - rel - properties: - href: - type: string - format: uri-reference - x-jsonld-type: '@id' - x-jsonld-id: http://www.w3.org/ns/oa#hasTarget - rel: - type: string - x-jsonld-id: http://www.iana.org/assignments/relation - x-jsonld-type: '@id' - x-jsonld-base: http://www.iana.org/assignments/relation/ - anchor: - type: string - type: - type: string - x-jsonld-id: http://purl.org/dc/terms/type - hreflang: - type: string - x-jsonld-id: http://purl.org/dc/terms/language - title: - type: string - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#label - length: - type: integer - x-jsonld-id: http://purl.org/dc/terms/extent - x-jsonld-prefixes: - oa: http://www.w3.org/ns/oa# - rdfs: http://www.w3.org/2000/01/rdf-schema# - dct: http://purl.org/dc/terms/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/ogc-utils/json-link/schema.yaml - ogc.geo.json-fg.feature-lenient: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature - - type: object - required: - - type - - geometry - - properties - properties: - type: - type: string - enum: - - Feature - x-jsonld-id: '@type' - id: - oneOf: - - type: number - - type: string - x-jsonld-id: '@id' - featureType: {} - links: - type: array - items: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_link.json - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - time: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json - coordRefSys: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_coordrefsys.json - place: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_place.json - geometry: {} - properties: - oneOf: - - type: object - x-jsonld-id: '@nest' - nullable: true - x-jsonld-extra-terms: - Feature: https://purl.org/geojson/vocab#Feature - FeatureCollection: https://purl.org/geojson/vocab#FeatureCollection - GeometryCollection: https://purl.org/geojson/vocab#GeometryCollection - LineString: https://purl.org/geojson/vocab#LineString - MultiLineString: https://purl.org/geojson/vocab#MultiLineString - MultiPoint: https://purl.org/geojson/vocab#MultiPoint - MultiPolygon: https://purl.org/geojson/vocab#MultiPolygon - Point: https://purl.org/geojson/vocab#Point - Polygon: https://purl.org/geojson/vocab#Polygon - bbox: - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - coordinates: - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - features: - x-jsonld-container: '@set' - x-jsonld-id: https://purl.org/geojson/vocab#features - x-jsonld-prefixes: - geojson: https://purl.org/geojson/vocab# - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-source: https://opengeospatial.github.io/bblocks/geo/json-fg/feature-lenient/schema.yaml - ogc.geo.features.featureCollection: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/geojson.org_schema_FeatureCollection.json - - type: object - properties: - links: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - timeStamp: - type: string - format: date-time - numberMatched: - type: integer - minimum: 0 - numberReturned: - type: integer - minimum: 0 - features: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature - x-jsonld-extra-terms: - properties: '@nest' - x-jsonld-prefixes: - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-source: https://opengeospatial.github.io/bblocks/geo/features/featureCollection/schema.yaml - ogc.unstable.sosa.properties.observation: - description: SOSA Observation - type: object - properties: - resultTime: - type: string - format: date-time - x-jsonld-id: http://www.w3.org/ns/sosa/resultTime - phenomenonTime: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/phenomenonTime - anyOf: - anyOf: - - type: object - - type: string - hasFeatureOfInterest: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/hasFeatureOfInterest - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - observedProperty: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/observedProperty - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - usedProcedure: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/usedProcedure - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - madeBySensor: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySensor - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - hasResult: - x-jsonld-id: http://www.w3.org/ns/sosa/hasResult - hasSimpleResult: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSimpleResult - anyOf: - - required: - - hasResult - - required: - - hasSimpleResult - x-jsonld-extra-terms: - Observation: http://www.w3.org/ns/sosa/Observation - Sample: http://www.w3.org/ns/sosa/Sample - System: http://www.w3.org/ns/sosa/System - Platform: http://www.w3.org/ns/sosa/Platform - id: '@id' - observes: - x-jsonld-id: http://www.w3.org/ns/sosa/observes - x-jsonld-type: '@id' - isObservedBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isObservedBy - x-jsonld-type: '@id' - madeObservation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeObservation - x-jsonld-type: '@id' - actsOnProperty: - x-jsonld-id: http://www.w3.org/ns/sosa/actsOnProperty - x-jsonld-type: '@id' - isActedOnBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isActedOnBy - x-jsonld-type: '@id' - madeActuation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeActuation - x-jsonld-type: '@id' - madeByActuator: - x-jsonld-id: http://www.w3.org/ns/sosa/madeByActuator - x-jsonld-type: '@id' - hasSample: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSample - x-jsonld-type: '@id' - isSampleOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isSampleOf - x-jsonld-type: '@id' - madeSampling: - x-jsonld-id: http://www.w3.org/ns/sosa/madeSampling - x-jsonld-type: '@id' - madeBySampler: - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySampler - x-jsonld-type: '@id' - isFeatureOfInterestOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isFeatureOfInterestOf - x-jsonld-type: '@id' - isResultOf: http://www.w3.org/ns/sosa/isResultOf - hosts: - x-jsonld-id: http://www.w3.org/ns/sosa/hosts - x-jsonld-type: '@id' - x-jsonld-container: '@set' - isHostedBy: http://www.w3.org/ns/sosa/isHostedBy - isProxyFor: http://www.w3.org/ns/sosa/isProxyFor - wasOriginatedBy: http://www.w3.org/ns/sosa/wasOriginatedBy - detects: http://www.w3.org/ns/sosa/detects - hasProperty: http://www.w3.org/ns/sosa/hasProperty - isPropertyOf: http://www.w3.org/ns/sosa/isPropertyOf - forProperty: http://www.w3.org/ns/sosa/forProperty - implements: http://www.w3.org/ns/sosa/implements - implementedBy: http://www.w3.org/ns/sosa/implementedBy - hasInput: http://www.w3.org/ns/sosa/hasInput - hasOutput: http://www.w3.org/ns/sosa/hasOutput - hasSubSystem: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSubSystem - x-jsonld-type: '@id' - x-jsonld-container: '@set' - deployedSystem: http://www.w3.org/ns/sosa/deployedSystem - hasDeployment: http://www.w3.org/ns/sosa/hasDeployment - deployedOnPlatform: http://www.w3.org/ns/sosa/deployedOnPlatform - inDeployment: http://www.w3.org/ns/sosa/inDeployment - inCondition: http://www.w3.org/ns/ssn/systems/inCondition - hasSystemCapability: http://www.w3.org/ns/ssn/systems/hasSystemCapability - hasSystemProperty: http://www.w3.org/ns/ssn/systems/hasSystemProperty - hasOperatingRange: http://www.w3.org/ns/ssn/systems/hasOperatingRange - hasOperatingProperty: http://www.w3.org/ns/ssn/systems/hasOperatingProperty - hasSurvivalRange: http://www.w3.org/ns/ssn/systems/hasSurvivalRange - hasSurvivalProperty: http://www.w3.org/ns/ssn/systems/hasSurvivalProperty - qualityOfObservation: http://www.w3.org/ns/ssn/systems/qualityOfObservation - hasMember: http://www.w3.org/ns/sosa/hasMember - features: http://www.w3.org/ns/sosa/hasMember - properties: '@nest' - featureType: '@type' - x-jsonld-prefixes: - sosa: http://www.w3.org/ns/sosa/ - ssn-system: http://www.w3.org/ns/ssn/systems/ - ssn: http://www.w3.org/ns/ssn/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/properties/observation/schema.yaml - ogc.ogc-utils.iri-or-curie: - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/ogc-utils/iri-or-curie/schema.yaml - ogc.geo.features.feature: - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.geojson - - type: object - properties: - links: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link - x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso - type: - const: Feature - required: - - type - - geometry - - properties - x-jsonld-extra-terms: - properties: '@nest' - x-jsonld-prefixes: - rdfs: http://www.w3.org/2000/01/rdf-schema# - x-schema-source: https://opengeospatial.github.io/bblocks/geo/features/feature/schema.yaml - beta.schemas.opengis.net_json-fg_time.json: - title: the time member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - type: object - properties: - date: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date - timestamp: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp - interval: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/interval - $defs: - date: - type: string - pattern: ^\d{4}-\d{2}-\d{2}$ - timestamp: - type: string - pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z$ - interval: - type: array - minItems: 2 - maxItems: 2 - items: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/date - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_time.json/$defs/timestamp - - type: string - enum: - - .. - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/time.json - beta.schemas.opengis.net_json-fg_place.json: - title: the place member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polyhedron - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolyhedron - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPrism - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/CustomGeometry - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/place.json - beta.schemas.opengis.net_json-fg_geometry.json: - title: the geometry member - description: This JSON Schema is part of JSON-FG version 0.1.1 - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/GeometryCollection - nullable: true - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/geometry.json - geojson.org_schema_FeatureCollection.json: - title: GeoJSON FeatureCollection - type: object - required: - - type - - features - properties: - type: - type: string - enum: - - FeatureCollection - features: - type: array - items: - title: GeoJSON Feature - type: object - required: - - type - - properties - - geometry - properties: - type: - type: string - enum: - - Feature - id: - oneOf: - - type: number - - type: string - properties: - oneOf: - - type: object - nullable: true - geometry: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - geometries: - type: array - items: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - nullable: true - bbox: - type: array - minItems: 4 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - x-schema-version: http://json-schema.org/draft-07/schema# - x-schema-source: https://geojson.org/schema/FeatureCollection.json - ogc.geo.common.data_types.geojson: - title: GeoJSON Feature - type: object - required: - - type - - properties - - geometry - properties: - type: - type: string - enum: - - Feature - x-jsonld-id: '@type' - id: - oneOf: - - type: number - - type: string - x-jsonld-id: '@id' - properties: - oneOf: - - type: object - x-jsonld-id: '@nest' - nullable: true - geometry: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - x-jsonld-id: '@type' - geometries: - type: array - items: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - x-jsonld-id: '@type' - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - x-jsonld-id: '@type' - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#coordinates - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-id: https://purl.org/geojson/vocab#geometry - nullable: true - bbox: - type: array - minItems: 4 - items: - type: number - x-jsonld-container: '@list' - x-jsonld-id: https://purl.org/geojson/vocab#bbox - x-jsonld-extra-terms: - Feature: https://purl.org/geojson/vocab#Feature - FeatureCollection: https://purl.org/geojson/vocab#FeatureCollection - GeometryCollection: https://purl.org/geojson/vocab#GeometryCollection - LineString: https://purl.org/geojson/vocab#LineString - MultiLineString: https://purl.org/geojson/vocab#MultiLineString - MultiPoint: https://purl.org/geojson/vocab#MultiPoint - MultiPolygon: https://purl.org/geojson/vocab#MultiPolygon - Point: https://purl.org/geojson/vocab#Point - Polygon: https://purl.org/geojson/vocab#Polygon - features: - x-jsonld-container: '@set' - x-jsonld-id: https://purl.org/geojson/vocab#features - x-jsonld-prefixes: - 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 - 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 - $defs: - CustomGeometry: - title: A custom geometry object - type: object - required: - - type - properties: - type: - type: string - not: - enum: - - Point - - MultiPoint - - LineString - - MultiLineString - - Polygon - - MultiPolygon - - Polyhedron - - MultiPolyhedron - - Prism - - MultiPrism - - GeometryCollection - Point: - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - LineString: - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - Polygon: - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - MultiPoint: - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - MultiLineString: - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - MultiPolygon: - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - Polyhedron: - title: JSON-FG Polyhedron - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polyhedron - coordinates: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - MultiPolyhedron: - title: JSON-FG MultiPolyhedron - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolyhedron - coordinates: - type: array - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 1 - items: - type: array - minItems: 4 - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/position3d - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - Prism: - title: JSON-FG Prism - type: object - required: - - type - - base - - upper - properties: - type: - type: string - enum: - - Prism - base: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - lower: - type: number - upper: - type: number - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - MultiPrism: - title: JSON-FG Multi-Prism - type: object - required: - - type - - prisms - properties: - type: - type: string - enum: - - MultiPrism - prisms: - type: array - items: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Prism - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - GeometryCollection: - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: - type: string - enum: - - GeometryCollection - geometries: - type: array - items: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Point - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPoint - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/LineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiLineString - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/Polygon - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/MultiPolygon - bbox: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox - position: - type: array - minItems: 2 - maxItems: 3 - items: - type: number - position3d: - type: array - minItems: 3 - maxItems: 3 - items: - type: number - bbox: - oneOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox2d - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/beta.schemas.opengis.net_json-fg_geometry-objects.json/$defs/bbox3d - bbox2d: - type: array - minItems: 4 - maxItems: 4 - items: - type: number - bbox3d: - type: array - minItems: 6 - maxItems: 6 - items: - type: number - x-schema-version: https://json-schema.org/draft/2019-09/schema - x-schema-source: https://beta.schemas.opengis.net/json-fg/geometry-objects.json allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.features.observationCollection diff --git a/annotated-schemas/unstable/sosa/properties/observationCollection/context.jsonld b/annotated-schemas/unstable/sosa/properties/observationCollection/context.jsonld index 147ac7705..fd89605d6 100644 --- a/annotated-schemas/unstable/sosa/properties/observationCollection/context.jsonld +++ b/annotated-schemas/unstable/sosa/properties/observationCollection/context.jsonld @@ -1,5 +1,27 @@ { "@context": { + "resultTime": "sosa:resultTime", + "phenomenonTime": "sosa:phenomenonTime", + "hasFeatureOfInterest": { + "@id": "sosa:hasFeatureOfInterest", + "@type": "@id" + }, + "observedProperty": { + "@id": "sosa:observedProperty", + "@type": "@id" + }, + "usedProcedure": { + "@id": "sosa:usedProcedure", + "@type": "@id" + }, + "madeBySensor": { + "@id": "sosa:madeBySensor", + "@type": "@id" + }, + "hasMember": { + "@context": {}, + "@id": "sosa:hasMember" + }, "Observation": "sosa:Observation", "Sample": "sosa:Sample", "System": "sosa:System", @@ -92,28 +114,6 @@ "features": "sosa:hasMember", "properties": "@nest", "featureType": "@type", - "resultTime": "sosa:resultTime", - "phenomenonTime": "sosa:phenomenonTime", - "hasFeatureOfInterest": { - "@id": "sosa:hasFeatureOfInterest", - "@type": "@id" - }, - "observedProperty": { - "@id": "sosa:observedProperty", - "@type": "@id" - }, - "usedProcedure": { - "@id": "sosa:usedProcedure", - "@type": "@id" - }, - "madeBySensor": { - "@id": "sosa:madeBySensor", - "@type": "@id" - }, - "hasMember": { - "@context": {}, - "@id": "sosa:hasMember" - }, "sosa": "http://www.w3.org/ns/sosa/", "ssn-system": "ssn:systems/", "ssn": "http://www.w3.org/ns/ssn/", diff --git a/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.json b/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.json index 6ee086a12..83e8c19f3 100644 --- a/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.json +++ b/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.json @@ -105,13 +105,13 @@ "items": { "anyOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.properties.observationCollection/$defs/collection" + "$ref": "#/$defs/collection" }, { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.properties.observation" + "$ref": "../observation/schema.json" }, { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.json#/x-defs/ogc.ogc-utils.iri-or-curie" + "$ref": "../../../../ogc-utils/iri-or-curie/schema.json" } ] }, @@ -122,7 +122,7 @@ }, "allOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.properties.observationCollection/$defs/collection" + "$ref": "#/$defs/collection" }, { "not": { @@ -242,228 +242,6 @@ }, "x-schema-version": "https://json-schema.org/draft/2020-12/schema", "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.json" - }, - "ogc.unstable.sosa.properties.observation": { - "description": "SOSA Observation", - "type": "object", - "properties": { - "resultTime": { - "type": "string", - "format": "date-time", - "x-jsonld-id": "http://www.w3.org/ns/sosa/resultTime" - }, - "phenomenonTime": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/phenomenonTime", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "hasFeatureOfInterest": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasFeatureOfInterest", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "observedProperty": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/observedProperty", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "usedProcedure": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/usedProcedure", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "madeBySensor": { - "type": [ - "object", - "string" - ], - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySensor", - "x-jsonld-type": "@id", - "anyOf": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - } - ] - } - }, - "hasResult": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasResult" - }, - "hasSimpleResult": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSimpleResult" - } - }, - "anyOf": [ - { - "required": [ - "hasResult" - ] - }, - { - "required": [ - "hasSimpleResult" - ] - } - ], - "x-jsonld-extra-terms": { - "Observation": "http://www.w3.org/ns/sosa/Observation", - "Sample": "http://www.w3.org/ns/sosa/Sample", - "System": "http://www.w3.org/ns/sosa/System", - "Platform": "http://www.w3.org/ns/sosa/Platform", - "id": "@id", - "observes": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/observes", - "x-jsonld-type": "@id" - }, - "isObservedBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isObservedBy", - "x-jsonld-type": "@id" - }, - "madeObservation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeObservation", - "x-jsonld-type": "@id" - }, - "actsOnProperty": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/actsOnProperty", - "x-jsonld-type": "@id" - }, - "isActedOnBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isActedOnBy", - "x-jsonld-type": "@id" - }, - "madeActuation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeActuation", - "x-jsonld-type": "@id" - }, - "madeByActuator": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeByActuator", - "x-jsonld-type": "@id" - }, - "hasSample": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSample", - "x-jsonld-type": "@id" - }, - "isSampleOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isSampleOf", - "x-jsonld-type": "@id" - }, - "madeSampling": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeSampling", - "x-jsonld-type": "@id" - }, - "madeBySampler": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySampler", - "x-jsonld-type": "@id" - }, - "isFeatureOfInterestOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isFeatureOfInterestOf", - "x-jsonld-type": "@id" - }, - "isResultOf": "http://www.w3.org/ns/sosa/isResultOf", - "hosts": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hosts", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "isHostedBy": "http://www.w3.org/ns/sosa/isHostedBy", - "isProxyFor": "http://www.w3.org/ns/sosa/isProxyFor", - "wasOriginatedBy": "http://www.w3.org/ns/sosa/wasOriginatedBy", - "detects": "http://www.w3.org/ns/sosa/detects", - "hasProperty": "http://www.w3.org/ns/sosa/hasProperty", - "isPropertyOf": "http://www.w3.org/ns/sosa/isPropertyOf", - "forProperty": "http://www.w3.org/ns/sosa/forProperty", - "implements": "http://www.w3.org/ns/sosa/implements", - "implementedBy": "http://www.w3.org/ns/sosa/implementedBy", - "hasInput": "http://www.w3.org/ns/sosa/hasInput", - "hasOutput": "http://www.w3.org/ns/sosa/hasOutput", - "hasSubSystem": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSubSystem", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "deployedSystem": "http://www.w3.org/ns/sosa/deployedSystem", - "hasDeployment": "http://www.w3.org/ns/sosa/hasDeployment", - "deployedOnPlatform": "http://www.w3.org/ns/sosa/deployedOnPlatform", - "inDeployment": "http://www.w3.org/ns/sosa/inDeployment", - "inCondition": "http://www.w3.org/ns/ssn/systems/inCondition", - "hasSystemCapability": "http://www.w3.org/ns/ssn/systems/hasSystemCapability", - "hasSystemProperty": "http://www.w3.org/ns/ssn/systems/hasSystemProperty", - "hasOperatingRange": "http://www.w3.org/ns/ssn/systems/hasOperatingRange", - "hasOperatingProperty": "http://www.w3.org/ns/ssn/systems/hasOperatingProperty", - "hasSurvivalRange": "http://www.w3.org/ns/ssn/systems/hasSurvivalRange", - "hasSurvivalProperty": "http://www.w3.org/ns/ssn/systems/hasSurvivalProperty", - "qualityOfObservation": "http://www.w3.org/ns/ssn/systems/qualityOfObservation", - "hasMember": "http://www.w3.org/ns/sosa/hasMember", - "features": "http://www.w3.org/ns/sosa/hasMember", - "properties": "@nest", - "featureType": "@type" - }, - "x-jsonld-prefixes": { - "sosa": "http://www.w3.org/ns/sosa/", - "ssn-system": "http://www.w3.org/ns/ssn/systems/", - "ssn": "http://www.w3.org/ns/ssn/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/observation/schema.json" - }, - "ogc.ogc-utils.iri-or-curie": { - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/ogc-utils/iri-or-curie/schema.json" } }, "allOf": [ diff --git a/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.yaml b/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.yaml index 8543eb0ca..d4f6b535d 100644 --- a/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.yaml +++ b/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.yaml @@ -62,12 +62,12 @@ x-defs: type: array items: anyOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.observationCollection/$defs/collection - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.observation - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.iri-or-curie + - $ref: '#/$defs/collection' + - $ref: ../observation/schema.yaml + - $ref: ../../../../ogc-utils/iri-or-curie/schema.yaml x-jsonld-id: http://www.w3.org/ns/sosa/hasMember allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.observationCollection/$defs/collection + - $ref: '#/$defs/collection' - not: anyOf: - required: @@ -159,158 +159,5 @@ x-defs: ssn: http://www.w3.org/ns/ssn/ x-schema-version: https://json-schema.org/draft/2020-12/schema x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.yaml - ogc.unstable.sosa.properties.observation: - description: SOSA Observation - type: object - properties: - resultTime: - type: string - format: date-time - x-jsonld-id: http://www.w3.org/ns/sosa/resultTime - phenomenonTime: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/phenomenonTime - anyOf: - anyOf: - - type: object - - type: string - hasFeatureOfInterest: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/hasFeatureOfInterest - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - observedProperty: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/observedProperty - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - usedProcedure: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/usedProcedure - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - madeBySensor: - type: - - object - - string - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySensor - x-jsonld-type: '@id' - anyOf: - anyOf: - - type: object - - type: string - hasResult: - x-jsonld-id: http://www.w3.org/ns/sosa/hasResult - hasSimpleResult: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSimpleResult - anyOf: - - required: - - hasResult - - required: - - hasSimpleResult - x-jsonld-extra-terms: - Observation: http://www.w3.org/ns/sosa/Observation - Sample: http://www.w3.org/ns/sosa/Sample - System: http://www.w3.org/ns/sosa/System - Platform: http://www.w3.org/ns/sosa/Platform - id: '@id' - observes: - x-jsonld-id: http://www.w3.org/ns/sosa/observes - x-jsonld-type: '@id' - isObservedBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isObservedBy - x-jsonld-type: '@id' - madeObservation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeObservation - x-jsonld-type: '@id' - actsOnProperty: - x-jsonld-id: http://www.w3.org/ns/sosa/actsOnProperty - x-jsonld-type: '@id' - isActedOnBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isActedOnBy - x-jsonld-type: '@id' - madeActuation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeActuation - x-jsonld-type: '@id' - madeByActuator: - x-jsonld-id: http://www.w3.org/ns/sosa/madeByActuator - x-jsonld-type: '@id' - hasSample: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSample - x-jsonld-type: '@id' - isSampleOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isSampleOf - x-jsonld-type: '@id' - madeSampling: - x-jsonld-id: http://www.w3.org/ns/sosa/madeSampling - x-jsonld-type: '@id' - madeBySampler: - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySampler - x-jsonld-type: '@id' - isFeatureOfInterestOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isFeatureOfInterestOf - x-jsonld-type: '@id' - isResultOf: http://www.w3.org/ns/sosa/isResultOf - hosts: - x-jsonld-id: http://www.w3.org/ns/sosa/hosts - x-jsonld-type: '@id' - x-jsonld-container: '@set' - isHostedBy: http://www.w3.org/ns/sosa/isHostedBy - isProxyFor: http://www.w3.org/ns/sosa/isProxyFor - wasOriginatedBy: http://www.w3.org/ns/sosa/wasOriginatedBy - detects: http://www.w3.org/ns/sosa/detects - hasProperty: http://www.w3.org/ns/sosa/hasProperty - isPropertyOf: http://www.w3.org/ns/sosa/isPropertyOf - forProperty: http://www.w3.org/ns/sosa/forProperty - implements: http://www.w3.org/ns/sosa/implements - implementedBy: http://www.w3.org/ns/sosa/implementedBy - hasInput: http://www.w3.org/ns/sosa/hasInput - hasOutput: http://www.w3.org/ns/sosa/hasOutput - hasSubSystem: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSubSystem - x-jsonld-type: '@id' - x-jsonld-container: '@set' - deployedSystem: http://www.w3.org/ns/sosa/deployedSystem - hasDeployment: http://www.w3.org/ns/sosa/hasDeployment - deployedOnPlatform: http://www.w3.org/ns/sosa/deployedOnPlatform - inDeployment: http://www.w3.org/ns/sosa/inDeployment - inCondition: http://www.w3.org/ns/ssn/systems/inCondition - hasSystemCapability: http://www.w3.org/ns/ssn/systems/hasSystemCapability - hasSystemProperty: http://www.w3.org/ns/ssn/systems/hasSystemProperty - hasOperatingRange: http://www.w3.org/ns/ssn/systems/hasOperatingRange - hasOperatingProperty: http://www.w3.org/ns/ssn/systems/hasOperatingProperty - hasSurvivalRange: http://www.w3.org/ns/ssn/systems/hasSurvivalRange - hasSurvivalProperty: http://www.w3.org/ns/ssn/systems/hasSurvivalProperty - qualityOfObservation: http://www.w3.org/ns/ssn/systems/qualityOfObservation - hasMember: http://www.w3.org/ns/sosa/hasMember - features: http://www.w3.org/ns/sosa/hasMember - properties: '@nest' - featureType: '@type' - x-jsonld-prefixes: - sosa: http://www.w3.org/ns/sosa/ - ssn-system: http://www.w3.org/ns/ssn/systems/ - ssn: http://www.w3.org/ns/ssn/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/observation/schema.yaml - ogc.ogc-utils.iri-or-curie: - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/ogc-utils/iri-or-curie/schema.yaml allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/observationCollection/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.observationCollection diff --git a/annotated-schemas/unstable/sosa/properties/platform/context.jsonld b/annotated-schemas/unstable/sosa/properties/platform/context.jsonld index cce974140..aca6fe003 100644 --- a/annotated-schemas/unstable/sosa/properties/platform/context.jsonld +++ b/annotated-schemas/unstable/sosa/properties/platform/context.jsonld @@ -1,5 +1,11 @@ { "@context": { + "hosts": { + "@context": {}, + "@id": "sosa:hosts", + "@type": "@id", + "@container": "@set" + }, "Observation": "sosa:Observation", "Sample": "sosa:Sample", "System": "sosa:System", @@ -106,12 +112,6 @@ "features": "sosa:hasMember", "properties": "@nest", "featureType": "@type", - "hosts": { - "@context": {}, - "@id": "sosa:hosts", - "@type": "@id", - "@container": "@set" - }, "sosa": "http://www.w3.org/ns/sosa/", "ssn-system": "ssn:systems/", "ssn": "http://www.w3.org/ns/ssn/", diff --git a/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.json b/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.json index 77d5a141a..30dbab159 100644 --- a/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.json +++ b/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.json @@ -6,7 +6,7 @@ "Platform": { "anyOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.json#/x-defs/ogc.ogc-utils.iri-or-curie" + "$ref": "../../../../ogc-utils/iri-or-curie/schema.json" }, { "type": "object", @@ -16,10 +16,10 @@ "items": { "anyOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.properties.platform/$definitions/Platform" + "$ref": "#/$definitions/Platform" }, { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.properties.sensor/$definitions/Sensor" + "$ref": "../sensor/schema.json#/$definitions/Sensor" } ] }, @@ -34,7 +34,7 @@ }, "allOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.properties.platform/$definitions/Platform" + "$ref": "#/$definitions/Platform" } ], "x-jsonld-extra-terms": { @@ -152,155 +152,6 @@ }, "x-schema-version": "https://json-schema.org/draft/2020-12/schema", "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.json" - }, - "ogc.ogc-utils.iri-or-curie": { - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/ogc-utils/iri-or-curie/schema.json" - }, - "ogc.unstable.sosa.properties.sensor": { - "description": "SOSA Sensor", - "$definitions": { - "Sensor": { - "anyOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.json#/x-defs/ogc.ogc-utils.iri-or-curie" - }, - { - "type": "object", - "properties": { - "id": {}, - "name": { - "type": "string" - } - } - } - ] - } - }, - "allOf": [ - { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.properties.sensor/$definitions/Sensor" - } - ], - "x-jsonld-extra-terms": { - "Observation": "http://www.w3.org/ns/sosa/Observation", - "Sample": "http://www.w3.org/ns/sosa/Sample", - "System": "http://www.w3.org/ns/sosa/System", - "Platform": "http://www.w3.org/ns/sosa/Platform", - "observedProperty": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/observedProperty", - "x-jsonld-type": "@id" - }, - "phenomenonTime": "http://www.w3.org/ns/sosa/phenomenonTime", - "observes": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/observes", - "x-jsonld-type": "@id" - }, - "isObservedBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isObservedBy", - "x-jsonld-type": "@id" - }, - "madeObservation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeObservation", - "x-jsonld-type": "@id" - }, - "madeBySensor": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySensor", - "x-jsonld-type": "@id" - }, - "actsOnProperty": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/actsOnProperty", - "x-jsonld-type": "@id" - }, - "isActedOnBy": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isActedOnBy", - "x-jsonld-type": "@id" - }, - "madeActuation": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeActuation", - "x-jsonld-type": "@id" - }, - "madeByActuator": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeByActuator", - "x-jsonld-type": "@id" - }, - "hasSample": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSample", - "x-jsonld-type": "@id" - }, - "isSampleOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isSampleOf", - "x-jsonld-type": "@id" - }, - "madeSampling": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeSampling", - "x-jsonld-type": "@id" - }, - "madeBySampler": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/madeBySampler", - "x-jsonld-type": "@id" - }, - "hasFeatureOfInterest": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasFeatureOfInterest", - "x-jsonld-type": "@id" - }, - "isFeatureOfInterestOf": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/isFeatureOfInterestOf", - "x-jsonld-type": "@id" - }, - "hasResult": "http://www.w3.org/ns/sosa/hasResult", - "isResultOf": "http://www.w3.org/ns/sosa/isResultOf", - "hasSimpleResult": "http://www.w3.org/ns/sosa/hasSimpleResult", - "resultTime": "http://www.w3.org/ns/sosa/resultTime", - "usedProcedure": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/usedProcedure", - "x-jsonld-type": "@id" - }, - "hosts": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hosts", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "isHostedBy": "http://www.w3.org/ns/sosa/isHostedBy", - "isProxyFor": "http://www.w3.org/ns/sosa/isProxyFor", - "wasOriginatedBy": "http://www.w3.org/ns/sosa/wasOriginatedBy", - "detects": "http://www.w3.org/ns/sosa/detects", - "hasProperty": "http://www.w3.org/ns/sosa/hasProperty", - "isPropertyOf": "http://www.w3.org/ns/sosa/isPropertyOf", - "forProperty": "http://www.w3.org/ns/sosa/forProperty", - "implements": "http://www.w3.org/ns/sosa/implements", - "implementedBy": "http://www.w3.org/ns/sosa/implementedBy", - "hasInput": "http://www.w3.org/ns/sosa/hasInput", - "hasOutput": "http://www.w3.org/ns/sosa/hasOutput", - "hasSubSystem": { - "x-jsonld-id": "http://www.w3.org/ns/sosa/hasSubSystem", - "x-jsonld-type": "@id", - "x-jsonld-container": "@set" - }, - "deployedSystem": "http://www.w3.org/ns/sosa/deployedSystem", - "hasDeployment": "http://www.w3.org/ns/sosa/hasDeployment", - "deployedOnPlatform": "http://www.w3.org/ns/sosa/deployedOnPlatform", - "inDeployment": "http://www.w3.org/ns/sosa/inDeployment", - "inCondition": "http://www.w3.org/ns/ssn/systems/inCondition", - "hasSystemCapability": "http://www.w3.org/ns/ssn/systems/hasSystemCapability", - "hasSystemProperty": "http://www.w3.org/ns/ssn/systems/hasSystemProperty", - "hasOperatingRange": "http://www.w3.org/ns/ssn/systems/hasOperatingRange", - "hasOperatingProperty": "http://www.w3.org/ns/ssn/systems/hasOperatingProperty", - "hasSurvivalRange": "http://www.w3.org/ns/ssn/systems/hasSurvivalRange", - "hasSurvivalProperty": "http://www.w3.org/ns/ssn/systems/hasSurvivalProperty", - "qualityOfObservation": "http://www.w3.org/ns/ssn/systems/qualityOfObservation", - "hasMember": "http://www.w3.org/ns/sosa/hasMember", - "features": "http://www.w3.org/ns/sosa/hasMember", - "properties": "@nest", - "featureType": "@type" - }, - "x-jsonld-prefixes": { - "sosa": "http://www.w3.org/ns/sosa/", - "ssn-system": "http://www.w3.org/ns/ssn/systems/", - "ssn": "http://www.w3.org/ns/ssn/" - }, - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/sensor/schema.json" } }, "allOf": [ diff --git a/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.yaml b/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.yaml index c39cb2fcf..7b3b109f8 100644 --- a/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.yaml +++ b/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.yaml @@ -4,20 +4,20 @@ x-defs: $definitions: Platform: anyOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.iri-or-curie + - $ref: ../../../../ogc-utils/iri-or-curie/schema.yaml - type: object properties: hosts: type: array items: anyOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.platform/$definitions/Platform - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.sensor/$definitions/Sensor + - $ref: '#/$definitions/Platform' + - $ref: ../sensor/schema.yaml#/$definitions/Sensor x-jsonld-id: http://www.w3.org/ns/sosa/hosts x-jsonld-type: '@id' x-jsonld-container: '@set' allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.platform/$definitions/Platform + - $ref: '#/$definitions/Platform' x-jsonld-extra-terms: Observation: http://www.w3.org/ns/sosa/Observation Sample: http://www.w3.org/ns/sosa/Sample @@ -114,120 +114,5 @@ x-defs: ssn: http://www.w3.org/ns/ssn/ x-schema-version: https://json-schema.org/draft/2020-12/schema x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.yaml - ogc.ogc-utils.iri-or-curie: - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/ogc-utils/iri-or-curie/schema.yaml - ogc.unstable.sosa.properties.sensor: - description: SOSA Sensor - $definitions: - Sensor: - anyOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.iri-or-curie - - type: object - properties: - id: {} - name: - type: string - allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.sensor/$definitions/Sensor - x-jsonld-extra-terms: - Observation: http://www.w3.org/ns/sosa/Observation - Sample: http://www.w3.org/ns/sosa/Sample - System: http://www.w3.org/ns/sosa/System - Platform: http://www.w3.org/ns/sosa/Platform - observedProperty: - x-jsonld-id: http://www.w3.org/ns/sosa/observedProperty - x-jsonld-type: '@id' - phenomenonTime: http://www.w3.org/ns/sosa/phenomenonTime - observes: - x-jsonld-id: http://www.w3.org/ns/sosa/observes - x-jsonld-type: '@id' - isObservedBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isObservedBy - x-jsonld-type: '@id' - madeObservation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeObservation - x-jsonld-type: '@id' - madeBySensor: - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySensor - x-jsonld-type: '@id' - actsOnProperty: - x-jsonld-id: http://www.w3.org/ns/sosa/actsOnProperty - x-jsonld-type: '@id' - isActedOnBy: - x-jsonld-id: http://www.w3.org/ns/sosa/isActedOnBy - x-jsonld-type: '@id' - madeActuation: - x-jsonld-id: http://www.w3.org/ns/sosa/madeActuation - x-jsonld-type: '@id' - madeByActuator: - x-jsonld-id: http://www.w3.org/ns/sosa/madeByActuator - x-jsonld-type: '@id' - hasSample: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSample - x-jsonld-type: '@id' - isSampleOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isSampleOf - x-jsonld-type: '@id' - madeSampling: - x-jsonld-id: http://www.w3.org/ns/sosa/madeSampling - x-jsonld-type: '@id' - madeBySampler: - x-jsonld-id: http://www.w3.org/ns/sosa/madeBySampler - x-jsonld-type: '@id' - hasFeatureOfInterest: - x-jsonld-id: http://www.w3.org/ns/sosa/hasFeatureOfInterest - x-jsonld-type: '@id' - isFeatureOfInterestOf: - x-jsonld-id: http://www.w3.org/ns/sosa/isFeatureOfInterestOf - x-jsonld-type: '@id' - hasResult: http://www.w3.org/ns/sosa/hasResult - isResultOf: http://www.w3.org/ns/sosa/isResultOf - hasSimpleResult: http://www.w3.org/ns/sosa/hasSimpleResult - resultTime: http://www.w3.org/ns/sosa/resultTime - usedProcedure: - x-jsonld-id: http://www.w3.org/ns/sosa/usedProcedure - x-jsonld-type: '@id' - hosts: - x-jsonld-id: http://www.w3.org/ns/sosa/hosts - x-jsonld-type: '@id' - x-jsonld-container: '@set' - isHostedBy: http://www.w3.org/ns/sosa/isHostedBy - isProxyFor: http://www.w3.org/ns/sosa/isProxyFor - wasOriginatedBy: http://www.w3.org/ns/sosa/wasOriginatedBy - detects: http://www.w3.org/ns/sosa/detects - hasProperty: http://www.w3.org/ns/sosa/hasProperty - isPropertyOf: http://www.w3.org/ns/sosa/isPropertyOf - forProperty: http://www.w3.org/ns/sosa/forProperty - implements: http://www.w3.org/ns/sosa/implements - implementedBy: http://www.w3.org/ns/sosa/implementedBy - hasInput: http://www.w3.org/ns/sosa/hasInput - hasOutput: http://www.w3.org/ns/sosa/hasOutput - hasSubSystem: - x-jsonld-id: http://www.w3.org/ns/sosa/hasSubSystem - x-jsonld-type: '@id' - x-jsonld-container: '@set' - deployedSystem: http://www.w3.org/ns/sosa/deployedSystem - hasDeployment: http://www.w3.org/ns/sosa/hasDeployment - deployedOnPlatform: http://www.w3.org/ns/sosa/deployedOnPlatform - inDeployment: http://www.w3.org/ns/sosa/inDeployment - inCondition: http://www.w3.org/ns/ssn/systems/inCondition - hasSystemCapability: http://www.w3.org/ns/ssn/systems/hasSystemCapability - hasSystemProperty: http://www.w3.org/ns/ssn/systems/hasSystemProperty - hasOperatingRange: http://www.w3.org/ns/ssn/systems/hasOperatingRange - hasOperatingProperty: http://www.w3.org/ns/ssn/systems/hasOperatingProperty - hasSurvivalRange: http://www.w3.org/ns/ssn/systems/hasSurvivalRange - hasSurvivalProperty: http://www.w3.org/ns/ssn/systems/hasSurvivalProperty - qualityOfObservation: http://www.w3.org/ns/ssn/systems/qualityOfObservation - hasMember: http://www.w3.org/ns/sosa/hasMember - features: http://www.w3.org/ns/sosa/hasMember - properties: '@nest' - featureType: '@type' - x-jsonld-prefixes: - sosa: http://www.w3.org/ns/sosa/ - ssn-system: http://www.w3.org/ns/ssn/systems/ - ssn: http://www.w3.org/ns/ssn/ - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/sensor/schema.yaml allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.platform diff --git a/annotated-schemas/unstable/sosa/properties/sensor/context.jsonld b/annotated-schemas/unstable/sosa/properties/sensor/context.jsonld index 0166d703a..101e98831 100644 --- a/annotated-schemas/unstable/sosa/properties/sensor/context.jsonld +++ b/annotated-schemas/unstable/sosa/properties/sensor/context.jsonld @@ -1,5 +1,6 @@ { "@context": { + "id": "@id", "Observation": "sosa:Observation", "Sample": "sosa:Sample", "System": "sosa:System", @@ -110,7 +111,6 @@ "features": "sosa:hasMember", "properties": "@nest", "featureType": "@type", - "id": "@id", "sosa": "http://www.w3.org/ns/sosa/", "ssn-system": "ssn:systems/", "ssn": "http://www.w3.org/ns/ssn/", diff --git a/annotated-schemas/unstable/sosa/properties/sensor/schema-oas3.0.json b/annotated-schemas/unstable/sosa/properties/sensor/schema-oas3.0.json index 0dd94705c..d45736edb 100644 --- a/annotated-schemas/unstable/sosa/properties/sensor/schema-oas3.0.json +++ b/annotated-schemas/unstable/sosa/properties/sensor/schema-oas3.0.json @@ -6,12 +6,15 @@ "Sensor": { "anyOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/sensor/schema-oas3.0.json#/x-defs/ogc.ogc-utils.iri-or-curie" + "$ref": "../../../../ogc-utils/iri-or-curie/schema.json" }, { "type": "object", "properties": { - "id": {}, + "id": { + "$ref": "../../../../ogc-utils/iri-or-curie/schema.json", + "x-jsonld-id": "@id" + }, "name": { "type": "string" } @@ -22,7 +25,7 @@ }, "allOf": [ { - "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/sensor/schema-oas3.0.json#/x-defs/ogc.unstable.sosa.properties.sensor/$definitions/Sensor" + "$ref": "#/$definitions/Sensor" } ], "x-jsonld-extra-terms": { @@ -144,10 +147,6 @@ }, "x-schema-version": "https://json-schema.org/draft/2020-12/schema", "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/sensor/schema-oas3.0.json" - }, - "ogc.ogc-utils.iri-or-curie": { - "x-schema-version": "https://json-schema.org/draft/2020-12/schema", - "x-schema-source": "https://opengeospatial.github.io/bblocks/ogc-utils/iri-or-curie/schema.json" } }, "allOf": [ diff --git a/annotated-schemas/unstable/sosa/properties/sensor/schema-oas3.0.yaml b/annotated-schemas/unstable/sosa/properties/sensor/schema-oas3.0.yaml index 8b064bdfa..0f9fa17f2 100644 --- a/annotated-schemas/unstable/sosa/properties/sensor/schema-oas3.0.yaml +++ b/annotated-schemas/unstable/sosa/properties/sensor/schema-oas3.0.yaml @@ -4,14 +4,16 @@ x-defs: $definitions: Sensor: anyOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/sensor/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.iri-or-curie + - $ref: ../../../../ogc-utils/iri-or-curie/schema.yaml - type: object properties: - id: {} + id: + $ref: ../../../../ogc-utils/iri-or-curie/schema.yaml + x-jsonld-id: '@id' name: type: string allOf: - - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/sensor/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.sensor/$definitions/Sensor + - $ref: '#/$definitions/Sensor' x-jsonld-extra-terms: Observation: http://www.w3.org/ns/sosa/Observation Sample: http://www.w3.org/ns/sosa/Sample @@ -111,8 +113,5 @@ x-defs: ssn: http://www.w3.org/ns/ssn/ x-schema-version: https://json-schema.org/draft/2020-12/schema x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/sensor/schema-oas3.0.yaml - ogc.ogc-utils.iri-or-curie: - x-schema-version: https://json-schema.org/draft/2020-12/schema - x-schema-source: https://opengeospatial.github.io/bblocks/ogc-utils/iri-or-curie/schema.yaml allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/sensor/schema-oas3.0.yaml#/x-defs/ogc.unstable.sosa.properties.sensor diff --git a/bblocks.jsonld b/bblocks.jsonld index 0497ba7a8..f1e8882f1 100644 --- a/bblocks.jsonld +++ b/bblocks.jsonld @@ -99,14 +99,14 @@ "sourceFiles": "https://opengeospatial.github.io/bblocks/registereditems/geo/common/data_types/geojson/", "validationPassed": true, "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/common/data_types/geojson/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/common/data_types/geojson/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/common/data_types/geojson/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/common/data_types/geojson/" @@ -144,14 +144,14 @@ "sourceFiles": "https://opengeospatial.github.io/bblocks/registereditems/geo/common/parameters/bbox/", "validationPassed": true, "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/common/parameters/bbox/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/common/parameters/bbox/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/common/parameters/bbox/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/common/parameters/bbox/" @@ -189,14 +189,14 @@ "sourceFiles": "https://opengeospatial.github.io/bblocks/registereditems/geo/common/parameters/bbox-crs/", "validationPassed": true, "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/common/parameters/bbox-crs/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/common/parameters/bbox-crs/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/common/parameters/bbox-crs/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/common/parameters/bbox-crs/" @@ -234,14 +234,14 @@ "sourceFiles": "https://opengeospatial.github.io/bblocks/registereditems/ogc-utils/json-link/", "validationPassed": true, "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/ogc-utils/json-link/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/ogc-utils/json-link/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/ogc-utils/json-link/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/ogc-utils/json-link/" @@ -280,14 +280,14 @@ "sourceFiles": "https://opengeospatial.github.io/bblocks/registereditems/geo/geopose/advanced/", "validationPassed": true, "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/geopose/advanced/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/geopose/advanced/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/geopose/advanced/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/geopose/advanced/" @@ -326,14 +326,14 @@ "sourceFiles": "https://opengeospatial.github.io/bblocks/registereditems/geo/geopose/basic/quaternion/", "validationPassed": true, "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/geopose/basic/quaternion/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/geopose/basic/quaternion/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/geopose/basic/quaternion/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/geopose/basic/quaternion/" @@ -373,14 +373,14 @@ "validationPassed": true, "testOutputs": "https://github.com/opengeospatial/bblocks/blob/master/tests/geo/geopose/basic/ypr/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/geopose/basic/ypr/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/geopose/basic/ypr/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/geopose/basic/ypr/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/geopose/basic/ypr/" @@ -426,14 +426,14 @@ "validationPassed": true, "testOutputs": "https://github.com/opengeospatial/bblocks/blob/master/tests/ogc-utils/iri-or-curie/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/ogc-utils/iri-or-curie/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/ogc-utils/iri-or-curie/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/ogc-utils/iri-or-curie/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/ogc-utils/iri-or-curie/" @@ -484,14 +484,14 @@ "validationPassed": true, "testOutputs": "https://github.com/opengeospatial/bblocks/blob/master/tests/unstable/sosa/properties/observation/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/properties/observation/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/properties/observation/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/properties/observation/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/properties/observation/" @@ -545,14 +545,14 @@ "validationPassed": true, "testOutputs": "https://github.com/opengeospatial/bblocks/blob/master/tests/geo/common/data_types/bounding_box/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/common/data_types/bounding_box/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/common/data_types/bounding_box/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/common/data_types/bounding_box/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/common/data_types/bounding_box/" @@ -588,8 +588,8 @@ "group": "Common", "shaclRules": {}, "dependsOn": [ - "ogc.geo.common.data_types.geojson", - "ogc.ogc-utils.json-link" + "ogc.ogc-utils.json-link", + "ogc.geo.common.data_types.geojson" ], "schema": { "application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.yaml", @@ -600,14 +600,14 @@ "validationPassed": true, "testOutputs": "https://github.com/opengeospatial/bblocks/blob/master/tests/geo/features/feature/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/features/feature/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/features/feature/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/features/feature/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/features/feature/" @@ -650,14 +650,14 @@ "validationPassed": true, "testOutputs": "https://github.com/opengeospatial/bblocks/blob/master/tests/geo/json-fg/link-role/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/json-fg/link-role/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/json-fg/link-role/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/json-fg/link-role/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/json-fg/link-role/" @@ -700,14 +700,14 @@ "validationPassed": true, "testOutputs": "https://github.com/opengeospatial/bblocks/blob/master/tests/ogc-utils/topology/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/ogc-utils/topology/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/ogc-utils/topology/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/ogc-utils/topology/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/ogc-utils/topology/" @@ -757,14 +757,14 @@ "validationPassed": true, "testOutputs": "https://github.com/opengeospatial/bblocks/blob/master/tests/unstable/sosa/properties/sensor/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/properties/sensor/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/properties/sensor/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/properties/sensor/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/properties/sensor/" @@ -794,8 +794,8 @@ "maturity": "development", "scope": "unstable", "dependsOn": [ - "ogc.geo.geopose.basic.ypr", - "ogc.unstable.sosa.properties.observation" + "ogc.unstable.sosa.properties.observation", + "ogc.geo.geopose.basic.ypr" ], "tags": [ "sosa", @@ -820,14 +820,14 @@ "validationPassed": true, "testOutputs": "https://github.com/opengeospatial/bblocks/blob/master/tests/unstable/sosa/examples/vectorObservation/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/examples/vectorObservation/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/examples/vectorObservation/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/examples/vectorObservation/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/examples/vectorObservation/" @@ -886,14 +886,14 @@ "validationPassed": true, "testOutputs": "https://github.com/opengeospatial/bblocks/blob/master/tests/unstable/sosa/properties/observationCollection/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/properties/observationCollection/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/properties/observationCollection/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/properties/observationCollection/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/properties/observationCollection/" @@ -926,8 +926,8 @@ "group": "Common", "shaclRules": {}, "dependsOn": [ - "ogc.geo.features.feature", - "ogc.ogc-utils.json-link" + "ogc.ogc-utils.json-link", + "ogc.geo.features.feature" ], "schema": { "application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema.yaml", @@ -937,14 +937,14 @@ "validationPassed": true, "testOutputs": "https://github.com/opengeospatial/bblocks/blob/master/tests/geo/features/featureCollection/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/features/featureCollection/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/features/featureCollection/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/features/featureCollection/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/features/featureCollection/" @@ -975,8 +975,8 @@ "group": "JSON-FG", "shaclRules": {}, "dependsOn": [ - "ogc.geo.features.feature", - "ogc.ogc-utils.json-link" + "ogc.ogc-utils.json-link", + "ogc.geo.features.feature" ], "schema": { "application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema.yaml", @@ -986,14 +986,14 @@ "sourceFiles": "https://opengeospatial.github.io/bblocks/registereditems/geo/json-fg/feature/", "validationPassed": true, "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/json-fg/feature/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/json-fg/feature/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/json-fg/feature/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/json-fg/feature/" @@ -1028,8 +1028,8 @@ "group": "JSON-FG", "shaclRules": {}, "dependsOn": [ - "ogc.geo.features.feature", - "ogc.ogc-utils.json-link" + "ogc.ogc-utils.json-link", + "ogc.geo.features.feature" ], "schema": { "application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema.yaml", @@ -1038,14 +1038,14 @@ "sourceFiles": "https://opengeospatial.github.io/bblocks/registereditems/geo/json-fg/feature-lenient/", "validationPassed": true, "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/json-fg/feature-lenient/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/json-fg/feature-lenient/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/json-fg/feature-lenient/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/json-fg/feature-lenient/" @@ -1096,14 +1096,14 @@ "validationPassed": true, "testOutputs": "https://github.com/opengeospatial/bblocks/blob/master/tests/unstable/sosa/properties/platform/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/properties/platform/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/properties/platform/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/properties/platform/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/properties/platform/" @@ -1134,9 +1134,9 @@ "group": "JSON-FG", "shaclRules": {}, "dependsOn": [ - "ogc.geo.features.featureCollection", "ogc.geo.json-fg.feature", - "ogc.ogc-utils.json-link" + "ogc.ogc-utils.json-link", + "ogc.geo.features.featureCollection" ], "schema": { "application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema.yaml", @@ -1147,14 +1147,14 @@ "validationPassed": true, "testOutputs": "https://github.com/opengeospatial/bblocks/blob/master/tests/geo/json-fg/featureCollection/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/json-fg/featureCollection/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/json-fg/featureCollection/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/json-fg/featureCollection/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/json-fg/featureCollection/" @@ -1189,9 +1189,9 @@ "group": "JSON-FG", "shaclRules": {}, "dependsOn": [ - "ogc.geo.features.featureCollection", "ogc.geo.json-fg.feature-lenient", - "ogc.ogc-utils.json-link" + "ogc.ogc-utils.json-link", + "ogc.geo.features.featureCollection" ], "schema": { "application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema.yaml", @@ -1200,14 +1200,14 @@ "sourceFiles": "https://opengeospatial.github.io/bblocks/registereditems/geo/json-fg/featureCollection-lenient/", "validationPassed": true, "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/json-fg/featureCollection-lenient/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/json-fg/featureCollection-lenient/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/json-fg/featureCollection-lenient/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/json-fg/featureCollection-lenient/" @@ -1237,8 +1237,8 @@ "maturity": "development", "scope": "unstable", "dependsOn": [ - "ogc.unstable.sosa.properties.observation", - "ogc.geo.json-fg.feature-lenient" + "ogc.geo.json-fg.feature-lenient", + "ogc.unstable.sosa.properties.observation" ], "tags": [ "sosa", @@ -1262,14 +1262,14 @@ "validationPassed": true, "testOutputs": "https://github.com/opengeospatial/bblocks/blob/master/tests/unstable/sosa/features/observation/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/features/observation/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/features/observation/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/features/observation/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/features/observation/" @@ -1316,8 +1316,8 @@ ] }, "dependsOn": [ - "ogc.unstable.sosa.features.observation", "ogc.geo.json-fg.featureCollection-lenient", + "ogc.unstable.sosa.features.observation", "ogc.unstable.sosa.properties.observationCollection" ], "schema": { @@ -1329,14 +1329,14 @@ "validationPassed": true, "testOutputs": "https://github.com/opengeospatial/bblocks/blob/master/tests/unstable/sosa/features/observationCollection/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/features/observationCollection/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/features/observationCollection/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/features/observationCollection/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/features/observationCollection/" @@ -1366,9 +1366,9 @@ "maturity": "development", "scope": "unstable", "dependsOn": [ + "ogc.unstable.sosa.properties.observation", "ogc.unstable.sosa.features.observationCollection", "ogc.unstable.sosa.examples.vectorObservation", - "ogc.unstable.sosa.properties.observation", "ogc.unstable.sosa.features.observation" ], "tags": [ @@ -1397,14 +1397,14 @@ "validationPassed": true, "testOutputs": "https://github.com/opengeospatial/bblocks/blob/master/tests/unstable/sosa/examples/vectorObservationFeature/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/examples/vectorObservationFeature/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/examples/vectorObservationFeature/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/examples/vectorObservationFeature/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/examples/vectorObservationFeature/" @@ -1450,14 +1450,14 @@ "sourceFiles": "https://opengeospatial.github.io/bblocks/registereditems/unstable/sosa/_sources/", "validationPassed": true, "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/" diff --git a/bblocks.ttl b/bblocks.ttl index 5cdf0ae78..ef0518069 100644 --- a/bblocks.ttl +++ b/bblocks.ttl @@ -13,10 +13,10 @@ bblocks:ogc.geo.common.parameters.bbox-crs a skos:Concept, dct:created "2022-07-05T01:01:01+02:00"^^xsd:dateTime ; dct:description [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/common/parameters/bbox-crs/index.md" ], - [ dct:format "application/json" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/common/parameters/bbox-crs/index.json" ], [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/common/parameters/bbox-crs/" ] ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/common/parameters/bbox-crs/" ], + [ dct:format "application/json" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/common/parameters/bbox-crs/index.json" ] ; dct:hasVersion "1.0" ; dct:modified "2022-07-05"^^xsd:date ; dct:source ; @@ -31,12 +31,12 @@ bblocks:ogc.geo.geopose.advanced a skos:Concept, rdfs:label "GeoPose Advanced" ; dct:abstract "Advanced GeoPose allowing flexible outer frame specification, quaternion orientation, and valid time." ; dct:created "2023-07-13T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/geopose/advanced/" ], + dct:description [ dct:format "application/json" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/geopose/advanced/index.json" ], [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/geopose/advanced/index.md" ], - [ dct:format "application/json" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/geopose/advanced/index.json" ] ; + [ dct:format "text/html" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/geopose/advanced/" ] ; dct:hasVersion "0.1" ; dct:modified "2023-07-13"^^xsd:date ; dct:source ; @@ -52,12 +52,12 @@ bblocks:ogc.geo.geopose.basic.quaternion a skos:Concept, rdfs:label "GeoPose Basic-Quaternion" ; dct:abstract "Basic GeoPose using quaternion to specify orientation" ; dct:created "2023-07-13T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/geopose/basic/quaternion/index.md" ], + dct:description [ dct:format "text/html" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/geopose/basic/quaternion/" ], [ dct:format "application/json" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/geopose/basic/quaternion/index.json" ], - [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/geopose/basic/quaternion/" ] ; + [ dct:format "text/markdown" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/geopose/basic/quaternion/index.md" ] ; dct:hasVersion "0.1" ; dct:modified "2023-07-13"^^xsd:date ; dct:source ; @@ -73,10 +73,10 @@ bblocks:ogc.geo.json-fg.featureCollection a skos:Concept, rdfs:label "JSON-FG Feature Collection" ; dct:abstract "A collection of OGC Features and Geometries JSON (JSON-FG) Features, extending GeoJSON to support a limited set of additional capabilities that are out-of-scope for GeoJSON, but that are important for a variety of use cases involving feature data." ; dct:created "2023-05-31T14:56:51+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/json-fg/featureCollection/" ], - [ dct:format "text/markdown" ; + dct:description [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/json-fg/featureCollection/index.md" ], + [ dct:format "text/html" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/json-fg/featureCollection/" ], [ dct:format "application/json" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/json-fg/featureCollection/index.json" ] ; dct:hasVersion "0.1" ; @@ -119,12 +119,12 @@ bblocks:ogc.ogc-utils.topology a skos:Concept, rdfs:label "Geometry using references" ; dct:abstract "Demonstration of a schema using coordinates of points, withpout duplication" ; dct:created "2023-04-05T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "application/json" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/ogc-utils/topology/index.json" ], - [ dct:format "text/markdown" ; + dct:description [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/ogc-utils/topology/index.md" ], [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/ogc-utils/topology/" ] ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/ogc-utils/topology/" ], + [ dct:format "application/json" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/ogc-utils/topology/index.json" ] ; dct:hasVersion "0.1" ; dct:modified "2023-05-24"^^xsd:date ; skos:inScheme ; @@ -140,12 +140,12 @@ bblocks:ogc.unstable.sosa a skos:Concept, rdfs:label "Sensor, Observation, Sample, and Actuator (SOSA)" ; dct:abstract "The SOSA (Sensor, Observation, Sample, and Actuator) ontology is a realisation of the Observations, Measurements and Sampling (OMS) Conceptual model" ; dct:created "2023-04-13T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/" ], - [ dct:format "application/json" ; + dct:description [ dct:format "application/json" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/index.json" ], [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/index.md" ] ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/index.md" ], + [ dct:format "text/html" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/" ] ; dct:hasVersion "1.0" ; dct:modified "2023-04-13"^^xsd:date ; dct:source ; @@ -161,12 +161,12 @@ bblocks:ogc.unstable.sosa.examples.vectorObservationFeature a skos:Concept, rdfs:label "Example SOSA Vector Observation Feature" ; dct:abstract "This building block defines an example SOSA Observation Feature using another schema to define a result set - in this case the GeoPose model" ; dct:created "2023-05-19T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/html" ; + dct:description [ dct:format "text/markdown" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/examples/vectorObservationFeature/index.md" ], + [ dct:format "text/html" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/examples/vectorObservationFeature/" ], [ dct:format "application/json" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/examples/vectorObservationFeature/index.json" ], - [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/examples/vectorObservationFeature/index.md" ] ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/examples/vectorObservationFeature/index.json" ] ; dct:hasVersion "1.0" ; dct:modified "2023-05-19"^^xsd:date ; dct:source ; @@ -186,12 +186,12 @@ bblocks:ogc.unstable.sosa.properties.platform a skos:Concept, rdfs:label "SOSA Platform" ; dct:abstract "This building block defines the set of properties for an observation Platform according to the SOSA/SSN specification. These properties may be directly included into a root element of a JSON object or used in the properties container of a GeoJSON feature." ; dct:created "2023-12-05T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/properties/platform/index.md" ], - [ dct:format "text/html" ; + dct:description [ dct:format "text/html" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/properties/platform/" ], [ dct:format "application/json" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/properties/platform/index.json" ] ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/properties/platform/index.json" ], + [ dct:format "text/markdown" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/properties/platform/index.md" ] ; dct:hasVersion "1.0" ; dct:modified "2023-04-13"^^xsd:date ; dct:source ; @@ -211,10 +211,10 @@ bblocks:r1.geo.common.data_types.bounding_box a skos:Concept, dct:created "2022-05-24T13:51:38+00:00"^^xsd:dateTime ; dct:description [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/common/data_types/bounding_box/index.md" ], - [ dct:format "application/json" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/common/data_types/bounding_box/index.json" ], [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/common/data_types/bounding_box/" ] ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/common/data_types/bounding_box/" ], + [ dct:format "application/json" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/common/data_types/bounding_box/index.json" ] ; dct:hasVersion "1.0.1" ; dct:modified "2023-03-09"^^xsd:date ; dct:source ; @@ -230,10 +230,10 @@ bblocks:r1.geo.common.parameters.bbox a skos:Concept, rdfs:label "bbox" ; dct:abstract "The bbox query parameter provides a simple mechanism for filtering resources based on their location. It selects all resources that intersect a rectangle (map view) or box (including height information)." ; dct:created "2022-05-24T13:51:38+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/common/parameters/bbox/index.md" ], - [ dct:format "text/html" ; + dct:description [ dct:format "text/html" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/common/parameters/bbox/" ], + [ dct:format "text/markdown" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/common/parameters/bbox/index.md" ], [ dct:format "application/json" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/common/parameters/bbox/index.json" ] ; dct:hasVersion "1.0" ; @@ -268,12 +268,12 @@ bblocks:ogc.geo.common.data_types.geojson a skos:Concept, rdfs:label "GeoJSON" ; dct:abstract "A GeoJSON object" ; dct:created "2023-05-24T14:56:51+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/common/data_types/geojson/" ], - [ dct:format "application/json" ; + dct:description [ dct:format "application/json" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/common/data_types/geojson/index.json" ], [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/common/data_types/geojson/index.md" ] ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/common/data_types/geojson/index.md" ], + [ dct:format "text/html" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/common/data_types/geojson/" ] ; dct:hasVersion "1.0" ; dct:modified "2023-05-15"^^xsd:date ; dct:source ; @@ -291,10 +291,10 @@ bblocks:ogc.geo.geopose.basic.ypr a skos:Concept, dct:created "2023-03-15T00:00:00+00:00"^^xsd:dateTime ; dct:description [ dct:format "application/json" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/geopose/basic/ypr/index.json" ], - [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/geopose/basic/ypr/index.md" ], [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/geopose/basic/ypr/" ] ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/geopose/basic/ypr/" ], + [ dct:format "text/markdown" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/geopose/basic/ypr/index.md" ] ; dct:hasVersion "0.1" ; dct:modified "2023-07-13"^^xsd:date ; dct:source ; @@ -312,10 +312,10 @@ bblocks:ogc.geo.json-fg.feature a skos:Concept, dct:created "2023-05-31T14:56:51+00:00"^^xsd:dateTime ; dct:description [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/json-fg/feature/index.md" ], - [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/json-fg/feature/" ], [ dct:format "application/json" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/json-fg/feature/index.json" ] ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/json-fg/feature/index.json" ], + [ dct:format "text/html" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/json-fg/feature/" ] ; dct:hasVersion "0.1" ; dct:modified "2023-05-31"^^xsd:date ; dct:source ; @@ -357,12 +357,12 @@ bblocks:ogc.unstable.sosa.examples.vectorObservation a skos:Concept, rdfs:label "Example SOSA Vector Observation" ; dct:abstract "This building block defines an example SOSA Vector Observation" ; dct:created "2023-05-19T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/examples/vectorObservation/index.md" ], + dct:description [ dct:format "text/html" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/examples/vectorObservation/" ], [ dct:format "application/json" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/examples/vectorObservation/index.json" ], - [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/examples/vectorObservation/" ] ; + [ dct:format "text/markdown" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/examples/vectorObservation/index.md" ] ; dct:hasVersion "1.0" ; dct:modified "2023-05-19"^^xsd:date ; dct:source ; @@ -380,12 +380,12 @@ bblocks:ogc.unstable.sosa.features.observationCollection a skos:Concept, rdfs:label "SOSA ObservationCollection Feature" ; dct:abstract "This building blocks defines an ObservationCollection Feature according to the SOSA/SSN v1.1 specification." ; dct:created "2023-04-13T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/features/observationCollection/index.md" ], + dct:description [ dct:format "text/html" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/features/observationCollection/" ], [ dct:format "application/json" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/features/observationCollection/index.json" ], - [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/features/observationCollection/" ] ; + [ dct:format "text/markdown" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/features/observationCollection/index.md" ] ; dct:hasVersion "1.0" ; dct:modified "2023-04-28"^^xsd:date ; dct:source , @@ -407,10 +407,10 @@ bblocks:ogc.unstable.sosa.properties.observationCollection a skos:Concept, dct:created "2023-04-13T00:00:00+00:00"^^xsd:dateTime ; dct:description [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/properties/observationCollection/index.md" ], - [ dct:format "application/json" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/properties/observationCollection/index.json" ], [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/properties/observationCollection/" ] ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/properties/observationCollection/" ], + [ dct:format "application/json" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/properties/observationCollection/index.json" ] ; dct:hasVersion "1.0" ; dct:modified "2023-04-28"^^xsd:date ; dct:source , @@ -429,10 +429,10 @@ bblocks:ogc.unstable.sosa.properties.sensor a skos:Concept, rdfs:label "SOSA Sensor" ; dct:abstract "An identifiable entity that can generate Observations pertaining to an ObservableProperty by implementing an ObservingProcedure. Device, agent (including humans), or software (simulation) involved in, or implementing, a Procedure. Sensors respond to a stimulus, e.g., a change in the environment, or input data composed from the results of prior Observations, and generate a Result. Sensors can be hosted by Platforms." ; dct:created "2023-12-05T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/properties/sensor/" ], - [ dct:format "text/markdown" ; + dct:description [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/properties/sensor/index.md" ], + [ dct:format "text/html" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/properties/sensor/" ], [ dct:format "application/json" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/properties/sensor/index.json" ] ; dct:hasVersion "1.0" ; @@ -455,12 +455,12 @@ bblocks:ogc.geo.features.featureCollection a skos:Concept, rdfs:label "Feature Collection" ; dct:abstract "A collection of features." ; dct:created "2023-06-26T14:56:51+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/features/featureCollection/" ], - [ dct:format "application/json" ; + dct:description [ dct:format "application/json" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/features/featureCollection/index.json" ], [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/features/featureCollection/index.md" ] ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/features/featureCollection/index.md" ], + [ dct:format "text/html" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/features/featureCollection/" ] ; dct:hasVersion "1.0" ; dct:modified "2023-06-26"^^xsd:date ; dct:source ; @@ -480,10 +480,10 @@ bblocks:ogc.geo.json-fg.feature-lenient a skos:Concept, dct:created "2023-08-08T00:00:00+00:00"^^xsd:dateTime ; dct:description [ dct:format "text/html" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/json-fg/feature-lenient/" ], - [ dct:format "application/json" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/json-fg/feature-lenient/index.json" ], [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/json-fg/feature-lenient/index.md" ] ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/json-fg/feature-lenient/index.md" ], + [ dct:format "application/json" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/json-fg/feature-lenient/index.json" ] ; dct:hasVersion "0.1" ; dct:modified "2023-08-08"^^xsd:date ; dct:source ; @@ -501,12 +501,12 @@ bblocks:ogc.unstable.sosa.features.observation a skos:Concept, rdfs:label "SOSA Observation Feature" ; dct:abstract "This building blocks defines a GeoJSON feature containing a SOSA Observation" ; dct:created "2023-05-18T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "application/json" ; + dct:description [ dct:format "text/html" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/features/observation/" ], + [ dct:format "application/json" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/features/observation/index.json" ], [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/features/observation/index.md" ], - [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/features/observation/" ] ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/features/observation/index.md" ] ; dct:hasVersion "1.0" ; dct:modified "2023-05-18"^^xsd:date ; dct:source ; @@ -528,12 +528,12 @@ bblocks:ogc.geo.features.feature a skos:Concept, rdfs:label "Feature" ; dct:abstract "A feature. Every feature is a sub-resource of an OGC Collection." ; dct:created "2023-05-24T14:56:51+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/markdown" ; + dct:description [ dct:format "text/html" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/features/feature/" ], + [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/geo/features/feature/index.md" ], [ dct:format "application/json" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/features/feature/index.json" ], - [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/geo/features/feature/" ] ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/geo/features/feature/index.json" ] ; dct:hasVersion "1.0" ; dct:modified "2023-05-15"^^xsd:date ; dct:source , @@ -554,12 +554,12 @@ bblocks:ogc.unstable.sosa.properties.observation a skos:Concept, rdfs:label "SOSA Observation" ; dct:abstract "This building block defines the set of properties for an observation according to the SOSA/SSN specification. These properties may be directly included into a root element of a JSON object or used in the properties container of a GeoJSON feature." ; dct:created "2023-04-13T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "application/json" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/properties/observation/index.json" ], - [ dct:format "text/markdown" ; + dct:description [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/unstable/sosa/properties/observation/index.md" ], [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/properties/observation/" ] ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/unstable/sosa/properties/observation/" ], + [ dct:format "application/json" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/unstable/sosa/properties/observation/index.json" ] ; dct:hasVersion "1.0" ; dct:modified "2023-04-13"^^xsd:date ; dct:source ; @@ -575,12 +575,12 @@ bblocks:ogc.ogc-utils.iri-or-curie a skos:Concept, rdfs:label "IRI or CURIE" ; dct:abstract "This Building Block defines a data type for a full IRI/URI or a CURIE (with or without a prefix)" ; dct:created "2023-08-08T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/html" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/ogc-utils/iri-or-curie/" ], - [ dct:format "text/markdown" ; + dct:description [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/markdown/ogc-utils/iri-or-curie/index.md" ], [ dct:format "application/json" ; - rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/ogc-utils/iri-or-curie/index.json" ] ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/json-full/ogc-utils/iri-or-curie/index.json" ], + [ dct:format "text/html" ; + rdfs:isDefinedBy "https://opengeospatial.github.io/bblocks/generateddocs/slate-build/ogc-utils/iri-or-curie/" ] ; dct:hasVersion "1.0" ; dct:modified "2023-03-09"^^xsd:date ; dct:source , @@ -619,17 +619,17 @@ bblocks:ogc.ogc-utils.json-link a skos:Concept, skos:prefLabel "OGC Building Blocks Register" . [] a prov:Activity ; - prov:endedAtTime "2023-12-06T08:23:54.592046"^^xsd:dateTime ; - prov:startedAtTime "2023-12-06T08:23:54.501372"^^xsd:dateTime ; + prov:endedAtTime "2023-12-10T04:06:32.527533"^^xsd:dateTime ; + prov:startedAtTime "2023-12-10T04:06:32.409028"^^xsd:dateTime ; prov:used [ a prov:Entity ; - dct:format "application/yaml" ; - rdfs:seeAlso ], - [ a prov:Entity ; dct:format "application/json" ; - rdfs:seeAlso ] ; + rdfs:seeAlso ], + [ a prov:Entity ; + dct:format "application/yaml" ; + rdfs:seeAlso ] ; prov:wasAssociatedWith [ a prov:Agent, schema:SoftwareApplication ; rdfs:label "OGC-NA tools" ; - dct:hasVersion "0.3.27" ; + dct:hasVersion "0.3.31" ; rdfs:seeAlso ] . diff --git a/generateddocs/json-full/geo/features/feature/index.json b/generateddocs/json-full/geo/features/feature/index.json index 1038bf9a7..54cf35670 100644 --- a/generateddocs/json-full/geo/features/feature/index.json +++ b/generateddocs/json-full/geo/features/feature/index.json @@ -25,8 +25,8 @@ "group": "Common", "shaclRules": {}, "dependsOn": [ - "ogc.geo.common.data_types.geojson", - "ogc.ogc-utils.json-link" + "ogc.ogc-utils.json-link", + "ogc.geo.common.data_types.geojson" ], "schema": { "application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.yaml", diff --git a/generateddocs/json-full/geo/features/featureCollection/index.json b/generateddocs/json-full/geo/features/featureCollection/index.json index 7365a8d23..bbeed6ed9 100644 --- a/generateddocs/json-full/geo/features/featureCollection/index.json +++ b/generateddocs/json-full/geo/features/featureCollection/index.json @@ -22,8 +22,8 @@ "group": "Common", "shaclRules": {}, "dependsOn": [ - "ogc.geo.features.feature", - "ogc.ogc-utils.json-link" + "ogc.ogc-utils.json-link", + "ogc.geo.features.feature" ], "schema": { "application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema.yaml", diff --git a/generateddocs/json-full/geo/json-fg/feature-lenient/index.json b/generateddocs/json-full/geo/json-fg/feature-lenient/index.json index c65142944..288491ba5 100644 --- a/generateddocs/json-full/geo/json-fg/feature-lenient/index.json +++ b/generateddocs/json-full/geo/json-fg/feature-lenient/index.json @@ -24,8 +24,8 @@ "group": "JSON-FG", "shaclRules": {}, "dependsOn": [ - "ogc.geo.features.feature", - "ogc.ogc-utils.json-link" + "ogc.ogc-utils.json-link", + "ogc.geo.features.feature" ], "schema": { "application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema.yaml", diff --git a/generateddocs/json-full/geo/json-fg/feature/index.json b/generateddocs/json-full/geo/json-fg/feature/index.json index e3a384968..f601a0674 100644 --- a/generateddocs/json-full/geo/json-fg/feature/index.json +++ b/generateddocs/json-full/geo/json-fg/feature/index.json @@ -20,8 +20,8 @@ "group": "JSON-FG", "shaclRules": {}, "dependsOn": [ - "ogc.geo.features.feature", - "ogc.ogc-utils.json-link" + "ogc.ogc-utils.json-link", + "ogc.geo.features.feature" ], "schema": { "application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature/schema.yaml", diff --git a/generateddocs/json-full/geo/json-fg/featureCollection-lenient/index.json b/generateddocs/json-full/geo/json-fg/featureCollection-lenient/index.json index 2c17bc86a..cdcb9be3a 100644 --- a/generateddocs/json-full/geo/json-fg/featureCollection-lenient/index.json +++ b/generateddocs/json-full/geo/json-fg/featureCollection-lenient/index.json @@ -24,9 +24,9 @@ "group": "JSON-FG", "shaclRules": {}, "dependsOn": [ - "ogc.geo.features.featureCollection", "ogc.geo.json-fg.feature-lenient", - "ogc.ogc-utils.json-link" + "ogc.ogc-utils.json-link", + "ogc.geo.features.featureCollection" ], "schema": { "application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema.yaml", diff --git a/generateddocs/json-full/geo/json-fg/featureCollection/index.json b/generateddocs/json-full/geo/json-fg/featureCollection/index.json index f047c8957..5804f0bff 100644 --- a/generateddocs/json-full/geo/json-fg/featureCollection/index.json +++ b/generateddocs/json-full/geo/json-fg/featureCollection/index.json @@ -20,9 +20,9 @@ "group": "JSON-FG", "shaclRules": {}, "dependsOn": [ - "ogc.geo.features.featureCollection", "ogc.geo.json-fg.feature", - "ogc.ogc-utils.json-link" + "ogc.ogc-utils.json-link", + "ogc.geo.features.featureCollection" ], "schema": { "application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema.yaml", diff --git a/generateddocs/json-full/unstable/sosa/examples/vectorObservation/index.json b/generateddocs/json-full/unstable/sosa/examples/vectorObservation/index.json index 673de1cd3..5525a66ea 100644 --- a/generateddocs/json-full/unstable/sosa/examples/vectorObservation/index.json +++ b/generateddocs/json-full/unstable/sosa/examples/vectorObservation/index.json @@ -19,8 +19,8 @@ "maturity": "development", "scope": "unstable", "dependsOn": [ - "ogc.geo.geopose.basic.ypr", - "ogc.unstable.sosa.properties.observation" + "ogc.unstable.sosa.properties.observation", + "ogc.geo.geopose.basic.ypr" ], "tags": [ "sosa", diff --git a/generateddocs/json-full/unstable/sosa/examples/vectorObservationFeature/index.json b/generateddocs/json-full/unstable/sosa/examples/vectorObservationFeature/index.json index 70bb726b2..b70db7b17 100644 --- a/generateddocs/json-full/unstable/sosa/examples/vectorObservationFeature/index.json +++ b/generateddocs/json-full/unstable/sosa/examples/vectorObservationFeature/index.json @@ -19,9 +19,9 @@ "maturity": "development", "scope": "unstable", "dependsOn": [ + "ogc.unstable.sosa.properties.observation", "ogc.unstable.sosa.features.observationCollection", "ogc.unstable.sosa.examples.vectorObservation", - "ogc.unstable.sosa.properties.observation", "ogc.unstable.sosa.features.observation" ], "tags": [ @@ -91,7 +91,7 @@ }, { "language": "ttl", - "code": "@prefix geo1: .\n@prefix geojson: .\n@prefix geopose: .\n@prefix rdf: .\n@prefix resultschema: .\n@prefix sosa: .\n@prefix xsd: .\n\n a sosa:ObservationCollection,\n geojson:FeatureCollection ;\n sosa:observedProperty ;\n sosa:resultTime \"1999\" ;\n geojson:features .\n\n a geojson:Feature ;\n sosa:hasFeatureOfInterest ;\n sosa:hasResult [ resultschema:distance 6.889234e+06 ;\n resultschema:pose [ geopose:angles [ geopose:pitch -1e-02 ;\n geopose:roll 0 ;\n geopose:yaw 1.535e+01 ] ;\n geopose:position [ geopose:h 5e-01 ;\n geo1:lat -1.116718e+02 ;\n geo1:long 4.005671e+01 ] ] ] ;\n sosa:resultTime \"2023-05-22T16:41:00+2\" ;\n geojson:geometry [ a geojson:LineString ;\n geojson:coordinates ( \"[-111.67183507997295, 40.056709946862874]\" \"[-111.67183507997295, 40.056709946862874]\" ) ] .\n\n", + "code": "@prefix geo1: .\n@prefix geojson: .\n@prefix geopose: .\n@prefix rdf: .\n@prefix resultschema: .\n@prefix sosa: .\n@prefix xsd: .\n\n a sosa:ObservationCollection,\n geojson:FeatureCollection ;\n sosa:hasMember ;\n sosa:observedProperty ;\n sosa:resultTime \"1999\" .\n\n a geojson:Feature ;\n sosa:hasFeatureOfInterest ;\n sosa:hasResult [ resultschema:distance 6.889234e+06 ;\n resultschema:pose [ geopose:angles [ geopose:pitch -1e-02 ;\n geopose:roll 0 ;\n geopose:yaw 1.535e+01 ] ;\n geopose:position [ geopose:h 5e-01 ;\n geo1:lat -1.116718e+02 ;\n geo1:long 4.005671e+01 ] ] ] ;\n sosa:resultTime \"2023-05-22T16:41:00+2\" ;\n geojson:geometry [ a geojson:LineString ;\n geojson:coordinates ( \"[-111.67183507997295, 40.056709946862874]\" \"[-111.67183507997295, 40.056709946862874]\" ) ] .\n\n", "url": "https://opengeospatial.github.io/bblocks/tests/unstable/sosa/examples/vectorObservationFeature/example_2_1.ttl" } ] diff --git a/generateddocs/json-full/unstable/sosa/features/observation/index.json b/generateddocs/json-full/unstable/sosa/features/observation/index.json index 675374ade..50b34fb82 100644 --- a/generateddocs/json-full/unstable/sosa/features/observation/index.json +++ b/generateddocs/json-full/unstable/sosa/features/observation/index.json @@ -19,8 +19,8 @@ "maturity": "development", "scope": "unstable", "dependsOn": [ - "ogc.unstable.sosa.properties.observation", - "ogc.geo.json-fg.feature-lenient" + "ogc.geo.json-fg.feature-lenient", + "ogc.unstable.sosa.properties.observation" ], "tags": [ "sosa", diff --git a/generateddocs/json-full/unstable/sosa/features/observationCollection/index.json b/generateddocs/json-full/unstable/sosa/features/observationCollection/index.json index 709a981d6..263930b6c 100644 --- a/generateddocs/json-full/unstable/sosa/features/observationCollection/index.json +++ b/generateddocs/json-full/unstable/sosa/features/observationCollection/index.json @@ -36,8 +36,8 @@ ] }, "dependsOn": [ - "ogc.unstable.sosa.features.observation", "ogc.geo.json-fg.featureCollection-lenient", + "ogc.unstable.sosa.features.observation", "ogc.unstable.sosa.properties.observationCollection" ], "schema": { diff --git a/generateddocs/markdown/geo/features/feature/index.md b/generateddocs/markdown/geo/features/feature/index.md index 63c9754e8..1b5aeabe9 100644 --- a/generateddocs/markdown/geo/features/feature/index.md +++ b/generateddocs/markdown/geo/features/feature/index.md @@ -112,9 +112,9 @@ Links to the schema: ```jsonld { "@context": { - "properties": "@nest", "type": "@type", "id": "@id", + "properties": "@nest", "geometry": { "@context": { "coordinates": { @@ -161,8 +161,8 @@ Links to the schema: }, "@id": "rdfs:seeAlso" }, - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "geojson": "https://purl.org/geojson/vocab#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "oa": "http://www.w3.org/ns/oa#", "dct": "http://purl.org/dc/terms/", "@version": 1.1 diff --git a/generateddocs/markdown/geo/features/featureCollection/index.md b/generateddocs/markdown/geo/features/featureCollection/index.md index 02a47b830..58733b4f3 100644 --- a/generateddocs/markdown/geo/features/featureCollection/index.md +++ b/generateddocs/markdown/geo/features/featureCollection/index.md @@ -137,7 +137,6 @@ Links to the schema: ```jsonld { "@context": { - "properties": "@nest", "links": { "@context": { "href": { @@ -160,6 +159,7 @@ Links to the schema: }, "type": "@type", "id": "@id", + "properties": "@nest", "geometry": { "@context": { "coordinates": { diff --git a/generateddocs/markdown/geo/json-fg/feature-lenient/index.md b/generateddocs/markdown/geo/json-fg/feature-lenient/index.md index b64406a14..dcb38adaa 100644 --- a/generateddocs/markdown/geo/json-fg/feature-lenient/index.md +++ b/generateddocs/markdown/geo/json-fg/feature-lenient/index.md @@ -96,6 +96,17 @@ Links to the schema: ```jsonld { "@context": { + "type": "@type", + "id": "@id", + "properties": "@nest", + "geometry": { + "@context": {}, + "@id": "geojson:geometry" + }, + "bbox": { + "@container": "@list", + "@id": "geojson:bbox" + }, "Feature": "geojson:Feature", "FeatureCollection": "geojson:FeatureCollection", "GeometryCollection": "geojson:GeometryCollection", @@ -105,22 +116,10 @@ Links to the schema: "MultiPolygon": "geojson:MultiPolygon", "Point": "geojson:Point", "Polygon": "geojson:Polygon", - "bbox": { - "@container": "@list", - "@id": "geojson:bbox" - }, - "coordinates": { - "@container": "@list", - "@id": "geojson:coordinates" - }, "features": { "@container": "@set", "@id": "geojson:features" }, - "properties": "@nest", - "type": "@type", - "id": "@id", - "featureType": "@type", "links": { "@context": { "href": { @@ -141,7 +140,11 @@ Links to the schema: }, "@id": "rdfs:seeAlso" }, - "geometry": "geojson:geometry", + "featureType": "@type", + "coordinates": { + "@container": "@list", + "@id": "geojson:coordinates" + }, "geojson": "https://purl.org/geojson/vocab#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "oa": "http://www.w3.org/ns/oa#", diff --git a/generateddocs/markdown/geo/json-fg/feature/index.md b/generateddocs/markdown/geo/json-fg/feature/index.md index ca8015b14..bc27de191 100644 --- a/generateddocs/markdown/geo/json-fg/feature/index.md +++ b/generateddocs/markdown/geo/json-fg/feature/index.md @@ -117,6 +117,17 @@ Links to the schema: ```jsonld { "@context": { + "type": "@type", + "id": "@id", + "properties": "@nest", + "geometry": { + "@context": {}, + "@id": "geojson:geometry" + }, + "bbox": { + "@container": "@list", + "@id": "geojson:bbox" + }, "Feature": "geojson:Feature", "FeatureCollection": "geojson:FeatureCollection", "GeometryCollection": "geojson:GeometryCollection", @@ -126,22 +137,10 @@ Links to the schema: "MultiPolygon": "geojson:MultiPolygon", "Point": "geojson:Point", "Polygon": "geojson:Polygon", - "bbox": { - "@container": "@list", - "@id": "geojson:bbox" - }, - "coordinates": { - "@container": "@list", - "@id": "geojson:coordinates" - }, "features": { "@container": "@set", "@id": "geojson:features" }, - "properties": "@nest", - "type": "@type", - "id": "@id", - "featureType": "@type", "links": { "@context": { "href": { @@ -162,7 +161,11 @@ Links to the schema: }, "@id": "rdfs:seeAlso" }, - "geometry": "geojson:geometry", + "featureType": "@type", + "coordinates": { + "@container": "@list", + "@id": "geojson:coordinates" + }, "geojson": "https://purl.org/geojson/vocab#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "oa": "http://www.w3.org/ns/oa#", diff --git a/generateddocs/markdown/geo/json-fg/featureCollection-lenient/index.md b/generateddocs/markdown/geo/json-fg/featureCollection-lenient/index.md index 7f9af6456..d3805e1f6 100644 --- a/generateddocs/markdown/geo/json-fg/featureCollection-lenient/index.md +++ b/generateddocs/markdown/geo/json-fg/featureCollection-lenient/index.md @@ -98,8 +98,8 @@ Links to the schema: "@container": "@set", "@id": "geojson:features" }, - "properties": "@nest", "id": "@id", + "properties": "@nest", "geometry": { "@context": {}, "@id": "geojson:geometry" @@ -122,8 +122,8 @@ Links to the schema: "@id": "geojson:coordinates" }, "geojson": "https://purl.org/geojson/vocab#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "oa": "http://www.w3.org/ns/oa#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "dct": "http://purl.org/dc/terms/", "@version": 1.1 } diff --git a/generateddocs/markdown/geo/json-fg/featureCollection/index.md b/generateddocs/markdown/geo/json-fg/featureCollection/index.md index 51082c83d..b2412c69d 100644 --- a/generateddocs/markdown/geo/json-fg/featureCollection/index.md +++ b/generateddocs/markdown/geo/json-fg/featureCollection/index.md @@ -181,9 +181,6 @@ Links to the schema: ```jsonld { "@context": { - "properties": "@nest", - "type": "@type", - "featureType": "geojson:collectionFeatureType", "links": { "@context": { "href": { @@ -204,14 +201,9 @@ Links to the schema: }, "@id": "rdfs:seeAlso" }, - "features": { - "@context": { - "featureType": "@type" - }, - "@container": "@set", - "@id": "geojson:features" - }, + "type": "@type", "id": "@id", + "properties": "@nest", "geometry": { "@context": {}, "@id": "geojson:geometry" @@ -229,14 +221,42 @@ Links to the schema: "MultiPolygon": "geojson:MultiPolygon", "Point": "geojson:Point", "Polygon": "geojson:Polygon", + "features": { + "@container": "@set", + "@id": "geojson:features", + "@context": { + "links": { + "@context": { + "href": { + "@type": "@id", + "@id": "oa:hasTarget" + }, + "rel": { + "@context": { + "@base": "http://www.iana.org/assignments/relation/" + }, + "@id": "http://www.iana.org/assignments/relation", + "@type": "@id" + }, + "type": "dct:type", + "hreflang": "dct:language", + "title": "rdfs:label", + "length": "dct:extent" + }, + "@id": "rdfs:seeAlso" + }, + "featureType": "@type" + } + }, + "featureType": "geojson:collectionFeatureType", "coordinates": { "@container": "@list", "@id": "geojson:coordinates" }, - "geojson": "https://purl.org/geojson/vocab#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "oa": "http://www.w3.org/ns/oa#", "dct": "http://purl.org/dc/terms/", + "geojson": "https://purl.org/geojson/vocab#", "@version": 1.1 } } diff --git a/generateddocs/markdown/geo/json-fg/link-role/index.md b/generateddocs/markdown/geo/json-fg/link-role/index.md index 21b32257f..c9232b994 100644 --- a/generateddocs/markdown/geo/json-fg/link-role/index.md +++ b/generateddocs/markdown/geo/json-fg/link-role/index.md @@ -113,10 +113,10 @@ Links to the schema: "@id": "dct:conformsTo", "@type": "@id" }, - "prof": "http://www.w3.org/ns/dx/prof/", - "dct": "http://purl.org/dc/terms/", "oa": "http://www.w3.org/ns/oa#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "dct": "http://purl.org/dc/terms/", + "prof": "http://www.w3.org/ns/dx/prof/", "@version": 1.1 } } diff --git a/generateddocs/markdown/unstable/sosa/examples/vectorObservationFeature/index.md b/generateddocs/markdown/unstable/sosa/examples/vectorObservationFeature/index.md index 9c8a20beb..20d00848b 100644 --- a/generateddocs/markdown/unstable/sosa/examples/vectorObservationFeature/index.md +++ b/generateddocs/markdown/unstable/sosa/examples/vectorObservationFeature/index.md @@ -276,9 +276,9 @@ This building block defines an example SOSA Observation Feature using another sc a sosa:ObservationCollection, geojson:FeatureCollection ; + sosa:hasMember ; sosa:observedProperty ; - sosa:resultTime "1999" ; - geojson:features . + sosa:resultTime "1999" . a geojson:Feature ; sosa:hasFeatureOfInterest ; @@ -335,16 +335,85 @@ Links to the schema: ```jsonld { "@context": { - "Observation": "sosa:Observation", - "Sample": "sosa:Sample", - "System": "sosa:System", - "Platform": "sosa:Platform", + "type": "@type", + "id": "@id", + "properties": "@nest", + "geometry": { + "@context": {}, + "@id": "geojson:geometry" + }, + "bbox": { + "@container": "@list", + "@id": "geojson:bbox" + }, + "Feature": "geojson:Feature", + "FeatureCollection": "geojson:FeatureCollection", + "GeometryCollection": "geojson:GeometryCollection", + "LineString": "geojson:LineString", + "MultiLineString": "geojson:MultiLineString", + "MultiPoint": "geojson:MultiPoint", + "MultiPolygon": "geojson:MultiPolygon", + "Point": "geojson:Point", + "Polygon": "geojson:Polygon", + "features": { + "@container": "@set", + "@id": "sosa:hasMember", + "@context": { + "features": { + "@container": "@set", + "@id": "geojson:features" + } + } + }, + "links": { + "@context": { + "href": { + "@type": "@id", + "@id": "oa:hasTarget" + }, + "rel": { + "@context": { + "@base": "http://www.iana.org/assignments/relation/" + }, + "@id": "http://www.iana.org/assignments/relation", + "@type": "@id" + }, + "type": "dct:type", + "hreflang": "dct:language", + "title": "rdfs:label", + "length": "dct:extent" + }, + "@id": "rdfs:seeAlso" + }, + "featureType": "@type", + "coordinates": { + "@container": "@list", + "@id": "geojson:coordinates" + }, + "resultTime": "sosa:resultTime", + "phenomenonTime": "sosa:phenomenonTime", + "hasFeatureOfInterest": { + "@id": "sosa:hasFeatureOfInterest", + "@type": "@id" + }, "observedProperty": { "@id": "sosa:observedProperty", "@type": "@id" }, - "id": "@id", - "phenomenonTime": "sosa:phenomenonTime", + "usedProcedure": { + "@id": "sosa:usedProcedure", + "@type": "@id" + }, + "madeBySensor": { + "@id": "sosa:madeBySensor", + "@type": "@id" + }, + "hasResult": "sosa:hasResult", + "hasSimpleResult": "sosa:hasSimpleResult", + "Observation": "sosa:Observation", + "Sample": "sosa:Sample", + "System": "sosa:System", + "Platform": "sosa:Platform", "observes": { "@id": "sosa:observes", "@type": "@id" @@ -357,10 +426,6 @@ Links to the schema: "@id": "sosa:madeObservation", "@type": "@id" }, - "madeBySensor": { - "@id": "sosa:madeBySensor", - "@type": "@id" - }, "actsOnProperty": { "@id": "sosa:actsOnProperty", "@type": "@id" @@ -393,22 +458,11 @@ Links to the schema: "@id": "sosa:madeBySampler", "@type": "@id" }, - "hasFeatureOfInterest": { - "@id": "sosa:hasFeatureOfInterest", - "@type": "@id" - }, "isFeatureOfInterestOf": { "@id": "sosa:isFeatureOfInterestOf", "@type": "@id" }, - "hasResult": "sosa:hasResult", "isResultOf": "sosa:isResultOf", - "hasSimpleResult": "sosa:hasSimpleResult", - "resultTime": "sosa:resultTime", - "usedProcedure": { - "@id": "sosa:usedProcedure", - "@type": "@id" - }, "hosts": { "@id": "sosa:hosts", "@type": "@id", @@ -443,59 +497,9 @@ Links to the schema: "hasSurvivalProperty": "ssn-system:hasSurvivalProperty", "qualityOfObservation": "ssn-system:qualityOfObservation", "hasMember": { - "@context": { - "features": "sosa:hasMember" - }, + "@context": {}, "@id": "sosa:hasMember" }, - "features": { - "@context": { - "features": "sosa:hasMember" - }, - "@id": "geojson:features", - "@container": "@set" - }, - "featureType": "@type", - "Feature": "geojson:Feature", - "FeatureCollection": "geojson:FeatureCollection", - "GeometryCollection": "geojson:GeometryCollection", - "LineString": "geojson:LineString", - "MultiLineString": "geojson:MultiLineString", - "MultiPoint": "geojson:MultiPoint", - "MultiPolygon": "geojson:MultiPolygon", - "Point": "geojson:Point", - "Polygon": "geojson:Polygon", - "bbox": { - "@container": "@list", - "@id": "geojson:bbox" - }, - "coordinates": { - "@container": "@list", - "@id": "geojson:coordinates" - }, - "properties": "@nest", - "type": "@type", - "links": { - "@context": { - "href": { - "@type": "@id", - "@id": "oa:hasTarget" - }, - "rel": { - "@context": { - "@base": "http://www.iana.org/assignments/relation/" - }, - "@id": "http://www.iana.org/assignments/relation", - "@type": "@id" - }, - "type": "dct:type", - "hreflang": "dct:language", - "title": "rdfs:label", - "length": "dct:extent" - }, - "@id": "rdfs:seeAlso" - }, - "geometry": "geojson:geometry", "position": { "@context": { "lat": "geo:lat", @@ -512,15 +516,15 @@ Links to the schema: }, "@id": "geopose:angles" }, + "geojson": "https://purl.org/geojson/vocab#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "oa": "http://www.w3.org/ns/oa#", + "dct": "http://purl.org/dc/terms/", "sosa": "http://www.w3.org/ns/sosa/", "ssn-system": "ssn:systems/", "ssn": "http://www.w3.org/ns/ssn/", - "geojson": "https://purl.org/geojson/vocab#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "geopose": "http://example.com/geopose/", "geo": "http://www.w3.org/2003/01/geo/wgs84_pos#", - "oa": "http://www.w3.org/ns/oa#", - "dct": "http://purl.org/dc/terms/", "@version": 1.1 } } diff --git a/generateddocs/markdown/unstable/sosa/features/observation/index.md b/generateddocs/markdown/unstable/sosa/features/observation/index.md index 7dfe641d7..fb043cdd0 100644 --- a/generateddocs/markdown/unstable/sosa/features/observation/index.md +++ b/generateddocs/markdown/unstable/sosa/features/observation/index.md @@ -254,16 +254,79 @@ Links to the schema: ```jsonld { "@context": { - "Observation": "sosa:Observation", - "Sample": "sosa:Sample", - "System": "sosa:System", - "Platform": "sosa:Platform", + "type": "@type", + "id": "@id", + "properties": "@nest", + "geometry": { + "@context": {}, + "@id": "geojson:geometry" + }, + "bbox": { + "@container": "@list", + "@id": "geojson:bbox" + }, + "Feature": "geojson:Feature", + "FeatureCollection": "geojson:FeatureCollection", + "GeometryCollection": "geojson:GeometryCollection", + "LineString": "geojson:LineString", + "MultiLineString": "geojson:MultiLineString", + "MultiPoint": "geojson:MultiPoint", + "MultiPolygon": "geojson:MultiPolygon", + "Point": "geojson:Point", + "Polygon": "geojson:Polygon", + "features": { + "@container": "@set", + "@id": "geojson:features" + }, + "links": { + "@context": { + "href": { + "@type": "@id", + "@id": "oa:hasTarget" + }, + "rel": { + "@context": { + "@base": "http://www.iana.org/assignments/relation/" + }, + "@id": "http://www.iana.org/assignments/relation", + "@type": "@id" + }, + "type": "dct:type", + "hreflang": "dct:language", + "title": "rdfs:label", + "length": "dct:extent" + }, + "@id": "rdfs:seeAlso" + }, + "featureType": "@type", + "coordinates": { + "@container": "@list", + "@id": "geojson:coordinates" + }, + "resultTime": "sosa:resultTime", + "phenomenonTime": "sosa:phenomenonTime", + "hasFeatureOfInterest": { + "@id": "sosa:hasFeatureOfInterest", + "@type": "@id" + }, "observedProperty": { "@id": "sosa:observedProperty", "@type": "@id" }, - "id": "@id", - "phenomenonTime": "sosa:phenomenonTime", + "usedProcedure": { + "@id": "sosa:usedProcedure", + "@type": "@id" + }, + "madeBySensor": { + "@id": "sosa:madeBySensor", + "@type": "@id" + }, + "hasResult": "sosa:hasResult", + "hasSimpleResult": "sosa:hasSimpleResult", + "Observation": "sosa:Observation", + "Sample": "sosa:Sample", + "System": "sosa:System", + "Platform": "sosa:Platform", "observes": { "@id": "sosa:observes", "@type": "@id" @@ -276,10 +339,6 @@ Links to the schema: "@id": "sosa:madeObservation", "@type": "@id" }, - "madeBySensor": { - "@id": "sosa:madeBySensor", - "@type": "@id" - }, "actsOnProperty": { "@id": "sosa:actsOnProperty", "@type": "@id" @@ -312,22 +371,11 @@ Links to the schema: "@id": "sosa:madeBySampler", "@type": "@id" }, - "hasFeatureOfInterest": { - "@id": "sosa:hasFeatureOfInterest", - "@type": "@id" - }, "isFeatureOfInterestOf": { "@id": "sosa:isFeatureOfInterestOf", "@type": "@id" }, - "hasResult": "sosa:hasResult", "isResultOf": "sosa:isResultOf", - "hasSimpleResult": "sosa:hasSimpleResult", - "resultTime": "sosa:resultTime", - "usedProcedure": { - "@id": "sosa:usedProcedure", - "@type": "@id" - }, "hosts": { "@id": "sosa:hosts", "@type": "@id", @@ -362,55 +410,13 @@ Links to the schema: "hasSurvivalProperty": "ssn-system:hasSurvivalProperty", "qualityOfObservation": "ssn-system:qualityOfObservation", "hasMember": "sosa:hasMember", - "features": "sosa:hasMember", - "featureType": "@type", - "Feature": "geojson:Feature", - "FeatureCollection": "geojson:FeatureCollection", - "GeometryCollection": "geojson:GeometryCollection", - "LineString": "geojson:LineString", - "MultiLineString": "geojson:MultiLineString", - "MultiPoint": "geojson:MultiPoint", - "MultiPolygon": "geojson:MultiPolygon", - "Point": "geojson:Point", - "Polygon": "geojson:Polygon", - "bbox": { - "@container": "@list", - "@id": "geojson:bbox" - }, - "coordinates": { - "@container": "@list", - "@id": "geojson:coordinates" - }, - "properties": "@nest", - "type": "@type", - "links": { - "@context": { - "href": { - "@type": "@id", - "@id": "oa:hasTarget" - }, - "rel": { - "@context": { - "@base": "http://www.iana.org/assignments/relation/" - }, - "@id": "http://www.iana.org/assignments/relation", - "@type": "@id" - }, - "type": "dct:type", - "hreflang": "dct:language", - "title": "rdfs:label", - "length": "dct:extent" - }, - "@id": "rdfs:seeAlso" - }, - "geometry": "geojson:geometry", - "sosa": "http://www.w3.org/ns/sosa/", - "ssn-system": "ssn:systems/", - "ssn": "http://www.w3.org/ns/ssn/", "geojson": "https://purl.org/geojson/vocab#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "oa": "http://www.w3.org/ns/oa#", "dct": "http://purl.org/dc/terms/", + "sosa": "http://www.w3.org/ns/sosa/", + "ssn-system": "ssn:systems/", + "ssn": "http://www.w3.org/ns/ssn/", "@version": 1.1 } } diff --git a/generateddocs/markdown/unstable/sosa/features/observationCollection/index.md b/generateddocs/markdown/unstable/sosa/features/observationCollection/index.md index 41e396c9f..13e63d614 100644 --- a/generateddocs/markdown/unstable/sosa/features/observationCollection/index.md +++ b/generateddocs/markdown/unstable/sosa/features/observationCollection/index.md @@ -303,16 +303,86 @@ Links to the schema: ```jsonld { "@context": { - "Observation": "sosa:Observation", - "Sample": "sosa:Sample", - "System": "sosa:System", - "Platform": "sosa:Platform", + "type": "@type", + "featureType": "geojson:collectionFeatureType", + "links": { + "@context": { + "href": { + "@type": "@id", + "@id": "oa:hasTarget" + }, + "rel": { + "@context": { + "@base": "http://www.iana.org/assignments/relation/" + }, + "@id": "http://www.iana.org/assignments/relation", + "@type": "@id" + }, + "type": "dct:type", + "hreflang": "dct:language", + "title": "rdfs:label", + "length": "dct:extent" + }, + "@id": "rdfs:seeAlso" + }, + "features": { + "@context": { + "features": { + "@container": "@set", + "@id": "geojson:features" + }, + "featureType": "@type" + }, + "@container": "@set", + "@id": "sosa:hasMember" + }, + "id": "@id", + "properties": "@nest", + "geometry": { + "@context": {}, + "@id": "geojson:geometry" + }, + "bbox": { + "@container": "@list", + "@id": "geojson:bbox" + }, + "Feature": "geojson:Feature", + "FeatureCollection": "geojson:FeatureCollection", + "GeometryCollection": "geojson:GeometryCollection", + "LineString": "geojson:LineString", + "MultiLineString": "geojson:MultiLineString", + "MultiPoint": "geojson:MultiPoint", + "MultiPolygon": "geojson:MultiPolygon", + "Point": "geojson:Point", + "Polygon": "geojson:Polygon", + "resultTime": "sosa:resultTime", + "phenomenonTime": "sosa:phenomenonTime", + "hasFeatureOfInterest": { + "@id": "sosa:hasFeatureOfInterest", + "@type": "@id" + }, "observedProperty": { "@id": "sosa:observedProperty", "@type": "@id" }, - "id": "@id", - "phenomenonTime": "sosa:phenomenonTime", + "usedProcedure": { + "@id": "sosa:usedProcedure", + "@type": "@id" + }, + "madeBySensor": { + "@id": "sosa:madeBySensor", + "@type": "@id" + }, + "hasMember": { + "@context": { + "featureType": "@type" + }, + "@id": "sosa:hasMember" + }, + "Observation": "sosa:Observation", + "Sample": "sosa:Sample", + "System": "sosa:System", + "Platform": "sosa:Platform", "observes": { "@id": "sosa:observes", "@type": "@id" @@ -325,10 +395,6 @@ Links to the schema: "@id": "sosa:madeObservation", "@type": "@id" }, - "madeBySensor": { - "@id": "sosa:madeBySensor", - "@type": "@id" - }, "actsOnProperty": { "@id": "sosa:actsOnProperty", "@type": "@id" @@ -361,10 +427,6 @@ Links to the schema: "@id": "sosa:madeBySampler", "@type": "@id" }, - "hasFeatureOfInterest": { - "@id": "sosa:hasFeatureOfInterest", - "@type": "@id" - }, "isFeatureOfInterestOf": { "@id": "sosa:isFeatureOfInterestOf", "@type": "@id" @@ -372,11 +434,6 @@ Links to the schema: "hasResult": "sosa:hasResult", "isResultOf": "sosa:isResultOf", "hasSimpleResult": "sosa:hasSimpleResult", - "resultTime": "sosa:resultTime", - "usedProcedure": { - "@id": "sosa:usedProcedure", - "@type": "@id" - }, "hosts": { "@id": "sosa:hosts", "@type": "@id", @@ -410,72 +467,17 @@ Links to the schema: "hasSurvivalRange": "ssn-system:hasSurvivalRange", "hasSurvivalProperty": "ssn-system:hasSurvivalProperty", "qualityOfObservation": "ssn-system:qualityOfObservation", - "hasMember": { - "@context": { - "features": "sosa:hasMember", - "featureType": "@type" - }, - "@id": "sosa:hasMember" - }, - "featureType": "geojson:collectionFeatureType", - "properties": "@nest", - "features": { - "@context": { - "features": "sosa:hasMember", - "featureType": "@type" - }, - "@id": "geojson:features", - "@container": "@set" - }, - "type": "@type", - "links": { - "@context": { - "href": { - "@type": "@id", - "@id": "oa:hasTarget" - }, - "rel": { - "@context": { - "@base": "http://www.iana.org/assignments/relation/" - }, - "@id": "http://www.iana.org/assignments/relation", - "@type": "@id" - }, - "type": "dct:type", - "hreflang": "dct:language", - "title": "rdfs:label", - "length": "dct:extent" - }, - "@id": "rdfs:seeAlso" - }, - "geometry": { - "@context": {}, - "@id": "geojson:geometry" - }, - "bbox": { - "@container": "@list", - "@id": "geojson:bbox" - }, - "Feature": "geojson:Feature", - "FeatureCollection": "geojson:FeatureCollection", - "GeometryCollection": "geojson:GeometryCollection", - "LineString": "geojson:LineString", - "MultiLineString": "geojson:MultiLineString", - "MultiPoint": "geojson:MultiPoint", - "MultiPolygon": "geojson:MultiPolygon", - "Point": "geojson:Point", - "Polygon": "geojson:Polygon", "coordinates": { "@container": "@list", "@id": "geojson:coordinates" }, - "sosa": "http://www.w3.org/ns/sosa/", - "ssn-system": "ssn:systems/", - "ssn": "http://www.w3.org/ns/ssn/", "geojson": "https://purl.org/geojson/vocab#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "oa": "http://www.w3.org/ns/oa#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "dct": "http://purl.org/dc/terms/", + "sosa": "http://www.w3.org/ns/sosa/", + "ssn-system": "ssn:systems/", + "ssn": "http://www.w3.org/ns/ssn/", "@version": 1.1 } } diff --git a/generateddocs/markdown/unstable/sosa/index.md b/generateddocs/markdown/unstable/sosa/index.md index f8245d4b8..af4ae8b9f 100644 --- a/generateddocs/markdown/unstable/sosa/index.md +++ b/generateddocs/markdown/unstable/sosa/index.md @@ -786,16 +786,31 @@ Links to the schema: ```jsonld { "@context": { - "Observation": "sosa:Observation", - "Sample": "sosa:Sample", - "System": "sosa:System", - "Platform": "sosa:Platform", + "resultTime": "sosa:resultTime", + "phenomenonTime": "sosa:phenomenonTime", + "hasFeatureOfInterest": { + "@id": "sosa:hasFeatureOfInterest", + "@type": "@id" + }, "observedProperty": { "@id": "sosa:observedProperty", "@type": "@id" }, + "usedProcedure": { + "@id": "sosa:usedProcedure", + "@type": "@id" + }, + "madeBySensor": { + "@id": "sosa:madeBySensor", + "@type": "@id" + }, + "hasResult": "sosa:hasResult", + "hasSimpleResult": "sosa:hasSimpleResult", + "Observation": "sosa:Observation", + "Sample": "sosa:Sample", + "System": "sosa:System", + "Platform": "sosa:Platform", "id": "@id", - "phenomenonTime": "sosa:phenomenonTime", "observes": { "@id": "sosa:observes", "@type": "@id" @@ -808,10 +823,6 @@ Links to the schema: "@id": "sosa:madeObservation", "@type": "@id" }, - "madeBySensor": { - "@id": "sosa:madeBySensor", - "@type": "@id" - }, "actsOnProperty": { "@id": "sosa:actsOnProperty", "@type": "@id" @@ -844,22 +855,11 @@ Links to the schema: "@id": "sosa:madeBySampler", "@type": "@id" }, - "hasFeatureOfInterest": { - "@id": "sosa:hasFeatureOfInterest", - "@type": "@id" - }, "isFeatureOfInterestOf": { "@id": "sosa:isFeatureOfInterestOf", "@type": "@id" }, - "hasResult": "sosa:hasResult", "isResultOf": "sosa:isResultOf", - "hasSimpleResult": "sosa:hasSimpleResult", - "resultTime": "sosa:resultTime", - "usedProcedure": { - "@id": "sosa:usedProcedure", - "@type": "@id" - }, "hosts": { "@id": "sosa:hosts", "@type": "@id", @@ -896,19 +896,48 @@ Links to the schema: "qualityOfObservation": "ssn-system:qualityOfObservation", "hasMember": { "@context": { - "features": "sosa:hasMember" + "featureType": "@type" }, "@id": "sosa:hasMember" }, "features": { "@context": { - "features": "sosa:hasMember" + "features": { + "@container": "@set", + "@id": "geojson:features" + }, + "featureType": "@type" }, - "@id": "geojson:features", - "@container": "@set" + "@container": "@set", + "@id": "sosa:hasMember" }, - "featureType": "@type", "properties": "@nest", + "featureType": "geojson:collectionFeatureType", + "position": { + "@context": { + "lat": "geo:lat", + "lon": "geo:long", + "h": "geopose:h" + }, + "@id": "geopose:position" + }, + "angles": { + "@context": { + "yaw": "geopose:yaw", + "pitch": "geopose:pitch", + "roll": "geopose:roll" + }, + "@id": "geopose:angles" + }, + "type": "@type", + "geometry": { + "@context": {}, + "@id": "geojson:geometry" + }, + "bbox": { + "@container": "@list", + "@id": "geojson:bbox" + }, "Feature": "geojson:Feature", "FeatureCollection": "geojson:FeatureCollection", "GeometryCollection": "geojson:GeometryCollection", @@ -918,15 +947,6 @@ Links to the schema: "MultiPolygon": "geojson:MultiPolygon", "Point": "geojson:Point", "Polygon": "geojson:Polygon", - "bbox": { - "@container": "@list", - "@id": "geojson:bbox" - }, - "coordinates": { - "@container": "@list", - "@id": "geojson:coordinates" - }, - "type": "@type", "links": { "@context": { "href": { @@ -947,30 +967,17 @@ Links to the schema: }, "@id": "rdfs:seeAlso" }, - "geometry": "geojson:geometry", - "position": { - "@context": { - "lat": "geo:lat", - "lon": "geo:long", - "h": "geopose:h" - }, - "@id": "geopose:position" - }, - "angles": { - "@context": { - "yaw": "geopose:yaw", - "pitch": "geopose:pitch", - "roll": "geopose:roll" - }, - "@id": "geopose:angles" + "coordinates": { + "@container": "@list", + "@id": "geojson:coordinates" }, "sosa": "http://www.w3.org/ns/sosa/", "ssn-system": "ssn:systems/", "ssn": "http://www.w3.org/ns/ssn/", - "geojson": "https://purl.org/geojson/vocab#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "geopose": "http://example.com/geopose/", "geo": "http://www.w3.org/2003/01/geo/wgs84_pos#", + "geojson": "https://purl.org/geojson/vocab#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "oa": "http://www.w3.org/ns/oa#", "dct": "http://purl.org/dc/terms/", "@version": 1.1 diff --git a/generateddocs/markdown/unstable/sosa/properties/observationCollection/index.md b/generateddocs/markdown/unstable/sosa/properties/observationCollection/index.md index 876862b69..8c72708a0 100644 --- a/generateddocs/markdown/unstable/sosa/properties/observationCollection/index.md +++ b/generateddocs/markdown/unstable/sosa/properties/observationCollection/index.md @@ -285,6 +285,28 @@ Links to the schema: ```jsonld { "@context": { + "resultTime": "sosa:resultTime", + "phenomenonTime": "sosa:phenomenonTime", + "hasFeatureOfInterest": { + "@id": "sosa:hasFeatureOfInterest", + "@type": "@id" + }, + "observedProperty": { + "@id": "sosa:observedProperty", + "@type": "@id" + }, + "usedProcedure": { + "@id": "sosa:usedProcedure", + "@type": "@id" + }, + "madeBySensor": { + "@id": "sosa:madeBySensor", + "@type": "@id" + }, + "hasMember": { + "@context": {}, + "@id": "sosa:hasMember" + }, "Observation": "sosa:Observation", "Sample": "sosa:Sample", "System": "sosa:System", @@ -377,28 +399,6 @@ Links to the schema: "features": "sosa:hasMember", "properties": "@nest", "featureType": "@type", - "resultTime": "sosa:resultTime", - "phenomenonTime": "sosa:phenomenonTime", - "hasFeatureOfInterest": { - "@id": "sosa:hasFeatureOfInterest", - "@type": "@id" - }, - "observedProperty": { - "@id": "sosa:observedProperty", - "@type": "@id" - }, - "usedProcedure": { - "@id": "sosa:usedProcedure", - "@type": "@id" - }, - "madeBySensor": { - "@id": "sosa:madeBySensor", - "@type": "@id" - }, - "hasMember": { - "@context": {}, - "@id": "sosa:hasMember" - }, "sosa": "http://www.w3.org/ns/sosa/", "ssn-system": "ssn:systems/", "ssn": "http://www.w3.org/ns/ssn/", diff --git a/generateddocs/markdown/unstable/sosa/properties/platform/index.md b/generateddocs/markdown/unstable/sosa/properties/platform/index.md index 5bb47925e..8e50f7327 100644 --- a/generateddocs/markdown/unstable/sosa/properties/platform/index.md +++ b/generateddocs/markdown/unstable/sosa/properties/platform/index.md @@ -214,6 +214,12 @@ Links to the schema: ```jsonld { "@context": { + "hosts": { + "@context": {}, + "@id": "sosa:hosts", + "@type": "@id", + "@container": "@set" + }, "Observation": "sosa:Observation", "Sample": "sosa:Sample", "System": "sosa:System", @@ -320,12 +326,6 @@ Links to the schema: "features": "sosa:hasMember", "properties": "@nest", "featureType": "@type", - "hosts": { - "@context": {}, - "@id": "sosa:hosts", - "@type": "@id", - "@container": "@set" - }, "sosa": "http://www.w3.org/ns/sosa/", "ssn-system": "ssn:systems/", "ssn": "http://www.w3.org/ns/ssn/", diff --git a/generateddocs/markdown/unstable/sosa/properties/sensor/index.md b/generateddocs/markdown/unstable/sosa/properties/sensor/index.md index 122abf5c5..c1cb32f85 100644 --- a/generateddocs/markdown/unstable/sosa/properties/sensor/index.md +++ b/generateddocs/markdown/unstable/sosa/properties/sensor/index.md @@ -291,6 +291,7 @@ Links to the schema: ```jsonld { "@context": { + "id": "@id", "Observation": "sosa:Observation", "Sample": "sosa:Sample", "System": "sosa:System", @@ -401,7 +402,6 @@ Links to the schema: "features": "sosa:hasMember", "properties": "@nest", "featureType": "@type", - "id": "@id", "sosa": "http://www.w3.org/ns/sosa/", "ssn-system": "ssn:systems/", "ssn": "http://www.w3.org/ns/ssn/", diff --git a/generateddocs/slate-build/geo/common/data_types/bounding_box/index.html b/generateddocs/slate-build/geo/common/data_types/bounding_box/index.html index 7f13aa1c4..4f914f0c1 100644 --- a/generateddocs/slate-build/geo/common/data_types/bounding_box/index.html +++ b/generateddocs/slate-build/geo/common/data_types/bounding_box/index.html @@ -287,7 +287,7 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + +