-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
We are looking into how to define schemas as Building Blocks that can be used as part of input / output definitions in OGC API - Processes implementations. The problem is that we’re finding conflicting information on what those schemas should look like:
- The 1.0 spec says that JSON Schema is used for this (the "JSON Schema" link points to Draft 2020-12).
- But then it goes on to say (Req. 49.B) "The value of the schema parameter SHALL be a JSON fragment that validates according to the JSON Schema: schema.yaml" (see next bullet point).
- The schemas inside https://schemas.opengis.net/ogcapi/processes/ contain their own "meta schema" definition: see how inputDescription.yaml references schema.yaml, which looks a lot like the OpenAPI 3.0 Schema Object definition ("nullable", "readOnly", "writeOnly").
2.0 seems to support Draft 2020-12 completely (the schema $ref even points directly to the 2020-12 meta schema), so this a 1.0 issue only.
Could the spec be amended so that it says something like "an extended subset of JSON Schema" (which is the language OpenAPI 3.0 uses), or schema.yaml extended to include support for Draft 2020-12?
CC: @rob-metalinkage
fmigneault
Metadata
Metadata
Assignees
Labels
No labels