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

add implicit reference string schemas #1432

Closed
wants to merge 4 commits into from

Conversation

gregsdennis
Copy link
Member

@gregsdennis gregsdennis commented Aug 29, 2023

This is just a concept PR to get an idea of what #1078 might look like.

I'm not too particular on the wording of the new core spec section, but it's interesting to see the effect on the meta-schemas. It definitely eliminates the cruft of having to wrap every reference in { "$ref": ... }.

There is an argument to be made about readability, but I'm sure it's just a matter of getting used to seeing it (like boolean schemas was).

jsonschema-core.md Outdated Show resolved Hide resolved
jsonschema-core.md Outdated Show resolved Hide resolved
@gregsdennis gregsdennis force-pushed the gregsdennis/implicit-refs branch from 3a5b703 to e8a81bf Compare September 4, 2023 00:48
@gregsdennis gregsdennis marked this pull request as ready for review October 31, 2023 20:23
@gregsdennis gregsdennis force-pushed the gregsdennis/implicit-refs branch from 8ba7252 to 97f7528 Compare November 16, 2023 20:46
@gregsdennis gregsdennis marked this pull request as draft April 15, 2024 04:42
@gregsdennis
Copy link
Member Author

I need to rework this as a proposal.

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.

2 participants