Skip to content

[schema] Application Service Registration meta schema #2132

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

V02460
Copy link
Contributor

@V02460 V02460 commented Apr 9, 2025

Sets the meta schema for the Application Service Registration to https://json-schema.org/draft/2020-12/schema. Specifying the meta schema clarifies the semantics of the schema files and allows tools to consume it correctly.

It seems to me that the registration.yaml and namespace_list.yaml are completely disjunct from the other OpenAPI schemas in the data/api/application-service folder. Because the other files follow OpenAPI v3.1.0, I still chose to use JSON Schema version 2020-12, which is the version that OpenAPI v3.1.0 data types and schema objects are based on.

Relevant parts of the OpenAPI v3.1.0 spec that justify the inclusion of the $schema keyword:

[The Schema Object] is a superset of the JSON Schema Specification Draft 2020-12.

Unless stated otherwise, the property definitions follow those of JSON Schema and do not add any additional semantics.

From https://spec.openapis.org/oas/v3.1.0.html#schema-object

Pull Request Checklist

V02460 added 2 commits April 9, 2025 10:39
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de>
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de>
@V02460 V02460 requested a review from a team as a code owner April 9, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant