From 497c3952b33ccbadb09ef26b054278cb535d679a Mon Sep 17 00:00:00 2001 From: rob-metalinkage Date: Sun, 19 May 2024 23:59:20 +0000 Subject: [PATCH] Building blocks postprocessing --- .../stac/collection/schema-oas3.0.json | 17 +- .../stac/collection/schema-oas3.0.yaml | 12 +- .../contrib/stac/collection/schema.json | 2 +- .../contrib/stac/collection/schema.yaml | 2 +- .../extensions/eo/_visited_properties.tsv | 91 ++- .../contrib/stac/extensions/eo/context.jsonld | 18 +- .../stac/extensions/eo/schema-oas3.0.json | 585 +++++++++++++++++- .../stac/extensions/eo/schema-oas3.0.yaml | 455 +++++++++++++- .../extensions/raster/_visited_properties.tsv | 91 ++- .../stac/extensions/raster/context.jsonld | 18 +- .../stac/extensions/raster/schema-oas3.0.json | 585 +++++++++++++++++- .../stac/extensions/raster/schema-oas3.0.yaml | 455 +++++++++++++- .../contrib/stac/item/_visited_properties.tsv | 95 ++- .../contrib/stac/item/context.jsonld | 48 +- .../contrib/stac/item/schema-oas3.0.json | 568 +++++++++++++++++ .../contrib/stac/item/schema-oas3.0.yaml | 443 +++++++++++++ build/annotated/contrib/stac/item/schema.json | 3 + build/annotated/contrib/stac/item/schema.yaml | 1 + build/bblocks.jsonld | 108 ++-- build/bblocks.ttl | 58 +- .../contrib/stac/collection/index.json | 8 +- .../contrib/stac/extensions/eo/index.json | 4 +- .../contrib/stac/extensions/raster/index.json | 4 +- .../json-full/contrib/stac/item/index.json | 7 +- .../markdown/contrib/stac/collection/index.md | 2 +- .../contrib/stac/extensions/eo/index.md | 34 +- .../contrib/stac/extensions/raster/index.md | 54 +- .../markdown/contrib/stac/item/index.md | 56 +- .../contrib/stac/collection/index.html | 2 +- .../contrib/stac/extensions/eo/index.html | 34 +- .../contrib/stac/extensions/raster/index.html | 54 +- .../slate-build/contrib/stac/item/index.html | 56 +- .../contrib/stac/collection/index.html.md | 2 +- .../contrib/stac/extensions/eo/index.html.md | 34 +- .../stac/extensions/raster/index.html.md | 54 +- .../slate/contrib/stac/item/index.html.md | 56 +- build/register.json | 108 ++-- .../contrib/stac/collection/_report.json | 2 +- .../example_1_1.validation_passed.txt | 2 +- .../contrib/stac/extensions/eo/_report.json | 4 +- .../eo/example_1_1.validation_passed.txt | 2 +- .../stac/extensions/eo/example_2_1.ttl | 16 +- .../eo/example_2_1.validation_passed.txt | 2 +- .../stac/extensions/raster/_report.json | 2 +- .../stac/extensions/raster/example_1_1.ttl | 36 +- .../raster/example_1_1.validation_passed.txt | 2 +- build/tests/contrib/stac/item/_report.json | 4 +- .../item/example_1_1.validation_passed.txt | 2 +- build/tests/contrib/stac/item/example_2_1.ttl | 7 +- .../item/example_2_1.validation_passed.txt | 2 +- build/tests/report.html | 80 +-- 51 files changed, 3877 insertions(+), 510 deletions(-) diff --git a/build/annotated/contrib/stac/collection/schema-oas3.0.json b/build/annotated/contrib/stac/collection/schema-oas3.0.json index e6219da..59c06f6 100644 --- a/build/annotated/contrib/stac/collection/schema-oas3.0.json +++ b/build/annotated/contrib/stac/collection/schema-oas3.0.json @@ -375,7 +375,7 @@ ] } }, - "x-schema-source": "https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.json" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.json" }, "ogc.ogc-utils.json-link": { "description": "JSON Link", @@ -1272,16 +1272,9 @@ "minItems": 2, "maxItems": 2, "items": { - "anyOf": [ - { - "type": "string", - "format": "date-time", - "nullable": true - }, - { - "nullable": true - } - ] + "type": "string", + "format": "date-time", + "nullable": true }, "example": [ "2011-11-11T12:22:11Z", @@ -1300,7 +1293,7 @@ } } }, - "x-schema-source": "https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/extent/schema.json" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/extent/schema.json" }, "schemas.stacspec.org_v1.0.0_item-spec_json-schema_basics.json": { "title": "Basic Descriptive Fields", diff --git a/build/annotated/contrib/stac/collection/schema-oas3.0.yaml b/build/annotated/contrib/stac/collection/schema-oas3.0.yaml index 0fce905..a4d0435 100644 --- a/build/annotated/contrib/stac/collection/schema-oas3.0.yaml +++ b/build/annotated/contrib/stac/collection/schema-oas3.0.yaml @@ -260,7 +260,7 @@ x-defs: example: - http://www.opengis.net/def/crs/OGC/1.3/CRS84 - http://www.opengis.net/def/crs/EPSG/0/4326 - x-schema-source: https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml ogc.ogc-utils.json-link: description: JSON Link type: object @@ -918,11 +918,9 @@ x-defs: minItems: 2 maxItems: 2 items: - anyOf: - - type: string - format: date-time - nullable: true - - nullable: true + type: string + format: date-time + nullable: true example: - '2011-11-11T12:22:11Z' - null @@ -944,7 +942,7 @@ x-defs: enum: - http://www.opengis.net/def/uom/ISO-8601/0/Gregorian default: http://www.opengis.net/def/uom/ISO-8601/0/Gregorian - x-schema-source: https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/extent/schema.yaml + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/extent/schema.yaml schemas.stacspec.org_v1.0.0_item-spec_json-schema_basics.json: title: Basic Descriptive Fields type: object diff --git a/build/annotated/contrib/stac/collection/schema.json b/build/annotated/contrib/stac/collection/schema.json index 6f84e42..6b38995 100644 --- a/build/annotated/contrib/stac/collection/schema.json +++ b/build/annotated/contrib/stac/collection/schema.json @@ -6,7 +6,7 @@ "$ref": "https://github.com/radiantearth/stac-spec/raw/master/collection-spec/json-schema/collection.json" }, { - "$ref": "https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.json" + "$ref": "https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.json" }, { "type": "object", diff --git a/build/annotated/contrib/stac/collection/schema.yaml b/build/annotated/contrib/stac/collection/schema.yaml index e20117c..e7e9432 100644 --- a/build/annotated/contrib/stac/collection/schema.yaml +++ b/build/annotated/contrib/stac/collection/schema.yaml @@ -2,7 +2,7 @@ $schema: https://json-schema.org/draft/2020-12/schema description: STAC Collection allOf: - $ref: https://github.com/radiantearth/stac-spec/raw/master/collection-spec/json-schema/collection.json -- $ref: https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml +- $ref: https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml - type: object properties: links: diff --git a/build/annotated/contrib/stac/extensions/eo/_visited_properties.tsv b/build/annotated/contrib/stac/extensions/eo/_visited_properties.tsv index 192256d..c994daa 100644 --- a/build/annotated/contrib/stac/extensions/eo/_visited_properties.tsv +++ b/build/annotated/contrib/stac/extensions/eo/_visited_properties.tsv @@ -64,19 +64,104 @@ path @id /geometry/geometries/coordinates https://purl.org/geojson/vocab#coordinates /geometry/geometries/bbox https://purl.org/geojson/vocab#bbox /bbox https://purl.org/geojson/vocab#bbox +/conformsTo +/time +/time/date +/time/timestamp +/time/interval +/time/resolution +/properties/created +/properties/updated +/properties/type /properties/title /properties/description +/properties/keywords +/properties/language +/properties/language/code +/properties/language/name +/properties/language/alternate +/properties/language/dir +/properties/languages +/properties/languages/code +/properties/languages/name +/properties/languages/alternate +/properties/languages/dir +/properties/resourceLanguages +/properties/resourceLanguages/code +/properties/resourceLanguages/name +/properties/resourceLanguages/alternate +/properties/resourceLanguages/dir +/properties/externalIds +/properties/externalIds/scheme +/properties/externalIds/value +/properties/themes +/properties/themes/concepts +/properties/themes/concepts/id +/properties/themes/concepts/title +/properties/themes/concepts/description +/properties/themes/concepts/url +/properties/themes/scheme +/properties/formats +/properties/contacts +/properties/contacts/identifier +/properties/contacts/name +/properties/contacts/position +/properties/contacts/organization +/properties/contacts/logo +/properties/contacts/logo/href http://www.w3.org/ns/oa#hasTarget +/properties/contacts/logo/rel http://www.iana.org/assignments/relation +/properties/contacts/logo/anchor +/properties/contacts/logo/type http://purl.org/dc/terms/type +/properties/contacts/logo/hreflang http://purl.org/dc/terms/language +/properties/contacts/logo/title http://www.w3.org/2000/01/rdf-schema#label +/properties/contacts/logo/length http://purl.org/dc/terms/extent +/properties/contacts/phones +/properties/contacts/phones/value +/properties/contacts/phones/roles +/properties/contacts/emails +/properties/contacts/emails/value +/properties/contacts/emails/roles +/properties/contacts/addresses +/properties/contacts/addresses/deliveryPoint +/properties/contacts/addresses/city +/properties/contacts/addresses/administrativeArea +/properties/contacts/addresses/postalCode +/properties/contacts/addresses/country +/properties/contacts/addresses/roles +/properties/contacts/links +/properties/contacts/links/href http://www.w3.org/ns/oa#hasTarget +/properties/contacts/links/rel http://www.iana.org/assignments/relation +/properties/contacts/links/anchor +/properties/contacts/links/type http://purl.org/dc/terms/type +/properties/contacts/links/hreflang http://purl.org/dc/terms/language +/properties/contacts/links/title http://www.w3.org/2000/01/rdf-schema#label +/properties/contacts/links/length http://purl.org/dc/terms/extent +/properties/contacts/hoursOfService +/properties/contacts/contactInstructions +/properties/contacts/roles +/properties/license +/properties/rights +/links/created http://purl.org/dc/terms/created +/links/updated http://purl.org/dc/terms/modified +/linkTemplates +/linkTemplates/rel http://www.iana.org/assignments/relation +/linkTemplates/type http://purl.org/dc/terms/format +/linkTemplates/hreflang http://purl.org/dc/terms/language +/linkTemplates/title http://www.w3.org/2000/01/rdf-schema#label +/linkTemplates/length http://purl.org/dc/terms/extent +/linkTemplates/created http://purl.org/dc/terms/created +/linkTemplates/updated http://purl.org/dc/terms/modified +/linkTemplates/uriTemplate http://www.w3.org/ns/oa#hasTarget +/linkTemplates/varBase +/linkTemplates/variables /properties/datetime /properties/start_datetime /properties/end_datetime -/properties/created -/properties/updated /properties/platform /properties/instruments /properties/constellation /properties/mission /properties/gsd -/properties/license /properties/providers /properties/providers/name /properties/providers/description diff --git a/build/annotated/contrib/stac/extensions/eo/context.jsonld b/build/annotated/contrib/stac/extensions/eo/context.jsonld index d22b9ff..307c294 100644 --- a/build/annotated/contrib/stac/extensions/eo/context.jsonld +++ b/build/annotated/contrib/stac/extensions/eo/context.jsonld @@ -18,12 +18,7 @@ "id": "@id", "properties": "@nest", "geometry": { - "@context": { - "coordinates": { - "@container": "@list", - "@id": "geojson:coordinates" - } - }, + "@context": {}, "@id": "geojson:geometry" }, "bbox": { @@ -49,10 +44,21 @@ }, "@id": "rdfs:seeAlso" }, + "coordinates": { + "@container": "@list", + "@id": "geojson:coordinates" + }, + "created": "dct:created", + "updated": "dct:modified", + "uriTemplate": { + "@type": "xsd:string", + "@id": "oa:hasTarget" + }, "oa": "http://www.w3.org/ns/oa#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "dct": "http://purl.org/dc/terms/", "geojson": "https://purl.org/geojson/vocab#", + "xsd": "http://www.w3.org/2001/XMLSchema#", "@version": 1.1 } } \ No newline at end of file diff --git a/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json b/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json index 4e03be0..c40bfe7 100644 --- a/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json +++ b/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json @@ -51,6 +51,9 @@ { "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" }, + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.recordGeoJSON" + }, { "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/github.com_radiantearth_stac-spec_raw_master_item-spec_json-schema_item.json" } @@ -612,7 +615,7 @@ ] } }, - "x-schema-source": "https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml" }, "ogc.ogc-utils.json-link": { "description": "JSON Link", @@ -699,6 +702,177 @@ }, "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.yaml" }, + "ogc.api.records.v1.schemas.recordGeoJSON": { + "description": "Normative records schema - adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/recordGeoJSON.yaml", + "type": "object", + "allOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" + } + ], + "required": [ + "id", + "type", + "geometry", + "properties", + "links" + ], + "properties": { + "id": { + "type": "string", + "description": "A unique identifier of the catalog record." + }, + "conformsTo": { + "type": "array", + "items": { + "type": "string" + } + }, + "type": { + "type": "string", + "enum": [ + "Feature" + ] + }, + "time": { + "oneOf": [ + { + "enum": [ + null + ] + }, + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.time" + } + ] + }, + "geometry": { + "oneOf": [ + { + "enum": [ + null + ] + }, + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.geojson/properties/geometry" + } + ] + }, + "properties": { + "type": "object", + "properties": { + "created": { + "type": "string", + "description": "Date of creation of this record.", + "format": "date-time" + }, + "updated": { + "type": "string", + "description": "The most recent date on which the record was changed.", + "format": "date-time" + }, + "type": { + "type": "string", + "description": "The nature or genre of the resource. The value should be a code, convenient for filtering records. Where available, a link to the canonical URI of the record type resource will be added to the 'links' property.", + "maxLength": 64 + }, + "title": { + "type": "string", + "description": "A human-readable name given to the resource." + }, + "description": { + "type": "string", + "description": "A free-text account of the resource." + }, + "keywords": { + "type": "array", + "description": "The topic or topics of the resource. Typically represented using free-form keywords, tags, key phrases, or classification codes.", + "items": { + "type": "string" + } + }, + "language": {}, + "languages": { + "type": "array", + "description": "This list of languages in which this record is available.", + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.language" + } + }, + "resourceLanguages": { + "type": "array", + "description": "The list of languages in which the resource described by this record is available.", + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.language" + } + }, + "externalIds": { + "type": "array", + "description": "An identifier for the resource assigned by an external (to the catalog) entity.", + "items": { + "type": "object", + "properties": { + "scheme": { + "type": "string", + "description": "A reference to an authority or identifier for a knowledge organization system from which the external identifier was obtained. It is recommended that the identifier be a resolvable URI." + }, + "value": { + "type": "string", + "description": "The value of the identifier." + } + }, + "required": [ + "value" + ] + } + }, + "themes": { + "type": "array", + "description": "A knowledge organization system used to classify the resource.", + "minItems": 1, + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.theme" + } + }, + "formats": { + "type": "array", + "description": "A list of available distributions of the resource.", + "items": { + "type": "string" + } + }, + "contacts": { + "type": "array", + "description": "A list of contacts qualified by their role(s) in association to the record or the resource described by the record.", + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.contact" + } + }, + "license": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.license" + }, + "rights": { + "type": "string", + "description": "A statement that concerns all rights not addressed by the license such as a copyright statement." + } + } + }, + "links": { + "type": "array", + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.linkBase" + } + }, + "linkTemplates": { + "type": "array", + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.linkTemplate" + } + } + }, + "x-schema-version": "https://json-schema.org/draft/2020-12/schema", + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml" + }, "github.com_radiantearth_stac-spec_raw_master_item-spec_json-schema_item.json": { "title": "STAC Item", "type": "object", @@ -1818,16 +1992,9 @@ "minItems": 2, "maxItems": 2, "items": { - "anyOf": [ - { - "type": "string", - "format": "date-time", - "nullable": true - }, - { - "nullable": true - } - ] + "type": "string", + "format": "date-time", + "nullable": true }, "example": [ "2011-11-11T12:22:11Z", @@ -1846,7 +2013,7 @@ } } }, - "x-schema-source": "https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/extent/schema.yaml" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/extent/schema.yaml" }, "ogc.geo.common.data_types.geojson": { "title": "GeoJSON Feature", @@ -2453,6 +2620,391 @@ }, "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/common/data_types/bounding_box/schema.yaml" }, + "ogc.api.records.v1.schemas.time": { + "type": "object", + "nullable": true, + "properties": { + "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": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$" + }, + { + "type": "string", + "enum": [ + ".." + ] + } + ] + } + }, + "resolution": { + "type": "string", + "description": "Minimum time period resolvable in the dataset, as an ISO 8601 duration", + "example": [ + "P1D" + ] + } + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/time/schema.yaml" + }, + "ogc.api.records.v1.schemas.language": { + "type": "object", + "description": "The language used for textual values in this record.", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string", + "description": "The language tag as per RFC-5646.", + "example": "el" + }, + "name": { + "type": "string", + "minLength": 1, + "description": "The untranslated name of of the language.", + "example": "\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac" + }, + "alternate": { + "type": "string", + "description": "The name of the language in another well-understood language, usually English.", + "example": "Greek" + }, + "dir": { + "type": "string", + "description": "The direction for text in this language. The default, `ltr` (left-to-right), represents the most common situation. However, care should be taken to set the value of `dir` appropriately if the language direction is not `ltr`. Other values supported are `rtl` (right-to-left), `ttb` (top-to-bottom), and `btt` (bottom-to-top).", + "enum": [ + "ltr", + "rtl", + "ttb", + "btt" + ], + "default": [ + "ltr" + ] + } + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml" + }, + "ogc.api.records.v1.schemas.theme": { + "type": "object", + "required": [ + "concepts", + "scheme" + ], + "properties": { + "concepts": { + "type": "array", + "description": "One or more entity/concept identifiers from this knowledge system. it is recommended that a resolvable URI be used for each entity/concept identifier.", + "minItems": 1, + "items": { + "type": "object", + "required": [ + "id" + ], + "properties": { + "id": { + "type": "string", + "description": "An identifier for the concept." + }, + "title": { + "type": "string", + "description": "A human readable title for the concept." + }, + "description": { + "type": "string", + "description": "A human readable description for the concept." + }, + "url": { + "type": "string", + "format": "uri", + "description": "A URI providing further description of the concept." + } + } + } + }, + "scheme": { + "type": "string", + "description": "An identifier for the knowledge organization system used to classify the resource. It is recommended that the identifier be a resolvable URI. The list of schemes used in a searchable catalog can be determined by inspecting the server's OpenAPI document or, if the server implements CQL2, by exposing a queryable (e.g. named `scheme`) and enumerating the list of schemes in the queryable's schema definition." + } + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/theme/schema.yaml" + }, + "ogc.api.records.v1.schemas.contact": { + "$comment": "Adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/contact.yaml", + "type": "object", + "description": "Identification of, and means of communication with, person responsible\nfor the resource.", + "anyOf": [ + { + "required": [ + "name" + ] + }, + { + "required": [ + "organization" + ] + } + ], + "properties": { + "identifier": { + "type": "string", + "description": "A value uniquely identifying a contact." + }, + "name": { + "type": "string", + "description": "The name of the responsible person." + }, + "position": { + "type": "string", + "description": "The name of the role or position of the responsible person taken from the organization's formal organizational hierarchy or chart." + }, + "organization": { + "type": "string", + "description": "Organization/affiliation of the contact." + }, + "logo": { + "description": "Graphic identifying a contact. The link relation should be `icon` and the media type should be an image media type.", + "allOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" + }, + { + "type": "object", + "required": [ + "rel", + "type" + ], + "properties": { + "rel": { + "enum": [ + "icon" + ] + } + } + } + ] + }, + "phones": { + "type": "array", + "description": "Telephone numbers at which contact can be made.", + "items": { + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "string", + "description": "The value is the phone number itself.", + "pattern": "^\\+[1-9]{1}[0-9]{3,14}$", + "example": "+14165550142" + }, + "roles": {} + } + } + }, + "emails": { + "type": "array", + "description": "Email addresses at which contact can be made.", + "items": { + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "string", + "description": "The value is the email number itself.", + "format": "email" + }, + "roles": {} + } + } + }, + "addresses": { + "type": "array", + "description": "Physical location at which contact can be made.", + "items": { + "type": "object", + "properties": { + "deliveryPoint": { + "type": "array", + "description": "Address lines for the location.", + "items": { + "type": "string" + } + }, + "city": { + "type": "string", + "description": "City for the location." + }, + "administrativeArea": { + "type": "string", + "description": "State or province of the location." + }, + "postalCode": { + "type": "string", + "description": "ZIP or other postal code." + }, + "country": { + "type": "string", + "description": "Country of the physical address. ISO 3166-1 is recommended." + }, + "roles": {} + } + } + }, + "links": { + "type": "array", + "description": "On-line information about the contact.", + "items": { + "allOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" + }, + { + "type": "object", + "required": [ + "type" + ] + } + ] + } + }, + "hoursOfService": { + "type": "string", + "description": "Time period when the contact can be contacted.", + "example": "Hours: Mo-Fr 10am-7pm Sa 10am-22pm Su 10am-21pm" + }, + "contactInstructions": { + "type": "string", + "description": "Supplemental instructions on how or when to contact the\nresponsible party." + }, + "roles": {} + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/contact/schema.yaml" + }, + "ogc.api.records.v1.schemas.license": { + "type": "string", + "description": "A legal document under which the resource is made available. If the resource is being made available under a common license then use an SPDX license id (https://spdx.org/licenses/). If the resource is being made available under multiple common licenses then use an SPDX license expression v2.3 string (https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/) If the resource is being made available under one or more licenses that haven't been assigned an SPDX identifier or one or more custom licenses then use a string value of 'other' and include one or more links (rel=\"license\") in the `link` section of the record to the file(s) that contains the text of the license(s). There is also the case of a resource that is private or unpublished and is thus unlicensed; in this case do not register such a resource in the catalog in the first place since there is no point in making such a resource discoverable.", + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/license/schema.yaml" + }, + "ogc.api.records.v1.schemas.linkBase": { + "$comment": "Adapted from https://github.com/opengeospatial/ogcapi-records/raw/master/core/openapi/schemas/linkBase.yaml", + "type": "object", + "properties": { + "rel": { + "type": "string", + "description": "The type or semantics of the relation.", + "example": "alternate", + "x-jsonld-id": "http://www.iana.org/assignments/relation", + "x-jsonld-type": "@id", + "x-jsonld-base": "http://www.iana.org/assignments/relation/" + }, + "type": { + "type": "string", + "description": "A hint indicating what the media type of the result of dereferencing the link should be.", + "example": "application/geo+json", + "x-jsonld-id": "http://purl.org/dc/terms/format" + }, + "hreflang": { + "type": "string", + "description": "A hint indicating what the language of the result of dereferencing the link should be.", + "example": "en", + "x-jsonld-id": "http://purl.org/dc/terms/language" + }, + "title": { + "type": "string", + "description": "Used to label the destination of a link such that it can be used as a human-readable identifier.", + "example": "Trierer Strasse 70, 53115 Bonn", + "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#label" + }, + "length": { + "type": "integer", + "x-jsonld-id": "http://purl.org/dc/terms/extent" + }, + "created": { + "type": "string", + "description": "Date of creation of the resource pointed to by the link.", + "format": "date-time", + "x-jsonld-id": "http://purl.org/dc/terms/created" + }, + "updated": { + "type": "string", + "description": "Most recent date on which the resource pointed to by the link was changed.", + "format": "date-time", + "x-jsonld-id": "http://purl.org/dc/terms/modified" + } + }, + "x-jsonld-extra-terms": { + "href": { + "x-jsonld-type": "@id", + "x-jsonld-id": "http://www.w3.org/ns/oa#hasTarget" + } + }, + "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/", + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkBase/schema.yaml" + }, + "ogc.api.records.v1.schemas.linkTemplate": { + "$comment": "Adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkTemplate.yaml", + "allOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.linkBase" + }, + { + "type": "object", + "required": [ + "uriTemplate" + ], + "properties": { + "uriTemplate": { + "type": "string", + "description": "Supplies a resolvable URI to a remote resource (or resource fragment).", + "example": "http://data.example.com/buildings/(building-id}", + "x-jsonld-type": "xsd:string", + "x-jsonld-id": "http://www.w3.org/ns/oa#hasTarget" + }, + "varBase": { + "type": "string", + "description": "The base URI to which the variable name can be appended to retrieve the definition of the variable as a JSON Schema fragment.", + "format": "url" + }, + "variables": { + "type": "object", + "description": "This object contains one key per substitution variable in the templated URL. Each key defines the schema of one substitution variable using a JSON Schema fragment and can thus include things like the data type of the variable, enumerations, minimum values, maximum values, etc." + } + } + } + ], + "x-jsonld-prefixes": { + "oa": "http://www.w3.org/ns/oa#" + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkTemplate/schema.yaml" + }, "schemas.stacspec.org_v1.0.0_item-spec_json-schema_basics.json": { "title": "Basic Descriptive Fields", "type": "object", @@ -3334,6 +3886,15 @@ ], "x-schema-version": "http://json-schema.org/draft-07/schema#", "x-schema-source": "https://geojson.org/schema/Geometry.json" + }, + "ogc.api.records.v1.schemas.roles": { + "description": "The list of duties, job functions or permissions assigned by the system and associated with the context of this member.", + "type": "array", + "minItems": 1, + "items": { + "type": "string" + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/roles/schema.yaml" } }, "allOf": [ diff --git a/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml b/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml index 78d7df1..db79399 100644 --- a/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml +++ b/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml @@ -26,6 +26,7 @@ x-defs: description: STAC Collection allOf: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.recordGeoJSON - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/github.com_radiantearth_stac-spec_raw_master_item-spec_json-schema_item.json x-schema-version: https://json-schema.org/draft/2020-12/schema x-schema-source: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema.yaml @@ -416,7 +417,7 @@ x-defs: example: - http://www.opengis.net/def/crs/OGC/1.3/CRS84 - http://www.opengis.net/def/crs/EPSG/0/4326 - x-schema-source: https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml ogc.ogc-utils.json-link: description: JSON Link type: object @@ -477,6 +478,131 @@ 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.yaml + ogc.api.records.v1.schemas.recordGeoJSON: + description: Normative records schema - adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/recordGeoJSON.yaml + type: object + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature + required: + - id + - type + - geometry + - properties + - links + properties: + id: + type: string + description: A unique identifier of the catalog record. + conformsTo: + type: array + items: + type: string + type: + type: string + enum: + - Feature + time: + oneOf: + - enum: + - null + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.time + geometry: + oneOf: + - enum: + - null + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.geojson/properties/geometry + properties: + type: object + properties: + created: + type: string + description: Date of creation of this record. + format: date-time + updated: + type: string + description: The most recent date on which the record was changed. + format: date-time + type: + type: string + description: The nature or genre of the resource. The value should be + a code, convenient for filtering records. Where available, a link to + the canonical URI of the record type resource will be added to the 'links' + property. + maxLength: 64 + title: + type: string + description: A human-readable name given to the resource. + description: + type: string + description: A free-text account of the resource. + keywords: + type: array + description: The topic or topics of the resource. Typically represented + using free-form keywords, tags, key phrases, or classification codes. + items: + type: string + language: {} + languages: + type: array + description: This list of languages in which this record is available. + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.language + resourceLanguages: + type: array + description: The list of languages in which the resource described by + this record is available. + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.language + externalIds: + type: array + description: An identifier for the resource assigned by an external (to + the catalog) entity. + items: + type: object + properties: + scheme: + type: string + description: A reference to an authority or identifier for a knowledge + organization system from which the external identifier was obtained. + It is recommended that the identifier be a resolvable URI. + value: + type: string + description: The value of the identifier. + required: + - value + themes: + type: array + description: A knowledge organization system used to classify the resource. + minItems: 1 + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.theme + formats: + type: array + description: A list of available distributions of the resource. + items: + type: string + contacts: + type: array + description: A list of contacts qualified by their role(s) in association + to the record or the resource described by the record. + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.contact + license: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.license + rights: + type: string + description: A statement that concerns all rights not addressed by the + license such as a copyright statement. + links: + type: array + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.linkBase + linkTemplates: + type: array + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.linkTemplate + x-schema-version: https://json-schema.org/draft/2020-12/schema + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml github.com_radiantearth_stac-spec_raw_master_item-spec_json-schema_item.json: title: STAC Item type: object @@ -1264,11 +1390,9 @@ x-defs: minItems: 2 maxItems: 2 items: - anyOf: - - type: string - format: date-time - nullable: true - - nullable: true + type: string + format: date-time + nullable: true example: - '2011-11-11T12:22:11Z' - null @@ -1290,7 +1414,7 @@ x-defs: enum: - http://www.opengis.net/def/uom/ISO-8601/0/Gregorian default: http://www.opengis.net/def/uom/ISO-8601/0/Gregorian - x-schema-source: https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/extent/schema.yaml + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/extent/schema.yaml ogc.geo.common.data_types.geojson: title: GeoJSON Feature type: object @@ -1718,6 +1842,315 @@ x-defs: items: type: number x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/common/data_types/bounding_box/schema.yaml + ogc.api.records.v1.schemas.time: + type: object + nullable: true + properties: + 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: + - type: string + pattern: ^\d{4}-\d{2}-\d{2}$ + - type: string + pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z$ + - type: string + enum: + - .. + resolution: + type: string + description: Minimum time period resolvable in the dataset, as an ISO 8601 + duration + example: + - P1D + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/time/schema.yaml + ogc.api.records.v1.schemas.language: + type: object + description: The language used for textual values in this record. + required: + - code + properties: + code: + type: string + description: The language tag as per RFC-5646. + example: el + name: + type: string + minLength: 1 + description: The untranslated name of of the language. + example: "\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC" + alternate: + type: string + description: The name of the language in another well-understood language, + usually English. + example: Greek + dir: + type: string + description: The direction for text in this language. The default, `ltr` (left-to-right), + represents the most common situation. However, care should be taken to set + the value of `dir` appropriately if the language direction is not `ltr`. + Other values supported are `rtl` (right-to-left), `ttb` (top-to-bottom), + and `btt` (bottom-to-top). + enum: + - ltr + - rtl + - ttb + - btt + default: + - ltr + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml + ogc.api.records.v1.schemas.theme: + type: object + required: + - concepts + - scheme + properties: + concepts: + type: array + description: One or more entity/concept identifiers from this knowledge system. + it is recommended that a resolvable URI be used for each entity/concept + identifier. + minItems: 1 + items: + type: object + required: + - id + properties: + id: + type: string + description: An identifier for the concept. + title: + type: string + description: A human readable title for the concept. + description: + type: string + description: A human readable description for the concept. + url: + type: string + format: uri + description: A URI providing further description of the concept. + scheme: + type: string + description: An identifier for the knowledge organization system used to classify + the resource. It is recommended that the identifier be a resolvable URI. The + list of schemes used in a searchable catalog can be determined by inspecting + the server's OpenAPI document or, if the server implements CQL2, by exposing + a queryable (e.g. named `scheme`) and enumerating the list of schemes in + the queryable's schema definition. + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/theme/schema.yaml + ogc.api.records.v1.schemas.contact: + $comment: Adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/contact.yaml + type: object + description: 'Identification of, and means of communication with, person responsible + + for the resource.' + anyOf: + - required: + - name + - required: + - organization + properties: + identifier: + type: string + description: A value uniquely identifying a contact. + name: + type: string + description: The name of the responsible person. + position: + type: string + description: The name of the role or position of the responsible person taken + from the organization's formal organizational hierarchy or chart. + organization: + type: string + description: Organization/affiliation of the contact. + logo: + description: Graphic identifying a contact. The link relation should be `icon` + and the media type should be an image media type. + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link + - type: object + required: + - rel + - type + properties: + rel: + enum: + - icon + phones: + type: array + description: Telephone numbers at which contact can be made. + items: + type: object + required: + - value + properties: + value: + type: string + description: The value is the phone number itself. + pattern: ^\+[1-9]{1}[0-9]{3,14}$ + example: '+14165550142' + roles: {} + emails: + type: array + description: Email addresses at which contact can be made. + items: + type: object + required: + - value + properties: + value: + type: string + description: The value is the email number itself. + format: email + roles: {} + addresses: + type: array + description: Physical location at which contact can be made. + items: + type: object + properties: + deliveryPoint: + type: array + description: Address lines for the location. + items: + type: string + city: + type: string + description: City for the location. + administrativeArea: + type: string + description: State or province of the location. + postalCode: + type: string + description: ZIP or other postal code. + country: + type: string + description: Country of the physical address. ISO 3166-1 is recommended. + roles: {} + links: + type: array + description: On-line information about the contact. + items: + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link + - type: object + required: + - type + hoursOfService: + type: string + description: Time period when the contact can be contacted. + example: 'Hours: Mo-Fr 10am-7pm Sa 10am-22pm Su 10am-21pm' + contactInstructions: + type: string + description: 'Supplemental instructions on how or when to contact the + + responsible party.' + roles: {} + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/contact/schema.yaml + ogc.api.records.v1.schemas.license: + type: string + description: A legal document under which the resource is made available. If the + resource is being made available under a common license then use an SPDX license + id (https://spdx.org/licenses/). If the resource is being made available under + multiple common licenses then use an SPDX license expression v2.3 string (https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/) + If the resource is being made available under one or more licenses that haven't + been assigned an SPDX identifier or one or more custom licenses then use a string + value of 'other' and include one or more links (rel="license") in the `link` + section of the record to the file(s) that contains the text of the license(s). + There is also the case of a resource that is private or unpublished and is thus + unlicensed; in this case do not register such a resource in the catalog in the + first place since there is no point in making such a resource discoverable. + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/license/schema.yaml + ogc.api.records.v1.schemas.linkBase: + $comment: Adapted from https://github.com/opengeospatial/ogcapi-records/raw/master/core/openapi/schemas/linkBase.yaml + type: object + properties: + rel: + type: string + description: The type or semantics of the relation. + example: alternate + x-jsonld-id: http://www.iana.org/assignments/relation + x-jsonld-type: '@id' + x-jsonld-base: http://www.iana.org/assignments/relation/ + type: + type: string + description: A hint indicating what the media type of the result of dereferencing + the link should be. + example: application/geo+json + x-jsonld-id: http://purl.org/dc/terms/format + hreflang: + type: string + description: A hint indicating what the language of the result of dereferencing + the link should be. + example: en + x-jsonld-id: http://purl.org/dc/terms/language + title: + type: string + description: Used to label the destination of a link such that it can be used + as a human-readable identifier. + example: Trierer Strasse 70, 53115 Bonn + x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#label + length: + type: integer + x-jsonld-id: http://purl.org/dc/terms/extent + created: + type: string + description: Date of creation of the resource pointed to by the link. + format: date-time + x-jsonld-id: http://purl.org/dc/terms/created + updated: + type: string + description: Most recent date on which the resource pointed to by the link + was changed. + format: date-time + x-jsonld-id: http://purl.org/dc/terms/modified + x-jsonld-extra-terms: + href: + x-jsonld-type: '@id' + x-jsonld-id: http://www.w3.org/ns/oa#hasTarget + 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/ + xsd: http://www.w3.org/2001/XMLSchema# + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkBase/schema.yaml + ogc.api.records.v1.schemas.linkTemplate: + $comment: Adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkTemplate.yaml + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.linkBase + - type: object + required: + - uriTemplate + properties: + uriTemplate: + type: string + description: Supplies a resolvable URI to a remote resource (or resource + fragment). + example: http://data.example.com/buildings/(building-id} + x-jsonld-type: xsd:string + x-jsonld-id: http://www.w3.org/ns/oa#hasTarget + varBase: + type: string + description: The base URI to which the variable name can be appended to + retrieve the definition of the variable as a JSON Schema fragment. + format: url + variables: + type: object + description: This object contains one key per substitution variable in the + templated URL. Each key defines the schema of one substitution variable + using a JSON Schema fragment and can thus include things like the data + type of the variable, enumerations, minimum values, maximum values, etc. + x-jsonld-prefixes: + oa: http://www.w3.org/ns/oa# + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkTemplate/schema.yaml schemas.stacspec.org_v1.0.0_item-spec_json-schema_basics.json: title: Basic Descriptive Fields type: object @@ -2325,5 +2758,13 @@ x-defs: type: number x-schema-version: http://json-schema.org/draft-07/schema# x-schema-source: https://geojson.org/schema/Geometry.json + ogc.api.records.v1.schemas.roles: + description: The list of duties, job functions or permissions assigned by the + system and associated with the context of this member. + type: array + minItems: 1 + items: + type: string + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/roles/schema.yaml allOf: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/_github_workspace_build_annotated_contrib_stac_extensions_eo_schema.yaml diff --git a/build/annotated/contrib/stac/extensions/raster/_visited_properties.tsv b/build/annotated/contrib/stac/extensions/raster/_visited_properties.tsv index 628f410..8d6525d 100644 --- a/build/annotated/contrib/stac/extensions/raster/_visited_properties.tsv +++ b/build/annotated/contrib/stac/extensions/raster/_visited_properties.tsv @@ -64,19 +64,104 @@ path @id /geometry/geometries/coordinates https://purl.org/geojson/vocab#coordinates /geometry/geometries/bbox https://purl.org/geojson/vocab#bbox /bbox https://purl.org/geojson/vocab#bbox +/conformsTo +/time +/time/date +/time/timestamp +/time/interval +/time/resolution +/properties/created +/properties/updated +/properties/type /properties/title /properties/description +/properties/keywords +/properties/language +/properties/language/code +/properties/language/name +/properties/language/alternate +/properties/language/dir +/properties/languages +/properties/languages/code +/properties/languages/name +/properties/languages/alternate +/properties/languages/dir +/properties/resourceLanguages +/properties/resourceLanguages/code +/properties/resourceLanguages/name +/properties/resourceLanguages/alternate +/properties/resourceLanguages/dir +/properties/externalIds +/properties/externalIds/scheme +/properties/externalIds/value +/properties/themes +/properties/themes/concepts +/properties/themes/concepts/id +/properties/themes/concepts/title +/properties/themes/concepts/description +/properties/themes/concepts/url +/properties/themes/scheme +/properties/formats +/properties/contacts +/properties/contacts/identifier +/properties/contacts/name +/properties/contacts/position +/properties/contacts/organization +/properties/contacts/logo +/properties/contacts/logo/href http://www.w3.org/ns/oa#hasTarget +/properties/contacts/logo/rel http://www.iana.org/assignments/relation +/properties/contacts/logo/anchor +/properties/contacts/logo/type http://purl.org/dc/terms/type +/properties/contacts/logo/hreflang http://purl.org/dc/terms/language +/properties/contacts/logo/title http://www.w3.org/2000/01/rdf-schema#label +/properties/contacts/logo/length http://purl.org/dc/terms/extent +/properties/contacts/phones +/properties/contacts/phones/value +/properties/contacts/phones/roles +/properties/contacts/emails +/properties/contacts/emails/value +/properties/contacts/emails/roles +/properties/contacts/addresses +/properties/contacts/addresses/deliveryPoint +/properties/contacts/addresses/city +/properties/contacts/addresses/administrativeArea +/properties/contacts/addresses/postalCode +/properties/contacts/addresses/country +/properties/contacts/addresses/roles +/properties/contacts/links +/properties/contacts/links/href http://www.w3.org/ns/oa#hasTarget +/properties/contacts/links/rel http://www.iana.org/assignments/relation +/properties/contacts/links/anchor +/properties/contacts/links/type http://purl.org/dc/terms/type +/properties/contacts/links/hreflang http://purl.org/dc/terms/language +/properties/contacts/links/title http://www.w3.org/2000/01/rdf-schema#label +/properties/contacts/links/length http://purl.org/dc/terms/extent +/properties/contacts/hoursOfService +/properties/contacts/contactInstructions +/properties/contacts/roles +/properties/license +/properties/rights +/links/created http://purl.org/dc/terms/created +/links/updated http://purl.org/dc/terms/modified +/linkTemplates +/linkTemplates/rel http://www.iana.org/assignments/relation +/linkTemplates/type http://purl.org/dc/terms/format +/linkTemplates/hreflang http://purl.org/dc/terms/language +/linkTemplates/title http://www.w3.org/2000/01/rdf-schema#label +/linkTemplates/length http://purl.org/dc/terms/extent +/linkTemplates/created http://purl.org/dc/terms/created +/linkTemplates/updated http://purl.org/dc/terms/modified +/linkTemplates/uriTemplate http://www.w3.org/ns/oa#hasTarget +/linkTemplates/varBase +/linkTemplates/variables /properties/datetime /properties/start_datetime /properties/end_datetime -/properties/created -/properties/updated /properties/platform /properties/instruments /properties/constellation /properties/mission /properties/gsd -/properties/license /properties/providers /properties/providers/name /properties/providers/description diff --git a/build/annotated/contrib/stac/extensions/raster/context.jsonld b/build/annotated/contrib/stac/extensions/raster/context.jsonld index d22b9ff..307c294 100644 --- a/build/annotated/contrib/stac/extensions/raster/context.jsonld +++ b/build/annotated/contrib/stac/extensions/raster/context.jsonld @@ -18,12 +18,7 @@ "id": "@id", "properties": "@nest", "geometry": { - "@context": { - "coordinates": { - "@container": "@list", - "@id": "geojson:coordinates" - } - }, + "@context": {}, "@id": "geojson:geometry" }, "bbox": { @@ -49,10 +44,21 @@ }, "@id": "rdfs:seeAlso" }, + "coordinates": { + "@container": "@list", + "@id": "geojson:coordinates" + }, + "created": "dct:created", + "updated": "dct:modified", + "uriTemplate": { + "@type": "xsd:string", + "@id": "oa:hasTarget" + }, "oa": "http://www.w3.org/ns/oa#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "dct": "http://purl.org/dc/terms/", "geojson": "https://purl.org/geojson/vocab#", + "xsd": "http://www.w3.org/2001/XMLSchema#", "@version": 1.1 } } \ No newline at end of file diff --git a/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json b/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json index 7975575..156537f 100644 --- a/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json +++ b/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json @@ -51,6 +51,9 @@ { "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" }, + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.recordGeoJSON" + }, { "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/github.com_radiantearth_stac-spec_raw_master_item-spec_json-schema_item.json" } @@ -643,7 +646,7 @@ ] } }, - "x-schema-source": "https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml" }, "ogc.ogc-utils.json-link": { "description": "JSON Link", @@ -730,6 +733,177 @@ }, "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.yaml" }, + "ogc.api.records.v1.schemas.recordGeoJSON": { + "description": "Normative records schema - adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/recordGeoJSON.yaml", + "type": "object", + "allOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" + } + ], + "required": [ + "id", + "type", + "geometry", + "properties", + "links" + ], + "properties": { + "id": { + "type": "string", + "description": "A unique identifier of the catalog record." + }, + "conformsTo": { + "type": "array", + "items": { + "type": "string" + } + }, + "type": { + "type": "string", + "enum": [ + "Feature" + ] + }, + "time": { + "oneOf": [ + { + "enum": [ + null + ] + }, + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.time" + } + ] + }, + "geometry": { + "oneOf": [ + { + "enum": [ + null + ] + }, + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.geojson/properties/geometry" + } + ] + }, + "properties": { + "type": "object", + "properties": { + "created": { + "type": "string", + "description": "Date of creation of this record.", + "format": "date-time" + }, + "updated": { + "type": "string", + "description": "The most recent date on which the record was changed.", + "format": "date-time" + }, + "type": { + "type": "string", + "description": "The nature or genre of the resource. The value should be a code, convenient for filtering records. Where available, a link to the canonical URI of the record type resource will be added to the 'links' property.", + "maxLength": 64 + }, + "title": { + "type": "string", + "description": "A human-readable name given to the resource." + }, + "description": { + "type": "string", + "description": "A free-text account of the resource." + }, + "keywords": { + "type": "array", + "description": "The topic or topics of the resource. Typically represented using free-form keywords, tags, key phrases, or classification codes.", + "items": { + "type": "string" + } + }, + "language": {}, + "languages": { + "type": "array", + "description": "This list of languages in which this record is available.", + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.language" + } + }, + "resourceLanguages": { + "type": "array", + "description": "The list of languages in which the resource described by this record is available.", + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.language" + } + }, + "externalIds": { + "type": "array", + "description": "An identifier for the resource assigned by an external (to the catalog) entity.", + "items": { + "type": "object", + "properties": { + "scheme": { + "type": "string", + "description": "A reference to an authority or identifier for a knowledge organization system from which the external identifier was obtained. It is recommended that the identifier be a resolvable URI." + }, + "value": { + "type": "string", + "description": "The value of the identifier." + } + }, + "required": [ + "value" + ] + } + }, + "themes": { + "type": "array", + "description": "A knowledge organization system used to classify the resource.", + "minItems": 1, + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.theme" + } + }, + "formats": { + "type": "array", + "description": "A list of available distributions of the resource.", + "items": { + "type": "string" + } + }, + "contacts": { + "type": "array", + "description": "A list of contacts qualified by their role(s) in association to the record or the resource described by the record.", + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.contact" + } + }, + "license": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.license" + }, + "rights": { + "type": "string", + "description": "A statement that concerns all rights not addressed by the license such as a copyright statement." + } + } + }, + "links": { + "type": "array", + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.linkBase" + } + }, + "linkTemplates": { + "type": "array", + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.linkTemplate" + } + } + }, + "x-schema-version": "https://json-schema.org/draft/2020-12/schema", + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml" + }, "github.com_radiantearth_stac-spec_raw_master_item-spec_json-schema_item.json": { "title": "STAC Item", "type": "object", @@ -1849,16 +2023,9 @@ "minItems": 2, "maxItems": 2, "items": { - "anyOf": [ - { - "type": "string", - "format": "date-time", - "nullable": true - }, - { - "nullable": true - } - ] + "type": "string", + "format": "date-time", + "nullable": true }, "example": [ "2011-11-11T12:22:11Z", @@ -1877,7 +2044,7 @@ } } }, - "x-schema-source": "https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/extent/schema.yaml" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/extent/schema.yaml" }, "ogc.geo.common.data_types.geojson": { "title": "GeoJSON Feature", @@ -2484,6 +2651,391 @@ }, "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/common/data_types/bounding_box/schema.yaml" }, + "ogc.api.records.v1.schemas.time": { + "type": "object", + "nullable": true, + "properties": { + "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": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$" + }, + { + "type": "string", + "enum": [ + ".." + ] + } + ] + } + }, + "resolution": { + "type": "string", + "description": "Minimum time period resolvable in the dataset, as an ISO 8601 duration", + "example": [ + "P1D" + ] + } + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/time/schema.yaml" + }, + "ogc.api.records.v1.schemas.language": { + "type": "object", + "description": "The language used for textual values in this record.", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string", + "description": "The language tag as per RFC-5646.", + "example": "el" + }, + "name": { + "type": "string", + "minLength": 1, + "description": "The untranslated name of of the language.", + "example": "\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac" + }, + "alternate": { + "type": "string", + "description": "The name of the language in another well-understood language, usually English.", + "example": "Greek" + }, + "dir": { + "type": "string", + "description": "The direction for text in this language. The default, `ltr` (left-to-right), represents the most common situation. However, care should be taken to set the value of `dir` appropriately if the language direction is not `ltr`. Other values supported are `rtl` (right-to-left), `ttb` (top-to-bottom), and `btt` (bottom-to-top).", + "enum": [ + "ltr", + "rtl", + "ttb", + "btt" + ], + "default": [ + "ltr" + ] + } + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml" + }, + "ogc.api.records.v1.schemas.theme": { + "type": "object", + "required": [ + "concepts", + "scheme" + ], + "properties": { + "concepts": { + "type": "array", + "description": "One or more entity/concept identifiers from this knowledge system. it is recommended that a resolvable URI be used for each entity/concept identifier.", + "minItems": 1, + "items": { + "type": "object", + "required": [ + "id" + ], + "properties": { + "id": { + "type": "string", + "description": "An identifier for the concept." + }, + "title": { + "type": "string", + "description": "A human readable title for the concept." + }, + "description": { + "type": "string", + "description": "A human readable description for the concept." + }, + "url": { + "type": "string", + "format": "uri", + "description": "A URI providing further description of the concept." + } + } + } + }, + "scheme": { + "type": "string", + "description": "An identifier for the knowledge organization system used to classify the resource. It is recommended that the identifier be a resolvable URI. The list of schemes used in a searchable catalog can be determined by inspecting the server's OpenAPI document or, if the server implements CQL2, by exposing a queryable (e.g. named `scheme`) and enumerating the list of schemes in the queryable's schema definition." + } + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/theme/schema.yaml" + }, + "ogc.api.records.v1.schemas.contact": { + "$comment": "Adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/contact.yaml", + "type": "object", + "description": "Identification of, and means of communication with, person responsible\nfor the resource.", + "anyOf": [ + { + "required": [ + "name" + ] + }, + { + "required": [ + "organization" + ] + } + ], + "properties": { + "identifier": { + "type": "string", + "description": "A value uniquely identifying a contact." + }, + "name": { + "type": "string", + "description": "The name of the responsible person." + }, + "position": { + "type": "string", + "description": "The name of the role or position of the responsible person taken from the organization's formal organizational hierarchy or chart." + }, + "organization": { + "type": "string", + "description": "Organization/affiliation of the contact." + }, + "logo": { + "description": "Graphic identifying a contact. The link relation should be `icon` and the media type should be an image media type.", + "allOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" + }, + { + "type": "object", + "required": [ + "rel", + "type" + ], + "properties": { + "rel": { + "enum": [ + "icon" + ] + } + } + } + ] + }, + "phones": { + "type": "array", + "description": "Telephone numbers at which contact can be made.", + "items": { + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "string", + "description": "The value is the phone number itself.", + "pattern": "^\\+[1-9]{1}[0-9]{3,14}$", + "example": "+14165550142" + }, + "roles": {} + } + } + }, + "emails": { + "type": "array", + "description": "Email addresses at which contact can be made.", + "items": { + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "string", + "description": "The value is the email number itself.", + "format": "email" + }, + "roles": {} + } + } + }, + "addresses": { + "type": "array", + "description": "Physical location at which contact can be made.", + "items": { + "type": "object", + "properties": { + "deliveryPoint": { + "type": "array", + "description": "Address lines for the location.", + "items": { + "type": "string" + } + }, + "city": { + "type": "string", + "description": "City for the location." + }, + "administrativeArea": { + "type": "string", + "description": "State or province of the location." + }, + "postalCode": { + "type": "string", + "description": "ZIP or other postal code." + }, + "country": { + "type": "string", + "description": "Country of the physical address. ISO 3166-1 is recommended." + }, + "roles": {} + } + } + }, + "links": { + "type": "array", + "description": "On-line information about the contact.", + "items": { + "allOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" + }, + { + "type": "object", + "required": [ + "type" + ] + } + ] + } + }, + "hoursOfService": { + "type": "string", + "description": "Time period when the contact can be contacted.", + "example": "Hours: Mo-Fr 10am-7pm Sa 10am-22pm Su 10am-21pm" + }, + "contactInstructions": { + "type": "string", + "description": "Supplemental instructions on how or when to contact the\nresponsible party." + }, + "roles": {} + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/contact/schema.yaml" + }, + "ogc.api.records.v1.schemas.license": { + "type": "string", + "description": "A legal document under which the resource is made available. If the resource is being made available under a common license then use an SPDX license id (https://spdx.org/licenses/). If the resource is being made available under multiple common licenses then use an SPDX license expression v2.3 string (https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/) If the resource is being made available under one or more licenses that haven't been assigned an SPDX identifier or one or more custom licenses then use a string value of 'other' and include one or more links (rel=\"license\") in the `link` section of the record to the file(s) that contains the text of the license(s). There is also the case of a resource that is private or unpublished and is thus unlicensed; in this case do not register such a resource in the catalog in the first place since there is no point in making such a resource discoverable.", + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/license/schema.yaml" + }, + "ogc.api.records.v1.schemas.linkBase": { + "$comment": "Adapted from https://github.com/opengeospatial/ogcapi-records/raw/master/core/openapi/schemas/linkBase.yaml", + "type": "object", + "properties": { + "rel": { + "type": "string", + "description": "The type or semantics of the relation.", + "example": "alternate", + "x-jsonld-id": "http://www.iana.org/assignments/relation", + "x-jsonld-type": "@id", + "x-jsonld-base": "http://www.iana.org/assignments/relation/" + }, + "type": { + "type": "string", + "description": "A hint indicating what the media type of the result of dereferencing the link should be.", + "example": "application/geo+json", + "x-jsonld-id": "http://purl.org/dc/terms/format" + }, + "hreflang": { + "type": "string", + "description": "A hint indicating what the language of the result of dereferencing the link should be.", + "example": "en", + "x-jsonld-id": "http://purl.org/dc/terms/language" + }, + "title": { + "type": "string", + "description": "Used to label the destination of a link such that it can be used as a human-readable identifier.", + "example": "Trierer Strasse 70, 53115 Bonn", + "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#label" + }, + "length": { + "type": "integer", + "x-jsonld-id": "http://purl.org/dc/terms/extent" + }, + "created": { + "type": "string", + "description": "Date of creation of the resource pointed to by the link.", + "format": "date-time", + "x-jsonld-id": "http://purl.org/dc/terms/created" + }, + "updated": { + "type": "string", + "description": "Most recent date on which the resource pointed to by the link was changed.", + "format": "date-time", + "x-jsonld-id": "http://purl.org/dc/terms/modified" + } + }, + "x-jsonld-extra-terms": { + "href": { + "x-jsonld-type": "@id", + "x-jsonld-id": "http://www.w3.org/ns/oa#hasTarget" + } + }, + "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/", + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkBase/schema.yaml" + }, + "ogc.api.records.v1.schemas.linkTemplate": { + "$comment": "Adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkTemplate.yaml", + "allOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.linkBase" + }, + { + "type": "object", + "required": [ + "uriTemplate" + ], + "properties": { + "uriTemplate": { + "type": "string", + "description": "Supplies a resolvable URI to a remote resource (or resource fragment).", + "example": "http://data.example.com/buildings/(building-id}", + "x-jsonld-type": "xsd:string", + "x-jsonld-id": "http://www.w3.org/ns/oa#hasTarget" + }, + "varBase": { + "type": "string", + "description": "The base URI to which the variable name can be appended to retrieve the definition of the variable as a JSON Schema fragment.", + "format": "url" + }, + "variables": { + "type": "object", + "description": "This object contains one key per substitution variable in the templated URL. Each key defines the schema of one substitution variable using a JSON Schema fragment and can thus include things like the data type of the variable, enumerations, minimum values, maximum values, etc." + } + } + } + ], + "x-jsonld-prefixes": { + "oa": "http://www.w3.org/ns/oa#" + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkTemplate/schema.yaml" + }, "schemas.stacspec.org_v1.0.0_item-spec_json-schema_basics.json": { "title": "Basic Descriptive Fields", "type": "object", @@ -3365,6 +3917,15 @@ ], "x-schema-version": "http://json-schema.org/draft-07/schema#", "x-schema-source": "https://geojson.org/schema/Geometry.json" + }, + "ogc.api.records.v1.schemas.roles": { + "description": "The list of duties, job functions or permissions assigned by the system and associated with the context of this member.", + "type": "array", + "minItems": 1, + "items": { + "type": "string" + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/roles/schema.yaml" } }, "allOf": [ diff --git a/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml b/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml index f354882..faaa08e 100644 --- a/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml +++ b/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml @@ -26,6 +26,7 @@ x-defs: description: STAC Collection allOf: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.recordGeoJSON - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/github.com_radiantearth_stac-spec_raw_master_item-spec_json-schema_item.json x-schema-version: https://json-schema.org/draft/2020-12/schema x-schema-source: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema.yaml @@ -441,7 +442,7 @@ x-defs: example: - http://www.opengis.net/def/crs/OGC/1.3/CRS84 - http://www.opengis.net/def/crs/EPSG/0/4326 - x-schema-source: https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml ogc.ogc-utils.json-link: description: JSON Link type: object @@ -502,6 +503,131 @@ 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.yaml + ogc.api.records.v1.schemas.recordGeoJSON: + description: Normative records schema - adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/recordGeoJSON.yaml + type: object + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature + required: + - id + - type + - geometry + - properties + - links + properties: + id: + type: string + description: A unique identifier of the catalog record. + conformsTo: + type: array + items: + type: string + type: + type: string + enum: + - Feature + time: + oneOf: + - enum: + - null + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.time + geometry: + oneOf: + - enum: + - null + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.geojson/properties/geometry + properties: + type: object + properties: + created: + type: string + description: Date of creation of this record. + format: date-time + updated: + type: string + description: The most recent date on which the record was changed. + format: date-time + type: + type: string + description: The nature or genre of the resource. The value should be + a code, convenient for filtering records. Where available, a link to + the canonical URI of the record type resource will be added to the 'links' + property. + maxLength: 64 + title: + type: string + description: A human-readable name given to the resource. + description: + type: string + description: A free-text account of the resource. + keywords: + type: array + description: The topic or topics of the resource. Typically represented + using free-form keywords, tags, key phrases, or classification codes. + items: + type: string + language: {} + languages: + type: array + description: This list of languages in which this record is available. + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.language + resourceLanguages: + type: array + description: The list of languages in which the resource described by + this record is available. + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.language + externalIds: + type: array + description: An identifier for the resource assigned by an external (to + the catalog) entity. + items: + type: object + properties: + scheme: + type: string + description: A reference to an authority or identifier for a knowledge + organization system from which the external identifier was obtained. + It is recommended that the identifier be a resolvable URI. + value: + type: string + description: The value of the identifier. + required: + - value + themes: + type: array + description: A knowledge organization system used to classify the resource. + minItems: 1 + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.theme + formats: + type: array + description: A list of available distributions of the resource. + items: + type: string + contacts: + type: array + description: A list of contacts qualified by their role(s) in association + to the record or the resource described by the record. + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.contact + license: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.license + rights: + type: string + description: A statement that concerns all rights not addressed by the + license such as a copyright statement. + links: + type: array + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.linkBase + linkTemplates: + type: array + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.linkTemplate + x-schema-version: https://json-schema.org/draft/2020-12/schema + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml github.com_radiantearth_stac-spec_raw_master_item-spec_json-schema_item.json: title: STAC Item type: object @@ -1289,11 +1415,9 @@ x-defs: minItems: 2 maxItems: 2 items: - anyOf: - - type: string - format: date-time - nullable: true - - nullable: true + type: string + format: date-time + nullable: true example: - '2011-11-11T12:22:11Z' - null @@ -1315,7 +1439,7 @@ x-defs: enum: - http://www.opengis.net/def/uom/ISO-8601/0/Gregorian default: http://www.opengis.net/def/uom/ISO-8601/0/Gregorian - x-schema-source: https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/extent/schema.yaml + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/extent/schema.yaml ogc.geo.common.data_types.geojson: title: GeoJSON Feature type: object @@ -1743,6 +1867,315 @@ x-defs: items: type: number x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/common/data_types/bounding_box/schema.yaml + ogc.api.records.v1.schemas.time: + type: object + nullable: true + properties: + 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: + - type: string + pattern: ^\d{4}-\d{2}-\d{2}$ + - type: string + pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z$ + - type: string + enum: + - .. + resolution: + type: string + description: Minimum time period resolvable in the dataset, as an ISO 8601 + duration + example: + - P1D + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/time/schema.yaml + ogc.api.records.v1.schemas.language: + type: object + description: The language used for textual values in this record. + required: + - code + properties: + code: + type: string + description: The language tag as per RFC-5646. + example: el + name: + type: string + minLength: 1 + description: The untranslated name of of the language. + example: "\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC" + alternate: + type: string + description: The name of the language in another well-understood language, + usually English. + example: Greek + dir: + type: string + description: The direction for text in this language. The default, `ltr` (left-to-right), + represents the most common situation. However, care should be taken to set + the value of `dir` appropriately if the language direction is not `ltr`. + Other values supported are `rtl` (right-to-left), `ttb` (top-to-bottom), + and `btt` (bottom-to-top). + enum: + - ltr + - rtl + - ttb + - btt + default: + - ltr + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml + ogc.api.records.v1.schemas.theme: + type: object + required: + - concepts + - scheme + properties: + concepts: + type: array + description: One or more entity/concept identifiers from this knowledge system. + it is recommended that a resolvable URI be used for each entity/concept + identifier. + minItems: 1 + items: + type: object + required: + - id + properties: + id: + type: string + description: An identifier for the concept. + title: + type: string + description: A human readable title for the concept. + description: + type: string + description: A human readable description for the concept. + url: + type: string + format: uri + description: A URI providing further description of the concept. + scheme: + type: string + description: An identifier for the knowledge organization system used to classify + the resource. It is recommended that the identifier be a resolvable URI. The + list of schemes used in a searchable catalog can be determined by inspecting + the server's OpenAPI document or, if the server implements CQL2, by exposing + a queryable (e.g. named `scheme`) and enumerating the list of schemes in + the queryable's schema definition. + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/theme/schema.yaml + ogc.api.records.v1.schemas.contact: + $comment: Adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/contact.yaml + type: object + description: 'Identification of, and means of communication with, person responsible + + for the resource.' + anyOf: + - required: + - name + - required: + - organization + properties: + identifier: + type: string + description: A value uniquely identifying a contact. + name: + type: string + description: The name of the responsible person. + position: + type: string + description: The name of the role or position of the responsible person taken + from the organization's formal organizational hierarchy or chart. + organization: + type: string + description: Organization/affiliation of the contact. + logo: + description: Graphic identifying a contact. The link relation should be `icon` + and the media type should be an image media type. + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link + - type: object + required: + - rel + - type + properties: + rel: + enum: + - icon + phones: + type: array + description: Telephone numbers at which contact can be made. + items: + type: object + required: + - value + properties: + value: + type: string + description: The value is the phone number itself. + pattern: ^\+[1-9]{1}[0-9]{3,14}$ + example: '+14165550142' + roles: {} + emails: + type: array + description: Email addresses at which contact can be made. + items: + type: object + required: + - value + properties: + value: + type: string + description: The value is the email number itself. + format: email + roles: {} + addresses: + type: array + description: Physical location at which contact can be made. + items: + type: object + properties: + deliveryPoint: + type: array + description: Address lines for the location. + items: + type: string + city: + type: string + description: City for the location. + administrativeArea: + type: string + description: State or province of the location. + postalCode: + type: string + description: ZIP or other postal code. + country: + type: string + description: Country of the physical address. ISO 3166-1 is recommended. + roles: {} + links: + type: array + description: On-line information about the contact. + items: + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link + - type: object + required: + - type + hoursOfService: + type: string + description: Time period when the contact can be contacted. + example: 'Hours: Mo-Fr 10am-7pm Sa 10am-22pm Su 10am-21pm' + contactInstructions: + type: string + description: 'Supplemental instructions on how or when to contact the + + responsible party.' + roles: {} + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/contact/schema.yaml + ogc.api.records.v1.schemas.license: + type: string + description: A legal document under which the resource is made available. If the + resource is being made available under a common license then use an SPDX license + id (https://spdx.org/licenses/). If the resource is being made available under + multiple common licenses then use an SPDX license expression v2.3 string (https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/) + If the resource is being made available under one or more licenses that haven't + been assigned an SPDX identifier or one or more custom licenses then use a string + value of 'other' and include one or more links (rel="license") in the `link` + section of the record to the file(s) that contains the text of the license(s). + There is also the case of a resource that is private or unpublished and is thus + unlicensed; in this case do not register such a resource in the catalog in the + first place since there is no point in making such a resource discoverable. + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/license/schema.yaml + ogc.api.records.v1.schemas.linkBase: + $comment: Adapted from https://github.com/opengeospatial/ogcapi-records/raw/master/core/openapi/schemas/linkBase.yaml + type: object + properties: + rel: + type: string + description: The type or semantics of the relation. + example: alternate + x-jsonld-id: http://www.iana.org/assignments/relation + x-jsonld-type: '@id' + x-jsonld-base: http://www.iana.org/assignments/relation/ + type: + type: string + description: A hint indicating what the media type of the result of dereferencing + the link should be. + example: application/geo+json + x-jsonld-id: http://purl.org/dc/terms/format + hreflang: + type: string + description: A hint indicating what the language of the result of dereferencing + the link should be. + example: en + x-jsonld-id: http://purl.org/dc/terms/language + title: + type: string + description: Used to label the destination of a link such that it can be used + as a human-readable identifier. + example: Trierer Strasse 70, 53115 Bonn + x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#label + length: + type: integer + x-jsonld-id: http://purl.org/dc/terms/extent + created: + type: string + description: Date of creation of the resource pointed to by the link. + format: date-time + x-jsonld-id: http://purl.org/dc/terms/created + updated: + type: string + description: Most recent date on which the resource pointed to by the link + was changed. + format: date-time + x-jsonld-id: http://purl.org/dc/terms/modified + x-jsonld-extra-terms: + href: + x-jsonld-type: '@id' + x-jsonld-id: http://www.w3.org/ns/oa#hasTarget + 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/ + xsd: http://www.w3.org/2001/XMLSchema# + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkBase/schema.yaml + ogc.api.records.v1.schemas.linkTemplate: + $comment: Adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkTemplate.yaml + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.linkBase + - type: object + required: + - uriTemplate + properties: + uriTemplate: + type: string + description: Supplies a resolvable URI to a remote resource (or resource + fragment). + example: http://data.example.com/buildings/(building-id} + x-jsonld-type: xsd:string + x-jsonld-id: http://www.w3.org/ns/oa#hasTarget + varBase: + type: string + description: The base URI to which the variable name can be appended to + retrieve the definition of the variable as a JSON Schema fragment. + format: url + variables: + type: object + description: This object contains one key per substitution variable in the + templated URL. Each key defines the schema of one substitution variable + using a JSON Schema fragment and can thus include things like the data + type of the variable, enumerations, minimum values, maximum values, etc. + x-jsonld-prefixes: + oa: http://www.w3.org/ns/oa# + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkTemplate/schema.yaml schemas.stacspec.org_v1.0.0_item-spec_json-schema_basics.json: title: Basic Descriptive Fields type: object @@ -2350,5 +2783,13 @@ x-defs: type: number x-schema-version: http://json-schema.org/draft-07/schema# x-schema-source: https://geojson.org/schema/Geometry.json + ogc.api.records.v1.schemas.roles: + description: The list of duties, job functions or permissions assigned by the + system and associated with the context of this member. + type: array + minItems: 1 + items: + type: string + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/roles/schema.yaml allOf: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/_github_workspace_build_annotated_contrib_stac_extensions_raster_schema.yaml diff --git a/build/annotated/contrib/stac/item/_visited_properties.tsv b/build/annotated/contrib/stac/item/_visited_properties.tsv index 8b72eb8..6a56ff7 100644 --- a/build/annotated/contrib/stac/item/_visited_properties.tsv +++ b/build/annotated/contrib/stac/item/_visited_properties.tsv @@ -19,6 +19,96 @@ path @id /links/hreflang http://purl.org/dc/terms/language /links/title http://www.w3.org/2000/01/rdf-schema#label /links/length http://purl.org/dc/terms/extent +/conformsTo +/time +/time/date +/time/timestamp +/time/interval +/time/resolution +/properties/created +/properties/updated +/properties/type +/properties/title +/properties/description +/properties/keywords +/properties/language +/properties/language/code +/properties/language/name +/properties/language/alternate +/properties/language/dir +/properties/languages +/properties/languages/code +/properties/languages/name +/properties/languages/alternate +/properties/languages/dir +/properties/resourceLanguages +/properties/resourceLanguages/code +/properties/resourceLanguages/name +/properties/resourceLanguages/alternate +/properties/resourceLanguages/dir +/properties/externalIds +/properties/externalIds/scheme +/properties/externalIds/value +/properties/themes +/properties/themes/concepts +/properties/themes/concepts/id +/properties/themes/concepts/title +/properties/themes/concepts/description +/properties/themes/concepts/url +/properties/themes/scheme +/properties/formats +/properties/contacts +/properties/contacts/identifier +/properties/contacts/name +/properties/contacts/position +/properties/contacts/organization +/properties/contacts/logo +/properties/contacts/logo/href http://www.w3.org/ns/oa#hasTarget +/properties/contacts/logo/rel http://www.iana.org/assignments/relation +/properties/contacts/logo/anchor +/properties/contacts/logo/type http://purl.org/dc/terms/type +/properties/contacts/logo/hreflang http://purl.org/dc/terms/language +/properties/contacts/logo/title http://www.w3.org/2000/01/rdf-schema#label +/properties/contacts/logo/length http://purl.org/dc/terms/extent +/properties/contacts/phones +/properties/contacts/phones/value +/properties/contacts/phones/roles +/properties/contacts/emails +/properties/contacts/emails/value +/properties/contacts/emails/roles +/properties/contacts/addresses +/properties/contacts/addresses/deliveryPoint +/properties/contacts/addresses/city +/properties/contacts/addresses/administrativeArea +/properties/contacts/addresses/postalCode +/properties/contacts/addresses/country +/properties/contacts/addresses/roles +/properties/contacts/links +/properties/contacts/links/href http://www.w3.org/ns/oa#hasTarget +/properties/contacts/links/rel http://www.iana.org/assignments/relation +/properties/contacts/links/anchor +/properties/contacts/links/type http://purl.org/dc/terms/type +/properties/contacts/links/hreflang http://purl.org/dc/terms/language +/properties/contacts/links/title http://www.w3.org/2000/01/rdf-schema#label +/properties/contacts/links/length http://purl.org/dc/terms/extent +/properties/contacts/hoursOfService +/properties/contacts/contactInstructions +/properties/contacts/roles +/properties/license +/properties/rights +/links/created http://purl.org/dc/terms/created +/links/updated http://purl.org/dc/terms/modified +/linkTemplates +/linkTemplates/rel http://www.iana.org/assignments/relation +/linkTemplates/type http://purl.org/dc/terms/format +/linkTemplates/hreflang http://purl.org/dc/terms/language +/linkTemplates/title http://www.w3.org/2000/01/rdf-schema#label +/linkTemplates/length http://purl.org/dc/terms/extent +/linkTemplates/created http://purl.org/dc/terms/created +/linkTemplates/updated http://purl.org/dc/terms/modified +/linkTemplates/uriTemplate http://www.w3.org/ns/oa#hasTarget +/linkTemplates/varBase +/linkTemplates/variables /stac_version /stac_extensions /assets @@ -43,19 +133,14 @@ path @id /assets/providers/description /assets/providers/roles /assets/providers/url -/properties/title -/properties/description /properties/datetime /properties/start_datetime /properties/end_datetime -/properties/created -/properties/updated /properties/platform /properties/instruments /properties/constellation /properties/mission /properties/gsd -/properties/license /properties/providers /properties/providers/name /properties/providers/description diff --git a/build/annotated/contrib/stac/item/context.jsonld b/build/annotated/contrib/stac/item/context.jsonld index 976ebf2..da96174 100644 --- a/build/annotated/contrib/stac/item/context.jsonld +++ b/build/annotated/contrib/stac/item/context.jsonld @@ -4,12 +4,7 @@ "id": "@id", "properties": "@nest", "geometry": { - "@context": { - "coordinates": { - "@container": "@list", - "@id": "geojson:coordinates" - } - }, + "@context": {}, "@id": "geojson:geometry" }, "bbox": { @@ -31,28 +26,39 @@ }, "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" + "type": "dct:type" }, "@id": "rdfs:seeAlso" }, + "coordinates": { + "@container": "@list", + "@id": "geojson:coordinates" + }, + "href": { + "@type": "@id", + "@id": "oa:hasTarget" + }, + "rel": { + "@context": { + "@base": "http://www.iana.org/assignments/relation/" + }, + "@id": "http://www.iana.org/assignments/relation", + "@type": "@id" + }, + "hreflang": "dct:language", + "title": "rdfs:label", + "length": "dct:extent", + "created": "dct:created", + "updated": "dct:modified", + "uriTemplate": { + "@type": "xsd:string", + "@id": "oa:hasTarget" + }, "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/", + "xsd": "http://www.w3.org/2001/XMLSchema#", "@version": 1.1 } } \ No newline at end of file diff --git a/build/annotated/contrib/stac/item/schema-oas3.0.json b/build/annotated/contrib/stac/item/schema-oas3.0.json index 12f251d..ffbfd37 100644 --- a/build/annotated/contrib/stac/item/schema-oas3.0.json +++ b/build/annotated/contrib/stac/item/schema-oas3.0.json @@ -6,6 +6,9 @@ { "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" }, + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.recordGeoJSON" + }, { "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/github.com_radiantearth_stac-spec_raw_master_item-spec_json-schema_item.json" } @@ -50,6 +53,177 @@ }, "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.json" }, + "ogc.api.records.v1.schemas.recordGeoJSON": { + "description": "Normative records schema - adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/recordGeoJSON.yaml", + "type": "object", + "allOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/ogc.geo.features.feature" + } + ], + "required": [ + "id", + "type", + "geometry", + "properties", + "links" + ], + "properties": { + "id": { + "type": "string", + "description": "A unique identifier of the catalog record." + }, + "conformsTo": { + "type": "array", + "items": { + "type": "string" + } + }, + "type": { + "type": "string", + "enum": [ + "Feature" + ] + }, + "time": { + "oneOf": [ + { + "enum": [ + null + ] + }, + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.time" + } + ] + }, + "geometry": { + "oneOf": [ + { + "enum": [ + null + ] + }, + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/ogc.geo.common.data_types.geojson/properties/geometry" + } + ] + }, + "properties": { + "type": "object", + "properties": { + "created": { + "type": "string", + "description": "Date of creation of this record.", + "format": "date-time" + }, + "updated": { + "type": "string", + "description": "The most recent date on which the record was changed.", + "format": "date-time" + }, + "type": { + "type": "string", + "description": "The nature or genre of the resource. The value should be a code, convenient for filtering records. Where available, a link to the canonical URI of the record type resource will be added to the 'links' property.", + "maxLength": 64 + }, + "title": { + "type": "string", + "description": "A human-readable name given to the resource." + }, + "description": { + "type": "string", + "description": "A free-text account of the resource." + }, + "keywords": { + "type": "array", + "description": "The topic or topics of the resource. Typically represented using free-form keywords, tags, key phrases, or classification codes.", + "items": { + "type": "string" + } + }, + "language": {}, + "languages": { + "type": "array", + "description": "This list of languages in which this record is available.", + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.language" + } + }, + "resourceLanguages": { + "type": "array", + "description": "The list of languages in which the resource described by this record is available.", + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.language" + } + }, + "externalIds": { + "type": "array", + "description": "An identifier for the resource assigned by an external (to the catalog) entity.", + "items": { + "type": "object", + "properties": { + "scheme": { + "type": "string", + "description": "A reference to an authority or identifier for a knowledge organization system from which the external identifier was obtained. It is recommended that the identifier be a resolvable URI." + }, + "value": { + "type": "string", + "description": "The value of the identifier." + } + }, + "required": [ + "value" + ] + } + }, + "themes": { + "type": "array", + "description": "A knowledge organization system used to classify the resource.", + "minItems": 1, + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.theme" + } + }, + "formats": { + "type": "array", + "description": "A list of available distributions of the resource.", + "items": { + "type": "string" + } + }, + "contacts": { + "type": "array", + "description": "A list of contacts qualified by their role(s) in association to the record or the resource described by the record.", + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.contact" + } + }, + "license": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.license" + }, + "rights": { + "type": "string", + "description": "A statement that concerns all rights not addressed by the license such as a copyright statement." + } + } + }, + "links": { + "type": "array", + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.linkBase" + } + }, + "linkTemplates": { + "type": "array", + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.linkTemplate" + } + } + }, + "x-schema-version": "https://json-schema.org/draft/2020-12/schema", + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.json" + }, "github.com_radiantearth_stac-spec_raw_master_item-spec_json-schema_item.json": { "title": "STAC Item", "type": "object", @@ -975,6 +1149,391 @@ "x-schema-version": "https://json-schema.org/draft/2020-12/schema", "x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/json-link/schema.json" }, + "ogc.api.records.v1.schemas.time": { + "type": "object", + "nullable": true, + "properties": { + "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": [ + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$" + }, + { + "type": "string", + "enum": [ + ".." + ] + } + ] + } + }, + "resolution": { + "type": "string", + "description": "Minimum time period resolvable in the dataset, as an ISO 8601 duration", + "example": [ + "P1D" + ] + } + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/time/schema.json" + }, + "ogc.api.records.v1.schemas.language": { + "type": "object", + "description": "The language used for textual values in this record.", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string", + "description": "The language tag as per RFC-5646.", + "example": "el" + }, + "name": { + "type": "string", + "minLength": 1, + "description": "The untranslated name of of the language.", + "example": "\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac" + }, + "alternate": { + "type": "string", + "description": "The name of the language in another well-understood language, usually English.", + "example": "Greek" + }, + "dir": { + "type": "string", + "description": "The direction for text in this language. The default, `ltr` (left-to-right), represents the most common situation. However, care should be taken to set the value of `dir` appropriately if the language direction is not `ltr`. Other values supported are `rtl` (right-to-left), `ttb` (top-to-bottom), and `btt` (bottom-to-top).", + "enum": [ + "ltr", + "rtl", + "ttb", + "btt" + ], + "default": [ + "ltr" + ] + } + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.json" + }, + "ogc.api.records.v1.schemas.theme": { + "type": "object", + "required": [ + "concepts", + "scheme" + ], + "properties": { + "concepts": { + "type": "array", + "description": "One or more entity/concept identifiers from this knowledge system. it is recommended that a resolvable URI be used for each entity/concept identifier.", + "minItems": 1, + "items": { + "type": "object", + "required": [ + "id" + ], + "properties": { + "id": { + "type": "string", + "description": "An identifier for the concept." + }, + "title": { + "type": "string", + "description": "A human readable title for the concept." + }, + "description": { + "type": "string", + "description": "A human readable description for the concept." + }, + "url": { + "type": "string", + "format": "uri", + "description": "A URI providing further description of the concept." + } + } + } + }, + "scheme": { + "type": "string", + "description": "An identifier for the knowledge organization system used to classify the resource. It is recommended that the identifier be a resolvable URI. The list of schemes used in a searchable catalog can be determined by inspecting the server's OpenAPI document or, if the server implements CQL2, by exposing a queryable (e.g. named `scheme`) and enumerating the list of schemes in the queryable's schema definition." + } + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/theme/schema.json" + }, + "ogc.api.records.v1.schemas.contact": { + "$comment": "Adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/contact.yaml", + "type": "object", + "description": "Identification of, and means of communication with, person responsible\nfor the resource.", + "anyOf": [ + { + "required": [ + "name" + ] + }, + { + "required": [ + "organization" + ] + } + ], + "properties": { + "identifier": { + "type": "string", + "description": "A value uniquely identifying a contact." + }, + "name": { + "type": "string", + "description": "The name of the responsible person." + }, + "position": { + "type": "string", + "description": "The name of the role or position of the responsible person taken from the organization's formal organizational hierarchy or chart." + }, + "organization": { + "type": "string", + "description": "Organization/affiliation of the contact." + }, + "logo": { + "description": "Graphic identifying a contact. The link relation should be `icon` and the media type should be an image media type.", + "allOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" + }, + { + "type": "object", + "required": [ + "rel", + "type" + ], + "properties": { + "rel": { + "enum": [ + "icon" + ] + } + } + } + ] + }, + "phones": { + "type": "array", + "description": "Telephone numbers at which contact can be made.", + "items": { + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "string", + "description": "The value is the phone number itself.", + "pattern": "^\\+[1-9]{1}[0-9]{3,14}$", + "example": "+14165550142" + }, + "roles": {} + } + } + }, + "emails": { + "type": "array", + "description": "Email addresses at which contact can be made.", + "items": { + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "string", + "description": "The value is the email number itself.", + "format": "email" + }, + "roles": {} + } + } + }, + "addresses": { + "type": "array", + "description": "Physical location at which contact can be made.", + "items": { + "type": "object", + "properties": { + "deliveryPoint": { + "type": "array", + "description": "Address lines for the location.", + "items": { + "type": "string" + } + }, + "city": { + "type": "string", + "description": "City for the location." + }, + "administrativeArea": { + "type": "string", + "description": "State or province of the location." + }, + "postalCode": { + "type": "string", + "description": "ZIP or other postal code." + }, + "country": { + "type": "string", + "description": "Country of the physical address. ISO 3166-1 is recommended." + }, + "roles": {} + } + } + }, + "links": { + "type": "array", + "description": "On-line information about the contact.", + "items": { + "allOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/ogc.ogc-utils.json-link" + }, + { + "type": "object", + "required": [ + "type" + ] + } + ] + } + }, + "hoursOfService": { + "type": "string", + "description": "Time period when the contact can be contacted.", + "example": "Hours: Mo-Fr 10am-7pm Sa 10am-22pm Su 10am-21pm" + }, + "contactInstructions": { + "type": "string", + "description": "Supplemental instructions on how or when to contact the\nresponsible party." + }, + "roles": {} + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/contact/schema.json" + }, + "ogc.api.records.v1.schemas.license": { + "type": "string", + "description": "A legal document under which the resource is made available. If the resource is being made available under a common license then use an SPDX license id (https://spdx.org/licenses/). If the resource is being made available under multiple common licenses then use an SPDX license expression v2.3 string (https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/) If the resource is being made available under one or more licenses that haven't been assigned an SPDX identifier or one or more custom licenses then use a string value of 'other' and include one or more links (rel=\"license\") in the `link` section of the record to the file(s) that contains the text of the license(s). There is also the case of a resource that is private or unpublished and is thus unlicensed; in this case do not register such a resource in the catalog in the first place since there is no point in making such a resource discoverable.", + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/license/schema.json" + }, + "ogc.api.records.v1.schemas.linkBase": { + "$comment": "Adapted from https://github.com/opengeospatial/ogcapi-records/raw/master/core/openapi/schemas/linkBase.yaml", + "type": "object", + "properties": { + "rel": { + "type": "string", + "description": "The type or semantics of the relation.", + "example": "alternate", + "x-jsonld-id": "http://www.iana.org/assignments/relation", + "x-jsonld-type": "@id", + "x-jsonld-base": "http://www.iana.org/assignments/relation/" + }, + "type": { + "type": "string", + "description": "A hint indicating what the media type of the result of dereferencing the link should be.", + "example": "application/geo+json", + "x-jsonld-id": "http://purl.org/dc/terms/format" + }, + "hreflang": { + "type": "string", + "description": "A hint indicating what the language of the result of dereferencing the link should be.", + "example": "en", + "x-jsonld-id": "http://purl.org/dc/terms/language" + }, + "title": { + "type": "string", + "description": "Used to label the destination of a link such that it can be used as a human-readable identifier.", + "example": "Trierer Strasse 70, 53115 Bonn", + "x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#label" + }, + "length": { + "type": "integer", + "x-jsonld-id": "http://purl.org/dc/terms/extent" + }, + "created": { + "type": "string", + "description": "Date of creation of the resource pointed to by the link.", + "format": "date-time", + "x-jsonld-id": "http://purl.org/dc/terms/created" + }, + "updated": { + "type": "string", + "description": "Most recent date on which the resource pointed to by the link was changed.", + "format": "date-time", + "x-jsonld-id": "http://purl.org/dc/terms/modified" + } + }, + "x-jsonld-extra-terms": { + "href": { + "x-jsonld-type": "@id", + "x-jsonld-id": "http://www.w3.org/ns/oa#hasTarget" + } + }, + "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/", + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkBase/schema.json" + }, + "ogc.api.records.v1.schemas.linkTemplate": { + "$comment": "Adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkTemplate.yaml", + "allOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.linkBase" + }, + { + "type": "object", + "required": [ + "uriTemplate" + ], + "properties": { + "uriTemplate": { + "type": "string", + "description": "Supplies a resolvable URI to a remote resource (or resource fragment).", + "example": "http://data.example.com/buildings/(building-id}", + "x-jsonld-type": "xsd:string", + "x-jsonld-id": "http://www.w3.org/ns/oa#hasTarget" + }, + "varBase": { + "type": "string", + "description": "The base URI to which the variable name can be appended to retrieve the definition of the variable as a JSON Schema fragment.", + "format": "url" + }, + "variables": { + "type": "object", + "description": "This object contains one key per substitution variable in the templated URL. Each key defines the schema of one substitution variable using a JSON Schema fragment and can thus include things like the data type of the variable, enumerations, minimum values, maximum values, etc." + } + } + } + ], + "x-jsonld-prefixes": { + "oa": "http://www.w3.org/ns/oa#" + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkTemplate/schema.json" + }, "schemas.stacspec.org_v1.0.0_item-spec_json-schema_item.json": { "title": "STAC Item", "type": "object", @@ -2128,6 +2687,15 @@ ], "x-schema-version": "http://json-schema.org/draft-07/schema#", "x-schema-source": "https://geojson.org/schema/Geometry.json" + }, + "ogc.api.records.v1.schemas.roles": { + "description": "The list of duties, job functions or permissions assigned by the system and associated with the context of this member.", + "type": "array", + "minItems": 1, + "items": { + "type": "string" + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/roles/schema.json" } }, "allOf": [ diff --git a/build/annotated/contrib/stac/item/schema-oas3.0.yaml b/build/annotated/contrib/stac/item/schema-oas3.0.yaml index d702ee7..9547e40 100644 --- a/build/annotated/contrib/stac/item/schema-oas3.0.yaml +++ b/build/annotated/contrib/stac/item/schema-oas3.0.yaml @@ -3,6 +3,7 @@ x-defs: description: STAC Collection allOf: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.recordGeoJSON - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/github.com_radiantearth_stac-spec_raw_master_item-spec_json-schema_item.json x-schema-version: https://json-schema.org/draft/2020-12/schema x-schema-source: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml @@ -29,6 +30,131 @@ 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.yaml + ogc.api.records.v1.schemas.recordGeoJSON: + description: Normative records schema - adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/recordGeoJSON.yaml + type: object + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature + required: + - id + - type + - geometry + - properties + - links + properties: + id: + type: string + description: A unique identifier of the catalog record. + conformsTo: + type: array + items: + type: string + type: + type: string + enum: + - Feature + time: + oneOf: + - enum: + - null + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.time + geometry: + oneOf: + - enum: + - null + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.geojson/properties/geometry + properties: + type: object + properties: + created: + type: string + description: Date of creation of this record. + format: date-time + updated: + type: string + description: The most recent date on which the record was changed. + format: date-time + type: + type: string + description: The nature or genre of the resource. The value should be + a code, convenient for filtering records. Where available, a link to + the canonical URI of the record type resource will be added to the 'links' + property. + maxLength: 64 + title: + type: string + description: A human-readable name given to the resource. + description: + type: string + description: A free-text account of the resource. + keywords: + type: array + description: The topic or topics of the resource. Typically represented + using free-form keywords, tags, key phrases, or classification codes. + items: + type: string + language: {} + languages: + type: array + description: This list of languages in which this record is available. + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.language + resourceLanguages: + type: array + description: The list of languages in which the resource described by + this record is available. + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.language + externalIds: + type: array + description: An identifier for the resource assigned by an external (to + the catalog) entity. + items: + type: object + properties: + scheme: + type: string + description: A reference to an authority or identifier for a knowledge + organization system from which the external identifier was obtained. + It is recommended that the identifier be a resolvable URI. + value: + type: string + description: The value of the identifier. + required: + - value + themes: + type: array + description: A knowledge organization system used to classify the resource. + minItems: 1 + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.theme + formats: + type: array + description: A list of available distributions of the resource. + items: + type: string + contacts: + type: array + description: A list of contacts qualified by their role(s) in association + to the record or the resource described by the record. + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.contact + license: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.license + rights: + type: string + description: A statement that concerns all rights not addressed by the + license such as a copyright statement. + links: + type: array + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.linkBase + linkTemplates: + type: array + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.linkTemplate + x-schema-version: https://json-schema.org/draft/2020-12/schema + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml github.com_radiantearth_stac-spec_raw_master_item-spec_json-schema_item.json: title: STAC Item type: object @@ -660,6 +786,315 @@ 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/json-link/schema.yaml + ogc.api.records.v1.schemas.time: + type: object + nullable: true + properties: + 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: + - type: string + pattern: ^\d{4}-\d{2}-\d{2}$ + - type: string + pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z$ + - type: string + enum: + - .. + resolution: + type: string + description: Minimum time period resolvable in the dataset, as an ISO 8601 + duration + example: + - P1D + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/time/schema.yaml + ogc.api.records.v1.schemas.language: + type: object + description: The language used for textual values in this record. + required: + - code + properties: + code: + type: string + description: The language tag as per RFC-5646. + example: el + name: + type: string + minLength: 1 + description: The untranslated name of of the language. + example: "\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC" + alternate: + type: string + description: The name of the language in another well-understood language, + usually English. + example: Greek + dir: + type: string + description: The direction for text in this language. The default, `ltr` (left-to-right), + represents the most common situation. However, care should be taken to set + the value of `dir` appropriately if the language direction is not `ltr`. + Other values supported are `rtl` (right-to-left), `ttb` (top-to-bottom), + and `btt` (bottom-to-top). + enum: + - ltr + - rtl + - ttb + - btt + default: + - ltr + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml + ogc.api.records.v1.schemas.theme: + type: object + required: + - concepts + - scheme + properties: + concepts: + type: array + description: One or more entity/concept identifiers from this knowledge system. + it is recommended that a resolvable URI be used for each entity/concept + identifier. + minItems: 1 + items: + type: object + required: + - id + properties: + id: + type: string + description: An identifier for the concept. + title: + type: string + description: A human readable title for the concept. + description: + type: string + description: A human readable description for the concept. + url: + type: string + format: uri + description: A URI providing further description of the concept. + scheme: + type: string + description: An identifier for the knowledge organization system used to classify + the resource. It is recommended that the identifier be a resolvable URI. The + list of schemes used in a searchable catalog can be determined by inspecting + the server's OpenAPI document or, if the server implements CQL2, by exposing + a queryable (e.g. named `scheme`) and enumerating the list of schemes in + the queryable's schema definition. + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/theme/schema.yaml + ogc.api.records.v1.schemas.contact: + $comment: Adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/contact.yaml + type: object + description: 'Identification of, and means of communication with, person responsible + + for the resource.' + anyOf: + - required: + - name + - required: + - organization + properties: + identifier: + type: string + description: A value uniquely identifying a contact. + name: + type: string + description: The name of the responsible person. + position: + type: string + description: The name of the role or position of the responsible person taken + from the organization's formal organizational hierarchy or chart. + organization: + type: string + description: Organization/affiliation of the contact. + logo: + description: Graphic identifying a contact. The link relation should be `icon` + and the media type should be an image media type. + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link + - type: object + required: + - rel + - type + properties: + rel: + enum: + - icon + phones: + type: array + description: Telephone numbers at which contact can be made. + items: + type: object + required: + - value + properties: + value: + type: string + description: The value is the phone number itself. + pattern: ^\+[1-9]{1}[0-9]{3,14}$ + example: '+14165550142' + roles: {} + emails: + type: array + description: Email addresses at which contact can be made. + items: + type: object + required: + - value + properties: + value: + type: string + description: The value is the email number itself. + format: email + roles: {} + addresses: + type: array + description: Physical location at which contact can be made. + items: + type: object + properties: + deliveryPoint: + type: array + description: Address lines for the location. + items: + type: string + city: + type: string + description: City for the location. + administrativeArea: + type: string + description: State or province of the location. + postalCode: + type: string + description: ZIP or other postal code. + country: + type: string + description: Country of the physical address. ISO 3166-1 is recommended. + roles: {} + links: + type: array + description: On-line information about the contact. + items: + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link + - type: object + required: + - type + hoursOfService: + type: string + description: Time period when the contact can be contacted. + example: 'Hours: Mo-Fr 10am-7pm Sa 10am-22pm Su 10am-21pm' + contactInstructions: + type: string + description: 'Supplemental instructions on how or when to contact the + + responsible party.' + roles: {} + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/contact/schema.yaml + ogc.api.records.v1.schemas.license: + type: string + description: A legal document under which the resource is made available. If the + resource is being made available under a common license then use an SPDX license + id (https://spdx.org/licenses/). If the resource is being made available under + multiple common licenses then use an SPDX license expression v2.3 string (https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/) + If the resource is being made available under one or more licenses that haven't + been assigned an SPDX identifier or one or more custom licenses then use a string + value of 'other' and include one or more links (rel="license") in the `link` + section of the record to the file(s) that contains the text of the license(s). + There is also the case of a resource that is private or unpublished and is thus + unlicensed; in this case do not register such a resource in the catalog in the + first place since there is no point in making such a resource discoverable. + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/license/schema.yaml + ogc.api.records.v1.schemas.linkBase: + $comment: Adapted from https://github.com/opengeospatial/ogcapi-records/raw/master/core/openapi/schemas/linkBase.yaml + type: object + properties: + rel: + type: string + description: The type or semantics of the relation. + example: alternate + x-jsonld-id: http://www.iana.org/assignments/relation + x-jsonld-type: '@id' + x-jsonld-base: http://www.iana.org/assignments/relation/ + type: + type: string + description: A hint indicating what the media type of the result of dereferencing + the link should be. + example: application/geo+json + x-jsonld-id: http://purl.org/dc/terms/format + hreflang: + type: string + description: A hint indicating what the language of the result of dereferencing + the link should be. + example: en + x-jsonld-id: http://purl.org/dc/terms/language + title: + type: string + description: Used to label the destination of a link such that it can be used + as a human-readable identifier. + example: Trierer Strasse 70, 53115 Bonn + x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#label + length: + type: integer + x-jsonld-id: http://purl.org/dc/terms/extent + created: + type: string + description: Date of creation of the resource pointed to by the link. + format: date-time + x-jsonld-id: http://purl.org/dc/terms/created + updated: + type: string + description: Most recent date on which the resource pointed to by the link + was changed. + format: date-time + x-jsonld-id: http://purl.org/dc/terms/modified + x-jsonld-extra-terms: + href: + x-jsonld-type: '@id' + x-jsonld-id: http://www.w3.org/ns/oa#hasTarget + 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/ + xsd: http://www.w3.org/2001/XMLSchema# + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkBase/schema.yaml + ogc.api.records.v1.schemas.linkTemplate: + $comment: Adapted from https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkTemplate.yaml + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.linkBase + - type: object + required: + - uriTemplate + properties: + uriTemplate: + type: string + description: Supplies a resolvable URI to a remote resource (or resource + fragment). + example: http://data.example.com/buildings/(building-id} + x-jsonld-type: xsd:string + x-jsonld-id: http://www.w3.org/ns/oa#hasTarget + varBase: + type: string + description: The base URI to which the variable name can be appended to + retrieve the definition of the variable as a JSON Schema fragment. + format: url + variables: + type: object + description: This object contains one key per substitution variable in the + templated URL. Each key defines the schema of one substitution variable + using a JSON Schema fragment and can thus include things like the data + type of the variable, enumerations, minimum values, maximum values, etc. + x-jsonld-prefixes: + oa: http://www.w3.org/ns/oa# + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkTemplate/schema.yaml schemas.stacspec.org_v1.0.0_item-spec_json-schema_item.json: title: STAC Item type: object @@ -1434,5 +1869,13 @@ x-defs: type: number x-schema-version: http://json-schema.org/draft-07/schema# x-schema-source: https://geojson.org/schema/Geometry.json + ogc.api.records.v1.schemas.roles: + description: The list of duties, job functions or permissions assigned by the + system and associated with the context of this member. + type: array + minItems: 1 + items: + type: string + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/roles/schema.yaml allOf: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/_github_workspace_build_annotated_contrib_stac_item_schema.yaml diff --git a/build/annotated/contrib/stac/item/schema.json b/build/annotated/contrib/stac/item/schema.json index 174af98..4511b37 100644 --- a/build/annotated/contrib/stac/item/schema.json +++ b/build/annotated/contrib/stac/item/schema.json @@ -5,6 +5,9 @@ { "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.json" }, + { + "$ref": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.json" + }, { "$ref": "https://github.com/radiantearth/stac-spec/raw/master/item-spec/json-schema/item.json" } diff --git a/build/annotated/contrib/stac/item/schema.yaml b/build/annotated/contrib/stac/item/schema.yaml index cd925e0..d817deb 100644 --- a/build/annotated/contrib/stac/item/schema.yaml +++ b/build/annotated/contrib/stac/item/schema.yaml @@ -2,4 +2,5 @@ $schema: https://json-schema.org/draft/2020-12/schema description: STAC Collection allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.yaml +- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml - $ref: https://github.com/radiantearth/stac-spec/raw/master/item-spec/json-schema/item.json diff --git a/build/bblocks.jsonld b/build/bblocks.jsonld index 43a25e6..8f6acbc 100644 --- a/build/bblocks.jsonld +++ b/build/bblocks.jsonld @@ -106,7 +106,7 @@ "name": "Building Blocks - OGC Building Blocks for STAC", "abstract": "These Building Blocks provide a validation and documentation wrapper over STAC and extension schemas, and aid in transparent re-use of STAC elements", "description": "Allows for validation and testing of STAC examples.\n\nSupports definition and testing of transformations to/from STAC from other formats.\n\nImplementers can fork this repository and add additional examples in the `tests/` directory of each Building Block and run validation processes locally.\n\nProvides a framework for documentation and testing of additional extensions.\n", - "modified": "2024-05-15T07:12:49.106262", + "modified": "2024-05-19T23:58:42.983529", "tooling": { "bblocks-postprocess": { "commitId": "\"18fbb122a3d7cc4de8b9271905f60ee3e86205a6", @@ -121,7 +121,8 @@ "validationReport": "https://ogcincubator.github.io/bblocks-stac/build/tests/report.html", "imports": [ "https://opengeospatial.github.io/bblocks/register.json", - "https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/register.json" + "https://ogcincubator.github.io/bblocks-ogcapi-features/build/register.json", + "https://ogcincubator.github.io/bblocks-ogcapi-records/build/register.json" ], "@type": [ "skos:ConceptScheme", @@ -130,17 +131,17 @@ "skos:prefLabel": "Building Blocks - OGC Building Blocks for STAC", "hasConcepts": [ { - "itemIdentifier": "ogc.contrib.stac.item", + "itemIdentifier": "ogc.contrib.stac.collection", "$schema": "https://raw.githubusercontent.com/opengeospatial/bblocks-postprocess/master/ogc/bblocks/metadata-schema.yaml", - "name": "STAC Item", + "name": "STAC Collection", "highlighted": true, - "abstract": "A SpatioTemporal Asset Catalogs (STAC) item", + "abstract": "A SpatioTemporal Asset Catalogs (STAC) collection. This building block implements validation of examples using the canonical schema and a JSON-LD context to a map to a RDF format that can support richer logical constraints and integration with related data.", "status": "under-development", "dateTimeAddition": "2023-12-08T00:00:00Z", "itemClass": "schema", - "register": "ogc-building-block-register", + "register": "ogc-incubator-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-05-15", + "dateOfLastChange": "2024-05-19", "sources": [ { "title": "STAC Specification", @@ -150,37 +151,38 @@ "scope": "contrib", "tags": [ "stac", - "item" + "collection" ], "shaclRules": {}, "dependsOn": [ - "ogc.geo.features.feature" + "ogc.ogc-utils.json-link", + "ogc.api.features.v1.schemas.collection" ], "schema": { - "application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema.yaml", - "application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema.json" + "application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema.yaml", + "application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema.json" }, - "sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/item/schema.yaml", - "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/context.jsonld", - "sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/item/", + "sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/collection/schema.yaml", + "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/context.jsonld", + "sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/collection/", "validationPassed": true, - "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/item/", + "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/collection/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/item/index.json" - }, "markdown": { "mediatype": "text/markdown", - "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/item/index.md" + "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/collection/index.md" + }, + "json-full": { + "mediatype": "application/json", + "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/collection/index.json" }, "slate": { "mediatype": "text/html", - "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/item/" + "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/collection/" }, "bblocks-viewer": { "mediatype": "text/html", - "url": "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.item" + "url": "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.collection" } }, "@type": [ @@ -190,17 +192,17 @@ ] }, { - "itemIdentifier": "ogc.contrib.stac.collection", + "itemIdentifier": "ogc.contrib.stac.item", "$schema": "https://raw.githubusercontent.com/opengeospatial/bblocks-postprocess/master/ogc/bblocks/metadata-schema.yaml", - "name": "STAC Collection", + "name": "STAC Item", "highlighted": true, - "abstract": "A SpatioTemporal Asset Catalogs (STAC) collection. This building block implements validation of examples using the canonical schema and a JSON-LD context to a map to a RDF format that can support richer logical constraints and integration with related data.", + "abstract": "A SpatioTemporal Asset Catalogs (STAC) item", "status": "under-development", "dateTimeAddition": "2023-12-08T00:00:00Z", "itemClass": "schema", - "register": "ogc-incubator-building-block-register", + "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-05-15", + "dateOfLastChange": "2024-05-19", "sources": [ { "title": "STAC Specification", @@ -210,38 +212,38 @@ "scope": "contrib", "tags": [ "stac", - "collection" + "item" ], "shaclRules": {}, "dependsOn": [ - "ogc.api.features.v1.schemas.collection", - "ogc.ogc-utils.json-link" + "ogc.api.records.v1.schemas.recordGeoJSON", + "ogc.geo.features.feature" ], "schema": { - "application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema.yaml", - "application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema.json" + "application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema.yaml", + "application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema.json" }, - "sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/collection/schema.yaml", - "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/context.jsonld", - "sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/collection/", + "sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/item/schema.yaml", + "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/context.jsonld", + "sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/item/", "validationPassed": true, - "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/collection/", + "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/item/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/collection/index.json" - }, "markdown": { "mediatype": "text/markdown", - "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/collection/index.md" + "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/item/index.md" + }, + "json-full": { + "mediatype": "application/json", + "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/item/index.json" }, "slate": { "mediatype": "text/html", - "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/collection/" + "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/item/" }, "bblocks-viewer": { "mediatype": "text/html", - "url": "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.collection" + "url": "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.item" } }, "@type": [ @@ -260,7 +262,7 @@ "itemClass": "schema", "register": "bblocks-stac", "version": "0.1", - "dateOfLastChange": "2024-05-15", + "dateOfLastChange": "2024-05-19", "link": "https://github.com/stac-extensions/eo", "sources": [ { @@ -290,14 +292,14 @@ "validationPassed": true, "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/extensions/eo/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/extensions/eo/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/extensions/eo/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/extensions/eo/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/extensions/eo/" @@ -323,7 +325,7 @@ "itemClass": "schema", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-05-15", + "dateOfLastChange": "2024-05-19", "link": "https://github.com/stac-extensions/raster", "sources": [ { @@ -352,14 +354,14 @@ "validationPassed": true, "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/extensions/raster/", "documentation": { - "json-full": { - "mediatype": "application/json", - "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/extensions/raster/index.json" - }, "markdown": { "mediatype": "text/markdown", "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/extensions/raster/index.md" }, + "json-full": { + "mediatype": "application/json", + "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/extensions/raster/index.json" + }, "slate": { "mediatype": "text/html", "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/extensions/raster/" diff --git a/build/bblocks.ttl b/build/bblocks.ttl index da4cecc..47c1d1c 100644 --- a/build/bblocks.ttl +++ b/build/bblocks.ttl @@ -15,16 +15,16 @@ EO data is considered to be data that represents a snapshot of the Earth for a single date and time. It could consist of multiple spectral bands in any part of the electromagnetic spectrum. Examples of EO data include sensors with visible, short-wave and mid-wave IR bands (e.g., the OLI instrument on Landsat-8), long-wave IR bands (e.g. TIRS aboard Landsat-8).""" ; dct:created "2023-12-08T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "application/json" ; - rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/extensions/eo/index.json" ], - [ dct:format "text/html" ; - rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/extensions/eo/" ], - [ dct:format "text/markdown" ; + dct:description [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/extensions/eo/index.md" ], [ dct:format "text/html" ; - rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.extensions.eo" ] ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.extensions.eo" ], + [ dct:format "application/json" ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/extensions/eo/index.json" ], + [ dct:format "text/html" ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/extensions/eo/" ] ; dct:hasVersion "0.1" ; - dct:modified "2024-05-15"^^xsd:date ; + dct:modified "2024-05-19"^^xsd:date ; dct:source ; skos:inScheme ; dcat:keyword "eo", @@ -45,16 +45,16 @@ EO data is considered to be data that represents a snapshot of the Earth for a s rdfs:label "STAC Raster Extension" ; dct:abstract "An item can describe assets that are rasters of one or multiple bands with some information common to them all (raster size, projection) and also specific to each of them (data type, unit, number of bits used, nodata). A raster is often strongly linked with the georeferencing transform and coordinate system definition of all bands (using the projection extension). In many applications, it is interesting to have some metadata about the rasters in the asset (values statistics, value interpretation, transforms)." ; dct:created "2023-12-08T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/markdown" ; + dct:description [ dct:format "text/html" ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.extensions.raster" ], + [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/extensions/raster/index.md" ], - [ dct:format "application/json" ; - rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/extensions/raster/index.json" ], [ dct:format "text/html" ; rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/extensions/raster/" ], - [ dct:format "text/html" ; - rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.extensions.raster" ] ; + [ dct:format "application/json" ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/extensions/raster/index.json" ] ; dct:hasVersion "0.1" ; - dct:modified "2024-05-15"^^xsd:date ; + dct:modified "2024-05-19"^^xsd:date ; dct:source ; skos:inScheme ; dcat:keyword "raster", @@ -78,16 +78,16 @@ EO data is considered to be data that represents a snapshot of the Earth for a s rdfs:label "STAC Collection" ; dct:abstract "A SpatioTemporal Asset Catalogs (STAC) collection. This building block implements validation of examples using the canonical schema and a JSON-LD context to a map to a RDF format that can support richer logical constraints and integration with related data." ; dct:created "2023-12-08T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/html" ; - rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.collection" ], + dct:description [ dct:format "text/markdown" ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/collection/index.md" ], [ dct:format "text/html" ; rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/collection/" ], [ dct:format "application/json" ; rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/collection/index.json" ], - [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/collection/index.md" ] ; + [ dct:format "text/html" ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.collection" ] ; dct:hasVersion "0.1" ; - dct:modified "2024-05-15"^^xsd:date ; + dct:modified "2024-05-19"^^xsd:date ; dct:source ; skos:inScheme ; dcat:keyword "collection", @@ -108,19 +108,20 @@ EO data is considered to be data that represents a snapshot of the Earth for a s dct:created "2023-12-08T00:00:00+00:00"^^xsd:dateTime ; dct:description [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/item/index.md" ], + [ dct:format "application/json" ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/item/index.json" ], [ dct:format "text/html" ; rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.item" ], [ dct:format "text/html" ; - rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/item/" ], - [ dct:format "application/json" ; - rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/item/index.json" ] ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/item/" ] ; dct:hasVersion "0.1" ; - dct:modified "2024-05-15"^^xsd:date ; + dct:modified "2024-05-19"^^xsd:date ; dct:source ; skos:inScheme ; dcat:keyword "item", "stac" ; - bblocks:dependsOn ; + bblocks:dependsOn , + ; bblocks:hasJsonLdContext ; bblocks:hasSchema , ; @@ -143,15 +144,16 @@ Provides a framework for documentation and testing of additional extensions. """ ; skos:prefLabel "Building Blocks - OGC Building Blocks for STAC" ; bblocks:hasValidationReport ; - bblocks:imports , - . + bblocks:imports , + , + . [] a prov:Activity ; - prov:endedAtTime "2024-05-15T07:13:04.587218"^^xsd:dateTime ; - prov:startedAtTime "2024-05-15T07:13:04.525637"^^xsd:dateTime ; + prov:endedAtTime "2024-05-19T23:58:59.283545"^^xsd:dateTime ; + prov:startedAtTime "2024-05-19T23:58:59.218391"^^xsd:dateTime ; prov:used [ a prov:Entity ; dct:format "application/json" ; - dct:hasVersion "git:625ff4246a22bd88bcc271313bdd8d826b39bdc1" ; + dct:hasVersion "git:30887d5d618f851bbbe5985c078b4d47df7d6967" ; rdfs:seeAlso ], [ a prov:Entity ; dct:format "application/yaml" ; diff --git a/build/generateddocs/json-full/contrib/stac/collection/index.json b/build/generateddocs/json-full/contrib/stac/collection/index.json index a6f9177..8fa775e 100644 --- a/build/generateddocs/json-full/contrib/stac/collection/index.json +++ b/build/generateddocs/json-full/contrib/stac/collection/index.json @@ -11,7 +11,7 @@ "itemClass": "schema", "register": "ogc-incubator-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-05-15", + "dateOfLastChange": "2024-05-19", "sources": [ { "title": "STAC Specification", @@ -25,8 +25,8 @@ ], "shaclRules": {}, "dependsOn": [ - "ogc.api.features.v1.schemas.collection", - "ogc.ogc-utils.json-link" + "ogc.ogc-utils.json-link", + "ogc.api.features.v1.schemas.collection" ], "schema": { "application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema.yaml", @@ -61,7 +61,7 @@ ] } ], - "annotatedSchema": "$schema: https://json-schema.org/draft/2020-12/schema\ndescription: STAC Collection\nallOf:\n- $ref: https://github.com/radiantearth/stac-spec/raw/master/collection-spec/json-schema/collection.json\n- $ref: https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml\n- type: object\n properties:\n links:\n type: array\n items:\n $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/json-link/schema.yaml\n", + "annotatedSchema": "$schema: https://json-schema.org/draft/2020-12/schema\ndescription: STAC Collection\nallOf:\n- $ref: https://github.com/radiantearth/stac-spec/raw/master/collection-spec/json-schema/collection.json\n- $ref: https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml\n- type: object\n properties:\n links:\n type: array\n items:\n $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/json-link/schema.yaml\n", "gitRepository": "https://github.com/ogcincubator/bblocks-stac", "gitPath": "_sources/collection" } \ No newline at end of file diff --git a/build/generateddocs/json-full/contrib/stac/extensions/eo/index.json b/build/generateddocs/json-full/contrib/stac/extensions/eo/index.json index e0957ac..f71f740 100644 --- a/build/generateddocs/json-full/contrib/stac/extensions/eo/index.json +++ b/build/generateddocs/json-full/contrib/stac/extensions/eo/index.json @@ -10,7 +10,7 @@ "itemClass": "schema", "register": "bblocks-stac", "version": "0.1", - "dateOfLastChange": "2024-05-15", + "dateOfLastChange": "2024-05-19", "link": "https://github.com/stac-extensions/eo", "sources": [ { @@ -79,7 +79,7 @@ }, { "language": "ttl", - "code": "@prefix dcterms: .\n@prefix geojson: .\n@prefix ns1: .\n@prefix ns2: .\n@prefix oa: .\n@prefix rdf: .\n@prefix rdfs: .\n@prefix xsd: .\n\n a geojson:Feature ;\n ns1:cloud_cover 1.2e+00 ;\n ns1:snow_cover 0 ;\n rdfs:seeAlso [ rdfs:label \"Simple Example Collection\" ;\n dcterms:type \"application/json\" ;\n ns2:relation ;\n oa:hasTarget ],\n [ rdfs:label \"Simple Example Collection\" ;\n dcterms:type \"application/json\" ;\n ns2:relation ;\n oa:hasTarget ],\n [ rdfs:label \"Simple Example Collection\" ;\n dcterms:type \"application/json\" ;\n ns2:relation ;\n oa:hasTarget ] ;\n geojson:bbox ( 1.729117e+02 1.343885e+00 1.729547e+02 1.369048e+00 ) ;\n geojson:geometry [ a geojson:Polygon ;\n geojson:coordinates ( ( ( 1.729117e+02 1.343885e+00 ) ( 1.729547e+02 1.343885e+00 ) ( 1.729547e+02 1.369048e+00 ) ( 1.729117e+02 1.369048e+00 ) ( 1.729117e+02 1.343885e+00 ) ) ) ] .\n\n", + "code": "@prefix dcterms: .\n@prefix geojson: .\n@prefix ns1: .\n@prefix ns2: .\n@prefix oa: .\n@prefix rdf: .\n@prefix rdfs: .\n@prefix xsd: .\n\n a geojson:Feature ;\n ns2:cloud_cover 1.2e+00 ;\n ns2:snow_cover 0 ;\n dcterms:created \"2020-12-12T01:48:13.725Z\" ;\n dcterms:modified \"2020-12-12T01:48:13.725Z\" ;\n rdfs:seeAlso [ rdfs:label \"Simple Example Collection\" ;\n dcterms:type \"application/json\" ;\n ns1:relation ;\n oa:hasTarget ],\n [ rdfs:label \"Simple Example Collection\" ;\n dcterms:type \"application/json\" ;\n ns1:relation ;\n oa:hasTarget ],\n [ rdfs:label \"Simple Example Collection\" ;\n dcterms:type \"application/json\" ;\n ns1:relation ;\n oa:hasTarget ] ;\n geojson:bbox ( 1.729117e+02 1.343885e+00 1.729547e+02 1.369048e+00 ) ;\n geojson:geometry [ a geojson:Polygon ;\n geojson:coordinates ( ( ( 1.729117e+02 1.343885e+00 ) ( 1.729547e+02 1.343885e+00 ) ( 1.729547e+02 1.369048e+00 ) ( 1.729117e+02 1.369048e+00 ) ( 1.729117e+02 1.343885e+00 ) ) ) ] .\n\n", "url": "https://ogcincubator.github.io/bblocks-stac/build/tests/contrib/stac/extensions/eo/example_2_1.ttl" } ] diff --git a/build/generateddocs/json-full/contrib/stac/extensions/raster/index.json b/build/generateddocs/json-full/contrib/stac/extensions/raster/index.json index b9dabfc..68c4b57 100644 --- a/build/generateddocs/json-full/contrib/stac/extensions/raster/index.json +++ b/build/generateddocs/json-full/contrib/stac/extensions/raster/index.json @@ -10,7 +10,7 @@ "itemClass": "schema", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-05-15", + "dateOfLastChange": "2024-05-19", "link": "https://github.com/stac-extensions/raster", "sources": [ { @@ -55,7 +55,7 @@ }, { "language": "ttl", - "code": "@prefix dct: .\n@prefix geojson: .\n@prefix ns1: .\n@prefix ns2: .\n@prefix ns3: .\n@prefix ns4: .\n@prefix ns5: .\n@prefix ns6: .\n@prefix oa: .\n@prefix rdf: .\n@prefix rdfs: .\n@prefix xsd: .\n\n a geojson:Feature ;\n ns2:cloud_cover 2.122e+01 ;\n rdfs:seeAlso [ dct:type \"application/json\" ;\n ns4:relation ;\n oa:hasTarget ] ;\n geojson:bbox ( 1.386148e+01 3.695257e+01 1.511107e+01 3.794753e+01 ) ;\n geojson:geometry [ a geojson:Polygon ;\n geojson:coordinates ( ( ( 1.387638e+01 3.695257e+01 ) ( 1.386148e+01 3.794207e+01 ) ( 1.511107e+01 3.794753e+01 ) ( 1.510962e+01 3.695784e+01 ) ( 1.387638e+01 3.695257e+01 ) ) ) ] ;\n ns3:epsg 32633 ;\n ns1:data_coverage 100 ;\n ns1:grid_square \"VB\" ;\n ns1:latitude_band \"S\" ;\n ns1:product_id \"S2B_MSIL2A_20210221T095029_N0214_R079_T33SVB_20210221T115149\" ;\n ns1:sequence \"0\" ;\n ns1:utm_zone 33 ;\n ns1:valid_cloud_cover true ;\n ns6:off_nadir 0 ;\n ns5:assets [ ] .\n\n", + "code": "@prefix dct: .\n@prefix geojson: .\n@prefix ns1: .\n@prefix ns2: .\n@prefix ns3: .\n@prefix ns4: .\n@prefix ns5: .\n@prefix ns6: .\n@prefix oa: .\n@prefix rdf: .\n@prefix rdfs: .\n@prefix xsd: .\n\n a geojson:Feature ;\n ns3:cloud_cover 2.122e+01 ;\n rdfs:seeAlso [ dct:type \"application/json\" ;\n ns5:relation ;\n oa:hasTarget ] ;\n geojson:bbox ( 1.386148e+01 3.695257e+01 1.511107e+01 3.794753e+01 ) ;\n geojson:geometry [ a geojson:Polygon ;\n geojson:coordinates ( ( ( 1.387638e+01 3.695257e+01 ) ( 1.386148e+01 3.794207e+01 ) ( 1.511107e+01 3.794753e+01 ) ( 1.510962e+01 3.695784e+01 ) ( 1.387638e+01 3.695257e+01 ) ) ) ] ;\n ns6:epsg 32633 ;\n ns2:data_coverage 100 ;\n ns2:grid_square \"VB\" ;\n ns2:latitude_band \"S\" ;\n ns2:product_id \"S2B_MSIL2A_20210221T095029_N0214_R079_T33SVB_20210221T115149\" ;\n ns2:sequence \"0\" ;\n ns2:utm_zone 33 ;\n ns2:valid_cloud_cover true ;\n ns1:off_nadir 0 ;\n ns4:assets [ ] .\n\n", "url": "https://ogcincubator.github.io/bblocks-stac/build/tests/contrib/stac/extensions/raster/example_1_1.ttl" } ] diff --git a/build/generateddocs/json-full/contrib/stac/item/index.json b/build/generateddocs/json-full/contrib/stac/item/index.json index d912833..586387f 100644 --- a/build/generateddocs/json-full/contrib/stac/item/index.json +++ b/build/generateddocs/json-full/contrib/stac/item/index.json @@ -11,7 +11,7 @@ "itemClass": "schema", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-05-15", + "dateOfLastChange": "2024-05-19", "sources": [ { "title": "STAC Specification", @@ -25,6 +25,7 @@ ], "shaclRules": {}, "dependsOn": [ + "ogc.api.records.v1.schemas.recordGeoJSON", "ogc.geo.features.feature" ], "schema": { @@ -78,13 +79,13 @@ }, { "language": "ttl", - "code": "@prefix dcterms: .\n@prefix geojson: .\n@prefix ns1: .\n@prefix oa: .\n@prefix rdf: .\n@prefix rdfs: .\n@prefix xsd: .\n\n a geojson:Feature ;\n rdfs:seeAlso [ rdfs:label \"HTML version of this STAC Item\" ;\n dcterms:type \"text/html\" ;\n ns1:relation ;\n oa:hasTarget ],\n [ rdfs:label \"Simple Example Collection\" ;\n dcterms:type \"application/json\" ;\n ns1:relation ;\n oa:hasTarget ],\n [ rdfs:label \"Simple Example Collection\" ;\n dcterms:type \"application/json\" ;\n ns1:relation ;\n oa:hasTarget ],\n [ rdfs:label \"Simple Example Collection\" ;\n dcterms:type \"application/json\" ;\n ns1:relation ;\n oa:hasTarget ] ;\n geojson:bbox ( 1.729117e+02 1.343885e+00 1.729547e+02 1.369048e+00 ) ;\n geojson:geometry [ a geojson:Polygon ;\n geojson:coordinates ( ( ( 1.729117e+02 1.343885e+00 ) ( 1.729547e+02 1.343885e+00 ) ( 1.729547e+02 1.369048e+00 ) ( 1.729117e+02 1.369048e+00 ) ( 1.729117e+02 1.343885e+00 ) ) ) ] .\n\n", + "code": "@prefix dcterms: .\n@prefix geojson: .\n@prefix ns1: .\n@prefix oa: .\n@prefix rdf: .\n@prefix rdfs: .\n@prefix xsd: .\n\n a geojson:Feature ;\n rdfs:label \"Core Item\" ;\n dcterms:created \"2020-12-12T01:48:13.725Z\" ;\n dcterms:modified \"2020-12-12T01:48:13.725Z\" ;\n rdfs:seeAlso [ rdfs:label \"HTML version of this STAC Item\" ;\n dcterms:type \"text/html\" ;\n ns1:relation ;\n oa:hasTarget ],\n [ rdfs:label \"Simple Example Collection\" ;\n dcterms:type \"application/json\" ;\n ns1:relation ;\n oa:hasTarget ],\n [ rdfs:label \"Simple Example Collection\" ;\n dcterms:type \"application/json\" ;\n ns1:relation ;\n oa:hasTarget ],\n [ rdfs:label \"Simple Example Collection\" ;\n dcterms:type \"application/json\" ;\n ns1:relation ;\n oa:hasTarget ] ;\n geojson:bbox ( 1.729117e+02 1.343885e+00 1.729547e+02 1.369048e+00 ) ;\n geojson:geometry [ a geojson:Polygon ;\n geojson:coordinates ( ( ( 1.729117e+02 1.343885e+00 ) ( 1.729547e+02 1.343885e+00 ) ( 1.729547e+02 1.369048e+00 ) ( 1.729117e+02 1.369048e+00 ) ( 1.729117e+02 1.343885e+00 ) ) ) ] .\n\n", "url": "https://ogcincubator.github.io/bblocks-stac/build/tests/contrib/stac/item/example_2_1.ttl" } ] } ], - "annotatedSchema": "$schema: https://json-schema.org/draft/2020-12/schema\ndescription: STAC Collection\nallOf:\n- $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.yaml\n- $ref: https://github.com/radiantearth/stac-spec/raw/master/item-spec/json-schema/item.json\n", + "annotatedSchema": "$schema: https://json-schema.org/draft/2020-12/schema\ndescription: STAC Collection\nallOf:\n- $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.yaml\n- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml\n- $ref: https://github.com/radiantearth/stac-spec/raw/master/item-spec/json-schema/item.json\n", "gitRepository": "https://github.com/ogcincubator/bblocks-stac", "gitPath": "_sources/item" } \ No newline at end of file diff --git a/build/generateddocs/markdown/contrib/stac/collection/index.md b/build/generateddocs/markdown/contrib/stac/collection/index.md index 2d65f13..410a988 100644 --- a/build/generateddocs/markdown/contrib/stac/collection/index.md +++ b/build/generateddocs/markdown/contrib/stac/collection/index.md @@ -504,7 +504,7 @@ $schema: https://json-schema.org/draft/2020-12/schema description: STAC Collection allOf: - $ref: https://github.com/radiantearth/stac-spec/raw/master/collection-spec/json-schema/collection.json -- $ref: https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml +- $ref: https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml - type: object properties: links: diff --git a/build/generateddocs/markdown/contrib/stac/extensions/eo/index.md b/build/generateddocs/markdown/contrib/stac/extensions/eo/index.md index 163fa5f..4ff05e5 100644 --- a/build/generateddocs/markdown/contrib/stac/extensions/eo/index.md +++ b/build/generateddocs/markdown/contrib/stac/extensions/eo/index.md @@ -691,27 +691,29 @@ EO data is considered to be data that represents a snapshot of the Earth for a s ```ttl @prefix dcterms: . @prefix geojson: . -@prefix ns1: . -@prefix ns2: . +@prefix ns1: . +@prefix ns2: . @prefix oa: . @prefix rdf: . @prefix rdfs: . @prefix xsd: . a geojson:Feature ; - ns1:cloud_cover 1.2e+00 ; - ns1:snow_cover 0 ; + ns2:cloud_cover 1.2e+00 ; + ns2:snow_cover 0 ; + dcterms:created "2020-12-12T01:48:13.725Z" ; + dcterms:modified "2020-12-12T01:48:13.725Z" ; rdfs:seeAlso [ rdfs:label "Simple Example Collection" ; dcterms:type "application/json" ; - ns2:relation ; + ns1:relation ; oa:hasTarget ], [ rdfs:label "Simple Example Collection" ; dcterms:type "application/json" ; - ns2:relation ; + ns1:relation ; oa:hasTarget ], [ rdfs:label "Simple Example Collection" ; dcterms:type "application/json" ; - ns2:relation ; + ns1:relation ; oa:hasTarget ] ; geojson:bbox ( 1.729117e+02 1.343885e+00 1.729547e+02 1.369048e+00 ) ; geojson:geometry [ a geojson:Polygon ; @@ -763,12 +765,7 @@ Links to the schema: "id": "@id", "properties": "@nest", "geometry": { - "@context": { - "coordinates": { - "@container": "@list", - "@id": "geojson:coordinates" - } - }, + "@context": {}, "@id": "geojson:geometry" }, "bbox": { @@ -794,10 +791,21 @@ Links to the schema: }, "@id": "rdfs:seeAlso" }, + "coordinates": { + "@container": "@list", + "@id": "geojson:coordinates" + }, + "created": "dct:created", + "updated": "dct:modified", + "uriTemplate": { + "@type": "xsd:string", + "@id": "oa:hasTarget" + }, "oa": "http://www.w3.org/ns/oa#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "dct": "http://purl.org/dc/terms/", "geojson": "https://purl.org/geojson/vocab#", + "xsd": "http://www.w3.org/2001/XMLSchema#", "@version": 1.1 } } diff --git a/build/generateddocs/markdown/contrib/stac/extensions/raster/index.md b/build/generateddocs/markdown/contrib/stac/extensions/raster/index.md index bed0cb1..25e9863 100644 --- a/build/generateddocs/markdown/contrib/stac/extensions/raster/index.md +++ b/build/generateddocs/markdown/contrib/stac/extensions/raster/index.md @@ -1513,35 +1513,35 @@ An item can describe assets that are rasters of one or multiple bands with some ```ttl @prefix dct: . @prefix geojson: . -@prefix ns1: . -@prefix ns2: . -@prefix ns3: . -@prefix ns4: . -@prefix ns5: . -@prefix ns6: . +@prefix ns1: . +@prefix ns2: . +@prefix ns3: . +@prefix ns4: . +@prefix ns5: . +@prefix ns6: . @prefix oa: . @prefix rdf: . @prefix rdfs: . @prefix xsd: . a geojson:Feature ; - ns2:cloud_cover 2.122e+01 ; + ns3:cloud_cover 2.122e+01 ; rdfs:seeAlso [ dct:type "application/json" ; - ns4:relation ; + ns5:relation ; oa:hasTarget ] ; geojson:bbox ( 1.386148e+01 3.695257e+01 1.511107e+01 3.794753e+01 ) ; geojson:geometry [ a geojson:Polygon ; geojson:coordinates ( ( ( 1.387638e+01 3.695257e+01 ) ( 1.386148e+01 3.794207e+01 ) ( 1.511107e+01 3.794753e+01 ) ( 1.510962e+01 3.695784e+01 ) ( 1.387638e+01 3.695257e+01 ) ) ) ] ; - ns3:epsg 32633 ; - ns1:data_coverage 100 ; - ns1:grid_square "VB" ; - ns1:latitude_band "S" ; - ns1:product_id "S2B_MSIL2A_20210221T095029_N0214_R079_T33SVB_20210221T115149" ; - ns1:sequence "0" ; - ns1:utm_zone 33 ; - ns1:valid_cloud_cover true ; - ns6:off_nadir 0 ; - ns5:assets [ ] . + ns6:epsg 32633 ; + ns2:data_coverage 100 ; + ns2:grid_square "VB" ; + ns2:latitude_band "S" ; + ns2:product_id "S2B_MSIL2A_20210221T095029_N0214_R079_T33SVB_20210221T115149" ; + ns2:sequence "0" ; + ns2:utm_zone 33 ; + ns2:valid_cloud_cover true ; + ns1:off_nadir 0 ; + ns4:assets [ ] . ``` @@ -1589,12 +1589,7 @@ Links to the schema: "id": "@id", "properties": "@nest", "geometry": { - "@context": { - "coordinates": { - "@container": "@list", - "@id": "geojson:coordinates" - } - }, + "@context": {}, "@id": "geojson:geometry" }, "bbox": { @@ -1620,10 +1615,21 @@ Links to the schema: }, "@id": "rdfs:seeAlso" }, + "coordinates": { + "@container": "@list", + "@id": "geojson:coordinates" + }, + "created": "dct:created", + "updated": "dct:modified", + "uriTemplate": { + "@type": "xsd:string", + "@id": "oa:hasTarget" + }, "oa": "http://www.w3.org/ns/oa#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "dct": "http://purl.org/dc/terms/", "geojson": "https://purl.org/geojson/vocab#", + "xsd": "http://www.w3.org/2001/XMLSchema#", "@version": 1.1 } } diff --git a/build/generateddocs/markdown/contrib/stac/item/index.md b/build/generateddocs/markdown/contrib/stac/item/index.md index ecafe27..5530847 100644 --- a/build/generateddocs/markdown/contrib/stac/item/index.md +++ b/build/generateddocs/markdown/contrib/stac/item/index.md @@ -489,13 +489,16 @@ This is the complete "core" item example from the STAC specification. @prefix xsd: . a geojson:Feature ; + rdfs:label "Core Item" ; + dcterms:created "2020-12-12T01:48:13.725Z" ; + dcterms:modified "2020-12-12T01:48:13.725Z" ; rdfs:seeAlso [ rdfs:label "HTML version of this STAC Item" ; dcterms:type "text/html" ; ns1:relation ; oa:hasTarget ], [ rdfs:label "Simple Example Collection" ; dcterms:type "application/json" ; - ns1:relation ; + ns1:relation ; oa:hasTarget ], [ rdfs:label "Simple Example Collection" ; dcterms:type "application/json" ; @@ -503,7 +506,7 @@ This is the complete "core" item example from the STAC specification. oa:hasTarget ], [ rdfs:label "Simple Example Collection" ; dcterms:type "application/json" ; - ns1:relation ; + ns1:relation ; oa:hasTarget ] ; geojson:bbox ( 1.729117e+02 1.343885e+00 1.729547e+02 1.369048e+00 ) ; geojson:geometry [ a geojson:Polygon ; @@ -519,6 +522,7 @@ $schema: https://json-schema.org/draft/2020-12/schema description: STAC Collection allOf: - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.yaml +- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml - $ref: https://github.com/radiantearth/stac-spec/raw/master/item-spec/json-schema/item.json ``` @@ -538,12 +542,7 @@ Links to the schema: "id": "@id", "properties": "@nest", "geometry": { - "@context": { - "coordinates": { - "@container": "@list", - "@id": "geojson:coordinates" - } - }, + "@context": {}, "@id": "geojson:geometry" }, "bbox": { @@ -565,28 +564,39 @@ Links to the schema: }, "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" + "type": "dct:type" }, "@id": "rdfs:seeAlso" }, + "coordinates": { + "@container": "@list", + "@id": "geojson:coordinates" + }, + "href": { + "@type": "@id", + "@id": "oa:hasTarget" + }, + "rel": { + "@context": { + "@base": "http://www.iana.org/assignments/relation/" + }, + "@id": "http://www.iana.org/assignments/relation", + "@type": "@id" + }, + "hreflang": "dct:language", + "title": "rdfs:label", + "length": "dct:extent", + "created": "dct:created", + "updated": "dct:modified", + "uriTemplate": { + "@type": "xsd:string", + "@id": "oa:hasTarget" + }, "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/", + "xsd": "http://www.w3.org/2001/XMLSchema#", "@version": 1.1 } } diff --git a/build/generateddocs/slate-build/contrib/stac/collection/index.html b/build/generateddocs/slate-build/contrib/stac/collection/index.html index 5b7af9f..34ab730 100644 --- a/build/generateddocs/slate-build/contrib/stac/collection/index.html +++ b/build/generateddocs/slate-build/contrib/stac/collection/index.html @@ -853,7 +853,7 @@

JSON Schema

description: STAC Collection
 allOf:
 - $ref: https://github.com/radiantearth/stac-spec/raw/master/collection-spec/json-schema/collection.json
-- $ref: https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml
+- $ref: https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml
 - type: object
   properties:
     links:
diff --git a/build/generateddocs/slate-build/contrib/stac/extensions/eo/index.html b/build/generateddocs/slate-build/contrib/stac/extensions/eo/index.html
index 0250da9..c6451ce 100644
--- a/build/generateddocs/slate-build/contrib/stac/extensions/eo/index.html
+++ b/build/generateddocs/slate-build/contrib/stac/extensions/eo/index.html
@@ -1046,27 +1046,29 @@ 

An example
@prefix dcterms: <http://purl.org/dc/terms/> .
 @prefix geojson: <https://purl.org/geojson/vocab#> .
-@prefix ns1: <eo:> .
-@prefix ns2: <http://www.iana.org/assignments/> .
+@prefix ns1: <http://www.iana.org/assignments/> .
+@prefix ns2: <eo:> .
 @prefix oa: <http://www.w3.org/ns/oa#> .
 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
 
 <https://example.com/stac/raster/example-1/20201211_223832_CS2> a geojson:Feature ;
-    ns1:cloud_cover 1.2e+00 ;
-    ns1:snow_cover 0 ;
+    ns2:cloud_cover 1.2e+00 ;
+    ns2:snow_cover 0 ;
+    dcterms:created "2020-12-12T01:48:13.725Z" ;
+    dcterms:modified "2020-12-12T01:48:13.725Z" ;
     rdfs:seeAlso [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
-            ns2:relation <http://www.iana.org/assignments/relation/collection> ;
+            ns1:relation <http://www.iana.org/assignments/relation/collection> ;
             oa:hasTarget <https://example.com/stac/raster/example-1/collection.json> ],
         [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
-            ns2:relation <http://www.iana.org/assignments/relation/root> ;
+            ns1:relation <http://www.iana.org/assignments/relation/parent> ;
             oa:hasTarget <https://example.com/stac/raster/example-1/collection.json> ],
         [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
-            ns2:relation <http://www.iana.org/assignments/relation/parent> ;
+            ns1:relation <http://www.iana.org/assignments/relation/root> ;
             oa:hasTarget <https://example.com/stac/raster/example-1/collection.json> ] ;
     geojson:bbox ( 1.729117e+02 1.343885e+00 1.729547e+02 1.369048e+00 ) ;
     geojson:geometry [ a geojson:Polygon ;
@@ -1118,12 +1120,7 @@ 

JSON-LD Context

"id": "@id",
     "properties": "@nest",
     "geometry": {
-      "@context": {
-        "coordinates": {
-          "@container": "@list",
-          "@id": "geojson:coordinates"
-        }
-      },
+      "@context": {},
       "@id": "geojson:geometry"
     },
     "bbox": {
@@ -1149,10 +1146,21 @@ 

JSON-LD Context

},
       "@id": "rdfs:seeAlso"
     },
+    "coordinates": {
+      "@container": "@list",
+      "@id": "geojson:coordinates"
+    },
+    "created": "dct:created",
+    "updated": "dct:modified",
+    "uriTemplate": {
+      "@type": "xsd:string",
+      "@id": "oa:hasTarget"
+    },
     "oa": "http://www.w3.org/ns/oa#",
     "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
     "dct": "http://purl.org/dc/terms/",
     "geojson": "https://purl.org/geojson/vocab#",
+    "xsd": "http://www.w3.org/2001/XMLSchema#",
     "@version": 1.1
   }
 }
diff --git a/build/generateddocs/slate-build/contrib/stac/extensions/raster/index.html b/build/generateddocs/slate-build/contrib/stac/extensions/raster/index.html
index c4f01a9..ab630c0 100644
--- a/build/generateddocs/slate-build/contrib/stac/extensions/raster/index.html
+++ b/build/generateddocs/slate-build/contrib/stac/extensions/raster/index.html
@@ -1862,35 +1862,35 @@ 

Examples

Example
@prefix dct: <http://purl.org/dc/terms/> .
 @prefix geojson: <https://purl.org/geojson/vocab#> .
-@prefix ns1: <sentinel:> .
-@prefix ns2: <eo:> .
-@prefix ns3: <proj:> .
-@prefix ns4: <http://www.iana.org/assignments/> .
-@prefix ns5: <virtual:> .
-@prefix ns6: <view:> .
+@prefix ns1: <view:> .
+@prefix ns2: <sentinel:> .
+@prefix ns3: <eo:> .
+@prefix ns4: <virtual:> .
+@prefix ns5: <http://www.iana.org/assignments/> .
+@prefix ns6: <proj:> .
 @prefix oa: <http://www.w3.org/ns/oa#> .
 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
 
 <file:///github/workspace/S2B_33SVB_20210221_0_L2A> a geojson:Feature ;
-    ns2:cloud_cover 2.122e+01 ;
+    ns3:cloud_cover 2.122e+01 ;
     rdfs:seeAlso [ dct:type "application/json" ;
-            ns4:relation <http://www.iana.org/assignments/relation/collection> ;
+            ns5:relation <http://www.iana.org/assignments/relation/collection> ;
             oa:hasTarget <file:///github/workspace/sentinel-s2-l2a-cogs.json> ] ;
     geojson:bbox ( 1.386148e+01 3.695257e+01 1.511107e+01 3.794753e+01 ) ;
     geojson:geometry [ a geojson:Polygon ;
             geojson:coordinates ( ( ( 1.387638e+01 3.695257e+01 ) ( 1.386148e+01 3.794207e+01 ) ( 1.511107e+01 3.794753e+01 ) ( 1.510962e+01 3.695784e+01 ) ( 1.387638e+01 3.695257e+01 ) ) ) ] ;
-    ns3:epsg 32633 ;
-    ns1:data_coverage 100 ;
-    ns1:grid_square "VB" ;
-    ns1:latitude_band "S" ;
-    ns1:product_id "S2B_MSIL2A_20210221T095029_N0214_R079_T33SVB_20210221T115149" ;
-    ns1:sequence "0" ;
-    ns1:utm_zone 33 ;
-    ns1:valid_cloud_cover true ;
-    ns6:off_nadir 0 ;
-    ns5:assets [ ] .
+    ns6:epsg 32633 ;
+    ns2:data_coverage 100 ;
+    ns2:grid_square "VB" ;
+    ns2:latitude_band "S" ;
+    ns2:product_id "S2B_MSIL2A_20210221T095029_N0214_R079_T33SVB_20210221T115149" ;
+    ns2:sequence "0" ;
+    ns2:utm_zone 33 ;
+    ns2:valid_cloud_cover true ;
+    ns1:off_nadir 0 ;
+    ns4:assets [ ] .
 
 
 
@@ -1938,12 +1938,7 @@

JSON-LD Context

"id": "@id",
     "properties": "@nest",
     "geometry": {
-      "@context": {
-        "coordinates": {
-          "@container": "@list",
-          "@id": "geojson:coordinates"
-        }
-      },
+      "@context": {},
       "@id": "geojson:geometry"
     },
     "bbox": {
@@ -1969,10 +1964,21 @@ 

JSON-LD Context

},
       "@id": "rdfs:seeAlso"
     },
+    "coordinates": {
+      "@container": "@list",
+      "@id": "geojson:coordinates"
+    },
+    "created": "dct:created",
+    "updated": "dct:modified",
+    "uriTemplate": {
+      "@type": "xsd:string",
+      "@id": "oa:hasTarget"
+    },
     "oa": "http://www.w3.org/ns/oa#",
     "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
     "dct": "http://purl.org/dc/terms/",
     "geojson": "https://purl.org/geojson/vocab#",
+    "xsd": "http://www.w3.org/2001/XMLSchema#",
     "@version": 1.1
   }
 }
diff --git a/build/generateddocs/slate-build/contrib/stac/item/index.html b/build/generateddocs/slate-build/contrib/stac/item/index.html
index e30d713..e752aa3 100644
--- a/build/generateddocs/slate-build/contrib/stac/item/index.html
+++ b/build/generateddocs/slate-build/contrib/stac/item/index.html
@@ -842,13 +842,16 @@ 

STAC spec core item

@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
 
 <https://example.com/stac/example1/20201211_223832_CS2> a geojson:Feature ;
+    rdfs:label "Core Item" ;
+    dcterms:created "2020-12-12T01:48:13.725Z" ;
+    dcterms:modified "2020-12-12T01:48:13.725Z" ;
     rdfs:seeAlso [ rdfs:label "HTML version of this STAC Item" ;
             dcterms:type "text/html" ;
             ns1:relation <http://www.iana.org/assignments/relation/alternate> ;
             oa:hasTarget <http://remotedata.io/catalog/20201211_223832_CS2/index.html> ],
         [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
-            ns1:relation <http://www.iana.org/assignments/relation/parent> ;
+            ns1:relation <http://www.iana.org/assignments/relation/root> ;
             oa:hasTarget <https://example.com/stac/example1/collection.json> ],
         [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
@@ -856,7 +859,7 @@ 

STAC spec core item

oa:hasTarget <https://example.com/stac/example1/collection.json> ],
         [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
-            ns1:relation <http://www.iana.org/assignments/relation/root> ;
+            ns1:relation <http://www.iana.org/assignments/relation/parent> ;
             oa:hasTarget <https://example.com/stac/example1/collection.json> ] ;
     geojson:bbox ( 1.729117e+02 1.343885e+00 1.729547e+02 1.369048e+00 ) ;
     geojson:geometry [ a geojson:Polygon ;
@@ -874,6 +877,7 @@ 

JSON Schema

description: STAC Collection
 allOf:
 - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.yaml
+- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml
 - $ref: https://github.com/radiantearth/stac-spec/raw/master/item-spec/json-schema/item.json
 
 
@@ -893,12 +897,7 @@

JSON-LD Context

"id": "@id",
     "properties": "@nest",
     "geometry": {
-      "@context": {
-        "coordinates": {
-          "@container": "@list",
-          "@id": "geojson:coordinates"
-        }
-      },
+      "@context": {},
       "@id": "geojson:geometry"
     },
     "bbox": {
@@ -920,28 +919,39 @@ 

JSON-LD 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"
+        "type": "dct:type"
       },
       "@id": "rdfs:seeAlso"
     },
+    "coordinates": {
+      "@container": "@list",
+      "@id": "geojson:coordinates"
+    },
+    "href": {
+      "@type": "@id",
+      "@id": "oa:hasTarget"
+    },
+    "rel": {
+      "@context": {
+        "@base": "http://www.iana.org/assignments/relation/"
+      },
+      "@id": "http://www.iana.org/assignments/relation",
+      "@type": "@id"
+    },
+    "hreflang": "dct:language",
+    "title": "rdfs:label",
+    "length": "dct:extent",
+    "created": "dct:created",
+    "updated": "dct:modified",
+    "uriTemplate": {
+      "@type": "xsd:string",
+      "@id": "oa:hasTarget"
+    },
     "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/",
+    "xsd": "http://www.w3.org/2001/XMLSchema#",
     "@version": 1.1
   }
 }
diff --git a/build/generateddocs/slate/contrib/stac/collection/index.html.md b/build/generateddocs/slate/contrib/stac/collection/index.html.md
index fd80696..7c4ed99 100644
--- a/build/generateddocs/slate/contrib/stac/collection/index.html.md
+++ b/build/generateddocs/slate/contrib/stac/collection/index.html.md
@@ -555,7 +555,7 @@ $schema: https://json-schema.org/draft/2020-12/schema
 description: STAC Collection
 allOf:
 - $ref: https://github.com/radiantearth/stac-spec/raw/master/collection-spec/json-schema/collection.json
-- $ref: https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml
+- $ref: https://ogcincubator.github.io/bblocks-ogcapi-features/build/annotated/api/features/v1/schemas/collection/schema.yaml
 - type: object
   properties:
     links:
diff --git a/build/generateddocs/slate/contrib/stac/extensions/eo/index.html.md b/build/generateddocs/slate/contrib/stac/extensions/eo/index.html.md
index f6cf844..b7fdb92 100644
--- a/build/generateddocs/slate/contrib/stac/extensions/eo/index.html.md
+++ b/build/generateddocs/slate/contrib/stac/extensions/eo/index.html.md
@@ -759,27 +759,29 @@ This building block is  ;
+            ns1:relation  ;
             oa:hasTarget  ],
         [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
-            ns2:relation  ;
+            ns1:relation  ;
             oa:hasTarget  ],
         [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
-            ns2:relation  ;
+            ns1:relation  ;
             oa:hasTarget  ] ;
     geojson:bbox ( 1.729117e+02 1.343885e+00 1.729547e+02 1.369048e+00 ) ;
     geojson:geometry [ a geojson:Polygon ;
@@ -840,12 +842,7 @@ Links to the schema:
     "id": "@id",
     "properties": "@nest",
     "geometry": {
-      "@context": {
-        "coordinates": {
-          "@container": "@list",
-          "@id": "geojson:coordinates"
-        }
-      },
+      "@context": {},
       "@id": "geojson:geometry"
     },
     "bbox": {
@@ -871,10 +868,21 @@ Links to the schema:
       },
       "@id": "rdfs:seeAlso"
     },
+    "coordinates": {
+      "@container": "@list",
+      "@id": "geojson:coordinates"
+    },
+    "created": "dct:created",
+    "updated": "dct:modified",
+    "uriTemplate": {
+      "@type": "xsd:string",
+      "@id": "oa:hasTarget"
+    },
     "oa": "http://www.w3.org/ns/oa#",
     "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
     "dct": "http://purl.org/dc/terms/",
     "geojson": "https://purl.org/geojson/vocab#",
+    "xsd": "http://www.w3.org/2001/XMLSchema#",
     "@version": 1.1
   }
 }
diff --git a/build/generateddocs/slate/contrib/stac/extensions/raster/index.html.md b/build/generateddocs/slate/contrib/stac/extensions/raster/index.html.md
index e613e1c..1752c2d 100644
--- a/build/generateddocs/slate/contrib/stac/extensions/raster/index.html.md
+++ b/build/generateddocs/slate/contrib/stac/extensions/raster/index.html.md
@@ -1557,35 +1557,35 @@ This building block is  ;
+            ns5:relation  ;
             oa:hasTarget  ] ;
     geojson:bbox ( 1.386148e+01 3.695257e+01 1.511107e+01 3.794753e+01 ) ;
     geojson:geometry [ a geojson:Polygon ;
             geojson:coordinates ( ( ( 1.387638e+01 3.695257e+01 ) ( 1.386148e+01 3.794207e+01 ) ( 1.511107e+01 3.794753e+01 ) ( 1.510962e+01 3.695784e+01 ) ( 1.387638e+01 3.695257e+01 ) ) ) ] ;
-    ns3:epsg 32633 ;
-    ns1:data_coverage 100 ;
-    ns1:grid_square "VB" ;
-    ns1:latitude_band "S" ;
-    ns1:product_id "S2B_MSIL2A_20210221T095029_N0214_R079_T33SVB_20210221T115149" ;
-    ns1:sequence "0" ;
-    ns1:utm_zone 33 ;
-    ns1:valid_cloud_cover true ;
-    ns6:off_nadir 0 ;
-    ns5:assets [ ] .
+    ns6:epsg 32633 ;
+    ns2:data_coverage 100 ;
+    ns2:grid_square "VB" ;
+    ns2:latitude_band "S" ;
+    ns2:product_id "S2B_MSIL2A_20210221T095029_N0214_R079_T33SVB_20210221T115149" ;
+    ns2:sequence "0" ;
+    ns2:utm_zone 33 ;
+    ns2:valid_cloud_cover true ;
+    ns1:off_nadir 0 ;
+    ns4:assets [ ] .
 
 
 ```
@@ -1642,12 +1642,7 @@ Links to the schema:
     "id": "@id",
     "properties": "@nest",
     "geometry": {
-      "@context": {
-        "coordinates": {
-          "@container": "@list",
-          "@id": "geojson:coordinates"
-        }
-      },
+      "@context": {},
       "@id": "geojson:geometry"
     },
     "bbox": {
@@ -1673,10 +1668,21 @@ Links to the schema:
       },
       "@id": "rdfs:seeAlso"
     },
+    "coordinates": {
+      "@container": "@list",
+      "@id": "geojson:coordinates"
+    },
+    "created": "dct:created",
+    "updated": "dct:modified",
+    "uriTemplate": {
+      "@type": "xsd:string",
+      "@id": "oa:hasTarget"
+    },
     "oa": "http://www.w3.org/ns/oa#",
     "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
     "dct": "http://purl.org/dc/terms/",
     "geojson": "https://purl.org/geojson/vocab#",
+    "xsd": "http://www.w3.org/2001/XMLSchema#",
     "@version": 1.1
   }
 }
diff --git a/build/generateddocs/slate/contrib/stac/item/index.html.md b/build/generateddocs/slate/contrib/stac/item/index.html.md
index b58be58..61d4b4f 100644
--- a/build/generateddocs/slate/contrib/stac/item/index.html.md
+++ b/build/generateddocs/slate/contrib/stac/item/index.html.md
@@ -556,13 +556,16 @@ This is the simple item example from the STAC specification.
 @prefix xsd:  .
 
  a geojson:Feature ;
+    rdfs:label "Core Item" ;
+    dcterms:created "2020-12-12T01:48:13.725Z" ;
+    dcterms:modified "2020-12-12T01:48:13.725Z" ;
     rdfs:seeAlso [ rdfs:label "HTML version of this STAC Item" ;
             dcterms:type "text/html" ;
             ns1:relation  ;
             oa:hasTarget  ],
         [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
-            ns1:relation  ;
+            ns1:relation  ;
             oa:hasTarget  ],
         [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
@@ -570,7 +573,7 @@ This is the simple item example from the STAC specification.
             oa:hasTarget  ],
         [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
-            ns1:relation  ;
+            ns1:relation  ;
             oa:hasTarget  ] ;
     geojson:bbox ( 1.729117e+02 1.343885e+00 1.729547e+02 1.369048e+00 ) ;
     geojson:geometry [ a geojson:Polygon ;
@@ -596,6 +599,7 @@ $schema: https://json-schema.org/draft/2020-12/schema
 description: STAC Collection
 allOf:
 - $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.yaml
+- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml
 - $ref: https://github.com/radiantearth/stac-spec/raw/master/item-spec/json-schema/item.json
 
 ```
@@ -617,12 +621,7 @@ Links to the schema:
     "id": "@id",
     "properties": "@nest",
     "geometry": {
-      "@context": {
-        "coordinates": {
-          "@container": "@list",
-          "@id": "geojson:coordinates"
-        }
-      },
+      "@context": {},
       "@id": "geojson:geometry"
     },
     "bbox": {
@@ -644,28 +643,39 @@ Links to the schema:
     },
     "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"
+        "type": "dct:type"
       },
       "@id": "rdfs:seeAlso"
     },
+    "coordinates": {
+      "@container": "@list",
+      "@id": "geojson:coordinates"
+    },
+    "href": {
+      "@type": "@id",
+      "@id": "oa:hasTarget"
+    },
+    "rel": {
+      "@context": {
+        "@base": "http://www.iana.org/assignments/relation/"
+      },
+      "@id": "http://www.iana.org/assignments/relation",
+      "@type": "@id"
+    },
+    "hreflang": "dct:language",
+    "title": "rdfs:label",
+    "length": "dct:extent",
+    "created": "dct:created",
+    "updated": "dct:modified",
+    "uriTemplate": {
+      "@type": "xsd:string",
+      "@id": "oa:hasTarget"
+    },
     "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/",
+    "xsd": "http://www.w3.org/2001/XMLSchema#",
     "@version": 1.1
   }
 }
diff --git a/build/register.json b/build/register.json
index c3d0915..4f09b47 100644
--- a/build/register.json
+++ b/build/register.json
@@ -2,7 +2,7 @@
   "name": "OGC Building Blocks for STAC",
   "abstract": "These Building Blocks provide a validation and documentation wrapper over STAC and extension schemas, and aid in transparent re-use of STAC elements",
   "description": "Allows for validation and testing of STAC examples.\n\nSupports definition and testing of transformations to/from STAC from other formats.\n\nImplementers can fork this repository and add additional examples in the `tests/` directory of each Building Block and run validation processes locally.\n\nProvides a framework for documentation and testing of additional extensions.\n",
-  "modified": "2024-05-15T07:12:49.106262",
+  "modified": "2024-05-19T23:58:42.983529",
   "tooling": {
     "bblocks-postprocess": {
       "commitId": "\"18fbb122a3d7cc4de8b9271905f60ee3e86205a6",
@@ -17,21 +17,22 @@
   "validationReport": "https://ogcincubator.github.io/bblocks-stac/build/tests/report.html",
   "imports": [
     "https://opengeospatial.github.io/bblocks/register.json",
-    "https://rob-metalinkage.github.io/bblocks-ogcapi-features/build/register.json"
+    "https://ogcincubator.github.io/bblocks-ogcapi-features/build/register.json",
+    "https://ogcincubator.github.io/bblocks-ogcapi-records/build/register.json"
   ],
   "bblocks": [
     {
-      "itemIdentifier": "ogc.contrib.stac.item",
+      "itemIdentifier": "ogc.contrib.stac.collection",
       "$schema": "https://raw.githubusercontent.com/opengeospatial/bblocks-postprocess/master/ogc/bblocks/metadata-schema.yaml",
-      "name": "STAC Item",
+      "name": "STAC Collection",
       "highlighted": true,
-      "abstract": "A SpatioTemporal Asset Catalogs (STAC) item",
+      "abstract": "A SpatioTemporal Asset Catalogs (STAC) collection.  This building block implements validation of examples using the canonical schema and a JSON-LD context to a map to a RDF format that can support richer logical constraints and integration with related data.",
       "status": "under-development",
       "dateTimeAddition": "2023-12-08T00:00:00Z",
       "itemClass": "schema",
-      "register": "ogc-building-block-register",
+      "register": "ogc-incubator-building-block-register",
       "version": "0.1",
-      "dateOfLastChange": "2024-05-15",
+      "dateOfLastChange": "2024-05-19",
       "sources": [
         {
           "title": "STAC Specification",
@@ -41,52 +42,53 @@
       "scope": "contrib",
       "tags": [
         "stac",
-        "item"
+        "collection"
       ],
       "shaclRules": {},
       "dependsOn": [
-        "ogc.geo.features.feature"
+        "ogc.ogc-utils.json-link",
+        "ogc.api.features.v1.schemas.collection"
       ],
       "schema": {
-        "application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema.yaml",
-        "application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema.json"
+        "application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema.yaml",
+        "application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema.json"
       },
-      "sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/item/schema.yaml",
-      "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/context.jsonld",
-      "sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/item/",
+      "sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/collection/schema.yaml",
+      "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/context.jsonld",
+      "sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/collection/",
       "validationPassed": true,
-      "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/item/",
+      "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/collection/",
       "documentation": {
-        "json-full": {
-          "mediatype": "application/json",
-          "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/item/index.json"
-        },
         "markdown": {
           "mediatype": "text/markdown",
-          "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/item/index.md"
+          "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/collection/index.md"
+        },
+        "json-full": {
+          "mediatype": "application/json",
+          "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/collection/index.json"
         },
         "slate": {
           "mediatype": "text/html",
-          "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/item/"
+          "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/collection/"
         },
         "bblocks-viewer": {
           "mediatype": "text/html",
-          "url": "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.item"
+          "url": "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.collection"
         }
       }
     },
     {
-      "itemIdentifier": "ogc.contrib.stac.collection",
+      "itemIdentifier": "ogc.contrib.stac.item",
       "$schema": "https://raw.githubusercontent.com/opengeospatial/bblocks-postprocess/master/ogc/bblocks/metadata-schema.yaml",
-      "name": "STAC Collection",
+      "name": "STAC Item",
       "highlighted": true,
-      "abstract": "A SpatioTemporal Asset Catalogs (STAC) collection.  This building block implements validation of examples using the canonical schema and a JSON-LD context to a map to a RDF format that can support richer logical constraints and integration with related data.",
+      "abstract": "A SpatioTemporal Asset Catalogs (STAC) item",
       "status": "under-development",
       "dateTimeAddition": "2023-12-08T00:00:00Z",
       "itemClass": "schema",
-      "register": "ogc-incubator-building-block-register",
+      "register": "ogc-building-block-register",
       "version": "0.1",
-      "dateOfLastChange": "2024-05-15",
+      "dateOfLastChange": "2024-05-19",
       "sources": [
         {
           "title": "STAC Specification",
@@ -96,38 +98,38 @@
       "scope": "contrib",
       "tags": [
         "stac",
-        "collection"
+        "item"
       ],
       "shaclRules": {},
       "dependsOn": [
-        "ogc.api.features.v1.schemas.collection",
-        "ogc.ogc-utils.json-link"
+        "ogc.api.records.v1.schemas.recordGeoJSON",
+        "ogc.geo.features.feature"
       ],
       "schema": {
-        "application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema.yaml",
-        "application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema.json"
+        "application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema.yaml",
+        "application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema.json"
       },
-      "sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/collection/schema.yaml",
-      "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/context.jsonld",
-      "sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/collection/",
+      "sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/item/schema.yaml",
+      "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/context.jsonld",
+      "sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/item/",
       "validationPassed": true,
-      "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/collection/",
+      "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/item/",
       "documentation": {
-        "json-full": {
-          "mediatype": "application/json",
-          "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/collection/index.json"
-        },
         "markdown": {
           "mediatype": "text/markdown",
-          "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/collection/index.md"
+          "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/item/index.md"
+        },
+        "json-full": {
+          "mediatype": "application/json",
+          "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/item/index.json"
         },
         "slate": {
           "mediatype": "text/html",
-          "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/collection/"
+          "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/item/"
         },
         "bblocks-viewer": {
           "mediatype": "text/html",
-          "url": "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.collection"
+          "url": "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.item"
         }
       }
     },
@@ -141,7 +143,7 @@
       "itemClass": "schema",
       "register": "bblocks-stac",
       "version": "0.1",
-      "dateOfLastChange": "2024-05-15",
+      "dateOfLastChange": "2024-05-19",
       "link": "https://github.com/stac-extensions/eo",
       "sources": [
         {
@@ -171,14 +173,14 @@
       "validationPassed": true,
       "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/extensions/eo/",
       "documentation": {
-        "json-full": {
-          "mediatype": "application/json",
-          "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/extensions/eo/index.json"
-        },
         "markdown": {
           "mediatype": "text/markdown",
           "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/extensions/eo/index.md"
         },
+        "json-full": {
+          "mediatype": "application/json",
+          "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/extensions/eo/index.json"
+        },
         "slate": {
           "mediatype": "text/html",
           "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/extensions/eo/"
@@ -199,7 +201,7 @@
       "itemClass": "schema",
       "register": "ogc-building-block-register",
       "version": "0.1",
-      "dateOfLastChange": "2024-05-15",
+      "dateOfLastChange": "2024-05-19",
       "link": "https://github.com/stac-extensions/raster",
       "sources": [
         {
@@ -228,14 +230,14 @@
       "validationPassed": true,
       "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/extensions/raster/",
       "documentation": {
-        "json-full": {
-          "mediatype": "application/json",
-          "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/extensions/raster/index.json"
-        },
         "markdown": {
           "mediatype": "text/markdown",
           "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/extensions/raster/index.md"
         },
+        "json-full": {
+          "mediatype": "application/json",
+          "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/extensions/raster/index.json"
+        },
         "slate": {
           "mediatype": "text/html",
           "url": "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/extensions/raster/"
diff --git a/build/tests/contrib/stac/collection/_report.json b/build/tests/contrib/stac/collection/_report.json
index 15d22f8..4ffad1a 100644
--- a/build/tests/contrib/stac/collection/_report.json
+++ b/build/tests/contrib/stac/collection/_report.json
@@ -2,7 +2,7 @@
   "title": "Validation report for ogc.contrib.stac.collection - STAC Collection",
   "bblockName": "STAC Collection",
   "bblockId": "ogc.contrib.stac.collection",
-  "generated": "2024-05-15T07:13:01.688799+00:00",
+  "generated": "2024-05-19T23:58:54.140984+00:00",
   "result": true,
   "items": [
     {
diff --git a/build/tests/contrib/stac/collection/example_1_1.validation_passed.txt b/build/tests/contrib/stac/collection/example_1_1.validation_passed.txt
index 2df240f..516643c 100644
--- a/build/tests/contrib/stac/collection/example_1_1.validation_passed.txt
+++ b/build/tests/contrib/stac/collection/example_1_1.validation_passed.txt
@@ -1,5 +1,5 @@
 Validation report for ogc.contrib.stac.collection - STAC Collection
-Generated 2024-05-15T07:13:01.688733+00:00
+Generated 2024-05-19T23:58:54.140896+00:00
 === Files ===
 Using example_1_1.json from examples
 JSON-LD context is present - uplifting
diff --git a/build/tests/contrib/stac/extensions/eo/_report.json b/build/tests/contrib/stac/extensions/eo/_report.json
index bcba232..8a23e01 100644
--- a/build/tests/contrib/stac/extensions/eo/_report.json
+++ b/build/tests/contrib/stac/extensions/eo/_report.json
@@ -2,7 +2,7 @@
   "title": "Validation report for ogc.contrib.stac.extensions.eo - STAC Electro-Optical Extension",
   "bblockName": "STAC Electro-Optical Extension",
   "bblockId": "ogc.contrib.stac.extensions.eo",
-  "generated": "2024-05-15T07:13:03.186768+00:00",
+  "generated": "2024-05-19T23:58:58.014529+00:00",
   "result": true,
   "items": [
     {
@@ -127,7 +127,7 @@
               "op": "ttl-create",
               "empty": false,
               "filename": "example_2_1.ttl",
-              "size": 62,
+              "size": 64,
               "isError": false,
               "message": "Output Turtle example_2_1.ttl created"
             }
diff --git a/build/tests/contrib/stac/extensions/eo/example_1_1.validation_passed.txt b/build/tests/contrib/stac/extensions/eo/example_1_1.validation_passed.txt
index 44bf661..e238a61 100644
--- a/build/tests/contrib/stac/extensions/eo/example_1_1.validation_passed.txt
+++ b/build/tests/contrib/stac/extensions/eo/example_1_1.validation_passed.txt
@@ -1,5 +1,5 @@
 Validation report for ogc.contrib.stac.extensions.eo - STAC Electro-Optical Extension
-Generated 2024-05-15T07:13:02.237283+00:00
+Generated 2024-05-19T23:58:56.547350+00:00
 === Files ===
 Using example_1_1.json from examples
 JSON-LD context is present - uplifting
diff --git a/build/tests/contrib/stac/extensions/eo/example_2_1.ttl b/build/tests/contrib/stac/extensions/eo/example_2_1.ttl
index ca90bb9..1ce942a 100644
--- a/build/tests/contrib/stac/extensions/eo/example_2_1.ttl
+++ b/build/tests/contrib/stac/extensions/eo/example_2_1.ttl
@@ -1,26 +1,28 @@
 @prefix dcterms:  .
 @prefix geojson:  .
-@prefix ns1:  .
-@prefix ns2:  .
+@prefix ns1:  .
+@prefix ns2:  .
 @prefix oa:  .
 @prefix rdf:  .
 @prefix rdfs:  .
 @prefix xsd:  .
 
  a geojson:Feature ;
-    ns1:cloud_cover 1.2e+00 ;
-    ns1:snow_cover 0 ;
+    ns2:cloud_cover 1.2e+00 ;
+    ns2:snow_cover 0 ;
+    dcterms:created "2020-12-12T01:48:13.725Z" ;
+    dcterms:modified "2020-12-12T01:48:13.725Z" ;
     rdfs:seeAlso [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
-            ns2:relation  ;
+            ns1:relation  ;
             oa:hasTarget  ],
         [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
-            ns2:relation  ;
+            ns1:relation  ;
             oa:hasTarget  ],
         [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
-            ns2:relation  ;
+            ns1:relation  ;
             oa:hasTarget  ] ;
     geojson:bbox ( 1.729117e+02 1.343885e+00 1.729547e+02 1.369048e+00 ) ;
     geojson:geometry [ a geojson:Polygon ;
diff --git a/build/tests/contrib/stac/extensions/eo/example_2_1.validation_passed.txt b/build/tests/contrib/stac/extensions/eo/example_2_1.validation_passed.txt
index a39589c..e6bac0d 100644
--- a/build/tests/contrib/stac/extensions/eo/example_2_1.validation_passed.txt
+++ b/build/tests/contrib/stac/extensions/eo/example_2_1.validation_passed.txt
@@ -1,5 +1,5 @@
 Validation report for ogc.contrib.stac.extensions.eo - STAC Electro-Optical Extension
-Generated 2024-05-15T07:13:03.186699+00:00
+Generated 2024-05-19T23:58:58.014455+00:00
 === Files ===
 Using example_2_1.json from examples
 JSON-LD context is present - uplifting
diff --git a/build/tests/contrib/stac/extensions/raster/_report.json b/build/tests/contrib/stac/extensions/raster/_report.json
index 5055a97..ddc654d 100644
--- a/build/tests/contrib/stac/extensions/raster/_report.json
+++ b/build/tests/contrib/stac/extensions/raster/_report.json
@@ -2,7 +2,7 @@
   "title": "Validation report for ogc.contrib.stac.extensions.raster - STAC Raster Extension",
   "bblockName": "STAC Raster Extension",
   "bblockId": "ogc.contrib.stac.extensions.raster",
-  "generated": "2024-05-15T07:13:04.512606+00:00",
+  "generated": "2024-05-19T23:58:59.203601+00:00",
   "result": true,
   "items": [
     {
diff --git a/build/tests/contrib/stac/extensions/raster/example_1_1.ttl b/build/tests/contrib/stac/extensions/raster/example_1_1.ttl
index d43ef5a..cd9d4c3 100644
--- a/build/tests/contrib/stac/extensions/raster/example_1_1.ttl
+++ b/build/tests/contrib/stac/extensions/raster/example_1_1.ttl
@@ -1,32 +1,32 @@
 @prefix dct:  .
 @prefix geojson:  .
-@prefix ns1:  .
-@prefix ns2:  .
-@prefix ns3:  .
-@prefix ns4:  .
-@prefix ns5:  .
-@prefix ns6:  .
+@prefix ns1:  .
+@prefix ns2:  .
+@prefix ns3:  .
+@prefix ns4:  .
+@prefix ns5:  .
+@prefix ns6:  .
 @prefix oa:  .
 @prefix rdf:  .
 @prefix rdfs:  .
 @prefix xsd:  .
 
  a geojson:Feature ;
-    ns2:cloud_cover 2.122e+01 ;
+    ns3:cloud_cover 2.122e+01 ;
     rdfs:seeAlso [ dct:type "application/json" ;
-            ns4:relation  ;
+            ns5:relation  ;
             oa:hasTarget  ] ;
     geojson:bbox ( 1.386148e+01 3.695257e+01 1.511107e+01 3.794753e+01 ) ;
     geojson:geometry [ a geojson:Polygon ;
             geojson:coordinates ( ( ( 1.387638e+01 3.695257e+01 ) ( 1.386148e+01 3.794207e+01 ) ( 1.511107e+01 3.794753e+01 ) ( 1.510962e+01 3.695784e+01 ) ( 1.387638e+01 3.695257e+01 ) ) ) ] ;
-    ns3:epsg 32633 ;
-    ns1:data_coverage 100 ;
-    ns1:grid_square "VB" ;
-    ns1:latitude_band "S" ;
-    ns1:product_id "S2B_MSIL2A_20210221T095029_N0214_R079_T33SVB_20210221T115149" ;
-    ns1:sequence "0" ;
-    ns1:utm_zone 33 ;
-    ns1:valid_cloud_cover true ;
-    ns6:off_nadir 0 ;
-    ns5:assets [ ] .
+    ns6:epsg 32633 ;
+    ns2:data_coverage 100 ;
+    ns2:grid_square "VB" ;
+    ns2:latitude_band "S" ;
+    ns2:product_id "S2B_MSIL2A_20210221T095029_N0214_R079_T33SVB_20210221T115149" ;
+    ns2:sequence "0" ;
+    ns2:utm_zone 33 ;
+    ns2:valid_cloud_cover true ;
+    ns1:off_nadir 0 ;
+    ns4:assets [ ] .
 
diff --git a/build/tests/contrib/stac/extensions/raster/example_1_1.validation_passed.txt b/build/tests/contrib/stac/extensions/raster/example_1_1.validation_passed.txt
index 5def815..d804e42 100644
--- a/build/tests/contrib/stac/extensions/raster/example_1_1.validation_passed.txt
+++ b/build/tests/contrib/stac/extensions/raster/example_1_1.validation_passed.txt
@@ -1,5 +1,5 @@
 Validation report for ogc.contrib.stac.extensions.raster - STAC Raster Extension
-Generated 2024-05-15T07:13:04.512536+00:00
+Generated 2024-05-19T23:58:59.203502+00:00
 === Files ===
 Using example_1_1.json from examples
 JSON-LD context is present - uplifting
diff --git a/build/tests/contrib/stac/item/_report.json b/build/tests/contrib/stac/item/_report.json
index a88be75..e1321ea 100644
--- a/build/tests/contrib/stac/item/_report.json
+++ b/build/tests/contrib/stac/item/_report.json
@@ -2,7 +2,7 @@
   "title": "Validation report for ogc.contrib.stac.item - STAC Item",
   "bblockName": "STAC Item",
   "bblockId": "ogc.contrib.stac.item",
-  "generated": "2024-05-15T07:13:00.846014+00:00",
+  "generated": "2024-05-19T23:58:56.161813+00:00",
   "result": true,
   "items": [
     {
@@ -127,7 +127,7 @@
               "op": "ttl-create",
               "empty": false,
               "filename": "example_2_1.ttl",
-              "size": 65,
+              "size": 68,
               "isError": false,
               "message": "Output Turtle example_2_1.ttl created"
             }
diff --git a/build/tests/contrib/stac/item/example_1_1.validation_passed.txt b/build/tests/contrib/stac/item/example_1_1.validation_passed.txt
index 1d2da74..6458744 100644
--- a/build/tests/contrib/stac/item/example_1_1.validation_passed.txt
+++ b/build/tests/contrib/stac/item/example_1_1.validation_passed.txt
@@ -1,5 +1,5 @@
 Validation report for ogc.contrib.stac.item - STAC Item
-Generated 2024-05-15T07:13:00.833715+00:00
+Generated 2024-05-19T23:58:56.147537+00:00
 === Files ===
 Using example_1_1.json from examples
 JSON-LD context is present - uplifting
diff --git a/build/tests/contrib/stac/item/example_2_1.ttl b/build/tests/contrib/stac/item/example_2_1.ttl
index f51d183..ef9ef80 100644
--- a/build/tests/contrib/stac/item/example_2_1.ttl
+++ b/build/tests/contrib/stac/item/example_2_1.ttl
@@ -7,13 +7,16 @@
 @prefix xsd:  .
 
  a geojson:Feature ;
+    rdfs:label "Core Item" ;
+    dcterms:created "2020-12-12T01:48:13.725Z" ;
+    dcterms:modified "2020-12-12T01:48:13.725Z" ;
     rdfs:seeAlso [ rdfs:label "HTML version of this STAC Item" ;
             dcterms:type "text/html" ;
             ns1:relation  ;
             oa:hasTarget  ],
         [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
-            ns1:relation  ;
+            ns1:relation  ;
             oa:hasTarget  ],
         [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
@@ -21,7 +24,7 @@
             oa:hasTarget  ],
         [ rdfs:label "Simple Example Collection" ;
             dcterms:type "application/json" ;
-            ns1:relation  ;
+            ns1:relation  ;
             oa:hasTarget  ] ;
     geojson:bbox ( 1.729117e+02 1.343885e+00 1.729547e+02 1.369048e+00 ) ;
     geojson:geometry [ a geojson:Polygon ;
diff --git a/build/tests/contrib/stac/item/example_2_1.validation_passed.txt b/build/tests/contrib/stac/item/example_2_1.validation_passed.txt
index feed5d9..94571c2 100644
--- a/build/tests/contrib/stac/item/example_2_1.validation_passed.txt
+++ b/build/tests/contrib/stac/item/example_2_1.validation_passed.txt
@@ -1,5 +1,5 @@
 Validation report for ogc.contrib.stac.item - STAC Item
-Generated 2024-05-15T07:13:00.845954+00:00
+Generated 2024-05-19T23:58:56.161754+00:00
 === Files ===
 Using example_2_1.json from examples
 JSON-LD context is present - uplifting
diff --git a/build/tests/report.html b/build/tests/report.html
index 07f11dc..9c174e1 100644
--- a/build/tests/report.html
+++ b/build/tests/report.html
@@ -51,7 +51,7 @@
     
         
                 
-
+

-
+

- Test passed: 2 / 2 + Test passed: 1 / 1

@@ -91,7 +91,7 @@

Details - example_1_1.json + example_1_1.json Example
Passed @@ -110,6 +110,30 @@

+
+
+
+
+

+ +

+
+
+

+ Test passed: 2 / 2 +

@@ -120,7 +144,7 @@

Details - example_2_1.json + example_1_1.json Example
Passed @@ -129,40 +153,16 @@

Files
-
Using example_2_1.json from examples
+
Using example_1_1.json from examples
JSON-LD context is present - uplifting
-
Output JSON-LD example_2_1.jsonld created
-
Output Turtle example_2_1.ttl created
+
Output JSON-LD example_1_1.jsonld created
+
Output Turtle example_1_1.ttl created
JSON Schema
Validation passed

-
-
-
-
-

- -

-
-
-

- Test passed: 1 / 1 -

@@ -173,7 +173,7 @@

Details - example_1_1.json + example_2_1.json Example
Passed @@ -182,10 +182,10 @@

Files
-
Using example_1_1.json from examples
+
Using example_2_1.json from examples
JSON-LD context is present - uplifting
-
Output JSON-LD example_1_1.jsonld created
-
Output Turtle example_1_1.ttl created
+
Output JSON-LD example_2_1.jsonld created
+
Output Turtle example_2_1.ttl created
JSON Schema
Validation passed