-
Notifications
You must be signed in to change notification settings - Fork 46
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
Multiple unnecessary schema redefinition #320
Comments
I fully agree with the goals here. However, for various reasons such as the ability to include things in metanorma documents, easily produce an API definition with swagger-cli bundle without external dependencies, and having normative schemas at https://schemas.opengis.net/ogcapi/processes/ before OGC API - Common is actually published, the building blocks originating from elsewhere are included here. The idea to organize the building blocks into I hope the efforts with the building blocks register and overall efforts to improve semantic support in the standards and the definition server will make this easier and help achieve and maintain consistency. We adopted the same practice in OGC API - Tiles, DGGS, Coverages, Maps, and those common- blocks should be mostly in sync there. The Common group has not met in a while, but this is related to opengeospatial/ogcapi-common#302. |
@pvretano I will close so that we focus on "more important" issues. We can reopen once building blocks will be better defined. |
Multiple schemas are redundant under: https://github.com/opengeospatial/ogcapi-processes/tree/master/openapi/schemas
Examples:
https://github.com/opengeospatial/ogcapi-processes/tree/master/openapi/schemas/geojson
directly redefines GeoJSON
Items under
that redefines items that are (or should be) provided in:
https://github.com/opengeospatial/ogcapi-processes/blob/master/openapi/schemas/processes-core/schema.yaml
which looks to be a (equivalent/simplified?) JSON-schema specification
and probably more...
Items that can be reused should do so to avoid diverging definitions and interpretation by developers/users/implementations.
Furthermore, reusing the https://github.com/opengeospatial/ogcapi-common schemas would facilitate interoperability between the various reusable components under the "OGC API - {standard}" umbrella.
The text was updated successfully, but these errors were encountered: