Feature Collections - Schemaspecdraftimplcandidate
Publish the JSON Schema of the features.
Scope
The schema is automatically derived from the type definitions in the feature provider. Currently JSON Schema 2019-09 for GeoJSON outputs is supported.
Conformance Classes
Feature Collections - Schema is based on the OGC API Features proposal for a new part 'Schemas' and ongoing discussions.
Operations
Resource | Path | Methods | Media Types | Description |
---|---|---|---|---|
Feature Schema | collections/{collectionId}/schemas/{type} | GET | JSON Schema of the GeoJSON features ( type : "feature") or GeoJSON feature collection (type : "collection") for the collection collectionId . |
Path Parameters
Name | Resources | Description |
---|---|---|
collectionId | Feature Schema | The identifier of the feature collection. |
type | Feature Schema | The type of the resource that the schema describes. Either feature for the schema of the GeoJSON features in the collection or collection for the schema of the GeoJSON feature collection that contains the features in the 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. |
profile | Feature Schema | Select the JSON Schema version of the response. Supported are "2019-09" (default) and "07". |
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 |
Examples
- buildingBlock: SCHEMA
enabled: true