Feature Collections - Schema

specdraftimplcandidate

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: Schemasopen in new window.

Operations

ResourcePathMethodsMedia TypesDescription
Feature Schema
collections/{collectionId}/schema
GET
JSON Schema of the features of the collection collectionId.

Path Parameters

NameResourcesDescription
collectionId
Feature Schema
The identifier of the feature collection.

Query Parameters

NameResourcesDescription
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

NameDefaultDescriptionTypeSince
buildingBlock
Always SCHEMA.
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
defaultProfiles
{"codelist": "codelists-ref"}
Change the default value of the profile parameter for schema resources. The value is an object where the key is the id of a profile set, such as codelist, and the value is the default profile for the profile set, e.g., codelists-inline. In addition, format-specific default profiles can be specified in the building block of each schema format. Those defaults have a higher priority.
object
v4.5

Examples


- buildingBlock: SCHEMA
  enabled: true