Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema conformance class for part 2? #334

Open
jerstlouis opened this issue Sep 28, 2023 · 2 comments
Open

Schema conformance class for part 2? #334

jerstlouis opened this issue Sep 28, 2023 · 2 comments

Comments

@jerstlouis
Copy link
Member

As suggested at the OGC API - Common session of the 127th Members Meeting in Singapore:

It would be great if Part 2 could include a conformance class for "schemas" that would describe the properties / field of the collection of geospatial data, in line with what Features is defining in Part 5: Schemas ( opengeospatial/ogcapi-features#740 ).

This could be kept to a minimum:

  • guidance for link relation types to link to the schema
  • specifying that a JSON representation of the schema will be a JSON Schema
  • specifying the /collections/{collectionId}/schema resource ?
  • specifying the x-ogc-* mechanism for extending JSON Schema with semantic annotations

We are now also using this approach in OGC API - Coverages to describe the fields of the coverage.

@jerstlouis
Copy link
Member Author

We have a full draft for Schemas now in https://docs.ogc.org/DRAFTS/20-024.html#rc-schemas (update not yet auto-generated).
It integrates the Schemas, Property roles, Returnables/Receivables, Queryables and Sortables requirement classes of Features - Part 5.

See also opengeospatial/ogcapi-features#954

@jerstlouis
Copy link
Member Author

See Wiki page to keep track of the x-ogc-* extension keywords until the Naming Authority sets up a register for them:

https://github.com/opengeospatial/ogcapi-common/wiki/Table-of-extensions-to-the-JSON-Schema-vocabulary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants