-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Where is the schema instance for 3.1? #2371
Comments
No, JSON Schema vocabularies are referenced by URI not URLs, so this is not expected to resolve to anything. We can probably make this clearer in the spec. |
When I go here: https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.5 I can access that URI via my browser and download the meta-schema. I think this is what I find confusing. |
The current schema instance for OAS 3.0 has an We can possibly do better in automatically publishing changed schema instances via our There is no current schema instance for OAS 3.1, as that release is still a work-in-progress. Because of this confusion between the dialect |
Linked issue #2314 |
Worth noting that JSON Schema 2020-12, while published, hasn't published the associated meta-schema files yet. Meta-schemas are informative only, and we may also update them (as per the spec) to fix any issues where it doesn't match the spec. |
Thanks to work by @jdesrosiers and @philsturgeon we have a first version here https://github.com/OAI/OpenAPI-Specification/blob/master/schemas/v3.1/schema.json |
I left a comment here, but since the pull request was already merged, I decided to open this issue.
I wonder if this URL should resolve to some content (instead of a 404): https://spec.openapis.org/oas/3.1/schema-object
I was expecting a meta schema object at that URL.
The text was updated successfully, but these errors were encountered: