Feature Collections - Schema Validation

speccustomimplcandidate

JSON Schema profiles for GeoJSON with or without the JSON-FG extensions and for the returnables and receivables representations of features.

Scope

This building block defines four profiles for the JSON Schema resources of a collection to support validation of GeoJSON and JSON-FG features.

The profiles are:

  • "validation-returnables-geojson": JSON Schema for validating a GeoJSON feature that is returned as a response to a query
  • "validation-receivables-geojson": JSON Schema for validating a GeoJSON feature that is sent to the server as part of a create or update operation
  • "validation-returnables-jsonfg": JSON Schema for validating JSON-FG features that a returned as a response to a query
  • "validation-receivables-jsonfg": JSON Schema for validating a JSON-FG feature that is sent to the server as part of a create or update operation

Configuration

Options

NameDefaultDescriptionTypeSince
buildingBlock
Always SCHEMA_VALIDATION.
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_VALIDATION
  enabled: true