diff --git a/build/annotated/contrib/stac/collection/schema-oas3.0.json b/build/annotated/contrib/stac/collection/schema-oas3.0.json index 74a770c..828eecc 100644 --- a/build/annotated/contrib/stac/collection/schema-oas3.0.json +++ b/build/annotated/contrib/stac/collection/schema-oas3.0.json @@ -7,7 +7,7 @@ "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/github.com_radiantearth_stac-spec_raw_master_collection-spec_json-schema_collection.json" }, { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/ogc.api.records.core" + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.recordGeoJSON" }, { "type": "object", @@ -312,15 +312,174 @@ "x-schema-version": "http://json-schema.org/draft-07/schema#", "x-schema-source": "https://schemas.stacspec.org/v1.0.0/collection-spec/json-schema/collection.json#" }, - "ogc.api.records.core": { - "description": "Normative records schema", - "allOf": [ - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_recordGeoJSON.yaml" - } + "ogc.api.records.v1.schemas.recordGeoJSON": { + "type": "object", + "required": [ + "id", + "type", + "geometry", + "properties", + "links" ], - "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/core/schema.json" + "properties": { + "id": { + "type": "string", + "description": "A unique identifier of the catalog record.", + "format": "uri" + }, + "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/collection/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/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml" + } + ] + }, + "properties": { + "type": "object", + "required": [ + "type", + "title" + ], + "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/collection/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/collection/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/collection/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/collection/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.contact" + } + }, + "license": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/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/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" + } + }, + "linkTemplates": { + "type": "array", + "items": { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/ogc.api.records.v1.schemas.linkTemplate" + } + } + }, + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.json" }, "ogc.ogc-utils.json-link": { "description": "JSON Link", @@ -1177,317 +1336,532 @@ "x-schema-version": "http://json-schema.org/draft-07/schema#", "x-schema-source": "http://json-schema.org/draft-07/schema#" }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_recordGeoJSON.yaml": { + "ogc.api.records.v1.schemas.time": { "type": "object", - "required": [ - "id", - "type", - "time", - "geometry", - "properties", - "links" - ], + "nullable": true, "properties": { - "id": { + "date": { "type": "string", - "description": "A unique identifier of the catalog record.", - "format": "uri" + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" }, - "conformsTo": { + "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": { - "type": "string" + "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": [ + ".." + ] + } + ] } }, - "type": { + "resolution": { "type": "string", - "enum": [ - "Feature" + "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" + }, + "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml": { + "oneOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml" }, - "time": { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_time.yaml" + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipointGeoJSON.yaml" }, - "geometry": { - "oneOf": [ - { - "enum": [ - null - ] - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml" - } - ] + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_linestringGeoJSON.yaml" }, - "properties": { - "type": "object", - "required": [ - "type", - "title" - ], - "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/collection/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml" - } - }, - "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/collection/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml" - } - }, - "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/collection/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_theme.yaml" - } - }, - "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/collection/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_contact.yaml" - } - }, - "license": { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_license.yaml" - }, - "rights": { - "type": "string", - "description": "A statement that concerns all rights not addressed by the license such as a copyright statement." - } - } + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multilinestringGeoJSON.yaml" }, - "links": { - "type": "array", - "items": { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" - } + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_polygonGeoJSON.yaml" }, - "linkTemplates": { - "type": "array", - "items": { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkTemplate.yaml" - } - } - }, - "x-schema-source": "https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/recordGeoJSON.yaml" - }, - "schemas.stacspec.org_v1.0.0_item-spec_json-schema_basics.json": { - "title": "Basic Descriptive Fields", - "type": "object", - "properties": { - "title": { - "title": "Item Title", - "description": "A human-readable title describing the Item.", - "type": "string" + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipolygonGeoJSON.yaml" }, - "description": { - "title": "Item Description", - "description": "Detailed multi-line description to fully explain the Item.", - "type": "string" + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometrycollectionGeoJSON.yaml" } - }, - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/basics.json#" + ], + "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml" }, - "schemas.stacspec.org_v1.0.0_item-spec_json-schema_datetime.json": { - "title": "Date and Time Fields", + "ogc.api.records.v1.schemas.language": { "type": "object", - "dependencies": { - "start_datetime": { - "required": [ - "end_datetime" - ] - }, - "end_datetime": { - "required": [ - "start_datetime" - ] - } - }, + "description": "The language used for textual values in this record.", + "required": [ + "code" + ], "properties": { - "datetime": { - "title": "Date and Time", - "description": "The searchable date/time of the assets, in UTC (Formatted in RFC 3339) ", - "type": "string", - "format": "date-time", - "pattern": "(\\+00:00|Z)$", - "nullable": true - }, - "start_datetime": { - "title": "Start Date and Time", - "description": "The searchable start date/time of the assets, in UTC (Formatted in RFC 3339) ", - "type": "string", - "format": "date-time", - "pattern": "(\\+00:00|Z)$" - }, - "end_datetime": { - "title": "End Date and Time", - "description": "The searchable end date/time of the assets, in UTC (Formatted in RFC 3339) ", + "code": { "type": "string", - "format": "date-time", - "pattern": "(\\+00:00|Z)$" + "description": "The language tag as per RFC-5646.", + "example": "el" }, - "created": { - "title": "Creation Time", + "name": { "type": "string", - "format": "date-time", - "pattern": "(\\+00:00|Z)$" + "minLength": 1, + "description": "The untranslated name of of the language.", + "example": "\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac" }, - "updated": { - "title": "Last Update Time", + "alternate": { "type": "string", - "format": "date-time", - "pattern": "(\\+00:00|Z)$" - } - }, - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/datetime.json#" - }, - "schemas.stacspec.org_v1.0.0_item-spec_json-schema_instrument.json": { - "title": "Instrument Fields", - "type": "object", - "properties": { - "platform": { - "title": "Platform", - "type": "string" - }, - "instruments": { - "title": "Instruments", - "type": "array", - "items": { - "type": "string" - } - }, - "constellation": { - "title": "Constellation", - "type": "string" - }, - "mission": { - "title": "Mission", - "type": "string" + "description": "The name of the language in another well-understood language, usually English.", + "example": "Greek" }, - "gsd": { - "title": "Ground Sample Distance", - "type": "number", - "exclusiveMinimum": 0 - } - }, - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/instrument.json#" - }, - "schemas.stacspec.org_v1.0.0_item-spec_json-schema_licensing.json": { - "title": "Licensing Fields", - "type": "object", - "properties": { - "license": { + "dir": { "type": "string", - "pattern": "^[\\w\\-\\.\\+]+$" + "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-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/licensing.json#" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.json" }, - "schemas.stacspec.org_v1.0.0_item-spec_json-schema_provider.json": { - "title": "Provider Fields", + "ogc.api.records.v1.schemas.theme": { "type": "object", + "required": [ + "concepts", + "scheme" + ], "properties": { - "providers": { - "title": "Providers", + "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": [ - "name" + "id" ], "properties": { - "name": { - "title": "Organization name", + "id": { "type": "string", - "minLength": 1 + "description": "An identifier for the concept." }, - "description": { - "title": "Organization description", - "type": "string" + "title": { + "type": "string", + "description": "A human readable title for the concept." }, - "roles": { - "title": "Organization roles", - "type": "array", - "items": { - "type": "string", - "enum": [ - "producer", - "licensor", - "processor", - "host" - ] - } + "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": { + "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/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" + }, + { + "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/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" + }, + { + "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" + }, + "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml": { + "type": "object", + "required": [ + "href", + "rel" + ], + "properties": { + "href": { + "type": "string", + "example": "http://data.example.com/buildings/123" + }, + "rel": { + "type": "string", + "example": "alternate" + }, + "type": { + "type": "string", + "example": "application/geo+json" + }, + "hreflang": { + "type": "string", + "example": "en" + }, + "title": { + "type": "string", + "example": "Trierer Strasse 70, 53115 Bonn" + }, + "length": { + "type": "integer" + } + }, + "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml" + }, + "ogc.api.records.v1.schemas.linkTemplate": { + "allOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/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}" + }, + "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-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_basics.json": { + "title": "Basic Descriptive Fields", + "type": "object", + "properties": { + "title": { + "title": "Item Title", + "description": "A human-readable title describing the Item.", + "type": "string" + }, + "description": { + "title": "Item Description", + "description": "Detailed multi-line description to fully explain the Item.", + "type": "string" + } + }, + "x-schema-version": "http://json-schema.org/draft-07/schema#", + "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/basics.json#" + }, + "schemas.stacspec.org_v1.0.0_item-spec_json-schema_datetime.json": { + "title": "Date and Time Fields", + "type": "object", + "dependencies": { + "start_datetime": { + "required": [ + "end_datetime" + ] + }, + "end_datetime": { + "required": [ + "start_datetime" + ] + } + }, + "properties": { + "datetime": { + "title": "Date and Time", + "description": "The searchable date/time of the assets, in UTC (Formatted in RFC 3339) ", + "type": "string", + "format": "date-time", + "pattern": "(\\+00:00|Z)$", + "nullable": true + }, + "start_datetime": { + "title": "Start Date and Time", + "description": "The searchable start date/time of the assets, in UTC (Formatted in RFC 3339) ", + "type": "string", + "format": "date-time", + "pattern": "(\\+00:00|Z)$" + }, + "end_datetime": { + "title": "End Date and Time", + "description": "The searchable end date/time of the assets, in UTC (Formatted in RFC 3339) ", + "type": "string", + "format": "date-time", + "pattern": "(\\+00:00|Z)$" + }, + "created": { + "title": "Creation Time", + "type": "string", + "format": "date-time", + "pattern": "(\\+00:00|Z)$" + }, + "updated": { + "title": "Last Update Time", + "type": "string", + "format": "date-time", + "pattern": "(\\+00:00|Z)$" + } + }, + "x-schema-version": "http://json-schema.org/draft-07/schema#", + "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/datetime.json#" + }, + "schemas.stacspec.org_v1.0.0_item-spec_json-schema_instrument.json": { + "title": "Instrument Fields", + "type": "object", + "properties": { + "platform": { + "title": "Platform", + "type": "string" + }, + "instruments": { + "title": "Instruments", + "type": "array", + "items": { + "type": "string" + } + }, + "constellation": { + "title": "Constellation", + "type": "string" + }, + "mission": { + "title": "Mission", + "type": "string" + }, + "gsd": { + "title": "Ground Sample Distance", + "type": "number", + "exclusiveMinimum": 0 + } + }, + "x-schema-version": "http://json-schema.org/draft-07/schema#", + "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/instrument.json#" + }, + "schemas.stacspec.org_v1.0.0_item-spec_json-schema_licensing.json": { + "title": "Licensing Fields", + "type": "object", + "properties": { + "license": { + "type": "string", + "pattern": "^[\\w\\-\\.\\+]+$" + } + }, + "x-schema-version": "http://json-schema.org/draft-07/schema#", + "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/licensing.json#" + }, + "schemas.stacspec.org_v1.0.0_item-spec_json-schema_provider.json": { + "title": "Provider Fields", + "type": "object", + "properties": { + "providers": { + "title": "Providers", + "type": "array", + "items": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "title": "Organization name", + "type": "string", + "minLength": 1 + }, + "description": { + "title": "Organization description", + "type": "string" + }, + "roles": { + "title": "Organization roles", + "type": "array", + "items": { + "type": "string", + "enum": [ + "producer", + "licensor", + "processor", + "host" + ] + } }, "url": { "title": "Organization homepage", @@ -2001,183 +2375,12 @@ }, "x-schema-version": "http://json-schema.org/draft-07/schema#", "x-schema-source": "https://geojson.org/schema/Feature.json" - }, - "geojson.org_schema_Geometry.json": { - "title": "GeoJSON Geometry", - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, + }, + "geojson.org_schema_Geometry.json": { + "title": "GeoJSON Geometry", + "oneOf": [ { - "title": "GeoJSON MultiPolygon", + "title": "GeoJSON Point", "type": "object", "required": [ "type", @@ -2187,24 +2390,14 @@ "type": { "type": "string", "enum": [ - "MultiPolygon" + "Point" ] }, "coordinates": { "type": "array", + "minItems": 2, "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } + "type": "number" } }, "bbox": { @@ -2215,386 +2408,191 @@ } } } - } - ], - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://geojson.org/schema/Geometry.json" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_time.yaml": { - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/time.yaml" - }, - "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml": { - "oneOf": [ - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipointGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_linestringGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multilinestringGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_polygonGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipolygonGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometrycollectionGeoJSON.yaml" - } - ], - "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml": { - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/language.yaml" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_theme.yaml": { - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/theme.yaml" - }, - "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" - ] }, { + "title": "GeoJSON LineString", + "type": "object", "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/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" + "type", + "coordinates" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "LineString" + ] }, - { - "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": {} + "coordinates": { + "type": "array", + "minItems": 2, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } } } }, - "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": {} + { + "title": "GeoJSON Polygon", + "type": "object", + "required": [ + "type", + "coordinates" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "Polygon" + ] + }, + "coordinates": { + "type": "array", + "items": { + "type": "array", + "minItems": 4, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } } } }, - "addresses": { - "type": "array", - "description": "Physical location at which contact can be made.", - "items": { - "type": "object", - "properties": { - "deliveryPoint": { + { + "title": "GeoJSON MultiPoint", + "type": "object", + "required": [ + "type", + "coordinates" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "MultiPoint" + ] + }, + "coordinates": { + "type": "array", + "items": { "type": "array", - "description": "Address lines for the location.", + "minItems": 2, "items": { - "type": "string" + "type": "number" } - }, - "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": {} + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } } } }, - "links": { - "type": "array", - "description": "On-line information about the contact.", - "items": { - "allOf": [ - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" - }, - { - "type": "object", - "required": [ - "type" - ] + { + "title": "GeoJSON MultiLineString", + "type": "object", + "required": [ + "type", + "coordinates" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "MultiLineString" + ] + }, + "coordinates": { + "type": "array", + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } } - ] + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } } }, - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/contact.yaml" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_license.yaml": { - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/license.yaml" - }, - "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml": { - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "example": "http://data.example.com/buildings/123" - }, - "rel": { - "type": "string", - "example": "alternate" - }, - "type": { - "type": "string", - "example": "application/geo+json" - }, - "hreflang": { - "type": "string", - "example": "en" - }, - "title": { - "type": "string", - "example": "Trierer Strasse 70, 53115 Bonn" - }, - "length": { - "type": "integer" - } - }, - "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkTemplate.yaml": { - "allOf": [ - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkBase.yaml" - }, { + "title": "GeoJSON MultiPolygon", "type": "object", "required": [ - "uriTemplate" + "type", + "coordinates" ], "properties": { - "uriTemplate": { + "type": { "type": "string", - "description": "Supplies a resolvable URI to a remote resource (or resource fragment).", - "example": "http://data.example.com/buildings/(building-id}" + "enum": [ + "MultiPolygon" + ] }, - "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" + "coordinates": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "minItems": 4, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + } + } }, - "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." + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } } } } ], - "x-schema-source": "https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkTemplate.yaml" + "x-schema-version": "http://json-schema.org/draft-07/schema#", + "x-schema-source": "https://geojson.org/schema/Geometry.json" }, "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml": { "type": "object", @@ -2787,16 +2785,16 @@ }, "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometrycollectionGeoJSON.yaml" }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_roles.yaml": { + "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/roles.yaml" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/roles/schema.json" }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkBase.yaml": { + "ogc.api.records.v1.schemas.linkBase": { "type": "object", "properties": { "rel": { @@ -2833,7 +2831,7 @@ "format": "date-time" } }, - "x-schema-source": "https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkBase.yaml" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkBase/schema.json" } }, "allOf": [ diff --git a/build/annotated/contrib/stac/collection/schema-oas3.0.yaml b/build/annotated/contrib/stac/collection/schema-oas3.0.yaml index 07200bb..e9a07f3 100644 --- a/build/annotated/contrib/stac/collection/schema-oas3.0.yaml +++ b/build/annotated/contrib/stac/collection/schema-oas3.0.yaml @@ -3,7 +3,7 @@ x-defs: description: STAC Collection allOf: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/github.com_radiantearth_stac-spec_raw_master_collection-spec_json-schema_collection.json - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/ogc.api.records.core + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.recordGeoJSON - type: object properties: links: @@ -214,12 +214,131 @@ x-defs: for details. x-schema-version: http://json-schema.org/draft-07/schema# x-schema-source: https://schemas.stacspec.org/v1.0.0/collection-spec/json-schema/collection.json# - ogc.api.records.core: - description: Normative records schema - allOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_recordGeoJSON.yaml - 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/core/schema.yaml + ogc.api.records.v1.schemas.recordGeoJSON: + type: object + required: + - id + - type + - geometry + - properties + - links + properties: + id: + type: string + description: A unique identifier of the catalog record. + format: uri + 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/collection/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/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml + properties: + type: object + required: + - type + - title + 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/collection/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/collection/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/collection/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/collection/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.contact + license: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/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/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml + linkTemplates: + type: array + items: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/ogc.api.records.v1.schemas.linkTemplate + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml ogc.ogc-utils.json-link: description: JSON Link type: object @@ -787,129 +906,290 @@ x-defs: - type: boolean x-schema-version: http://json-schema.org/draft-07/schema# x-schema-source: http://json-schema.org/draft-07/schema# - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_recordGeoJSON.yaml: + ogc.api.records.v1.schemas.time: type: object - required: - - id - - type - - time - - geometry - - properties - - links + nullable: true properties: - id: + date: type: string - description: A unique identifier of the catalog record. - format: uri - conformsTo: + 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: - type: string - type: + 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 + schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml: + oneOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipointGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_linestringGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multilinestringGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_polygonGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipolygonGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometrycollectionGeoJSON.yaml + x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.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: - - Feature - time: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_time.yaml - geometry: - oneOf: - - enum: - - null - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml - properties: - type: object - required: - - type - - title - 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: + - 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 - 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/collection/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml - 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/collection/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml - 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/collection/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_theme.yaml - formats: - type: array - description: A list of available distributions of the resource. - items: + description: An identifier for the concept. + title: 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/collection/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_contact.yaml - license: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_license.yaml - rights: - type: string - description: A statement that concerns all rights not addressed by the - license such as a copyright statement. - links: + 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: + 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/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml + - type: object + required: + - rel + - type + properties: + rel: + enum: + - icon + phones: type: array + description: Telephone numbers at which contact can be made. items: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml - linkTemplates: + 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: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkTemplate.yaml - x-schema-source: https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/recordGeoJSON.yaml + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml + - 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 + schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml: + type: object + required: + - href + - rel + properties: + href: + type: string + example: http://data.example.com/buildings/123 + rel: + type: string + example: alternate + type: + type: string + example: application/geo+json + hreflang: + type: string + example: en + title: + type: string + example: Trierer Strasse 70, 53115 Bonn + length: + type: integer + x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml + ogc.api.records.v1.schemas.linkTemplate: + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/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} + 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-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 @@ -1517,290 +1797,6 @@ x-defs: type: number x-schema-version: http://json-schema.org/draft-07/schema# x-schema-source: https://geojson.org/schema/Geometry.json - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_time.yaml: - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/time.yaml - schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml: - oneOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipointGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_linestringGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multilinestringGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_polygonGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipolygonGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometrycollectionGeoJSON.yaml - x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml: - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/language.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_theme.yaml: - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/theme.yaml - 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/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml - - 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/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml - - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/contact.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_license.yaml: - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/license.yaml - schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml: - type: object - required: - - href - - rel - properties: - href: - type: string - example: http://data.example.com/buildings/123 - rel: - type: string - example: alternate - type: - type: string - example: application/geo+json - hreflang: - type: string - example: en - title: - type: string - example: Trierer Strasse 70, 53115 Bonn - length: - type: integer - x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkTemplate.yaml: - allOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkBase.yaml - - 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} - 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-schema-source: https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkTemplate.yaml schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml: type: object required: @@ -1934,15 +1930,15 @@ x-defs: items: $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometrycollectionGeoJSON.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_roles.yaml: + 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/roles.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkBase.yaml: + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/roles/schema.yaml + ogc.api.records.v1.schemas.linkBase: type: object properties: rel: @@ -1975,6 +1971,6 @@ x-defs: description: Most recent date on which the resource pointed to by the link was changed. format: date-time - x-schema-source: https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkBase.yaml + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkBase/schema.yaml allOf: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema-oas3.0.yaml#/x-defs/ogc.contrib.stac.collection diff --git a/build/annotated/contrib/stac/collection/schema.json b/build/annotated/contrib/stac/collection/schema.json index d79a8c0..53a3c90 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://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/core/schema.json" + "$ref": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.json" }, { "type": "object", diff --git a/build/annotated/contrib/stac/collection/schema.yaml b/build/annotated/contrib/stac/collection/schema.yaml index 3a714e4..9c2a2a5 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://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/core/schema.yaml +- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml - type: object properties: links: 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 42c3c67..9213d1f 100644 --- a/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json +++ b/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json @@ -28,7 +28,7 @@ "$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_collection-spec_json-schema_collection.json" }, { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.api.records.core" + "$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" }, { "type": "object", @@ -49,7 +49,7 @@ "description": "STAC Collection", "allOf": [ { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/ogc.api.records.core" + "$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" @@ -549,15 +549,174 @@ "x-schema-version": "http://json-schema.org/draft-07/schema#", "x-schema-source": "https://schemas.stacspec.org/v1.0.0/collection-spec/json-schema/collection.json#" }, - "ogc.api.records.core": { - "description": "Normative records schema", - "allOf": [ - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_recordGeoJSON.yaml" - } + "ogc.api.records.v1.schemas.recordGeoJSON": { + "type": "object", + "required": [ + "id", + "type", + "geometry", + "properties", + "links" ], - "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/core/schema.yaml" + "properties": { + "id": { + "type": "string", + "description": "A unique identifier of the catalog record.", + "format": "uri" + }, + "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml" + } + ] + }, + "properties": { + "type": "object", + "required": [ + "type", + "title" + ], + "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" + } + }, + "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-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml" }, "ogc.ogc-utils.json-link": { "description": "JSON Link", @@ -1686,317 +1845,532 @@ "x-schema-version": "http://json-schema.org/draft-07/schema#", "x-schema-source": "http://json-schema.org/draft-07/schema#" }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_recordGeoJSON.yaml": { + "ogc.api.records.v1.schemas.time": { "type": "object", - "required": [ - "id", - "type", - "time", - "geometry", - "properties", - "links" - ], + "nullable": true, "properties": { - "id": { + "date": { "type": "string", - "description": "A unique identifier of the catalog record.", - "format": "uri" + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" }, - "conformsTo": { + "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": { - "type": "string" + "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": [ + ".." + ] + } + ] } }, - "type": { + "resolution": { "type": "string", - "enum": [ - "Feature" + "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" + }, + "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml": { + "oneOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml" }, - "time": { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_time.yaml" + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipointGeoJSON.yaml" }, - "geometry": { - "oneOf": [ - { - "enum": [ - null - ] - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml" - } - ] + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_linestringGeoJSON.yaml" }, - "properties": { - "type": "object", - "required": [ - "type", - "title" - ], - "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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml" - } - }, - "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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml" - } - }, - "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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_theme.yaml" - } - }, - "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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_contact.yaml" - } - }, - "license": { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_license.yaml" - }, - "rights": { - "type": "string", - "description": "A statement that concerns all rights not addressed by the license such as a copyright statement." - } - } + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multilinestringGeoJSON.yaml" }, - "links": { - "type": "array", - "items": { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" - } + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_polygonGeoJSON.yaml" }, - "linkTemplates": { - "type": "array", - "items": { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkTemplate.yaml" - } - } - }, - "x-schema-source": "https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/recordGeoJSON.yaml" - }, - "schemas.stacspec.org_v1.0.0_item-spec_json-schema_basics.json": { - "title": "Basic Descriptive Fields", - "type": "object", - "properties": { - "title": { - "title": "Item Title", - "description": "A human-readable title describing the Item.", - "type": "string" + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipolygonGeoJSON.yaml" }, - "description": { - "title": "Item Description", - "description": "Detailed multi-line description to fully explain the Item.", - "type": "string" + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometrycollectionGeoJSON.yaml" } - }, - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/basics.json#" + ], + "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml" }, - "schemas.stacspec.org_v1.0.0_item-spec_json-schema_datetime.json": { - "title": "Date and Time Fields", + "ogc.api.records.v1.schemas.language": { "type": "object", - "dependencies": { - "start_datetime": { - "required": [ - "end_datetime" - ] - }, - "end_datetime": { - "required": [ - "start_datetime" - ] - } - }, + "description": "The language used for textual values in this record.", + "required": [ + "code" + ], "properties": { - "datetime": { - "title": "Date and Time", - "description": "The searchable date/time of the assets, in UTC (Formatted in RFC 3339) ", - "type": "string", - "format": "date-time", - "pattern": "(\\+00:00|Z)$", - "nullable": true - }, - "start_datetime": { - "title": "Start Date and Time", - "description": "The searchable start date/time of the assets, in UTC (Formatted in RFC 3339) ", - "type": "string", - "format": "date-time", - "pattern": "(\\+00:00|Z)$" - }, - "end_datetime": { - "title": "End Date and Time", - "description": "The searchable end date/time of the assets, in UTC (Formatted in RFC 3339) ", + "code": { "type": "string", - "format": "date-time", - "pattern": "(\\+00:00|Z)$" + "description": "The language tag as per RFC-5646.", + "example": "el" }, - "created": { - "title": "Creation Time", + "name": { "type": "string", - "format": "date-time", - "pattern": "(\\+00:00|Z)$" + "minLength": 1, + "description": "The untranslated name of of the language.", + "example": "\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac" }, - "updated": { - "title": "Last Update Time", + "alternate": { "type": "string", - "format": "date-time", - "pattern": "(\\+00:00|Z)$" - } - }, - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/datetime.json#" - }, - "schemas.stacspec.org_v1.0.0_item-spec_json-schema_instrument.json": { - "title": "Instrument Fields", - "type": "object", - "properties": { - "platform": { - "title": "Platform", - "type": "string" - }, - "instruments": { - "title": "Instruments", - "type": "array", - "items": { - "type": "string" - } - }, - "constellation": { - "title": "Constellation", - "type": "string" - }, - "mission": { - "title": "Mission", - "type": "string" + "description": "The name of the language in another well-understood language, usually English.", + "example": "Greek" }, - "gsd": { - "title": "Ground Sample Distance", - "type": "number", - "exclusiveMinimum": 0 - } - }, - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/instrument.json#" - }, - "schemas.stacspec.org_v1.0.0_item-spec_json-schema_licensing.json": { - "title": "Licensing Fields", - "type": "object", - "properties": { - "license": { + "dir": { "type": "string", - "pattern": "^[\\w\\-\\.\\+]+$" + "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-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/licensing.json#" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml" }, - "schemas.stacspec.org_v1.0.0_item-spec_json-schema_provider.json": { - "title": "Provider Fields", + "ogc.api.records.v1.schemas.theme": { "type": "object", + "required": [ + "concepts", + "scheme" + ], "properties": { - "providers": { - "title": "Providers", + "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": [ - "name" + "id" ], "properties": { - "name": { - "title": "Organization name", + "id": { "type": "string", - "minLength": 1 + "description": "An identifier for the concept." }, - "description": { - "title": "Organization description", - "type": "string" + "title": { + "type": "string", + "description": "A human readable title for the concept." }, - "roles": { - "title": "Organization roles", - "type": "array", - "items": { - "type": "string", - "enum": [ - "producer", - "licensor", - "processor", - "host" - ] - } + "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": { + "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" + }, + { + "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" + }, + { + "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" + }, + "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml": { + "type": "object", + "required": [ + "href", + "rel" + ], + "properties": { + "href": { + "type": "string", + "example": "http://data.example.com/buildings/123" + }, + "rel": { + "type": "string", + "example": "alternate" + }, + "type": { + "type": "string", + "example": "application/geo+json" + }, + "hreflang": { + "type": "string", + "example": "en" + }, + "title": { + "type": "string", + "example": "Trierer Strasse 70, 53115 Bonn" + }, + "length": { + "type": "integer" + } + }, + "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml" + }, + "ogc.api.records.v1.schemas.linkTemplate": { + "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}" + }, + "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-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", + "properties": { + "title": { + "title": "Item Title", + "description": "A human-readable title describing the Item.", + "type": "string" + }, + "description": { + "title": "Item Description", + "description": "Detailed multi-line description to fully explain the Item.", + "type": "string" + } + }, + "x-schema-version": "http://json-schema.org/draft-07/schema#", + "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/basics.json#" + }, + "schemas.stacspec.org_v1.0.0_item-spec_json-schema_datetime.json": { + "title": "Date and Time Fields", + "type": "object", + "dependencies": { + "start_datetime": { + "required": [ + "end_datetime" + ] + }, + "end_datetime": { + "required": [ + "start_datetime" + ] + } + }, + "properties": { + "datetime": { + "title": "Date and Time", + "description": "The searchable date/time of the assets, in UTC (Formatted in RFC 3339) ", + "type": "string", + "format": "date-time", + "pattern": "(\\+00:00|Z)$", + "nullable": true + }, + "start_datetime": { + "title": "Start Date and Time", + "description": "The searchable start date/time of the assets, in UTC (Formatted in RFC 3339) ", + "type": "string", + "format": "date-time", + "pattern": "(\\+00:00|Z)$" + }, + "end_datetime": { + "title": "End Date and Time", + "description": "The searchable end date/time of the assets, in UTC (Formatted in RFC 3339) ", + "type": "string", + "format": "date-time", + "pattern": "(\\+00:00|Z)$" + }, + "created": { + "title": "Creation Time", + "type": "string", + "format": "date-time", + "pattern": "(\\+00:00|Z)$" + }, + "updated": { + "title": "Last Update Time", + "type": "string", + "format": "date-time", + "pattern": "(\\+00:00|Z)$" + } + }, + "x-schema-version": "http://json-schema.org/draft-07/schema#", + "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/datetime.json#" + }, + "schemas.stacspec.org_v1.0.0_item-spec_json-schema_instrument.json": { + "title": "Instrument Fields", + "type": "object", + "properties": { + "platform": { + "title": "Platform", + "type": "string" + }, + "instruments": { + "title": "Instruments", + "type": "array", + "items": { + "type": "string" + } + }, + "constellation": { + "title": "Constellation", + "type": "string" + }, + "mission": { + "title": "Mission", + "type": "string" + }, + "gsd": { + "title": "Ground Sample Distance", + "type": "number", + "exclusiveMinimum": 0 + } + }, + "x-schema-version": "http://json-schema.org/draft-07/schema#", + "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/instrument.json#" + }, + "schemas.stacspec.org_v1.0.0_item-spec_json-schema_licensing.json": { + "title": "Licensing Fields", + "type": "object", + "properties": { + "license": { + "type": "string", + "pattern": "^[\\w\\-\\.\\+]+$" + } + }, + "x-schema-version": "http://json-schema.org/draft-07/schema#", + "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/licensing.json#" + }, + "schemas.stacspec.org_v1.0.0_item-spec_json-schema_provider.json": { + "title": "Provider Fields", + "type": "object", + "properties": { + "providers": { + "title": "Providers", + "type": "array", + "items": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "title": "Organization name", + "type": "string", + "minLength": 1 + }, + "description": { + "title": "Organization description", + "type": "string" + }, + "roles": { + "title": "Organization roles", + "type": "array", + "items": { + "type": "string", + "enum": [ + "producer", + "licensor", + "processor", + "host" + ] + } }, "url": { "title": "Organization homepage", @@ -2510,183 +2884,12 @@ }, "x-schema-version": "http://json-schema.org/draft-07/schema#", "x-schema-source": "https://geojson.org/schema/Feature.json" - }, - "geojson.org_schema_Geometry.json": { - "title": "GeoJSON Geometry", - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, + }, + "geojson.org_schema_Geometry.json": { + "title": "GeoJSON Geometry", + "oneOf": [ { - "title": "GeoJSON MultiPolygon", + "title": "GeoJSON Point", "type": "object", "required": [ "type", @@ -2696,24 +2899,14 @@ "type": { "type": "string", "enum": [ - "MultiPolygon" + "Point" ] }, "coordinates": { "type": "array", + "minItems": 2, "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } + "type": "number" } }, "bbox": { @@ -2724,386 +2917,191 @@ } } } - } - ], - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://geojson.org/schema/Geometry.json" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_time.yaml": { - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/time.yaml" - }, - "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml": { - "oneOf": [ - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipointGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_linestringGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multilinestringGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_polygonGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipolygonGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometrycollectionGeoJSON.yaml" - } - ], - "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml": { - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/language.yaml" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_theme.yaml": { - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/theme.yaml" - }, - "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" - ] }, { + "title": "GeoJSON LineString", + "type": "object", "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" + "type", + "coordinates" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "LineString" + ] }, - { - "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": {} + "coordinates": { + "type": "array", + "minItems": 2, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } } } }, - "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": {} + { + "title": "GeoJSON Polygon", + "type": "object", + "required": [ + "type", + "coordinates" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "Polygon" + ] + }, + "coordinates": { + "type": "array", + "items": { + "type": "array", + "minItems": 4, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } } } }, - "addresses": { - "type": "array", - "description": "Physical location at which contact can be made.", - "items": { - "type": "object", - "properties": { - "deliveryPoint": { + { + "title": "GeoJSON MultiPoint", + "type": "object", + "required": [ + "type", + "coordinates" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "MultiPoint" + ] + }, + "coordinates": { + "type": "array", + "items": { "type": "array", - "description": "Address lines for the location.", + "minItems": 2, "items": { - "type": "string" + "type": "number" } - }, - "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": {} + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } } } }, - "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" - }, - { - "type": "object", - "required": [ - "type" - ] + { + "title": "GeoJSON MultiLineString", + "type": "object", + "required": [ + "type", + "coordinates" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "MultiLineString" + ] + }, + "coordinates": { + "type": "array", + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } } - ] + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } } }, - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/contact.yaml" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_license.yaml": { - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/license.yaml" - }, - "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml": { - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "example": "http://data.example.com/buildings/123" - }, - "rel": { - "type": "string", - "example": "alternate" - }, - "type": { - "type": "string", - "example": "application/geo+json" - }, - "hreflang": { - "type": "string", - "example": "en" - }, - "title": { - "type": "string", - "example": "Trierer Strasse 70, 53115 Bonn" - }, - "length": { - "type": "integer" - } - }, - "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml" - }, - "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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkBase.yaml" - }, { + "title": "GeoJSON MultiPolygon", "type": "object", "required": [ - "uriTemplate" + "type", + "coordinates" ], "properties": { - "uriTemplate": { + "type": { "type": "string", - "description": "Supplies a resolvable URI to a remote resource (or resource fragment).", - "example": "http://data.example.com/buildings/(building-id}" + "enum": [ + "MultiPolygon" + ] }, - "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" + "coordinates": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "minItems": 4, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + } + } }, - "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." + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } } } } ], - "x-schema-source": "https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkTemplate.yaml" + "x-schema-version": "http://json-schema.org/draft-07/schema#", + "x-schema-source": "https://geojson.org/schema/Geometry.json" }, "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml": { "type": "object", @@ -3296,16 +3294,16 @@ }, "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometrycollectionGeoJSON.yaml" }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_roles.yaml": { + "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/roles.yaml" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/roles/schema.yaml" }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkBase.yaml": { + "ogc.api.records.v1.schemas.linkBase": { "type": "object", "properties": { "rel": { @@ -3342,7 +3340,7 @@ "format": "date-time" } }, - "x-schema-source": "https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkBase.yaml" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkBase/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 2b1a2be..3247f63 100644 --- a/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml +++ b/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml @@ -13,7 +13,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/github.com_radiantearth_stac-spec_raw_master_collection-spec_json-schema_collection.json - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.api.records.core + - $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 - type: object properties: links: @@ -25,7 +25,7 @@ x-defs: ogcincubator.github.io_bblocks-stac_build_annotated_contrib_stac_item_schema.yaml: description: STAC Collection allOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.api.records.core + - $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 @@ -370,12 +370,131 @@ x-defs: for details. x-schema-version: http://json-schema.org/draft-07/schema# x-schema-source: https://schemas.stacspec.org/v1.0.0/collection-spec/json-schema/collection.json# - ogc.api.records.core: - description: Normative records schema - allOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_recordGeoJSON.yaml - 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/core/schema.yaml + ogc.api.records.v1.schemas.recordGeoJSON: + type: object + required: + - id + - type + - geometry + - properties + - links + properties: + id: + type: string + description: A unique identifier of the catalog record. + format: uri + 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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml + properties: + type: object + required: + - type + - title + 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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml + 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-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml ogc.ogc-utils.json-link: description: JSON Link type: object @@ -1110,129 +1229,290 @@ x-defs: - type: boolean x-schema-version: http://json-schema.org/draft-07/schema# x-schema-source: http://json-schema.org/draft-07/schema# - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_recordGeoJSON.yaml: + ogc.api.records.v1.schemas.time: type: object - required: - - id - - type - - time - - geometry - - properties - - links + nullable: true properties: - id: + date: type: string - description: A unique identifier of the catalog record. - format: uri - conformsTo: + 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: - type: string - type: + 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 + schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml: + oneOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipointGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_linestringGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multilinestringGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_polygonGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipolygonGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometrycollectionGeoJSON.yaml + x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.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: - - Feature - time: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_time.yaml - geometry: - oneOf: - - enum: - - null - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml - properties: - type: object - required: - - type - - title - 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: + - 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 - 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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml - 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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml - 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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_theme.yaml - formats: - type: array - description: A list of available distributions of the resource. - items: + description: An identifier for the concept. + title: 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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_contact.yaml - license: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_license.yaml - rights: - type: string - description: A statement that concerns all rights not addressed by the - license such as a copyright statement. - links: + 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: + 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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml + - type: object + required: + - rel + - type + properties: + rel: + enum: + - icon + phones: type: array + description: Telephone numbers at which contact can be made. items: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml - linkTemplates: + 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: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkTemplate.yaml - x-schema-source: https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/recordGeoJSON.yaml + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml + - 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 + schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml: + type: object + required: + - href + - rel + properties: + href: + type: string + example: http://data.example.com/buildings/123 + rel: + type: string + example: alternate + type: + type: string + example: application/geo+json + hreflang: + type: string + example: en + title: + type: string + example: Trierer Strasse 70, 53115 Bonn + length: + type: integer + x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml + ogc.api.records.v1.schemas.linkTemplate: + 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} + 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-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 @@ -1840,290 +2120,6 @@ x-defs: type: number x-schema-version: http://json-schema.org/draft-07/schema# x-schema-source: https://geojson.org/schema/Geometry.json - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_time.yaml: - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/time.yaml - schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml: - oneOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipointGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_linestringGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multilinestringGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_polygonGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipolygonGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometrycollectionGeoJSON.yaml - x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml: - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/language.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_theme.yaml: - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/theme.yaml - 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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml - - 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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml - - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/contact.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_license.yaml: - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/license.yaml - schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml: - type: object - required: - - href - - rel - properties: - href: - type: string - example: http://data.example.com/buildings/123 - rel: - type: string - example: alternate - type: - type: string - example: application/geo+json - hreflang: - type: string - example: en - title: - type: string - example: Trierer Strasse 70, 53115 Bonn - length: - type: integer - x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml - 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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkBase.yaml - - 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} - 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-schema-source: https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkTemplate.yaml schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml: type: object required: @@ -2257,15 +2253,15 @@ x-defs: items: $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometrycollectionGeoJSON.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_roles.yaml: + 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/roles.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkBase.yaml: + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/roles/schema.yaml + ogc.api.records.v1.schemas.linkBase: type: object properties: rel: @@ -2298,6 +2294,6 @@ x-defs: description: Most recent date on which the resource pointed to by the link was changed. format: date-time - x-schema-source: https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkBase.yaml + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkBase/schema.yaml allOf: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml#/x-defs/ogc.contrib.stac.extensions.eo 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 db371fe..b2abdae 100644 --- a/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json +++ b/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json @@ -28,7 +28,7 @@ "$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_collection-spec_json-schema_collection.json" }, { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.api.records.core" + "$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" }, { "type": "object", @@ -49,7 +49,7 @@ "description": "STAC Collection", "allOf": [ { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/ogc.api.records.core" + "$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" @@ -580,15 +580,174 @@ "x-schema-version": "http://json-schema.org/draft-07/schema#", "x-schema-source": "https://schemas.stacspec.org/v1.0.0/collection-spec/json-schema/collection.json#" }, - "ogc.api.records.core": { - "description": "Normative records schema", - "allOf": [ - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_recordGeoJSON.yaml" - } + "ogc.api.records.v1.schemas.recordGeoJSON": { + "type": "object", + "required": [ + "id", + "type", + "geometry", + "properties", + "links" ], - "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/core/schema.yaml" + "properties": { + "id": { + "type": "string", + "description": "A unique identifier of the catalog record.", + "format": "uri" + }, + "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml" + } + ] + }, + "properties": { + "type": "object", + "required": [ + "type", + "title" + ], + "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" + } + }, + "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-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml" }, "ogc.ogc-utils.json-link": { "description": "JSON Link", @@ -1717,317 +1876,532 @@ "x-schema-version": "http://json-schema.org/draft-07/schema#", "x-schema-source": "http://json-schema.org/draft-07/schema#" }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_recordGeoJSON.yaml": { + "ogc.api.records.v1.schemas.time": { "type": "object", - "required": [ - "id", - "type", - "time", - "geometry", - "properties", - "links" - ], + "nullable": true, "properties": { - "id": { + "date": { "type": "string", - "description": "A unique identifier of the catalog record.", - "format": "uri" + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" }, - "conformsTo": { + "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": { - "type": "string" + "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": [ + ".." + ] + } + ] } }, - "type": { + "resolution": { "type": "string", - "enum": [ - "Feature" + "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" + }, + "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml": { + "oneOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml" }, - "time": { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_time.yaml" + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipointGeoJSON.yaml" }, - "geometry": { - "oneOf": [ - { - "enum": [ - null - ] - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml" - } - ] + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_linestringGeoJSON.yaml" }, - "properties": { - "type": "object", - "required": [ - "type", - "title" - ], - "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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml" - } - }, - "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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml" - } - }, - "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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_theme.yaml" - } - }, - "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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_contact.yaml" - } - }, - "license": { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_license.yaml" - }, - "rights": { - "type": "string", - "description": "A statement that concerns all rights not addressed by the license such as a copyright statement." - } - } + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multilinestringGeoJSON.yaml" }, - "links": { - "type": "array", - "items": { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" - } + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_polygonGeoJSON.yaml" }, - "linkTemplates": { - "type": "array", - "items": { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkTemplate.yaml" - } - } - }, - "x-schema-source": "https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/recordGeoJSON.yaml" - }, - "schemas.stacspec.org_v1.0.0_item-spec_json-schema_basics.json": { - "title": "Basic Descriptive Fields", - "type": "object", - "properties": { - "title": { - "title": "Item Title", - "description": "A human-readable title describing the Item.", - "type": "string" + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipolygonGeoJSON.yaml" }, - "description": { - "title": "Item Description", - "description": "Detailed multi-line description to fully explain the Item.", - "type": "string" + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometrycollectionGeoJSON.yaml" } - }, - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/basics.json#" + ], + "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml" }, - "schemas.stacspec.org_v1.0.0_item-spec_json-schema_datetime.json": { - "title": "Date and Time Fields", + "ogc.api.records.v1.schemas.language": { "type": "object", - "dependencies": { - "start_datetime": { - "required": [ - "end_datetime" - ] - }, - "end_datetime": { - "required": [ - "start_datetime" - ] - } - }, + "description": "The language used for textual values in this record.", + "required": [ + "code" + ], "properties": { - "datetime": { - "title": "Date and Time", - "description": "The searchable date/time of the assets, in UTC (Formatted in RFC 3339) ", - "type": "string", - "format": "date-time", - "pattern": "(\\+00:00|Z)$", - "nullable": true - }, - "start_datetime": { - "title": "Start Date and Time", - "description": "The searchable start date/time of the assets, in UTC (Formatted in RFC 3339) ", - "type": "string", - "format": "date-time", - "pattern": "(\\+00:00|Z)$" - }, - "end_datetime": { - "title": "End Date and Time", - "description": "The searchable end date/time of the assets, in UTC (Formatted in RFC 3339) ", + "code": { "type": "string", - "format": "date-time", - "pattern": "(\\+00:00|Z)$" + "description": "The language tag as per RFC-5646.", + "example": "el" }, - "created": { - "title": "Creation Time", + "name": { "type": "string", - "format": "date-time", - "pattern": "(\\+00:00|Z)$" + "minLength": 1, + "description": "The untranslated name of of the language.", + "example": "\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac" }, - "updated": { - "title": "Last Update Time", + "alternate": { "type": "string", - "format": "date-time", - "pattern": "(\\+00:00|Z)$" - } - }, - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/datetime.json#" - }, - "schemas.stacspec.org_v1.0.0_item-spec_json-schema_instrument.json": { - "title": "Instrument Fields", - "type": "object", - "properties": { - "platform": { - "title": "Platform", - "type": "string" - }, - "instruments": { - "title": "Instruments", - "type": "array", - "items": { - "type": "string" - } - }, - "constellation": { - "title": "Constellation", - "type": "string" - }, - "mission": { - "title": "Mission", - "type": "string" + "description": "The name of the language in another well-understood language, usually English.", + "example": "Greek" }, - "gsd": { - "title": "Ground Sample Distance", - "type": "number", - "exclusiveMinimum": 0 - } - }, - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/instrument.json#" - }, - "schemas.stacspec.org_v1.0.0_item-spec_json-schema_licensing.json": { - "title": "Licensing Fields", - "type": "object", - "properties": { - "license": { + "dir": { "type": "string", - "pattern": "^[\\w\\-\\.\\+]+$" + "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-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/licensing.json#" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml" }, - "schemas.stacspec.org_v1.0.0_item-spec_json-schema_provider.json": { - "title": "Provider Fields", + "ogc.api.records.v1.schemas.theme": { "type": "object", + "required": [ + "concepts", + "scheme" + ], "properties": { - "providers": { - "title": "Providers", + "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": [ - "name" + "id" ], "properties": { - "name": { - "title": "Organization name", + "id": { "type": "string", - "minLength": 1 + "description": "An identifier for the concept." }, - "description": { - "title": "Organization description", - "type": "string" + "title": { + "type": "string", + "description": "A human readable title for the concept." }, - "roles": { - "title": "Organization roles", - "type": "array", - "items": { - "type": "string", - "enum": [ - "producer", - "licensor", - "processor", - "host" - ] - } + "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": { + "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" + }, + { + "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" + }, + { + "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" + }, + "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml": { + "type": "object", + "required": [ + "href", + "rel" + ], + "properties": { + "href": { + "type": "string", + "example": "http://data.example.com/buildings/123" + }, + "rel": { + "type": "string", + "example": "alternate" + }, + "type": { + "type": "string", + "example": "application/geo+json" + }, + "hreflang": { + "type": "string", + "example": "en" + }, + "title": { + "type": "string", + "example": "Trierer Strasse 70, 53115 Bonn" + }, + "length": { + "type": "integer" + } + }, + "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml" + }, + "ogc.api.records.v1.schemas.linkTemplate": { + "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}" + }, + "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-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", + "properties": { + "title": { + "title": "Item Title", + "description": "A human-readable title describing the Item.", + "type": "string" + }, + "description": { + "title": "Item Description", + "description": "Detailed multi-line description to fully explain the Item.", + "type": "string" + } + }, + "x-schema-version": "http://json-schema.org/draft-07/schema#", + "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/basics.json#" + }, + "schemas.stacspec.org_v1.0.0_item-spec_json-schema_datetime.json": { + "title": "Date and Time Fields", + "type": "object", + "dependencies": { + "start_datetime": { + "required": [ + "end_datetime" + ] + }, + "end_datetime": { + "required": [ + "start_datetime" + ] + } + }, + "properties": { + "datetime": { + "title": "Date and Time", + "description": "The searchable date/time of the assets, in UTC (Formatted in RFC 3339) ", + "type": "string", + "format": "date-time", + "pattern": "(\\+00:00|Z)$", + "nullable": true + }, + "start_datetime": { + "title": "Start Date and Time", + "description": "The searchable start date/time of the assets, in UTC (Formatted in RFC 3339) ", + "type": "string", + "format": "date-time", + "pattern": "(\\+00:00|Z)$" + }, + "end_datetime": { + "title": "End Date and Time", + "description": "The searchable end date/time of the assets, in UTC (Formatted in RFC 3339) ", + "type": "string", + "format": "date-time", + "pattern": "(\\+00:00|Z)$" + }, + "created": { + "title": "Creation Time", + "type": "string", + "format": "date-time", + "pattern": "(\\+00:00|Z)$" + }, + "updated": { + "title": "Last Update Time", + "type": "string", + "format": "date-time", + "pattern": "(\\+00:00|Z)$" + } + }, + "x-schema-version": "http://json-schema.org/draft-07/schema#", + "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/datetime.json#" + }, + "schemas.stacspec.org_v1.0.0_item-spec_json-schema_instrument.json": { + "title": "Instrument Fields", + "type": "object", + "properties": { + "platform": { + "title": "Platform", + "type": "string" + }, + "instruments": { + "title": "Instruments", + "type": "array", + "items": { + "type": "string" + } + }, + "constellation": { + "title": "Constellation", + "type": "string" + }, + "mission": { + "title": "Mission", + "type": "string" + }, + "gsd": { + "title": "Ground Sample Distance", + "type": "number", + "exclusiveMinimum": 0 + } + }, + "x-schema-version": "http://json-schema.org/draft-07/schema#", + "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/instrument.json#" + }, + "schemas.stacspec.org_v1.0.0_item-spec_json-schema_licensing.json": { + "title": "Licensing Fields", + "type": "object", + "properties": { + "license": { + "type": "string", + "pattern": "^[\\w\\-\\.\\+]+$" + } + }, + "x-schema-version": "http://json-schema.org/draft-07/schema#", + "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/licensing.json#" + }, + "schemas.stacspec.org_v1.0.0_item-spec_json-schema_provider.json": { + "title": "Provider Fields", + "type": "object", + "properties": { + "providers": { + "title": "Providers", + "type": "array", + "items": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "title": "Organization name", + "type": "string", + "minLength": 1 + }, + "description": { + "title": "Organization description", + "type": "string" + }, + "roles": { + "title": "Organization roles", + "type": "array", + "items": { + "type": "string", + "enum": [ + "producer", + "licensor", + "processor", + "host" + ] + } }, "url": { "title": "Organization homepage", @@ -2541,183 +2915,12 @@ }, "x-schema-version": "http://json-schema.org/draft-07/schema#", "x-schema-source": "https://geojson.org/schema/Feature.json" - }, - "geojson.org_schema_Geometry.json": { - "title": "GeoJSON Geometry", - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, + }, + "geojson.org_schema_Geometry.json": { + "title": "GeoJSON Geometry", + "oneOf": [ { - "title": "GeoJSON MultiPolygon", + "title": "GeoJSON Point", "type": "object", "required": [ "type", @@ -2727,24 +2930,14 @@ "type": { "type": "string", "enum": [ - "MultiPolygon" + "Point" ] }, "coordinates": { "type": "array", + "minItems": 2, "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } + "type": "number" } }, "bbox": { @@ -2755,386 +2948,191 @@ } } } - } - ], - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://geojson.org/schema/Geometry.json" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_time.yaml": { - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/time.yaml" - }, - "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml": { - "oneOf": [ - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipointGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_linestringGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multilinestringGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_polygonGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipolygonGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometrycollectionGeoJSON.yaml" - } - ], - "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml": { - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/language.yaml" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_theme.yaml": { - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/theme.yaml" - }, - "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" - ] }, { + "title": "GeoJSON LineString", + "type": "object", "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" + "type", + "coordinates" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "LineString" + ] }, - { - "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": {} + "coordinates": { + "type": "array", + "minItems": 2, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } } } }, - "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": {} + { + "title": "GeoJSON Polygon", + "type": "object", + "required": [ + "type", + "coordinates" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "Polygon" + ] + }, + "coordinates": { + "type": "array", + "items": { + "type": "array", + "minItems": 4, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } } } }, - "addresses": { - "type": "array", - "description": "Physical location at which contact can be made.", - "items": { - "type": "object", - "properties": { - "deliveryPoint": { + { + "title": "GeoJSON MultiPoint", + "type": "object", + "required": [ + "type", + "coordinates" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "MultiPoint" + ] + }, + "coordinates": { + "type": "array", + "items": { "type": "array", - "description": "Address lines for the location.", + "minItems": 2, "items": { - "type": "string" + "type": "number" } - }, - "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": {} + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } } } }, - "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" - }, - { - "type": "object", - "required": [ - "type" - ] + { + "title": "GeoJSON MultiLineString", + "type": "object", + "required": [ + "type", + "coordinates" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "MultiLineString" + ] + }, + "coordinates": { + "type": "array", + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } } - ] + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } } }, - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/contact.yaml" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_license.yaml": { - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/license.yaml" - }, - "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml": { - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "example": "http://data.example.com/buildings/123" - }, - "rel": { - "type": "string", - "example": "alternate" - }, - "type": { - "type": "string", - "example": "application/geo+json" - }, - "hreflang": { - "type": "string", - "example": "en" - }, - "title": { - "type": "string", - "example": "Trierer Strasse 70, 53115 Bonn" - }, - "length": { - "type": "integer" - } - }, - "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml" - }, - "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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkBase.yaml" - }, { + "title": "GeoJSON MultiPolygon", "type": "object", "required": [ - "uriTemplate" + "type", + "coordinates" ], "properties": { - "uriTemplate": { + "type": { "type": "string", - "description": "Supplies a resolvable URI to a remote resource (or resource fragment).", - "example": "http://data.example.com/buildings/(building-id}" + "enum": [ + "MultiPolygon" + ] }, - "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" + "coordinates": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "minItems": 4, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + } + } }, - "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." + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } } } } ], - "x-schema-source": "https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkTemplate.yaml" + "x-schema-version": "http://json-schema.org/draft-07/schema#", + "x-schema-source": "https://geojson.org/schema/Geometry.json" }, "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml": { "type": "object", @@ -3327,16 +3325,16 @@ }, "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometrycollectionGeoJSON.yaml" }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_roles.yaml": { + "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/roles.yaml" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/roles/schema.yaml" }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkBase.yaml": { + "ogc.api.records.v1.schemas.linkBase": { "type": "object", "properties": { "rel": { @@ -3373,7 +3371,7 @@ "format": "date-time" } }, - "x-schema-source": "https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkBase.yaml" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkBase/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 5a92fbf..a42fbeb 100644 --- a/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml +++ b/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml @@ -13,7 +13,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/github.com_radiantearth_stac-spec_raw_master_collection-spec_json-schema_collection.json - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.api.records.core + - $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 - type: object properties: links: @@ -25,7 +25,7 @@ x-defs: ogcincubator.github.io_bblocks-stac_build_annotated_contrib_stac_item_schema.yaml: description: STAC Collection allOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.api.records.core + - $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 @@ -395,12 +395,131 @@ x-defs: for details. x-schema-version: http://json-schema.org/draft-07/schema# x-schema-source: https://schemas.stacspec.org/v1.0.0/collection-spec/json-schema/collection.json# - ogc.api.records.core: - description: Normative records schema - allOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_recordGeoJSON.yaml - 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/core/schema.yaml + ogc.api.records.v1.schemas.recordGeoJSON: + type: object + required: + - id + - type + - geometry + - properties + - links + properties: + id: + type: string + description: A unique identifier of the catalog record. + format: uri + 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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml + properties: + type: object + required: + - type + - title + 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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml + 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-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml ogc.ogc-utils.json-link: description: JSON Link type: object @@ -1135,129 +1254,290 @@ x-defs: - type: boolean x-schema-version: http://json-schema.org/draft-07/schema# x-schema-source: http://json-schema.org/draft-07/schema# - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_recordGeoJSON.yaml: + ogc.api.records.v1.schemas.time: type: object - required: - - id - - type - - time - - geometry - - properties - - links + nullable: true properties: - id: + date: type: string - description: A unique identifier of the catalog record. - format: uri - conformsTo: + 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: - type: string - type: + 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 + schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml: + oneOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipointGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_linestringGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multilinestringGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_polygonGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipolygonGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometrycollectionGeoJSON.yaml + x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.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: - - Feature - time: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_time.yaml - geometry: - oneOf: - - enum: - - null - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml - properties: - type: object - required: - - type - - title - 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: + - 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 - 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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml - 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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml - 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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_theme.yaml - formats: - type: array - description: A list of available distributions of the resource. - items: + description: An identifier for the concept. + title: 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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_contact.yaml - license: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_license.yaml - rights: - type: string - description: A statement that concerns all rights not addressed by the - license such as a copyright statement. - links: + 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: + 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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml + - type: object + required: + - rel + - type + properties: + rel: + enum: + - icon + phones: type: array + description: Telephone numbers at which contact can be made. items: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml - linkTemplates: + 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: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkTemplate.yaml - x-schema-source: https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/recordGeoJSON.yaml + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml + - 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 + schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml: + type: object + required: + - href + - rel + properties: + href: + type: string + example: http://data.example.com/buildings/123 + rel: + type: string + example: alternate + type: + type: string + example: application/geo+json + hreflang: + type: string + example: en + title: + type: string + example: Trierer Strasse 70, 53115 Bonn + length: + type: integer + x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml + ogc.api.records.v1.schemas.linkTemplate: + 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} + 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-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 @@ -1865,290 +2145,6 @@ x-defs: type: number x-schema-version: http://json-schema.org/draft-07/schema# x-schema-source: https://geojson.org/schema/Geometry.json - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_time.yaml: - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/time.yaml - schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml: - oneOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipointGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_linestringGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multilinestringGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_polygonGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipolygonGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometrycollectionGeoJSON.yaml - x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml: - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/language.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_theme.yaml: - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/theme.yaml - 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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml - - 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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml - - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/contact.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_license.yaml: - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/license.yaml - schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml: - type: object - required: - - href - - rel - properties: - href: - type: string - example: http://data.example.com/buildings/123 - rel: - type: string - example: alternate - type: - type: string - example: application/geo+json - hreflang: - type: string - example: en - title: - type: string - example: Trierer Strasse 70, 53115 Bonn - length: - type: integer - x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml - 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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkBase.yaml - - 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} - 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-schema-source: https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkTemplate.yaml schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml: type: object required: @@ -2282,15 +2278,15 @@ x-defs: items: $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometrycollectionGeoJSON.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_roles.yaml: + 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/roles.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkBase.yaml: + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/roles/schema.yaml + ogc.api.records.v1.schemas.linkBase: type: object properties: rel: @@ -2323,6 +2319,6 @@ x-defs: description: Most recent date on which the resource pointed to by the link was changed. format: date-time - x-schema-source: https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkBase.yaml + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkBase/schema.yaml allOf: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml#/x-defs/ogc.contrib.stac.extensions.raster diff --git a/build/annotated/contrib/stac/item/schema-oas3.0.json b/build/annotated/contrib/stac/item/schema-oas3.0.json index 6461774..7019b46 100644 --- a/build/annotated/contrib/stac/item/schema-oas3.0.json +++ b/build/annotated/contrib/stac/item/schema-oas3.0.json @@ -4,7 +4,7 @@ "description": "STAC Collection", "allOf": [ { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/ogc.api.records.core" + "$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" @@ -13,15 +13,174 @@ "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.json" }, - "ogc.api.records.core": { - "description": "Normative records schema", - "allOf": [ - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_recordGeoJSON.yaml" - } + "ogc.api.records.v1.schemas.recordGeoJSON": { + "type": "object", + "required": [ + "id", + "type", + "geometry", + "properties", + "links" ], - "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/core/schema.json" + "properties": { + "id": { + "type": "string", + "description": "A unique identifier of the catalog record.", + "format": "uri" + }, + "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml" + } + ] + }, + "properties": { + "type": "object", + "required": [ + "type", + "title" + ], + "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" + } + }, + "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-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", @@ -295,166 +454,381 @@ "x-schema-version": "http://json-schema.org/draft-07/schema#", "x-schema-source": "https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/item.json#" }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_recordGeoJSON.yaml": { + "ogc.api.records.v1.schemas.time": { "type": "object", - "required": [ - "id", - "type", - "time", - "geometry", - "properties", - "links" - ], + "nullable": true, "properties": { - "id": { + "date": { "type": "string", - "description": "A unique identifier of the catalog record.", - "format": "uri" + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" }, - "conformsTo": { + "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": { - "type": "string" + "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": [ + ".." + ] + } + ] } }, - "type": { + "resolution": { "type": "string", - "enum": [ - "Feature" + "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" + }, + "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml": { + "oneOf": [ + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml" }, - "time": { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_time.yaml" + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipointGeoJSON.yaml" }, - "geometry": { - "oneOf": [ - { - "enum": [ - null - ] - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml" - } - ] + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_linestringGeoJSON.yaml" }, - "properties": { - "type": "object", - "required": [ - "type", - "title" - ], - "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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml" + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multilinestringGeoJSON.yaml" + }, + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_polygonGeoJSON.yaml" + }, + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipolygonGeoJSON.yaml" + }, + { + "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometrycollectionGeoJSON.yaml" + } + ], + "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.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.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": { + "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" }, - "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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml" + { + "type": "object", + "required": [ + "rel", + "type" + ], + "properties": { + "rel": { + "enum": [ + "icon" + ] + } } - }, - "externalIds": { - "type": "array", - "description": "An identifier for the resource assigned by an external (to the catalog) entity.", - "items": { + } + ] + }, + "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" + }, + { "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" + "type" ] } - }, - "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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_theme.yaml" - } - }, - "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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_contact.yaml" - } - }, - "license": { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_license.yaml" - }, - "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" - } + "hoursOfService": { + "type": "string", + "description": "Time period when the contact can be contacted.", + "example": "Hours: Mo-Fr 10am-7pm Sa 10am-22pm Su 10am-21pm" }, - "linkTemplates": { - "type": "array", - "items": { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkTemplate.yaml" - } + "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" + }, + "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml": { + "type": "object", + "required": [ + "href", + "rel" + ], + "properties": { + "href": { + "type": "string", + "example": "http://data.example.com/buildings/123" + }, + "rel": { + "type": "string", + "example": "alternate" + }, + "type": { + "type": "string", + "example": "application/geo+json" + }, + "hreflang": { + "type": "string", + "example": "en" + }, + "title": { + "type": "string", + "example": "Trierer Strasse 70, 53115 Bonn" + }, + "length": { + "type": "integer" } }, - "x-schema-source": "https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/recordGeoJSON.yaml" + "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml" + }, + "ogc.api.records.v1.schemas.linkTemplate": { + "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}" + }, + "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-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", @@ -1391,183 +1765,12 @@ }, "x-schema-version": "http://json-schema.org/draft-07/schema#", "x-schema-source": "https://geojson.org/schema/Feature.json" - }, - "geojson.org_schema_Geometry.json": { - "title": "GeoJSON Geometry", - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPoint" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiLineString" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, + }, + "geojson.org_schema_Geometry.json": { + "title": "GeoJSON Geometry", + "oneOf": [ { - "title": "GeoJSON MultiPolygon", + "title": "GeoJSON Point", "type": "object", "required": [ "type", @@ -1577,24 +1780,14 @@ "type": { "type": "string", "enum": [ - "MultiPolygon" + "Point" ] }, "coordinates": { "type": "array", + "minItems": 2, "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } + "type": "number" } }, "bbox": { @@ -1605,386 +1798,191 @@ } } } - } - ], - "x-schema-version": "http://json-schema.org/draft-07/schema#", - "x-schema-source": "https://geojson.org/schema/Geometry.json" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_time.yaml": { - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/time.yaml" - }, - "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml": { - "oneOf": [ - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipointGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_linestringGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multilinestringGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_polygonGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipolygonGeoJSON.yaml" - }, - { - "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.json#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometrycollectionGeoJSON.yaml" - } - ], - "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml": { - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/language.yaml" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_theme.yaml": { - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/theme.yaml" - }, - "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" - ] }, { + "title": "GeoJSON LineString", + "type": "object", "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" + "type", + "coordinates" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "LineString" + ] }, - { - "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": {} + "coordinates": { + "type": "array", + "minItems": 2, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } } } }, - "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": {} + { + "title": "GeoJSON Polygon", + "type": "object", + "required": [ + "type", + "coordinates" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "Polygon" + ] + }, + "coordinates": { + "type": "array", + "items": { + "type": "array", + "minItems": 4, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } } } }, - "addresses": { - "type": "array", - "description": "Physical location at which contact can be made.", - "items": { - "type": "object", - "properties": { - "deliveryPoint": { + { + "title": "GeoJSON MultiPoint", + "type": "object", + "required": [ + "type", + "coordinates" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "MultiPoint" + ] + }, + "coordinates": { + "type": "array", + "items": { "type": "array", - "description": "Address lines for the location.", + "minItems": 2, "items": { - "type": "string" + "type": "number" } - }, - "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": {} + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } } } }, - "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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml" - }, - { - "type": "object", - "required": [ - "type" - ] + { + "title": "GeoJSON MultiLineString", + "type": "object", + "required": [ + "type", + "coordinates" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "MultiLineString" + ] + }, + "coordinates": { + "type": "array", + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } } - ] + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } } }, - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/contact.yaml" - }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_license.yaml": { - "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/license.yaml" - }, - "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml": { - "type": "object", - "required": [ - "href", - "rel" - ], - "properties": { - "href": { - "type": "string", - "example": "http://data.example.com/buildings/123" - }, - "rel": { - "type": "string", - "example": "alternate" - }, - "type": { - "type": "string", - "example": "application/geo+json" - }, - "hreflang": { - "type": "string", - "example": "en" - }, - "title": { - "type": "string", - "example": "Trierer Strasse 70, 53115 Bonn" - }, - "length": { - "type": "integer" - } - }, - "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml" - }, - "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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkBase.yaml" - }, { + "title": "GeoJSON MultiPolygon", "type": "object", "required": [ - "uriTemplate" + "type", + "coordinates" ], "properties": { - "uriTemplate": { + "type": { "type": "string", - "description": "Supplies a resolvable URI to a remote resource (or resource fragment).", - "example": "http://data.example.com/buildings/(building-id}" + "enum": [ + "MultiPolygon" + ] }, - "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" + "coordinates": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "minItems": 4, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + } + } }, - "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." + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } } } } ], - "x-schema-source": "https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkTemplate.yaml" + "x-schema-version": "http://json-schema.org/draft-07/schema#", + "x-schema-source": "https://geojson.org/schema/Geometry.json" }, "schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml": { "type": "object", @@ -2177,16 +2175,16 @@ }, "x-schema-source": "https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometrycollectionGeoJSON.yaml" }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_roles.yaml": { + "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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/roles.yaml" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/roles/schema.json" }, - "raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkBase.yaml": { + "ogc.api.records.v1.schemas.linkBase": { "type": "object", "properties": { "rel": { @@ -2223,7 +2221,7 @@ "format": "date-time" } }, - "x-schema-source": "https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkBase.yaml" + "x-schema-source": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkBase/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 60c5748..bb4d99f 100644 --- a/build/annotated/contrib/stac/item/schema-oas3.0.yaml +++ b/build/annotated/contrib/stac/item/schema-oas3.0.yaml @@ -2,189 +2,15 @@ x-defs: ogc.contrib.stac.item: description: STAC Collection allOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.api.records.core + - $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 - ogc.api.records.core: - description: Normative records schema - allOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_recordGeoJSON.yaml - 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/core/schema.yaml - github.com_radiantearth_stac-spec_raw_master_item-spec_json-schema_item.json: - title: STAC Item - type: object - description: This object represents the metadata for an item in a SpatioTemporal - Asset Catalog. - allOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_item.json/definitions/core - definitions: - common_metadata: - allOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_basics.json - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_datetime.json - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_instrument.json - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_licensing.json - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_provider.json - core: - allOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.geojson - - oneOf: - - type: object - required: - - geometry - - bbox - properties: - geometry: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/geojson.org_schema_Geometry.json - bbox: - type: array - oneOf: - - minItems: 4 - maxItems: 4 - - minItems: 6 - maxItems: 6 - items: - type: number - - type: object - required: - - geometry - properties: - geometry: - nullable: true - bbox: - not: {} - - type: object - required: - - stac_version - - id - - links - - assets - - properties - properties: - stac_version: - title: STAC version - type: string - const: 1.0.0 - stac_extensions: - title: STAC extensions - type: array - uniqueItems: true - items: - title: Reference to a JSON Schema - type: string - format: iri - id: - title: Provider ID - description: Provider item ID - type: string - minLength: 1 - links: - title: Item links - description: Links to item relations - type: array - items: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_item.json/definitions/link - assets: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_item.json/definitions/assets - properties: - allOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_item.json/definitions/common_metadata - - anyOf: - - required: - - datetime - properties: - datetime: - not: - nullable: true - - required: - - datetime - - start_datetime - - end_datetime - if: - properties: - links: - contains: - required: - - rel - properties: - rel: - const: collection - then: - required: - - collection - properties: - collection: - title: Collection ID - description: The ID of the STAC Collection this Item references to. - type: string - minLength: 1 - else: - properties: - collection: - not: {} - link: - type: object - required: - - rel - - href - properties: - href: - title: Link reference - type: string - format: iri-reference - minLength: 1 - rel: - title: Link relation type - type: string - minLength: 1 - type: - title: Link type - type: string - title: - title: Link title - type: string - assets: - title: Asset links - description: Links to assets - type: object - additionalProperties: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_item.json/definitions/asset - asset: - allOf: - - type: object - required: - - href - properties: - href: - title: Asset reference - type: string - format: iri-reference - minLength: 1 - title: - title: Asset title - type: string - description: - title: Asset description - type: string - type: - title: Asset type - type: string - roles: - title: Asset roles - type: array - items: - type: string - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_item.json/definitions/common_metadata - x-schema-version: http://json-schema.org/draft-07/schema# - x-schema-source: https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/item.json# - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_recordGeoJSON.yaml: + ogc.api.records.v1.schemas.recordGeoJSON: type: object required: - id - type - - time - geometry - properties - links @@ -202,7 +28,10 @@ x-defs: enum: - Feature time: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_time.yaml + 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: @@ -246,13 +75,13 @@ x-defs: 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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml + $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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml + $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 @@ -263,8 +92,8 @@ x-defs: 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. + 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. @@ -275,7 +104,7 @@ x-defs: 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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_theme.yaml + $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. @@ -286,9 +115,9 @@ x-defs: 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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_contact.yaml + $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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_license.yaml + $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 @@ -300,9 +129,9 @@ x-defs: linkTemplates: type: array items: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkTemplate.yaml - x-schema-source: https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/recordGeoJSON.yaml - schemas.stacspec.org_v1.0.0_item-spec_json-schema_item.json: + $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-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 description: This object represents the metadata for an item in a SpatioTemporal @@ -469,897 +298,1064 @@ x-defs: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_item.json/definitions/common_metadata x-schema-version: http://json-schema.org/draft-07/schema# x-schema-source: https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/item.json# - schemas.stacspec.org_v1.0.0_item-spec_json-schema_basics.json: - title: Basic Descriptive Fields + ogc.api.records.v1.schemas.time: type: object + nullable: true properties: - title: - title: Item Title - description: A human-readable title describing the Item. + date: type: string - description: - title: Item Description - description: Detailed multi-line description to fully explain the Item. + pattern: ^\d{4}-\d{2}-\d{2}$ + timestamp: type: string - x-schema-version: http://json-schema.org/draft-07/schema# - x-schema-source: https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/basics.json# - schemas.stacspec.org_v1.0.0_item-spec_json-schema_datetime.json: - title: Date and Time Fields + 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 + schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml: + oneOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipointGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_linestringGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multilinestringGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_polygonGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipolygonGeoJSON.yaml + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometrycollectionGeoJSON.yaml + x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml + ogc.api.records.v1.schemas.language: type: object - dependencies: - start_datetime: - required: - - end_datetime - end_datetime: - required: - - start_datetime + description: The language used for textual values in this record. + required: + - code properties: - datetime: - title: Date and Time - description: 'The searchable date/time of the assets, in UTC (Formatted in - RFC 3339) ' + code: type: string - format: date-time - pattern: (\+00:00|Z)$ - nullable: true - start_datetime: - title: Start Date and Time - description: 'The searchable start date/time of the assets, in UTC (Formatted - in RFC 3339) ' + description: The language tag as per RFC-5646. + example: el + name: type: string - format: date-time - pattern: (\+00:00|Z)$ - end_datetime: - title: End Date and Time - description: 'The searchable end date/time of the assets, in UTC (Formatted - in RFC 3339) ' + minLength: 1 + description: The untranslated name of of the language. + example: "\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC" + alternate: type: string - format: date-time - pattern: (\+00:00|Z)$ - created: - title: Creation Time - type: string - format: date-time - pattern: (\+00:00|Z)$ - updated: - title: Last Update Time - type: string - format: date-time - pattern: (\+00:00|Z)$ - x-schema-version: http://json-schema.org/draft-07/schema# - x-schema-source: https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/datetime.json# - schemas.stacspec.org_v1.0.0_item-spec_json-schema_instrument.json: - title: Instrument Fields - type: object - properties: - platform: - title: Platform - type: string - instruments: - title: Instruments - type: array - items: - type: string - constellation: - title: Constellation - type: string - mission: - title: Mission - type: string - gsd: - title: Ground Sample Distance - type: number - exclusiveMinimum: 0 - x-schema-version: http://json-schema.org/draft-07/schema# - x-schema-source: https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/instrument.json# - schemas.stacspec.org_v1.0.0_item-spec_json-schema_licensing.json: - title: Licensing Fields - type: object - properties: - license: + description: The name of the language in another well-understood language, + usually English. + example: Greek + dir: type: string - pattern: ^[\w\-\.\+]+$ - x-schema-version: http://json-schema.org/draft-07/schema# - x-schema-source: https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/licensing.json# - schemas.stacspec.org_v1.0.0_item-spec_json-schema_provider.json: - title: Provider Fields + 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: - providers: - title: Providers + 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: - - name + - id properties: - name: - title: Organization name + id: type: string - minLength: 1 + description: An identifier for the concept. + title: + type: string + description: A human readable title for the concept. description: - title: Organization description type: string - roles: - title: Organization roles - type: array - items: - type: string - enum: - - producer - - licensor - - processor - - host + description: A human readable description for the concept. url: - title: Organization homepage type: string - format: iri - x-schema-version: http://json-schema.org/draft-07/schema# - x-schema-source: https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/provider.json# - ogc.geo.common.data_types.geojson: - title: GeoJSON Feature + 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: type: object - required: - - type - - properties - - geometry + description: 'Identification of, and means of communication with, person responsible + + for the resource.' + anyOf: + - required: + - name + - required: + - organization properties: - type: + identifier: type: string - enum: - - Feature - id: - oneOf: - - type: number - - type: string - properties: - oneOf: + 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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml - type: object - nullable: true - geometry: - oneOf: - - title: GeoJSON Point - type: object required: + - rel - type - - coordinates properties: - type: - type: string + rel: enum: - - Point - coordinates: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON LineString + - icon + phones: + type: array + description: Telephone numbers at which contact can be made. + items: type: object required: - - type - - coordinates + - value properties: - type: + value: type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON Polygon + 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: - - type - - coordinates + - value properties: - type: + value: type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPoint + 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 - required: - - type - - coordinates properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - bbox: + deliveryPoint: type: array - minItems: 4 + description: Address lines for the location. items: - type: number - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: + type: string + city: type: string - enum: - - MultiLineString - coordinates: - type: array - items: + 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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml + - 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 + schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml: + type: object + required: + - href + - rel + properties: + href: + type: string + example: http://data.example.com/buildings/123 + rel: + type: string + example: alternate + type: + type: string + example: application/geo+json + hreflang: + type: string + example: en + title: + type: string + example: Trierer Strasse 70, 53115 Bonn + length: + type: integer + x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml + ogc.api.records.v1.schemas.linkTemplate: + 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} + 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-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 + description: This object represents the metadata for an item in a SpatioTemporal + Asset Catalog. + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_item.json/definitions/core + definitions: + common_metadata: + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_basics.json + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_datetime.json + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_instrument.json + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_licensing.json + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_provider.json + core: + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.geojson + - oneOf: + - type: object + required: + - geometry + - bbox + properties: + geometry: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/geojson.org_schema_Geometry.json + bbox: type: array - minItems: 2 + oneOf: + - minItems: 4 + maxItems: 4 + - minItems: 6 + maxItems: 6 items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPolygon - type: object + type: number + - type: object + required: + - geometry + properties: + geometry: + nullable: true + bbox: + not: {} + - type: object required: - - type - - coordinates + - stac_version + - id + - links + - assets + - properties properties: - type: + stac_version: + title: STAC version type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: + const: 1.0.0 + stac_extensions: + title: STAC extensions type: array - minItems: 4 + uniqueItems: true items: - type: number - - title: GeoJSON GeometryCollection - type: object - required: - - type - - geometries - properties: - type: + title: Reference to a JSON Schema + type: string + format: iri + id: + title: Provider ID + description: Provider item ID type: string - enum: - - GeometryCollection - geometries: + minLength: 1 + links: + title: Item links + description: Links to item relations type: array items: - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_item.json/definitions/link + assets: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_item.json/definitions/assets + properties: + allOf: + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_item.json/definitions/common_metadata + - anyOf: + - required: + - datetime properties: - type: - type: string - enum: - - Point - coordinates: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON LineString - type: object + datetime: + not: + nullable: true + - required: + - datetime + - start_datetime + - end_datetime + if: + properties: + links: + contains: required: - - type - - coordinates + - rel properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - bbox: + rel: + const: collection + then: + required: + - collection + properties: + collection: + title: Collection ID + description: The ID of the STAC Collection this Item references to. + type: string + minLength: 1 + else: + properties: + collection: + not: {} + link: + type: object + required: + - rel + - href + properties: + href: + title: Link reference + type: string + format: iri-reference + minLength: 1 + rel: + title: Link relation type + type: string + minLength: 1 + type: + title: Link type + type: string + title: + title: Link title + type: string + assets: + title: Asset links + description: Links to assets + type: object + additionalProperties: + $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_item.json/definitions/asset + asset: + allOf: + - type: object + required: + - href + properties: + href: + title: Asset reference + type: string + format: iri-reference + minLength: 1 + title: + title: Asset title + type: string + description: + title: Asset description + type: string + type: + title: Asset type + type: string + roles: + title: Asset roles type: array - minItems: 4 items: - type: number - nullable: true - bbox: - type: array - minItems: 4 - items: - type: number + type: string + - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.stacspec.org_v1.0.0_item-spec_json-schema_item.json/definitions/common_metadata x-schema-version: http://json-schema.org/draft-07/schema# - x-schema-source: https://geojson.org/schema/Feature.json - geojson.org_schema_Geometry.json: - title: GeoJSON Geometry - oneOf: - - title: GeoJSON Point - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Point - coordinates: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON LineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - LineString - coordinates: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON Polygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - Polygon - coordinates: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPoint - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPoint - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiLineString - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiLineString - coordinates: - type: array - items: - type: array - minItems: 2 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number - - title: GeoJSON MultiPolygon - type: object - required: - - type - - coordinates - properties: - type: - type: string - enum: - - MultiPolygon - coordinates: - type: array - items: - type: array - items: - type: array - minItems: 4 - items: - type: array - minItems: 2 - items: - type: number - bbox: - type: array - minItems: 4 - items: - type: number + x-schema-source: https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/item.json# + schemas.stacspec.org_v1.0.0_item-spec_json-schema_basics.json: + title: Basic Descriptive Fields + type: object + properties: + title: + title: Item Title + description: A human-readable title describing the Item. + type: string + description: + title: Item Description + description: Detailed multi-line description to fully explain the Item. + type: string x-schema-version: http://json-schema.org/draft-07/schema# - x-schema-source: https://geojson.org/schema/Geometry.json - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_time.yaml: + x-schema-source: https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/basics.json# + schemas.stacspec.org_v1.0.0_item-spec_json-schema_datetime.json: + title: Date and Time Fields type: object - nullable: true + dependencies: + start_datetime: + required: + - end_datetime + end_datetime: + required: + - start_datetime properties: - date: + datetime: + title: Date and Time + description: 'The searchable date/time of the assets, in UTC (Formatted in + RFC 3339) ' type: string - pattern: ^\d{4}-\d{2}-\d{2}$ - timestamp: + format: date-time + pattern: (\+00:00|Z)$ + nullable: true + start_datetime: + title: Start Date and Time + description: 'The searchable start date/time of the assets, in UTC (Formatted + in RFC 3339) ' 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: + format: date-time + pattern: (\+00:00|Z)$ + end_datetime: + title: End Date and Time + description: 'The searchable end date/time of the assets, in UTC (Formatted + in RFC 3339) ' type: string - description: Minimum time period resolvable in the dataset, as an ISO 8601 - duration - example: - - P1D - x-schema-source: https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/time.yaml - schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml: - oneOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipointGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_linestringGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multilinestringGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_polygonGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_multipolygonGeoJSON.yaml - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometrycollectionGeoJSON.yaml - x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_language.yaml: + format: date-time + pattern: (\+00:00|Z)$ + created: + title: Creation Time + type: string + format: date-time + pattern: (\+00:00|Z)$ + updated: + title: Last Update Time + type: string + format: date-time + pattern: (\+00:00|Z)$ + x-schema-version: http://json-schema.org/draft-07/schema# + x-schema-source: https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/datetime.json# + schemas.stacspec.org_v1.0.0_item-spec_json-schema_instrument.json: + title: Instrument Fields type: object - description: The language used for textual values in this record. - required: - - code properties: - code: + platform: + title: Platform type: string - description: The language tag as per RFC-5646. - example: el - name: + instruments: + title: Instruments + type: array + items: + type: string + constellation: + title: Constellation type: string - minLength: 1 - description: The untranslated name of of the language. - example: "\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC" - alternate: + mission: + title: Mission type: string - description: The name of the language in another well-understood language, - usually English. - example: Greek - dir: + gsd: + title: Ground Sample Distance + type: number + exclusiveMinimum: 0 + x-schema-version: http://json-schema.org/draft-07/schema# + x-schema-source: https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/instrument.json# + schemas.stacspec.org_v1.0.0_item-spec_json-schema_licensing.json: + title: Licensing Fields + type: object + properties: + license: 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/language.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_theme.yaml: + pattern: ^[\w\-\.\+]+$ + x-schema-version: http://json-schema.org/draft-07/schema# + x-schema-source: https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/licensing.json# + schemas.stacspec.org_v1.0.0_item-spec_json-schema_provider.json: + title: Provider Fields type: object - required: - - concepts - - scheme properties: - concepts: + providers: + title: Providers 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 + - name properties: - id: - type: string - description: An identifier for the concept. - title: + name: + title: Organization name type: string - description: A human readable title for the concept. + minLength: 1 description: + title: Organization description type: string - description: A human readable description for the concept. + roles: + title: Organization roles + type: array + items: + type: string + enum: + - producer + - licensor + - processor + - host url: + title: Organization homepage 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/theme.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_contact.yaml: + format: iri + x-schema-version: http://json-schema.org/draft-07/schema# + x-schema-source: https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/provider.json# + ogc.geo.common.data_types.geojson: + title: GeoJSON Feature type: object - description: 'Identification of, and means of communication with, person responsible - - for the resource.' - anyOf: - - required: - - name - - required: - - organization + required: + - type + - properties + - geometry 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: 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/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml + enum: + - Feature + id: + oneOf: + - type: number + - type: string + properties: + oneOf: - type: object + nullable: true + geometry: + oneOf: + - title: GeoJSON Point + type: object + required: + - type + - coordinates + properties: + type: + type: string + enum: + - Point + coordinates: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + - title: GeoJSON LineString + type: object + required: + - type + - coordinates + properties: + type: + type: string + enum: + - LineString + coordinates: + type: array + minItems: 2 + items: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + - title: GeoJSON Polygon + type: object required: - - rel - type + - coordinates properties: - rel: + type: + type: string enum: - - icon - phones: - type: array - description: Telephone numbers at which contact can be made. - items: + - Polygon + coordinates: + type: array + items: + type: array + minItems: 4 + items: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + - title: GeoJSON MultiPoint type: object required: - - value + - type + - coordinates properties: - value: + type: 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: + enum: + - MultiPoint + coordinates: + type: array + items: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + - title: GeoJSON MultiLineString type: object required: - - value + - type + - coordinates properties: - value: + type: 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: + enum: + - MultiLineString + coordinates: + type: array + items: + type: array + minItems: 2 + items: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + - title: GeoJSON MultiPolygon + type: object + required: + - type + - coordinates + properties: + type: + type: string + enum: + - MultiPolygon + coordinates: + type: array + items: + type: array + items: + type: array + minItems: 4 + items: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + - title: GeoJSON GeometryCollection type: object + required: + - type + - geometries properties: - deliveryPoint: + type: + type: string + enum: + - GeometryCollection + geometries: + type: array + items: + oneOf: + - title: GeoJSON Point + type: object + required: + - type + - coordinates + properties: + type: + type: string + enum: + - Point + coordinates: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + - title: GeoJSON LineString + type: object + required: + - type + - coordinates + properties: + type: + type: string + enum: + - LineString + coordinates: + type: array + minItems: 2 + items: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + - title: GeoJSON Polygon + type: object + required: + - type + - coordinates + properties: + type: + type: string + enum: + - Polygon + coordinates: + type: array + items: + type: array + minItems: 4 + items: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + - title: GeoJSON MultiPoint + type: object + required: + - type + - coordinates + properties: + type: + type: string + enum: + - MultiPoint + coordinates: + type: array + items: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + - title: GeoJSON MultiLineString + type: object + required: + - type + - coordinates + properties: + type: + type: string + enum: + - MultiLineString + coordinates: + type: array + items: + type: array + minItems: 2 + items: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + - title: GeoJSON MultiPolygon + type: object + required: + - type + - coordinates + properties: + type: + type: string + enum: + - MultiPolygon + coordinates: + type: array + items: + type: array + items: + type: array + minItems: 4 + items: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + bbox: type: array - description: Address lines for the location. + minItems: 4 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: number + nullable: true + bbox: type: array - description: On-line information about the contact. + minItems: 4 items: - allOf: - - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml - - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/contact.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_license.yaml: - 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/license.yaml - schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_link.yaml: - type: object - required: - - href - - rel - properties: - href: - type: string - example: http://data.example.com/buildings/123 - rel: - type: string - example: alternate - type: - type: string - example: application/geo+json - hreflang: - type: string - example: en - title: - type: string - example: Trierer Strasse 70, 53115 Bonn - length: - type: integer - x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml - 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/raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkBase.yaml - - type: object + type: number + x-schema-version: http://json-schema.org/draft-07/schema# + x-schema-source: https://geojson.org/schema/Feature.json + geojson.org_schema_Geometry.json: + title: GeoJSON Geometry + oneOf: + - title: GeoJSON Point + type: object required: - - uriTemplate + - type + - coordinates properties: - uriTemplate: + type: type: string - description: Supplies a resolvable URI to a remote resource (or resource - fragment). - example: http://data.example.com/buildings/(building-id} - varBase: + enum: + - Point + coordinates: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + - title: GeoJSON LineString + type: object + required: + - type + - coordinates + properties: + type: type: string - 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-schema-source: https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkTemplate.yaml + enum: + - LineString + coordinates: + type: array + minItems: 2 + items: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + - title: GeoJSON Polygon + type: object + required: + - type + - coordinates + properties: + type: + type: string + enum: + - Polygon + coordinates: + type: array + items: + type: array + minItems: 4 + items: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + - title: GeoJSON MultiPoint + type: object + required: + - type + - coordinates + properties: + type: + type: string + enum: + - MultiPoint + coordinates: + type: array + items: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + - title: GeoJSON MultiLineString + type: object + required: + - type + - coordinates + properties: + type: + type: string + enum: + - MultiLineString + coordinates: + type: array + items: + type: array + minItems: 2 + items: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + - title: GeoJSON MultiPolygon + type: object + required: + - type + - coordinates + properties: + type: + type: string + enum: + - MultiPolygon + coordinates: + type: array + items: + type: array + items: + type: array + minItems: 4 + items: + type: array + minItems: 2 + items: + type: number + bbox: + type: array + minItems: 4 + items: + type: number + x-schema-version: http://json-schema.org/draft-07/schema# + x-schema-source: https://geojson.org/schema/Geometry.json schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_pointGeoJSON.yaml: type: object required: @@ -1493,15 +1489,15 @@ x-defs: items: $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/schemas.opengis.net_ogcapi_features_part1_1.0_openapi_schemas_geometryGeoJSON.yaml x-schema-source: https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometrycollectionGeoJSON.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_roles.yaml: + 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://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/roles.yaml - raw.githubusercontent.com_opengeospatial_ogcapi-records_master_core_openapi_schemas_linkBase.yaml: + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/roles/schema.yaml + ogc.api.records.v1.schemas.linkBase: type: object properties: rel: @@ -1534,6 +1530,6 @@ x-defs: description: Most recent date on which the resource pointed to by the link was changed. format: date-time - x-schema-source: https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/linkBase.yaml + x-schema-source: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkBase/schema.yaml allOf: - $ref: https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema-oas3.0.yaml#/x-defs/ogc.contrib.stac.item diff --git a/build/annotated/contrib/stac/item/schema.json b/build/annotated/contrib/stac/item/schema.json index ccaee85..1a69312 100644 --- a/build/annotated/contrib/stac/item/schema.json +++ b/build/annotated/contrib/stac/item/schema.json @@ -3,7 +3,7 @@ "description": "STAC Collection", "allOf": [ { - "$ref": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/core/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 7c481b6..4c56705 100644 --- a/build/annotated/contrib/stac/item/schema.yaml +++ b/build/annotated/contrib/stac/item/schema.yaml @@ -1,5 +1,5 @@ $schema: https://json-schema.org/draft/2020-12/schema description: STAC Collection allOf: -- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/core/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 714ae28..2cb0ebe 100644 --- a/build/bblocks.jsonld +++ b/build/bblocks.jsonld @@ -106,12 +106,12 @@ "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-03-25T06:49:43.720986", + "modified": "2024-04-23T07:52:41.865449", "tooling": { "bblocks-postprocess": { - "commitId": "\"c150183b2ddb43ea6bcf71feddabe22a4025f524", - "shortCommitId": "\"c15018", - "date": "2024-03-22T10:03:03+00:00\"" + "commitId": "\"e4a611ba98dc47cf5ffb659b73d79151289b1133", + "shortCommitId": "\"e4a611", + "date": "2024-04-15T14:36:27+00:00\"" } }, "gitRepository": "https://github.com/ogcincubator/bblocks-stac", @@ -140,7 +140,7 @@ "itemClass": "schema", "register": "ogc-incubator-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-03-25", + "dateOfLastChange": "2024-04-23", "sources": [ { "title": "STAC Specification", @@ -155,14 +155,14 @@ "shaclRules": {}, "dependsOn": [ "ogc.ogc-utils.json-link", - "ogc.api.records.core" + "ogc.api.records.v1.schemas.recordGeoJSON" ], "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" }, - "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/context.jsonld", "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": false, "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/collection/", @@ -201,7 +201,7 @@ "itemClass": "schema", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-03-25", + "dateOfLastChange": "2024-04-23", "sources": [ { "title": "STAC Specification", @@ -215,14 +215,14 @@ ], "shaclRules": {}, "dependsOn": [ - "ogc.api.records.core" + "ogc.api.records.v1.schemas.recordGeoJSON" ], "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" }, - "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/context.jsonld", "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": false, "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/item/", @@ -260,7 +260,7 @@ "itemClass": "schema", "register": "bblocks-stac", "version": "0.1", - "dateOfLastChange": "2024-03-25", + "dateOfLastChange": "2024-04-23", "link": "https://github.com/stac-extensions/eo", "sources": [ { @@ -284,8 +284,8 @@ "application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema.yaml", "application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema.json" }, - "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/context.jsonld", "sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/extensions/eo/schema.yaml", + "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/context.jsonld", "sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/extensions/eo/", "validationPassed": false, "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/extensions/eo/", @@ -323,7 +323,7 @@ "itemClass": "schema", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-03-25", + "dateOfLastChange": "2024-04-23", "link": "https://github.com/stac-extensions/raster", "sources": [ { @@ -346,8 +346,8 @@ "application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema.yaml", "application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema.json" }, - "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/context.jsonld", "sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/extensions/raster/schema.yaml", + "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/context.jsonld", "sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/extensions/raster/", "validationPassed": false, "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/extensions/raster/", diff --git a/build/bblocks.ttl b/build/bblocks.ttl index 1f4ac40..3beb538 100644 --- a/build/bblocks.ttl +++ b/build/bblocks.ttl @@ -17,14 +17,14 @@ 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/html" ; rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/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/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" ], - [ dct:format "application/json" ; - rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/extensions/eo/index.json" ] ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.extensions.eo" ] ; dct:hasVersion "0.1" ; - dct:modified "2024-03-25"^^xsd:date ; + dct:modified "2024-04-23"^^xsd:date ; dct:source ; skos:inScheme ; dcat:keyword "eo", @@ -46,15 +46,15 @@ EO data is considered to be data that represents a snapshot of the Earth for a s 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/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:format "text/markdown" ; - rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/extensions/raster/index.md" ] ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/extensions/raster/index.md" ], + [ dct:format "text/html" ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/extensions/raster/" ] ; dct:hasVersion "0.1" ; - dct:modified "2024-03-25"^^xsd:date ; + dct:modified "2024-04-23"^^xsd:date ; dct:source ; skos:inScheme ; dcat:keyword "raster", @@ -78,21 +78,21 @@ 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/build/generateddocs/slate-build/contrib/stac/collection/" ], - [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/collection/index.md" ], + dct:description [ dct:format "application/json" ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/collection/index.json" ], [ dct:format "text/html" ; rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.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/html" ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/collection/" ], + [ dct:format "text/markdown" ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/collection/index.md" ] ; dct:hasVersion "0.1" ; - dct:modified "2024-03-25"^^xsd:date ; + dct:modified "2024-04-23"^^xsd:date ; dct:source ; skos:inScheme ; dcat:keyword "collection", "stac" ; - bblocks:dependsOn , + bblocks:dependsOn , ; bblocks:hasJsonLdContext ; bblocks:hasSchema , @@ -106,21 +106,21 @@ EO data is considered to be data that represents a snapshot of the Earth for a s rdfs:label "STAC Item" ; dct:abstract "A SpatioTemporal Asset Catalogs (STAC) item" ; dct:created "2023-12-08T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/html" ; + dct:description [ dct:format "text/markdown" ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/item/index.md" ], + [ dct:format "text/html" ; rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/item/" ], [ dct:format "text/html" ; rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.item" ], [ dct:format "application/json" ; - rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/item/index.json" ], - [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/item/index.md" ] ; + rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/item/index.json" ] ; dct:hasVersion "0.1" ; - dct:modified "2024-03-25"^^xsd:date ; + dct:modified "2024-04-23"^^xsd:date ; dct:source ; skos:inScheme ; dcat:keyword "item", "stac" ; - bblocks:dependsOn ; + bblocks:dependsOn ; bblocks:hasJsonLdContext ; bblocks:hasSchema , ; @@ -147,18 +147,18 @@ Provides a framework for documentation and testing of additional extensions. . [] a prov:Activity ; - prov:endedAtTime "2024-03-25T06:49:56.142476"^^xsd:dateTime ; - prov:startedAtTime "2024-03-25T06:49:56.078000"^^xsd:dateTime ; + prov:endedAtTime "2024-04-23T07:52:55.525399"^^xsd:dateTime ; + prov:startedAtTime "2024-04-23T07:52:55.458804"^^xsd:dateTime ; prov:used [ a prov:Entity ; - dct:format "application/json" ; - dct:hasVersion "git:6dcfb0758bc92447056939d92a06655801f9c415" ; - rdfs:seeAlso ], - [ a prov:Entity ; dct:format "application/yaml" ; - rdfs:seeAlso ] ; + rdfs:seeAlso ], + [ a prov:Entity ; + dct:format "application/json" ; + dct:hasVersion "git:046768fd254b231edfe681ca35cc42ce1f3db4cf" ; + rdfs:seeAlso ] ; prov:wasAssociatedWith [ a prov:Agent, schema:SoftwareApplication ; rdfs:label "OGC-NA tools" ; - dct:hasVersion "0.3.43" ; + dct:hasVersion "0.3.44" ; rdfs:seeAlso ] . diff --git a/build/generateddocs/json-full/contrib/stac/collection/index.json b/build/generateddocs/json-full/contrib/stac/collection/index.json index 5b9efbd..e6e882b 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-03-25", + "dateOfLastChange": "2024-04-23", "sources": [ { "title": "STAC Specification", @@ -26,14 +26,14 @@ "shaclRules": {}, "dependsOn": [ "ogc.ogc-utils.json-link", - "ogc.api.records.core" + "ogc.api.records.v1.schemas.recordGeoJSON" ], "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" }, - "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/context.jsonld", "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": false, "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/collection/", @@ -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://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/core/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-records/build/annotated/api/records/v1/schemas/recordGeoJSON/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 bf1b7a7..d1b114e 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-03-25", + "dateOfLastChange": "2024-04-23", "link": "https://github.com/stac-extensions/eo", "sources": [ { @@ -34,8 +34,8 @@ "application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema.yaml", "application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema.json" }, - "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/context.jsonld", "sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/extensions/eo/schema.yaml", + "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/context.jsonld", "sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/extensions/eo/", "validationPassed": false, "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/extensions/eo/", 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 1d1bb75..be3afe5 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-03-25", + "dateOfLastChange": "2024-04-23", "link": "https://github.com/stac-extensions/raster", "sources": [ { @@ -33,8 +33,8 @@ "application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema.yaml", "application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema.json" }, - "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/context.jsonld", "sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/extensions/raster/schema.yaml", + "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/context.jsonld", "sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/extensions/raster/", "validationPassed": false, "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/extensions/raster/", @@ -55,7 +55,7 @@ }, { "language": "ttl", - "code": "@prefix geojson: .\n@prefix ns1: .\n@prefix ns2: .\n@prefix ns3: .\n@prefix ns4: .\n@prefix ns5: .\n@prefix rdf: .\n@prefix xsd: .\n\n a geojson:Feature ;\n ns5:cloud_cover 2.122e+01 ;\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 ns4:off_nadir 0 ;\n ns2:assets [ ] .\n\n", + "code": "@prefix geojson: .\n@prefix ns1: .\n@prefix ns2: .\n@prefix ns3: .\n@prefix ns4: .\n@prefix ns5: .\n@prefix rdf: .\n@prefix xsd: .\n\n a geojson:Feature ;\n ns1:cloud_cover 2.122e+01 ;\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 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 ns4:off_nadir 0 ;\n ns5: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 2571668..e798d6e 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-03-25", + "dateOfLastChange": "2024-04-23", "sources": [ { "title": "STAC Specification", @@ -25,14 +25,14 @@ ], "shaclRules": {}, "dependsOn": [ - "ogc.api.records.core" + "ogc.api.records.v1.schemas.recordGeoJSON" ], "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" }, - "ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/context.jsonld", "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": false, "testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/item/", @@ -84,7 +84,7 @@ ] } ], - "annotatedSchema": "$schema: https://json-schema.org/draft/2020-12/schema\ndescription: STAC Collection\nallOf:\n- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/core/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://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 ba76877..7c9ccdd 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://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/core/schema.yaml +- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml - type: object properties: links: diff --git a/build/generateddocs/markdown/contrib/stac/extensions/raster/index.md b/build/generateddocs/markdown/contrib/stac/extensions/raster/index.md index 5bb5df5..63809ec 100644 --- a/build/generateddocs/markdown/contrib/stac/extensions/raster/index.md +++ b/build/generateddocs/markdown/contrib/stac/extensions/raster/index.md @@ -1512,29 +1512,29 @@ An item can describe assets that are rasters of one or multiple bands with some #### ttl ```ttl @prefix geojson: . -@prefix ns1: . -@prefix ns2: . +@prefix ns1: . +@prefix ns2: . @prefix ns3: . @prefix ns4: . -@prefix ns5: . +@prefix ns5: . @prefix rdf: . @prefix xsd: . a geojson:Feature ; - ns5:cloud_cover 2.122e+01 ; + ns1:cloud_cover 2.122e+01 ; 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 ; + 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 ; ns4:off_nadir 0 ; - ns2:assets [ ] . + ns5:assets [ ] . ``` diff --git a/build/generateddocs/markdown/contrib/stac/item/index.md b/build/generateddocs/markdown/contrib/stac/item/index.md index 9b6125c..881d1a4 100644 --- a/build/generateddocs/markdown/contrib/stac/item/index.md +++ b/build/generateddocs/markdown/contrib/stac/item/index.md @@ -482,7 +482,7 @@ This is the complete "core" item example from the STAC specification. $schema: https://json-schema.org/draft/2020-12/schema description: STAC Collection allOf: -- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/core/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/generateddocs/slate-build/contrib/stac/collection/index.html b/build/generateddocs/slate-build/contrib/stac/collection/index.html index 19bd99d..de4dd85 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://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/core/schema.yaml
+- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml
 - type: object
   properties:
     links:
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 77840e4..2cd5e64 100644
--- a/build/generateddocs/slate-build/contrib/stac/extensions/raster/index.html
+++ b/build/generateddocs/slate-build/contrib/stac/extensions/raster/index.html
@@ -1861,29 +1861,29 @@ 

Examples

Example View on JSON-LD Playground
@prefix geojson: <https://purl.org/geojson/vocab#> .
-@prefix ns1: <sentinel:> .
-@prefix ns2: <virtual:> .
+@prefix ns1: <eo:> .
+@prefix ns2: <sentinel:> .
 @prefix ns3: <proj:> .
 @prefix ns4: <view:> .
-@prefix ns5: <eo:> .
+@prefix ns5: <virtual:> .
 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
 
 <file:///github/workspace/S2B_33SVB_20210221_0_L2A> a geojson:Feature ;
-    ns5:cloud_cover 2.122e+01 ;
+    ns1:cloud_cover 2.122e+01 ;
     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 ;
+    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 ;
     ns4:off_nadir 0 ;
-    ns2:assets [ ] .
+    ns5:assets [ ] .
 
 
 
diff --git a/build/generateddocs/slate-build/contrib/stac/item/index.html b/build/generateddocs/slate-build/contrib/stac/item/index.html index a933e07..c50aa17 100644 --- a/build/generateddocs/slate-build/contrib/stac/item/index.html +++ b/build/generateddocs/slate-build/contrib/stac/item/index.html @@ -837,7 +837,7 @@

STAC spec core item

JSON Schema
$schema: https://json-schema.org/draft/2020-12/schema
 description: STAC Collection
 allOf:
-- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/core/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/generateddocs/slate/contrib/stac/collection/index.html.md b/build/generateddocs/slate/contrib/stac/collection/index.html.md index 97e2344..e3276f2 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://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/core/schema.yaml +- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml - type: object properties: links: 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 b16112c..ba426db 100644 --- a/build/generateddocs/slate/contrib/stac/extensions/raster/index.html.md +++ b/build/generateddocs/slate/contrib/stac/extensions/raster/index.html.md @@ -1556,29 +1556,29 @@ Validation for this building block has . -@prefix ns1: . -@prefix ns2: . +@prefix ns1: . +@prefix ns2: . @prefix ns3: . @prefix ns4: . -@prefix ns5: . +@prefix ns5: . @prefix rdf: . @prefix xsd: . a geojson:Feature ; - ns5:cloud_cover 2.122e+01 ; + ns1:cloud_cover 2.122e+01 ; 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 ; + 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 ; ns4:off_nadir 0 ; - ns2:assets [ ] . + ns5:assets [ ] . diff --git a/build/tests/contrib/stac/extensions/raster/example_1_1.validation_failed.txt b/build/tests/contrib/stac/extensions/raster/example_1_1.validation_failed.txt index b591c17..748a98e 100644 --- a/build/tests/contrib/stac/extensions/raster/example_1_1.validation_failed.txt +++ b/build/tests/contrib/stac/extensions/raster/example_1_1.validation_failed.txt @@ -1,5 +1,5 @@ Validation report for ogc.contrib.stac.extensions.raster - STAC Raster Extension -Generated 2024-03-25T06:49:56.062077+00:00 +Generated 2024-04-23T07:52:55.442964+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 456e120..049886d 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-03-25T06:49:53.175700+00:00", + "generated": "2024-04-23T07:52:52.303892+00:00", "result": false, "items": [ { @@ -60,9 +60,9 @@ "op": "validation", "result": false, "exception": "ValidationError", - "errorMessage": "'time' is a required property", + "errorMessage": "'type' is a required property", "isError": true, - "message": "ValidationError: 'time' is a required property\n\nFailed validating 'required' in schema['allOf'][0]['allOf'][0]:\n {'properties': {'conformsTo': {'items': {'type': 'string'},\n 'type': 'array'},\n 'geometry': {'oneOf': [{'enum': [None]},\n {'$ref': 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml'}]},\n 'id': {'description': 'A unique identifier of the '\n 'catalog record.',\n 'format': 'uri',\n 'type': 'string'},\n 'linkTemplates': {'items': {'$ref': 'linkTemplate.yaml'},\n 'type': 'array'},\n 'links': {'items': {'$ref': 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml'},\n 'type': 'array'},\n 'properties': {'properties': {'contacts': {'description': 'A '\n 'list '\n 'of '\n 'contacts '\n 'qualified '\n 'by '\n 'their '\n 'role(s) '\n 'in '\n 'association '\n 'to '\n 'the '\n 'record '\n 'or '\n 'the '\n 'resource '\n 'described '\n 'by '\n 'the '\n 'record.',\n 'items': {'$ref': 'contact.yaml'},\n 'type': 'array'},\n 'created': {'description': 'Date '\n 'of '\n 'creation '\n 'of '\n 'this '\n 'record.',\n 'format': 'date-time',\n 'type': 'string'},\n 'description': {'description': 'A '\n 'free-text '\n 'account '\n 'of '\n 'the '\n 'resource.',\n 'type': 'string'},\n 'externalIds': {'description': 'An '\n 'identifier '\n 'for '\n 'the '\n 'resource '\n 'assigned '\n 'by '\n 'an '\n 'external '\n '(to '\n 'the '\n 'catalog) '\n 'entity.',\n 'items': {'properties': {'scheme': {'description': 'A '\n 'reference '\n 'to '\n 'an '\n 'authority '\n 'or '\n 'identifier '\n 'for '\n 'a '\n 'knowledge '\n 'organization '\n 'system '\n 'from '\n 'which '\n 'the '\n 'external '\n 'identifier '\n 'was '\n 'obtained. '\n 'It '\n 'is '\n 'recommended '\n 'that '\n 'the '\n 'identifier '\n 'be '\n 'a '\n 'resolvable '\n 'URI.',\n 'type': 'string'},\n 'value': {'description': 'The '\n 'value '\n 'of '\n 'the '\n 'identifier.',\n 'type': 'string'}},\n 'required': ['value'],\n 'type': 'object'},\n 'type': 'array'},\n 'formats': {'description': 'A '\n 'list '\n 'of '\n 'available '\n 'distributions '\n 'of '\n 'the '\n 'resource.',\n 'items': {'type': 'string'},\n 'type': 'array'},\n 'keywords': {'description': 'The '\n 'topic '\n 'or '\n 'topics '\n 'of '\n 'the '\n 'resource. '\n 'Typically '\n 'represented '\n 'using '\n 'free-form '\n 'keywords, '\n 'tags, '\n 'key '\n 'phrases, '\n 'or '\n 'classification '\n 'codes.',\n 'items': {'type': 'string'},\n 'type': 'array'},\n 'language': {'$ref': 'language.yaml',\n 'description': 'The '\n 'language '\n 'used '\n 'for '\n 'textual '\n 'values '\n 'in '\n 'this '\n 'record '\n 'representation.'},\n 'languages': {'description': 'This '\n 'list '\n 'of '\n 'languages '\n 'in '\n 'which '\n 'this '\n 'record '\n 'is '\n 'available.',\n 'items': {'$ref': 'language.yaml'},\n 'type': 'array'},\n 'license': {'$ref': 'license.yaml'},\n 'resourceLanguages': {'description': 'The '\n 'list '\n 'of '\n 'languages '\n 'in '\n 'which '\n 'the '\n 'resource '\n 'described '\n 'by '\n 'this '\n 'record '\n 'is '\n 'available.',\n 'items': {'$ref': 'language.yaml'},\n 'type': 'array'},\n 'rights': {'description': 'A '\n 'statement '\n 'that '\n 'concerns '\n 'all '\n 'rights '\n 'not '\n 'addressed '\n 'by '\n 'the '\n 'license '\n 'such '\n 'as '\n 'a '\n 'copyright '\n 'statement.',\n 'type': 'string'},\n 'themes': {'description': 'A '\n 'knowledge '\n 'organization '\n 'system '\n 'used '\n 'to '\n 'classify '\n 'the '\n 'resource.',\n 'items': {'$ref': 'theme.yaml'},\n 'minItems': 1,\n 'type': 'array'},\n 'title': {'description': 'A '\n 'human-readable '\n 'name '\n 'given '\n 'to '\n 'the '\n 'resource.',\n 'type': 'string'},\n 'type': {'description': 'The '\n 'nature '\n 'or '\n 'genre '\n 'of '\n 'the '\n 'resource. '\n 'The '\n 'value '\n 'should '\n 'be '\n 'a '\n 'code, '\n 'convenient '\n 'for '\n 'filtering '\n 'records. '\n 'Where '\n 'available, '\n 'a '\n 'link '\n 'to '\n 'the '\n 'canonical '\n 'URI '\n 'of '\n 'the '\n 'record '\n 'type '\n 'resource '\n 'will '\n 'be '\n 'added '\n 'to '\n 'the '\n \"'links' \"\n 'property.',\n 'maxLength': 64,\n 'type': 'string'},\n 'updated': {'description': 'The '\n 'most '\n 'recent '\n 'date '\n 'on '\n 'which '\n 'the '\n 'record '\n 'was '\n 'changed.',\n 'format': 'date-time',\n 'type': 'string'}},\n 'required': ['type', 'title'],\n 'type': 'object'},\n 'time': {'$ref': 'time.yaml'},\n 'type': {'enum': ['Feature'], 'type': 'string'}},\n 'required': ['id', 'type', 'time', 'geometry', 'properties', 'links'],\n 'type': 'object'}\n\nOn instance:\n {'assets': {'thumbnail': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.jpg',\n 'roles': ['thumbnail'],\n 'title': 'Thumbnail',\n 'type': 'image/jpeg'},\n 'visual': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.tif',\n 'roles': ['visual'],\n 'title': '3-Band Visual',\n 'type': 'image/tiff; application=geotiff; '\n 'profile=cloud-optimized'}},\n 'bbox': [172.91173669923782,\n 1.3438851951615003,\n 172.95469614953714,\n 1.3690476620161975],\n 'collection': 'simple-collection',\n 'geometry': {'coordinates': [[[172.91173669923782, 1.3438851951615003],\n [172.95469614953714, 1.3438851951615003],\n [172.95469614953714, 1.3690476620161975],\n [172.91173669923782, 1.3690476620161975],\n [172.91173669923782,\n 1.3438851951615003]]],\n 'type': 'Polygon'},\n 'id': '20201211_223832_CS2',\n 'links': [{'href': './collection.json',\n 'rel': 'collection',\n 'title': 'Simple Example Collection',\n 'type': 'application/json'},\n {'href': './collection.json',\n 'rel': 'root',\n 'title': 'Simple Example Collection',\n 'type': 'application/json'},\n {'href': './collection.json',\n 'rel': 'parent',\n 'title': 'Simple Example Collection',\n 'type': 'application/json'}],\n 'properties': {'datetime': '2020-12-11T22:38:32.125000Z'},\n 'stac_extensions': [],\n 'stac_version': '1.0.0',\n 'type': 'Feature'}" + "message": "ValidationError: 'type' is a required property\n\nFailed validating 'required' in schema['allOf'][0]['properties']['properties']:\n {'properties': {'contacts': {'description': 'A list of contacts '\n 'qualified by their '\n 'role(s) in association to '\n 'the record or the '\n 'resource described by the '\n 'record.',\n 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/contact/schema.yaml'},\n 'type': 'array'},\n 'created': {'description': 'Date of creation of this '\n 'record.',\n 'format': 'date-time',\n 'type': 'string'},\n 'description': {'description': 'A free-text account of '\n 'the resource.',\n 'type': 'string'},\n 'externalIds': {'description': 'An identifier for the '\n 'resource assigned by '\n 'an external (to the '\n 'catalog) entity.',\n 'items': {'properties': {'scheme': {'description': 'A '\n 'reference '\n 'to '\n 'an '\n 'authority '\n 'or '\n 'identifier '\n 'for '\n 'a '\n 'knowledge '\n 'organization '\n 'system '\n 'from '\n 'which '\n 'the '\n 'external '\n 'identifier '\n 'was '\n 'obtained. '\n 'It '\n 'is '\n 'recommended '\n 'that '\n 'the '\n 'identifier '\n 'be '\n 'a '\n 'resolvable '\n 'URI.',\n 'type': 'string'},\n 'value': {'description': 'The '\n 'value '\n 'of '\n 'the '\n 'identifier.',\n 'type': 'string'}},\n 'required': ['value'],\n 'type': 'object'},\n 'type': 'array'},\n 'formats': {'description': 'A list of available '\n 'distributions of the '\n 'resource.',\n 'items': {'type': 'string'},\n 'type': 'array'},\n 'keywords': {'description': 'The topic or topics of '\n 'the resource. Typically '\n 'represented using '\n 'free-form keywords, tags, '\n 'key phrases, or '\n 'classification codes.',\n 'items': {'type': 'string'},\n 'type': 'array'},\n 'language': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml',\n 'description': 'The language used for '\n 'textual values in this '\n 'record representation.'},\n 'languages': {'description': 'This list of languages '\n 'in which this record is '\n 'available.',\n 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml'},\n 'type': 'array'},\n 'license': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/license/schema.yaml'},\n 'resourceLanguages': {'description': 'The list of '\n 'languages in '\n 'which the '\n 'resource '\n 'described by '\n 'this record is '\n 'available.',\n 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml'},\n 'type': 'array'},\n 'rights': {'description': 'A statement that concerns '\n 'all rights not addressed by '\n 'the license such as a '\n 'copyright statement.',\n 'type': 'string'},\n 'themes': {'description': 'A knowledge organization '\n 'system used to classify the '\n 'resource.',\n 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/theme/schema.yaml'},\n 'minItems': 1,\n 'type': 'array'},\n 'title': {'description': 'A human-readable name given '\n 'to the resource.',\n 'type': 'string'},\n 'type': {'description': 'The nature or genre of the '\n 'resource. The value should be '\n 'a code, convenient for '\n 'filtering records. Where '\n 'available, a link to the '\n 'canonical URI of the record '\n 'type resource will be added '\n \"to the 'links' property.\",\n 'maxLength': 64,\n 'type': 'string'},\n 'updated': {'description': 'The most recent date on '\n 'which the record was '\n 'changed.',\n 'format': 'date-time',\n 'type': 'string'}},\n 'required': ['type', 'title'],\n 'type': 'object'}\n\nOn instance['properties']:\n {'datetime': '2020-12-11T22:38:32.125000Z'}" } ] }, @@ -143,9 +143,9 @@ "op": "validation", "result": false, "exception": "ValidationError", - "errorMessage": "'time' is a required property", + "errorMessage": "'type' is a required property", "isError": true, - "message": "ValidationError: 'time' is a required property\n\nFailed validating 'required' in schema['allOf'][0]['allOf'][0]:\n {'properties': {'conformsTo': {'items': {'type': 'string'},\n 'type': 'array'},\n 'geometry': {'oneOf': [{'enum': [None]},\n {'$ref': 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml'}]},\n 'id': {'description': 'A unique identifier of the '\n 'catalog record.',\n 'format': 'uri',\n 'type': 'string'},\n 'linkTemplates': {'items': {'$ref': 'linkTemplate.yaml'},\n 'type': 'array'},\n 'links': {'items': {'$ref': 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml'},\n 'type': 'array'},\n 'properties': {'properties': {'contacts': {'description': 'A '\n 'list '\n 'of '\n 'contacts '\n 'qualified '\n 'by '\n 'their '\n 'role(s) '\n 'in '\n 'association '\n 'to '\n 'the '\n 'record '\n 'or '\n 'the '\n 'resource '\n 'described '\n 'by '\n 'the '\n 'record.',\n 'items': {'$ref': 'contact.yaml'},\n 'type': 'array'},\n 'created': {'description': 'Date '\n 'of '\n 'creation '\n 'of '\n 'this '\n 'record.',\n 'format': 'date-time',\n 'type': 'string'},\n 'description': {'description': 'A '\n 'free-text '\n 'account '\n 'of '\n 'the '\n 'resource.',\n 'type': 'string'},\n 'externalIds': {'description': 'An '\n 'identifier '\n 'for '\n 'the '\n 'resource '\n 'assigned '\n 'by '\n 'an '\n 'external '\n '(to '\n 'the '\n 'catalog) '\n 'entity.',\n 'items': {'properties': {'scheme': {'description': 'A '\n 'reference '\n 'to '\n 'an '\n 'authority '\n 'or '\n 'identifier '\n 'for '\n 'a '\n 'knowledge '\n 'organization '\n 'system '\n 'from '\n 'which '\n 'the '\n 'external '\n 'identifier '\n 'was '\n 'obtained. '\n 'It '\n 'is '\n 'recommended '\n 'that '\n 'the '\n 'identifier '\n 'be '\n 'a '\n 'resolvable '\n 'URI.',\n 'type': 'string'},\n 'value': {'description': 'The '\n 'value '\n 'of '\n 'the '\n 'identifier.',\n 'type': 'string'}},\n 'required': ['value'],\n 'type': 'object'},\n 'type': 'array'},\n 'formats': {'description': 'A '\n 'list '\n 'of '\n 'available '\n 'distributions '\n 'of '\n 'the '\n 'resource.',\n 'items': {'type': 'string'},\n 'type': 'array'},\n 'keywords': {'description': 'The '\n 'topic '\n 'or '\n 'topics '\n 'of '\n 'the '\n 'resource. '\n 'Typically '\n 'represented '\n 'using '\n 'free-form '\n 'keywords, '\n 'tags, '\n 'key '\n 'phrases, '\n 'or '\n 'classification '\n 'codes.',\n 'items': {'type': 'string'},\n 'type': 'array'},\n 'language': {'$ref': 'language.yaml',\n 'description': 'The '\n 'language '\n 'used '\n 'for '\n 'textual '\n 'values '\n 'in '\n 'this '\n 'record '\n 'representation.'},\n 'languages': {'description': 'This '\n 'list '\n 'of '\n 'languages '\n 'in '\n 'which '\n 'this '\n 'record '\n 'is '\n 'available.',\n 'items': {'$ref': 'language.yaml'},\n 'type': 'array'},\n 'license': {'$ref': 'license.yaml'},\n 'resourceLanguages': {'description': 'The '\n 'list '\n 'of '\n 'languages '\n 'in '\n 'which '\n 'the '\n 'resource '\n 'described '\n 'by '\n 'this '\n 'record '\n 'is '\n 'available.',\n 'items': {'$ref': 'language.yaml'},\n 'type': 'array'},\n 'rights': {'description': 'A '\n 'statement '\n 'that '\n 'concerns '\n 'all '\n 'rights '\n 'not '\n 'addressed '\n 'by '\n 'the '\n 'license '\n 'such '\n 'as '\n 'a '\n 'copyright '\n 'statement.',\n 'type': 'string'},\n 'themes': {'description': 'A '\n 'knowledge '\n 'organization '\n 'system '\n 'used '\n 'to '\n 'classify '\n 'the '\n 'resource.',\n 'items': {'$ref': 'theme.yaml'},\n 'minItems': 1,\n 'type': 'array'},\n 'title': {'description': 'A '\n 'human-readable '\n 'name '\n 'given '\n 'to '\n 'the '\n 'resource.',\n 'type': 'string'},\n 'type': {'description': 'The '\n 'nature '\n 'or '\n 'genre '\n 'of '\n 'the '\n 'resource. '\n 'The '\n 'value '\n 'should '\n 'be '\n 'a '\n 'code, '\n 'convenient '\n 'for '\n 'filtering '\n 'records. '\n 'Where '\n 'available, '\n 'a '\n 'link '\n 'to '\n 'the '\n 'canonical '\n 'URI '\n 'of '\n 'the '\n 'record '\n 'type '\n 'resource '\n 'will '\n 'be '\n 'added '\n 'to '\n 'the '\n \"'links' \"\n 'property.',\n 'maxLength': 64,\n 'type': 'string'},\n 'updated': {'description': 'The '\n 'most '\n 'recent '\n 'date '\n 'on '\n 'which '\n 'the '\n 'record '\n 'was '\n 'changed.',\n 'format': 'date-time',\n 'type': 'string'}},\n 'required': ['type', 'title'],\n 'type': 'object'},\n 'time': {'$ref': 'time.yaml'},\n 'type': {'enum': ['Feature'], 'type': 'string'}},\n 'required': ['id', 'type', 'time', 'geometry', 'properties', 'links'],\n 'type': 'object'}\n\nOn instance:\n {'assets': {'analytic': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2_analytic.tif',\n 'roles': ['data'],\n 'title': '4-Band Analytic',\n 'type': 'image/tiff; application=geotiff; '\n 'profile=cloud-optimized'},\n 'ephemeris': {'href': 'http://cool-sat.com/catalog/20201211_223832_CS2/20201211_223832_CS2.EPH',\n 'title': 'Satellite Ephemeris Metadata'},\n 'json-metadata': {'href': 'http://remotedata.io/catalog/20201211_223832_CS2/extended-metadata.json',\n 'roles': ['metadata'],\n 'title': 'Extended Metadata',\n 'type': 'application/json'},\n 'thumbnail': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.jpg',\n 'roles': ['thumbnail'],\n 'title': 'Thumbnail',\n 'type': 'image/png'},\n 'udm': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2_analytic_udm.tif',\n 'title': 'Unusable Data Mask',\n 'type': 'image/tiff; application=geotiff;'},\n 'visual': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.tif',\n 'roles': ['visual'],\n 'title': '3-Band Visual',\n 'type': 'image/tiff; application=geotiff; '\n 'profile=cloud-optimized'}},\n 'bbox': [172.91173669923782,\n 1.3438851951615003,\n 172.95469614953714,\n 1.3690476620161975],\n 'collection': 'simple-collection',\n 'geometry': {'coordinates': [[[172.91173669923782, 1.3438851951615003],\n [172.95469614953714, 1.3438851951615003],\n [172.95469614953714, 1.3690476620161975],\n [172.91173669923782, 1.3690476620161975],\n [172.91173669923782,\n 1.3438851951615003]]],\n 'type': 'Polygon'},\n 'id': '20201211_223832_CS2',\n 'links': [{'href': './collection.json',\n 'rel': 'collection',\n 'title': 'Simple Example Collection',\n 'type': 'application/json'},\n {'href': './collection.json',\n 'rel': 'root',\n 'title': 'Simple Example Collection',\n 'type': 'application/json'},\n {'href': './collection.json',\n 'rel': 'parent',\n 'title': 'Simple Example Collection',\n 'type': 'application/json'},\n {'href': 'http://remotedata.io/catalog/20201211_223832_CS2/index.html',\n 'rel': 'alternate',\n 'title': 'HTML version of this STAC Item',\n 'type': 'text/html'}],\n 'properties': {'constellation': 'ion',\n 'created': '2020-12-12T01:48:13.725Z',\n 'datetime': None,\n 'description': 'A sample STAC Item that includes '\n 'examples of all common metadata',\n 'end_datetime': '2020-12-11T22:38:32.327Z',\n 'gsd': 0.512,\n 'instruments': ['cool_sensor_v1'],\n 'mission': 'collection 5624',\n 'platform': 'cool_sat1',\n 'start_datetime': '2020-12-11T22:38:32.125Z',\n 'title': 'Core Item',\n 'updated': '2020-12-12T01:48:13.725Z'},\n 'stac_extensions': [],\n 'stac_version': '1.0.0',\n 'type': 'Feature'}" + "message": "ValidationError: 'type' is a required property\n\nFailed validating 'required' in schema['allOf'][0]['properties']['properties']:\n {'properties': {'contacts': {'description': 'A list of contacts '\n 'qualified by their '\n 'role(s) in association to '\n 'the record or the '\n 'resource described by the '\n 'record.',\n 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/contact/schema.yaml'},\n 'type': 'array'},\n 'created': {'description': 'Date of creation of this '\n 'record.',\n 'format': 'date-time',\n 'type': 'string'},\n 'description': {'description': 'A free-text account of '\n 'the resource.',\n 'type': 'string'},\n 'externalIds': {'description': 'An identifier for the '\n 'resource assigned by '\n 'an external (to the '\n 'catalog) entity.',\n 'items': {'properties': {'scheme': {'description': 'A '\n 'reference '\n 'to '\n 'an '\n 'authority '\n 'or '\n 'identifier '\n 'for '\n 'a '\n 'knowledge '\n 'organization '\n 'system '\n 'from '\n 'which '\n 'the '\n 'external '\n 'identifier '\n 'was '\n 'obtained. '\n 'It '\n 'is '\n 'recommended '\n 'that '\n 'the '\n 'identifier '\n 'be '\n 'a '\n 'resolvable '\n 'URI.',\n 'type': 'string'},\n 'value': {'description': 'The '\n 'value '\n 'of '\n 'the '\n 'identifier.',\n 'type': 'string'}},\n 'required': ['value'],\n 'type': 'object'},\n 'type': 'array'},\n 'formats': {'description': 'A list of available '\n 'distributions of the '\n 'resource.',\n 'items': {'type': 'string'},\n 'type': 'array'},\n 'keywords': {'description': 'The topic or topics of '\n 'the resource. Typically '\n 'represented using '\n 'free-form keywords, tags, '\n 'key phrases, or '\n 'classification codes.',\n 'items': {'type': 'string'},\n 'type': 'array'},\n 'language': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml',\n 'description': 'The language used for '\n 'textual values in this '\n 'record representation.'},\n 'languages': {'description': 'This list of languages '\n 'in which this record is '\n 'available.',\n 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml'},\n 'type': 'array'},\n 'license': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/license/schema.yaml'},\n 'resourceLanguages': {'description': 'The list of '\n 'languages in '\n 'which the '\n 'resource '\n 'described by '\n 'this record is '\n 'available.',\n 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml'},\n 'type': 'array'},\n 'rights': {'description': 'A statement that concerns '\n 'all rights not addressed by '\n 'the license such as a '\n 'copyright statement.',\n 'type': 'string'},\n 'themes': {'description': 'A knowledge organization '\n 'system used to classify the '\n 'resource.',\n 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/theme/schema.yaml'},\n 'minItems': 1,\n 'type': 'array'},\n 'title': {'description': 'A human-readable name given '\n 'to the resource.',\n 'type': 'string'},\n 'type': {'description': 'The nature or genre of the '\n 'resource. The value should be '\n 'a code, convenient for '\n 'filtering records. Where '\n 'available, a link to the '\n 'canonical URI of the record '\n 'type resource will be added '\n \"to the 'links' property.\",\n 'maxLength': 64,\n 'type': 'string'},\n 'updated': {'description': 'The most recent date on '\n 'which the record was '\n 'changed.',\n 'format': 'date-time',\n 'type': 'string'}},\n 'required': ['type', 'title'],\n 'type': 'object'}\n\nOn instance['properties']:\n {'constellation': 'ion',\n 'created': '2020-12-12T01:48:13.725Z',\n 'datetime': None,\n 'description': 'A sample STAC Item that includes examples of all '\n 'common metadata',\n 'end_datetime': '2020-12-11T22:38:32.327Z',\n 'gsd': 0.512,\n 'instruments': ['cool_sensor_v1'],\n 'mission': 'collection 5624',\n 'platform': 'cool_sat1',\n 'start_datetime': '2020-12-11T22:38:32.125Z',\n 'title': 'Core Item',\n 'updated': '2020-12-12T01:48:13.725Z'}" } ] }, diff --git a/build/tests/contrib/stac/item/example_1_1.validation_failed.txt b/build/tests/contrib/stac/item/example_1_1.validation_failed.txt index 0af31fc..52968b4 100644 --- a/build/tests/contrib/stac/item/example_1_1.validation_failed.txt +++ b/build/tests/contrib/stac/item/example_1_1.validation_failed.txt @@ -1,5 +1,5 @@ Validation report for ogc.contrib.stac.item - STAC Item -Generated 2024-03-25T06:49:53.160777+00:00 +Generated 2024-04-23T07:52:52.292036+00:00 === Files === Using example_1_1.json from examples JSON-LD context is present - uplifting @@ -10,313 +10,132 @@ Output Turtle example_1_1.ttl created === JSON Schema === ** Validation error ** -ValidationError: 'time' is a required property +ValidationError: 'type' is a required property -Failed validating 'required' in schema['allOf'][0]['allOf'][0]: - {'properties': {'conformsTo': {'items': {'type': 'string'}, - 'type': 'array'}, - 'geometry': {'oneOf': [{'enum': [None]}, - {'$ref': 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml'}]}, - 'id': {'description': 'A unique identifier of the ' - 'catalog record.', - 'format': 'uri', - 'type': 'string'}, - 'linkTemplates': {'items': {'$ref': 'linkTemplate.yaml'}, - 'type': 'array'}, - 'links': {'items': {'$ref': 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml'}, - 'type': 'array'}, - 'properties': {'properties': {'contacts': {'description': 'A ' - 'list ' - 'of ' - 'contacts ' - 'qualified ' - 'by ' - 'their ' - 'role(s) ' - 'in ' - 'association ' - 'to ' - 'the ' - 'record ' - 'or ' - 'the ' - 'resource ' - 'described ' - 'by ' - 'the ' - 'record.', - 'items': {'$ref': 'contact.yaml'}, - 'type': 'array'}, - 'created': {'description': 'Date ' - 'of ' - 'creation ' - 'of ' - 'this ' - 'record.', - 'format': 'date-time', - 'type': 'string'}, - 'description': {'description': 'A ' - 'free-text ' - 'account ' - 'of ' - 'the ' - 'resource.', - 'type': 'string'}, - 'externalIds': {'description': 'An ' - 'identifier ' - 'for ' - 'the ' - 'resource ' - 'assigned ' - 'by ' - 'an ' - 'external ' - '(to ' - 'the ' - 'catalog) ' - 'entity.', - 'items': {'properties': {'scheme': {'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.', - 'type': 'string'}, - 'value': {'description': 'The ' - 'value ' - 'of ' - 'the ' - 'identifier.', - 'type': 'string'}}, - 'required': ['value'], - 'type': 'object'}, - 'type': 'array'}, - 'formats': {'description': 'A ' - 'list ' - 'of ' - 'available ' - 'distributions ' - 'of ' - 'the ' - 'resource.', - 'items': {'type': 'string'}, - 'type': 'array'}, - 'keywords': {'description': 'The ' - 'topic ' - 'or ' - 'topics ' - 'of ' - 'the ' - 'resource. ' - 'Typically ' - 'represented ' - 'using ' - 'free-form ' - 'keywords, ' - 'tags, ' - 'key ' - 'phrases, ' - 'or ' - 'classification ' - 'codes.', - 'items': {'type': 'string'}, - 'type': 'array'}, - 'language': {'$ref': 'language.yaml', - 'description': 'The ' - 'language ' - 'used ' - 'for ' - 'textual ' - 'values ' - 'in ' - 'this ' - 'record ' - 'representation.'}, - 'languages': {'description': 'This ' - 'list ' - 'of ' - 'languages ' - 'in ' - 'which ' - 'this ' - 'record ' - 'is ' - 'available.', - 'items': {'$ref': 'language.yaml'}, - 'type': 'array'}, - 'license': {'$ref': 'license.yaml'}, - 'resourceLanguages': {'description': 'The ' - 'list ' - 'of ' - 'languages ' - 'in ' +Failed validating 'required' in schema['allOf'][0]['properties']['properties']: + {'properties': {'contacts': {'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-ogcapi-records/build/annotated/api/records/v1/schemas/contact/schema.yaml'}, + 'type': 'array'}, + 'created': {'description': 'Date of creation of this ' + 'record.', + 'format': 'date-time', + 'type': 'string'}, + 'description': {'description': 'A free-text account of ' + 'the resource.', + 'type': 'string'}, + 'externalIds': {'description': 'An identifier for the ' + 'resource assigned by ' + 'an external (to the ' + 'catalog) entity.', + 'items': {'properties': {'scheme': {'description': 'A ' + 'reference ' + 'to ' + 'an ' + 'authority ' + 'or ' + 'identifier ' + 'for ' + 'a ' + 'knowledge ' + 'organization ' + 'system ' + 'from ' 'which ' 'the ' - 'resource ' - 'described ' - 'by ' - 'this ' - 'record ' + 'external ' + 'identifier ' + 'was ' + 'obtained. ' + 'It ' 'is ' - 'available.', - 'items': {'$ref': 'language.yaml'}, - 'type': 'array'}, - 'rights': {'description': 'A ' - 'statement ' - 'that ' - 'concerns ' - 'all ' - 'rights ' - 'not ' - 'addressed ' - 'by ' - 'the ' - 'license ' - 'such ' - 'as ' - 'a ' - 'copyright ' - 'statement.', - 'type': 'string'}, - 'themes': {'description': 'A ' - 'knowledge ' - 'organization ' - 'system ' - 'used ' - 'to ' - 'classify ' - 'the ' - 'resource.', - 'items': {'$ref': 'theme.yaml'}, - 'minItems': 1, - 'type': 'array'}, - 'title': {'description': 'A ' - 'human-readable ' - 'name ' - 'given ' - 'to ' - 'the ' - 'resource.', - 'type': 'string'}, - 'type': {'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, - 'type': 'string'}, - 'updated': {'description': 'The ' - 'most ' - 'recent ' - 'date ' - 'on ' - 'which ' - 'the ' - 'record ' - 'was ' - 'changed.', - 'format': 'date-time', - 'type': 'string'}}, - 'required': ['type', 'title'], - 'type': 'object'}, - 'time': {'$ref': 'time.yaml'}, - 'type': {'enum': ['Feature'], 'type': 'string'}}, - 'required': ['id', 'type', 'time', 'geometry', 'properties', 'links'], + 'recommended ' + 'that ' + 'the ' + 'identifier ' + 'be ' + 'a ' + 'resolvable ' + 'URI.', + 'type': 'string'}, + 'value': {'description': 'The ' + 'value ' + 'of ' + 'the ' + 'identifier.', + 'type': 'string'}}, + 'required': ['value'], + 'type': 'object'}, + 'type': 'array'}, + 'formats': {'description': 'A list of available ' + 'distributions of the ' + 'resource.', + 'items': {'type': 'string'}, + 'type': 'array'}, + 'keywords': {'description': 'The topic or topics of ' + 'the resource. Typically ' + 'represented using ' + 'free-form keywords, tags, ' + 'key phrases, or ' + 'classification codes.', + 'items': {'type': 'string'}, + 'type': 'array'}, + 'language': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml', + 'description': 'The language used for ' + 'textual values in this ' + 'record representation.'}, + 'languages': {'description': 'This list of languages ' + 'in which this record is ' + 'available.', + 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml'}, + 'type': 'array'}, + 'license': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/license/schema.yaml'}, + 'resourceLanguages': {'description': 'The list of ' + 'languages in ' + 'which the ' + 'resource ' + 'described by ' + 'this record is ' + 'available.', + 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml'}, + 'type': 'array'}, + 'rights': {'description': 'A statement that concerns ' + 'all rights not addressed by ' + 'the license such as a ' + 'copyright statement.', + 'type': 'string'}, + 'themes': {'description': 'A knowledge organization ' + 'system used to classify the ' + 'resource.', + 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/theme/schema.yaml'}, + 'minItems': 1, + 'type': 'array'}, + 'title': {'description': 'A human-readable name given ' + 'to the resource.', + 'type': 'string'}, + 'type': {'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, + 'type': 'string'}, + 'updated': {'description': 'The most recent date on ' + 'which the record was ' + 'changed.', + 'format': 'date-time', + 'type': 'string'}}, + 'required': ['type', 'title'], 'type': 'object'} -On instance: - {'assets': {'thumbnail': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.jpg', - 'roles': ['thumbnail'], - 'title': 'Thumbnail', - 'type': 'image/jpeg'}, - 'visual': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.tif', - 'roles': ['visual'], - 'title': '3-Band Visual', - 'type': 'image/tiff; application=geotiff; ' - 'profile=cloud-optimized'}}, - 'bbox': [172.91173669923782, - 1.3438851951615003, - 172.95469614953714, - 1.3690476620161975], - 'collection': 'simple-collection', - 'geometry': {'coordinates': [[[172.91173669923782, 1.3438851951615003], - [172.95469614953714, 1.3438851951615003], - [172.95469614953714, 1.3690476620161975], - [172.91173669923782, 1.3690476620161975], - [172.91173669923782, - 1.3438851951615003]]], - 'type': 'Polygon'}, - 'id': '20201211_223832_CS2', - 'links': [{'href': './collection.json', - 'rel': 'collection', - 'title': 'Simple Example Collection', - 'type': 'application/json'}, - {'href': './collection.json', - 'rel': 'root', - 'title': 'Simple Example Collection', - 'type': 'application/json'}, - {'href': './collection.json', - 'rel': 'parent', - 'title': 'Simple Example Collection', - 'type': 'application/json'}], - 'properties': {'datetime': '2020-12-11T22:38:32.125000Z'}, - 'stac_extensions': [], - 'stac_version': '1.0.0', - 'type': 'Feature'} +On instance['properties']: + {'datetime': '2020-12-11T22:38:32.125000Z'} === End JSON Schema === diff --git a/build/tests/contrib/stac/item/example_2_1.validation_failed.txt b/build/tests/contrib/stac/item/example_2_1.validation_failed.txt index a9a2d15..c340d87 100644 --- a/build/tests/contrib/stac/item/example_2_1.validation_failed.txt +++ b/build/tests/contrib/stac/item/example_2_1.validation_failed.txt @@ -1,5 +1,5 @@ Validation report for ogc.contrib.stac.item - STAC Item -Generated 2024-03-25T06:49:53.175546+00:00 +Generated 2024-04-23T07:52:52.303792+00:00 === Files === Using example_2_1.json from examples JSON-LD context is present - uplifting @@ -10,343 +10,144 @@ Output Turtle example_2_1.ttl created === JSON Schema === ** Validation error ** -ValidationError: 'time' is a required property +ValidationError: 'type' is a required property -Failed validating 'required' in schema['allOf'][0]['allOf'][0]: - {'properties': {'conformsTo': {'items': {'type': 'string'}, - 'type': 'array'}, - 'geometry': {'oneOf': [{'enum': [None]}, - {'$ref': 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml'}]}, - 'id': {'description': 'A unique identifier of the ' - 'catalog record.', - 'format': 'uri', - 'type': 'string'}, - 'linkTemplates': {'items': {'$ref': 'linkTemplate.yaml'}, - 'type': 'array'}, - 'links': {'items': {'$ref': 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml'}, - 'type': 'array'}, - 'properties': {'properties': {'contacts': {'description': 'A ' - 'list ' - 'of ' - 'contacts ' - 'qualified ' - 'by ' - 'their ' - 'role(s) ' - 'in ' - 'association ' - 'to ' - 'the ' - 'record ' - 'or ' - 'the ' - 'resource ' - 'described ' - 'by ' - 'the ' - 'record.', - 'items': {'$ref': 'contact.yaml'}, - 'type': 'array'}, - 'created': {'description': 'Date ' - 'of ' - 'creation ' - 'of ' - 'this ' - 'record.', - 'format': 'date-time', - 'type': 'string'}, - 'description': {'description': 'A ' - 'free-text ' - 'account ' - 'of ' - 'the ' - 'resource.', - 'type': 'string'}, - 'externalIds': {'description': 'An ' - 'identifier ' - 'for ' - 'the ' - 'resource ' - 'assigned ' - 'by ' - 'an ' - 'external ' - '(to ' - 'the ' - 'catalog) ' - 'entity.', - 'items': {'properties': {'scheme': {'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.', - 'type': 'string'}, - 'value': {'description': 'The ' - 'value ' - 'of ' - 'the ' - 'identifier.', - 'type': 'string'}}, - 'required': ['value'], - 'type': 'object'}, - 'type': 'array'}, - 'formats': {'description': 'A ' - 'list ' - 'of ' - 'available ' - 'distributions ' - 'of ' - 'the ' - 'resource.', - 'items': {'type': 'string'}, - 'type': 'array'}, - 'keywords': {'description': 'The ' - 'topic ' - 'or ' - 'topics ' - 'of ' - 'the ' - 'resource. ' - 'Typically ' - 'represented ' - 'using ' - 'free-form ' - 'keywords, ' - 'tags, ' - 'key ' - 'phrases, ' - 'or ' - 'classification ' - 'codes.', - 'items': {'type': 'string'}, - 'type': 'array'}, - 'language': {'$ref': 'language.yaml', - 'description': 'The ' - 'language ' - 'used ' - 'for ' - 'textual ' - 'values ' - 'in ' - 'this ' - 'record ' - 'representation.'}, - 'languages': {'description': 'This ' - 'list ' - 'of ' - 'languages ' - 'in ' - 'which ' - 'this ' - 'record ' - 'is ' - 'available.', - 'items': {'$ref': 'language.yaml'}, - 'type': 'array'}, - 'license': {'$ref': 'license.yaml'}, - 'resourceLanguages': {'description': 'The ' - 'list ' - 'of ' - 'languages ' - 'in ' +Failed validating 'required' in schema['allOf'][0]['properties']['properties']: + {'properties': {'contacts': {'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-ogcapi-records/build/annotated/api/records/v1/schemas/contact/schema.yaml'}, + 'type': 'array'}, + 'created': {'description': 'Date of creation of this ' + 'record.', + 'format': 'date-time', + 'type': 'string'}, + 'description': {'description': 'A free-text account of ' + 'the resource.', + 'type': 'string'}, + 'externalIds': {'description': 'An identifier for the ' + 'resource assigned by ' + 'an external (to the ' + 'catalog) entity.', + 'items': {'properties': {'scheme': {'description': 'A ' + 'reference ' + 'to ' + 'an ' + 'authority ' + 'or ' + 'identifier ' + 'for ' + 'a ' + 'knowledge ' + 'organization ' + 'system ' + 'from ' 'which ' 'the ' - 'resource ' - 'described ' - 'by ' - 'this ' - 'record ' + 'external ' + 'identifier ' + 'was ' + 'obtained. ' + 'It ' 'is ' - 'available.', - 'items': {'$ref': 'language.yaml'}, - 'type': 'array'}, - 'rights': {'description': 'A ' - 'statement ' - 'that ' - 'concerns ' - 'all ' - 'rights ' - 'not ' - 'addressed ' - 'by ' - 'the ' - 'license ' - 'such ' - 'as ' - 'a ' - 'copyright ' - 'statement.', - 'type': 'string'}, - 'themes': {'description': 'A ' - 'knowledge ' - 'organization ' - 'system ' - 'used ' - 'to ' - 'classify ' - 'the ' - 'resource.', - 'items': {'$ref': 'theme.yaml'}, - 'minItems': 1, - 'type': 'array'}, - 'title': {'description': 'A ' - 'human-readable ' - 'name ' - 'given ' - 'to ' - 'the ' - 'resource.', - 'type': 'string'}, - 'type': {'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, - 'type': 'string'}, - 'updated': {'description': 'The ' - 'most ' - 'recent ' - 'date ' - 'on ' - 'which ' - 'the ' - 'record ' - 'was ' - 'changed.', - 'format': 'date-time', - 'type': 'string'}}, - 'required': ['type', 'title'], - 'type': 'object'}, - 'time': {'$ref': 'time.yaml'}, - 'type': {'enum': ['Feature'], 'type': 'string'}}, - 'required': ['id', 'type', 'time', 'geometry', 'properties', 'links'], + 'recommended ' + 'that ' + 'the ' + 'identifier ' + 'be ' + 'a ' + 'resolvable ' + 'URI.', + 'type': 'string'}, + 'value': {'description': 'The ' + 'value ' + 'of ' + 'the ' + 'identifier.', + 'type': 'string'}}, + 'required': ['value'], + 'type': 'object'}, + 'type': 'array'}, + 'formats': {'description': 'A list of available ' + 'distributions of the ' + 'resource.', + 'items': {'type': 'string'}, + 'type': 'array'}, + 'keywords': {'description': 'The topic or topics of ' + 'the resource. Typically ' + 'represented using ' + 'free-form keywords, tags, ' + 'key phrases, or ' + 'classification codes.', + 'items': {'type': 'string'}, + 'type': 'array'}, + 'language': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml', + 'description': 'The language used for ' + 'textual values in this ' + 'record representation.'}, + 'languages': {'description': 'This list of languages ' + 'in which this record is ' + 'available.', + 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml'}, + 'type': 'array'}, + 'license': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/license/schema.yaml'}, + 'resourceLanguages': {'description': 'The list of ' + 'languages in ' + 'which the ' + 'resource ' + 'described by ' + 'this record is ' + 'available.', + 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml'}, + 'type': 'array'}, + 'rights': {'description': 'A statement that concerns ' + 'all rights not addressed by ' + 'the license such as a ' + 'copyright statement.', + 'type': 'string'}, + 'themes': {'description': 'A knowledge organization ' + 'system used to classify the ' + 'resource.', + 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/theme/schema.yaml'}, + 'minItems': 1, + 'type': 'array'}, + 'title': {'description': 'A human-readable name given ' + 'to the resource.', + 'type': 'string'}, + 'type': {'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, + 'type': 'string'}, + 'updated': {'description': 'The most recent date on ' + 'which the record was ' + 'changed.', + 'format': 'date-time', + 'type': 'string'}}, + 'required': ['type', 'title'], 'type': 'object'} -On instance: - {'assets': {'analytic': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2_analytic.tif', - 'roles': ['data'], - 'title': '4-Band Analytic', - 'type': 'image/tiff; application=geotiff; ' - 'profile=cloud-optimized'}, - 'ephemeris': {'href': 'http://cool-sat.com/catalog/20201211_223832_CS2/20201211_223832_CS2.EPH', - 'title': 'Satellite Ephemeris Metadata'}, - 'json-metadata': {'href': 'http://remotedata.io/catalog/20201211_223832_CS2/extended-metadata.json', - 'roles': ['metadata'], - 'title': 'Extended Metadata', - 'type': 'application/json'}, - 'thumbnail': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.jpg', - 'roles': ['thumbnail'], - 'title': 'Thumbnail', - 'type': 'image/png'}, - 'udm': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2_analytic_udm.tif', - 'title': 'Unusable Data Mask', - 'type': 'image/tiff; application=geotiff;'}, - 'visual': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.tif', - 'roles': ['visual'], - 'title': '3-Band Visual', - 'type': 'image/tiff; application=geotiff; ' - 'profile=cloud-optimized'}}, - 'bbox': [172.91173669923782, - 1.3438851951615003, - 172.95469614953714, - 1.3690476620161975], - 'collection': 'simple-collection', - 'geometry': {'coordinates': [[[172.91173669923782, 1.3438851951615003], - [172.95469614953714, 1.3438851951615003], - [172.95469614953714, 1.3690476620161975], - [172.91173669923782, 1.3690476620161975], - [172.91173669923782, - 1.3438851951615003]]], - 'type': 'Polygon'}, - 'id': '20201211_223832_CS2', - 'links': [{'href': './collection.json', - 'rel': 'collection', - 'title': 'Simple Example Collection', - 'type': 'application/json'}, - {'href': './collection.json', - 'rel': 'root', - 'title': 'Simple Example Collection', - 'type': 'application/json'}, - {'href': './collection.json', - 'rel': 'parent', - 'title': 'Simple Example Collection', - 'type': 'application/json'}, - {'href': 'http://remotedata.io/catalog/20201211_223832_CS2/index.html', - 'rel': 'alternate', - 'title': 'HTML version of this STAC Item', - 'type': 'text/html'}], - 'properties': {'constellation': 'ion', - 'created': '2020-12-12T01:48:13.725Z', - 'datetime': None, - 'description': 'A sample STAC Item that includes ' - 'examples of all common metadata', - 'end_datetime': '2020-12-11T22:38:32.327Z', - 'gsd': 0.512, - 'instruments': ['cool_sensor_v1'], - 'mission': 'collection 5624', - 'platform': 'cool_sat1', - 'start_datetime': '2020-12-11T22:38:32.125Z', - 'title': 'Core Item', - 'updated': '2020-12-12T01:48:13.725Z'}, - 'stac_extensions': [], - 'stac_version': '1.0.0', - 'type': 'Feature'} +On instance['properties']: + {'constellation': 'ion', + 'created': '2020-12-12T01:48:13.725Z', + 'datetime': None, + 'description': 'A sample STAC Item that includes examples of all ' + 'common metadata', + 'end_datetime': '2020-12-11T22:38:32.327Z', + 'gsd': 0.512, + 'instruments': ['cool_sensor_v1'], + 'mission': 'collection 5624', + 'platform': 'cool_sat1', + 'start_datetime': '2020-12-11T22:38:32.125Z', + 'title': 'Core Item', + 'updated': '2020-12-12T01:48:13.725Z'} === End JSON Schema === diff --git a/build/tests/report.html b/build/tests/report.html index 0e6b56f..1abbe60 100644 --- a/build/tests/report.html +++ b/build/tests/report.html @@ -27,7 +27,7 @@

Building blocks validation report

- Generated at 2024-03-25T06:49:56.075752+00:00 + Generated at 2024-04-23T07:52:55.456594+00:00

Number of passing building blocks: 0 / 4 (0%)

@@ -79,9 +79,9 @@

Output JSON-LD example_1_1.jsonld created
Output Turtle example_1_1.ttl created
JSON Schema
-
ValidationError: 'time' is a required property +
ValidationError: 'geometry' is a required property -Failed validating 'required' in schema['allOf'][1]['allOf'][0]: +Failed validating 'required' in schema['allOf'][1]: {'properties': {'conformsTo': {'items': {'type': 'string'}, 'type': 'array'}, 'geometry': {'oneOf': [{'enum': [None]}, @@ -90,7 +90,7 @@

'catalog record.', 'format': 'uri', 'type': 'string'}, - 'linkTemplates': {'items': {'$ref': 'linkTemplate.yaml'}, + 'linkTemplates': {'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/linkTemplate/schema.yaml'}, 'type': 'array'}, 'links': {'items': {'$ref': 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml'}, 'type': 'array'}, @@ -114,7 +114,7 @@

'by ' 'the ' 'record.', - 'items': {'$ref': 'contact.yaml'}, + 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/contact/schema.yaml'}, 'type': 'array'}, 'created': {'description': 'Date ' 'of ' @@ -162,7 +162,7 @@

'external ' 'identifier ' 'was ' - 'obtained. ' + 'obtained. ' 'It ' 'is ' 'recommended ' @@ -213,7 +213,7 @@

'codes.', 'items': {'type': 'string'}, 'type': 'array'}, - 'language': {'$ref': 'language.yaml', + 'language': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml', 'description': 'The ' 'language ' 'used ' @@ -234,9 +234,9 @@

'record ' 'is ' 'available.', - 'items': {'$ref': 'language.yaml'}, + 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml'}, 'type': 'array'}, - 'license': {'$ref': 'license.yaml'}, + 'license': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/license/schema.yaml'}, 'resourceLanguages': {'description': 'The ' 'list ' 'of ' @@ -251,7 +251,7 @@

'record ' 'is ' 'available.', - 'items': {'$ref': 'language.yaml'}, + 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml'}, 'type': 'array'}, 'rights': {'description': 'A ' 'statement ' @@ -279,7 +279,7 @@

'classify ' 'the ' 'resource.', - 'items': {'$ref': 'theme.yaml'}, + 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/theme/schema.yaml'}, 'minItems': 1, 'type': 'array'}, 'title': {'description': 'A ' @@ -343,9 +343,10 @@

'type': 'string'}}, 'required': ['type', 'title'], 'type': 'object'}, - 'time': {'$ref': 'time.yaml'}, + 'time': {'oneOf': [{'enum': [None]}, + {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/time/schema.yaml'}]}, 'type': {'enum': ['Feature'], 'type': 'string'}}, - 'required': ['id', 'type', 'time', 'geometry', 'properties', 'links'], + 'required': ['id', 'type', 'geometry', 'properties', 'links'], 'type': 'object'} On instance: @@ -568,680 +569,300 @@

Output JSON-LD example_1_1.jsonld created
Output Turtle example_1_1.ttl created
JSON Schema
-
ValidationError: 'time' is a required property +
ValidationError: 'type' is a required property -Failed validating 'required' in schema['allOf'][0]['allOf'][0]: - {'properties': {'conformsTo': {'items': {'type': 'string'}, - 'type': 'array'}, - 'geometry': {'oneOf': [{'enum': [None]}, - {'$ref': 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml'}]}, - 'id': {'description': 'A unique identifier of the ' - 'catalog record.', - 'format': 'uri', - 'type': 'string'}, - 'linkTemplates': {'items': {'$ref': 'linkTemplate.yaml'}, - 'type': 'array'}, - 'links': {'items': {'$ref': 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml'}, - 'type': 'array'}, - 'properties': {'properties': {'contacts': {'description': 'A ' - 'list ' - 'of ' - 'contacts ' - 'qualified ' - 'by ' - 'their ' - 'role(s) ' - 'in ' - 'association ' - 'to ' - 'the ' - 'record ' - 'or ' - 'the ' - 'resource ' - 'described ' - 'by ' - 'the ' - 'record.', - 'items': {'$ref': 'contact.yaml'}, - 'type': 'array'}, - 'created': {'description': 'Date ' - 'of ' - 'creation ' - 'of ' - 'this ' - 'record.', - 'format': 'date-time', - 'type': 'string'}, - 'description': {'description': 'A ' - 'free-text ' - 'account ' - 'of ' - 'the ' - 'resource.', - 'type': 'string'}, - 'externalIds': {'description': 'An ' - 'identifier ' - 'for ' - 'the ' - 'resource ' - 'assigned ' - 'by ' - 'an ' - 'external ' - '(to ' - 'the ' - 'catalog) ' - 'entity.', - 'items': {'properties': {'scheme': {'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.', - 'type': 'string'}, - 'value': {'description': 'The ' - 'value ' - 'of ' - 'the ' - 'identifier.', - 'type': 'string'}}, - 'required': ['value'], - 'type': 'object'}, - 'type': 'array'}, - 'formats': {'description': 'A ' - 'list ' - 'of ' - 'available ' - 'distributions ' - 'of ' - 'the ' - 'resource.', - 'items': {'type': 'string'}, - 'type': 'array'}, - 'keywords': {'description': 'The ' - 'topic ' - 'or ' - 'topics ' - 'of ' - 'the ' - 'resource. ' - 'Typically ' - 'represented ' - 'using ' - 'free-form ' - 'keywords, ' - 'tags, ' - 'key ' - 'phrases, ' - 'or ' - 'classification ' - 'codes.', - 'items': {'type': 'string'}, - 'type': 'array'}, - 'language': {'$ref': 'language.yaml', - 'description': 'The ' - 'language ' - 'used ' - 'for ' - 'textual ' - 'values ' - 'in ' - 'this ' - 'record ' - 'representation.'}, - 'languages': {'description': 'This ' - 'list ' - 'of ' - 'languages ' - 'in ' - 'which ' - 'this ' - 'record ' - 'is ' - 'available.', - 'items': {'$ref': 'language.yaml'}, - 'type': 'array'}, - 'license': {'$ref': 'license.yaml'}, - 'resourceLanguages': {'description': 'The ' - 'list ' - 'of ' - 'languages ' - 'in ' - 'which ' - 'the ' - 'resource ' - 'described ' - 'by ' - 'this ' - 'record ' - 'is ' - 'available.', - 'items': {'$ref': 'language.yaml'}, - 'type': 'array'}, - 'rights': {'description': 'A ' - 'statement ' - 'that ' - 'concerns ' - 'all ' - 'rights ' - 'not ' - 'addressed ' - 'by ' - 'the ' - 'license ' - 'such ' - 'as ' - 'a ' - 'copyright ' - 'statement.', - 'type': 'string'}, - 'themes': {'description': 'A ' - 'knowledge ' - 'organization ' - 'system ' - 'used ' - 'to ' - 'classify ' - 'the ' - 'resource.', - 'items': {'$ref': 'theme.yaml'}, - 'minItems': 1, - 'type': 'array'}, - 'title': {'description': 'A ' - 'human-readable ' - 'name ' - 'given ' - 'to ' - 'the ' - 'resource.', - 'type': 'string'}, - 'type': {'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, - 'type': 'string'}, - 'updated': {'description': 'The ' - 'most ' - 'recent ' - 'date ' - 'on ' - 'which ' - 'the ' - 'record ' - 'was ' - 'changed.', - 'format': 'date-time', - 'type': 'string'}}, - 'required': ['type', 'title'], - 'type': 'object'}, - 'time': {'$ref': 'time.yaml'}, - 'type': {'enum': ['Feature'], 'type': 'string'}}, - 'required': ['id', 'type', 'time', 'geometry', 'properties', 'links'], - 'type': 'object'} - -On instance: - {'assets': {'thumbnail': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.jpg', - 'roles': ['thumbnail'], - 'title': 'Thumbnail', - 'type': 'image/jpeg'}, - 'visual': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.tif', - 'roles': ['visual'], - 'title': '3-Band Visual', - 'type': 'image/tiff; application=geotiff; ' - 'profile=cloud-optimized'}}, - 'bbox': [172.91173669923782, - 1.3438851951615003, - 172.95469614953714, - 1.3690476620161975], - 'collection': 'simple-collection', - 'geometry': {'coordinates': [[[172.91173669923782, 1.3438851951615003], - [172.95469614953714, 1.3438851951615003], - [172.95469614953714, 1.3690476620161975], - [172.91173669923782, 1.3690476620161975], - [172.91173669923782, - 1.3438851951615003]]], - 'type': 'Polygon'}, - 'id': '20201211_223832_CS2', - 'links': [{'href': './collection.json', - 'rel': 'collection', - 'title': 'Simple Example Collection', - 'type': 'application/json'}, - {'href': './collection.json', - 'rel': 'root', - 'title': 'Simple Example Collection', - 'type': 'application/json'}, - {'href': './collection.json', - 'rel': 'parent', - 'title': 'Simple Example Collection', - 'type': 'application/json'}], - 'properties': {'datetime': '2020-12-11T22:38:32.125000Z'}, - 'stac_extensions': [], - 'stac_version': '1.0.0', - 'type': 'Feature'}
-
-

-
-

-
-
-
- - example_2_1.json - Example -
- Failed -
-
-
-
-
Files
-
Using example_2_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
-
JSON Schema
-
ValidationError: 'time' is a required property - -Failed validating 'required' in schema['allOf'][0]['allOf'][0]: - {'properties': {'conformsTo': {'items': {'type': 'string'}, - 'type': 'array'}, - 'geometry': {'oneOf': [{'enum': [None]}, - {'$ref': 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/geometryGeoJSON.yaml'}]}, - 'id': {'description': 'A unique identifier of the ' - 'catalog record.', - 'format': 'uri', - 'type': 'string'}, - 'linkTemplates': {'items': {'$ref': 'linkTemplate.yaml'}, - 'type': 'array'}, - 'links': {'items': {'$ref': 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml'}, - 'type': 'array'}, - 'properties': {'properties': {'contacts': {'description': 'A ' - 'list ' - 'of ' - 'contacts ' - 'qualified ' - 'by ' - 'their ' - 'role(s) ' - 'in ' - 'association ' - 'to ' - 'the ' - 'record ' - 'or ' - 'the ' - 'resource ' - 'described ' - 'by ' - 'the ' - 'record.', - 'items': {'$ref': 'contact.yaml'}, - 'type': 'array'}, - 'created': {'description': 'Date ' - 'of ' - 'creation ' - 'of ' - 'this ' - 'record.', - 'format': 'date-time', - 'type': 'string'}, - 'description': {'description': 'A ' - 'free-text ' - 'account ' - 'of ' - 'the ' - 'resource.', - 'type': 'string'}, - 'externalIds': {'description': 'An ' - 'identifier ' - 'for ' - 'the ' - 'resource ' - 'assigned ' - 'by ' - 'an ' - 'external ' - '(to ' - 'the ' - 'catalog) ' - 'entity.', - 'items': {'properties': {'scheme': {'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.', - 'type': 'string'}, - 'value': {'description': 'The ' - 'value ' - 'of ' - 'the ' - 'identifier.', - 'type': 'string'}}, - 'required': ['value'], - 'type': 'object'}, - 'type': 'array'}, - 'formats': {'description': 'A ' - 'list ' - 'of ' - 'available ' - 'distributions ' - 'of ' - 'the ' - 'resource.', - 'items': {'type': 'string'}, - 'type': 'array'}, - 'keywords': {'description': 'The ' - 'topic ' - 'or ' - 'topics ' - 'of ' - 'the ' - 'resource. ' - 'Typically ' - 'represented ' - 'using ' - 'free-form ' - 'keywords, ' - 'tags, ' - 'key ' - 'phrases, ' - 'or ' - 'classification ' - 'codes.', - 'items': {'type': 'string'}, - 'type': 'array'}, - 'language': {'$ref': 'language.yaml', - 'description': 'The ' - 'language ' - 'used ' - 'for ' - 'textual ' - 'values ' - 'in ' - 'this ' - 'record ' - 'representation.'}, - 'languages': {'description': 'This ' - 'list ' - 'of ' - 'languages ' - 'in ' - 'which ' - 'this ' - 'record ' - 'is ' - 'available.', - 'items': {'$ref': 'language.yaml'}, - 'type': 'array'}, - 'license': {'$ref': 'license.yaml'}, - 'resourceLanguages': {'description': 'The ' - 'list ' - 'of ' - 'languages ' - 'in ' +Failed validating 'required' in schema['allOf'][0]['properties']['properties']: + {'properties': {'contacts': {'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-ogcapi-records/build/annotated/api/records/v1/schemas/contact/schema.yaml'}, + 'type': 'array'}, + 'created': {'description': 'Date of creation of this ' + 'record.', + 'format': 'date-time', + 'type': 'string'}, + 'description': {'description': 'A free-text account of ' + 'the resource.', + 'type': 'string'}, + 'externalIds': {'description': 'An identifier for the ' + 'resource assigned by ' + 'an external (to the ' + 'catalog) entity.', + 'items': {'properties': {'scheme': {'description': 'A ' + 'reference ' + 'to ' + 'an ' + 'authority ' + 'or ' + 'identifier ' + 'for ' + 'a ' + 'knowledge ' + 'organization ' + 'system ' + 'from ' 'which ' 'the ' - 'resource ' - 'described ' - 'by ' - 'this ' - 'record ' + 'external ' + 'identifier ' + 'was ' + 'obtained. ' + 'It ' 'is ' - 'available.', - 'items': {'$ref': 'language.yaml'}, - 'type': 'array'}, - 'rights': {'description': 'A ' - 'statement ' - 'that ' - 'concerns ' - 'all ' - 'rights ' - 'not ' - 'addressed ' - 'by ' - 'the ' - 'license ' - 'such ' - 'as ' - 'a ' - 'copyright ' - 'statement.', - 'type': 'string'}, - 'themes': {'description': 'A ' - 'knowledge ' - 'organization ' - 'system ' - 'used ' - 'to ' - 'classify ' - 'the ' - 'resource.', - 'items': {'$ref': 'theme.yaml'}, - 'minItems': 1, - 'type': 'array'}, - 'title': {'description': 'A ' - 'human-readable ' - 'name ' - 'given ' - 'to ' - 'the ' - 'resource.', - 'type': 'string'}, - 'type': {'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, - 'type': 'string'}, - 'updated': {'description': 'The ' - 'most ' - 'recent ' - 'date ' - 'on ' - 'which ' - 'the ' - 'record ' - 'was ' - 'changed.', - 'format': 'date-time', - 'type': 'string'}}, - 'required': ['type', 'title'], - 'type': 'object'}, - 'time': {'$ref': 'time.yaml'}, - 'type': {'enum': ['Feature'], 'type': 'string'}}, - 'required': ['id', 'type', 'time', 'geometry', 'properties', 'links'], + 'recommended ' + 'that ' + 'the ' + 'identifier ' + 'be ' + 'a ' + 'resolvable ' + 'URI.', + 'type': 'string'}, + 'value': {'description': 'The ' + 'value ' + 'of ' + 'the ' + 'identifier.', + 'type': 'string'}}, + 'required': ['value'], + 'type': 'object'}, + 'type': 'array'}, + 'formats': {'description': 'A list of available ' + 'distributions of the ' + 'resource.', + 'items': {'type': 'string'}, + 'type': 'array'}, + 'keywords': {'description': 'The topic or topics of ' + 'the resource. Typically ' + 'represented using ' + 'free-form keywords, tags, ' + 'key phrases, or ' + 'classification codes.', + 'items': {'type': 'string'}, + 'type': 'array'}, + 'language': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml', + 'description': 'The language used for ' + 'textual values in this ' + 'record representation.'}, + 'languages': {'description': 'This list of languages ' + 'in which this record is ' + 'available.', + 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml'}, + 'type': 'array'}, + 'license': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/license/schema.yaml'}, + 'resourceLanguages': {'description': 'The list of ' + 'languages in ' + 'which the ' + 'resource ' + 'described by ' + 'this record is ' + 'available.', + 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml'}, + 'type': 'array'}, + 'rights': {'description': 'A statement that concerns ' + 'all rights not addressed by ' + 'the license such as a ' + 'copyright statement.', + 'type': 'string'}, + 'themes': {'description': 'A knowledge organization ' + 'system used to classify the ' + 'resource.', + 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/theme/schema.yaml'}, + 'minItems': 1, + 'type': 'array'}, + 'title': {'description': 'A human-readable name given ' + 'to the resource.', + 'type': 'string'}, + 'type': {'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, + 'type': 'string'}, + 'updated': {'description': 'The most recent date on ' + 'which the record was ' + 'changed.', + 'format': 'date-time', + 'type': 'string'}}, + 'required': ['type', 'title'], 'type': 'object'} -On instance: - {'assets': {'analytic': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2_analytic.tif', - 'roles': ['data'], - 'title': '4-Band Analytic', - 'type': 'image/tiff; application=geotiff; ' - 'profile=cloud-optimized'}, - 'ephemeris': {'href': 'http://cool-sat.com/catalog/20201211_223832_CS2/20201211_223832_CS2.EPH', - 'title': 'Satellite Ephemeris Metadata'}, - 'json-metadata': {'href': 'http://remotedata.io/catalog/20201211_223832_CS2/extended-metadata.json', - 'roles': ['metadata'], - 'title': 'Extended Metadata', - 'type': 'application/json'}, - 'thumbnail': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.jpg', - 'roles': ['thumbnail'], - 'title': 'Thumbnail', - 'type': 'image/png'}, - 'udm': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2_analytic_udm.tif', - 'title': 'Unusable Data Mask', - 'type': 'image/tiff; application=geotiff;'}, - 'visual': {'href': 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.tif', - 'roles': ['visual'], - 'title': '3-Band Visual', - 'type': 'image/tiff; application=geotiff; ' - 'profile=cloud-optimized'}}, - 'bbox': [172.91173669923782, - 1.3438851951615003, - 172.95469614953714, - 1.3690476620161975], - 'collection': 'simple-collection', - 'geometry': {'coordinates': [[[172.91173669923782, 1.3438851951615003], - [172.95469614953714, 1.3438851951615003], - [172.95469614953714, 1.3690476620161975], - [172.91173669923782, 1.3690476620161975], - [172.91173669923782, - 1.3438851951615003]]], - 'type': 'Polygon'}, - 'id': '20201211_223832_CS2', - 'links': [{'href': './collection.json', - 'rel': 'collection', - 'title': 'Simple Example Collection', - 'type': 'application/json'}, - {'href': './collection.json', - 'rel': 'root', - 'title': 'Simple Example Collection', - 'type': 'application/json'}, - {'href': './collection.json', - 'rel': 'parent', - 'title': 'Simple Example Collection', - 'type': 'application/json'}, - {'href': 'http://remotedata.io/catalog/20201211_223832_CS2/index.html', - 'rel': 'alternate', - 'title': 'HTML version of this STAC Item', - 'type': 'text/html'}], - 'properties': {'constellation': 'ion', - 'created': '2020-12-12T01:48:13.725Z', - 'datetime': None, - 'description': 'A sample STAC Item that includes ' - 'examples of all common metadata', - 'end_datetime': '2020-12-11T22:38:32.327Z', - 'gsd': 0.512, - 'instruments': ['cool_sensor_v1'], - 'mission': 'collection 5624', - 'platform': 'cool_sat1', - 'start_datetime': '2020-12-11T22:38:32.125Z', - 'title': 'Core Item', - 'updated': '2020-12-12T01:48:13.725Z'}, - 'stac_extensions': [], - 'stac_version': '1.0.0', - 'type': 'Feature'}
+On instance['properties']: + {'datetime': '2020-12-11T22:38:32.125000Z'}
+
+
+
+
+
+
+
+ + example_2_1.json + Example +
+ Failed +
+
+
+
+
Files
+
Using example_2_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
+
JSON Schema
+
ValidationError: 'type' is a required property + +Failed validating 'required' in schema['allOf'][0]['properties']['properties']: + {'properties': {'contacts': {'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-ogcapi-records/build/annotated/api/records/v1/schemas/contact/schema.yaml'}, + 'type': 'array'}, + 'created': {'description': 'Date of creation of this ' + 'record.', + 'format': 'date-time', + 'type': 'string'}, + 'description': {'description': 'A free-text account of ' + 'the resource.', + 'type': 'string'}, + 'externalIds': {'description': 'An identifier for the ' + 'resource assigned by ' + 'an external (to the ' + 'catalog) entity.', + 'items': {'properties': {'scheme': {'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.', + 'type': 'string'}, + 'value': {'description': 'The ' + 'value ' + 'of ' + 'the ' + 'identifier.', + 'type': 'string'}}, + 'required': ['value'], + 'type': 'object'}, + 'type': 'array'}, + 'formats': {'description': 'A list of available ' + 'distributions of the ' + 'resource.', + 'items': {'type': 'string'}, + 'type': 'array'}, + 'keywords': {'description': 'The topic or topics of ' + 'the resource. Typically ' + 'represented using ' + 'free-form keywords, tags, ' + 'key phrases, or ' + 'classification codes.', + 'items': {'type': 'string'}, + 'type': 'array'}, + 'language': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml', + 'description': 'The language used for ' + 'textual values in this ' + 'record representation.'}, + 'languages': {'description': 'This list of languages ' + 'in which this record is ' + 'available.', + 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml'}, + 'type': 'array'}, + 'license': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/license/schema.yaml'}, + 'resourceLanguages': {'description': 'The list of ' + 'languages in ' + 'which the ' + 'resource ' + 'described by ' + 'this record is ' + 'available.', + 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/language/schema.yaml'}, + 'type': 'array'}, + 'rights': {'description': 'A statement that concerns ' + 'all rights not addressed by ' + 'the license such as a ' + 'copyright statement.', + 'type': 'string'}, + 'themes': {'description': 'A knowledge organization ' + 'system used to classify the ' + 'resource.', + 'items': {'$ref': 'https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/theme/schema.yaml'}, + 'minItems': 1, + 'type': 'array'}, + 'title': {'description': 'A human-readable name given ' + 'to the resource.', + 'type': 'string'}, + 'type': {'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, + 'type': 'string'}, + 'updated': {'description': 'The most recent date on ' + 'which the record was ' + 'changed.', + 'format': 'date-time', + 'type': 'string'}}, + 'required': ['type', 'title'], + 'type': 'object'} + +On instance['properties']: + {'constellation': 'ion', + 'created': '2020-12-12T01:48:13.725Z', + 'datetime': None, + 'description': 'A sample STAC Item that includes examples of all ' + 'common metadata', + 'end_datetime': '2020-12-11T22:38:32.327Z', + 'gsd': 0.512, + 'instruments': ['cool_sensor_v1'], + 'mission': 'collection 5624', + 'platform': 'cool_sat1', + 'start_datetime': '2020-12-11T22:38:32.125Z', + 'title': 'Core Item', + 'updated': '2020-12-12T01:48:13.725Z'}