Feature Collections - Schemaspecdraftimplcandidate
Publish a logical schema of the feature properties, described in JSON Schema.
Scope
The schema is automatically derived from the type definitions in the feature provider. Currently, JSON Schema 2020-12, 2019-09 and 07 are supported.
Conformance Classes
Feature Collections - Schema is based on the OGC API - Features - Part 5: Schemas.
Operations
Resource | Path | Methods | Media Types | Description |
---|---|---|---|---|
Feature Schema | collections/{collectionId}/schema | GET | JSON Schema of the features of the collection collectionId . |
Path Parameters
Name | Resources | Description |
---|---|---|
collectionId | Feature Schema | The identifier of the feature collection. |
Query Parameters
Name | Resources | Description |
---|---|---|
f | Feature Schema | Select the output format of the response. If no value is provided, the standard HTTP rules apply, i.e., the "Accept" header will be used to determine the format. |
Configuration
Options
Name | Default | Description | Type | Since |
---|---|---|---|---|
buildingBlock | Always SCHEMA . | string | v3.1 | |
extensionType | Deprecated See buildingBlock . | string | v3.1 | |
enabled | false | Enable the building block? | boolean | v3.1 |
caching | {} | Sets fixed values for HTTP Caching Headers for the resources. | object | v3.1 |
versions | [ "V202012" ] | Deprecated List of enabled JSON Schema versions. Supported are 2020-12 ( V202012 ), 2019-09 (V201909 ) and 07 (V7 ). The draft specification only supports 2020-12. | array | v3.1 |
Examples
- buildingBlock: SCHEMA
enabled: true