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

Move "definitions" to core as "$defs", start appendix on moved/renamed keywords #570

Merged
merged 5 commits into from
Mar 30, 2018

Conversation

handrews
Copy link
Contributor

@handrews handrews commented Mar 18, 2018

Includes updates of the meta-schemas and examples to match.

Addresses #512

NOTE: There are multiple commits to make this easy, as it's all very simple and mostly mechanical, but if you look at it all together it looks big. The commits in order:

  • actually move/rename
  • add the appendix to the validation spec
  • add to meta-schemas
  • use in meta-schemas
  • update examples

This moves the text but does not change it aside from the
keyword rename.  Includes change log updates.  Example and
meta-schema updates to follow.
Since we're moving (and in a few cases, renaming or splitting)
quite a few keywords, it seems worthwhile to include a brief
accounting of which keywords and why they were moved or
otherwise changed.  This way if someone searches the new text
for the old keywords, at least they'll find something useful.

In the case of "definitions", also advise against redefining
they keyword even though it is no longer technically a part
either spec after being changed to "$defs".
Keep "definitions" in the meta-schema for now to discourage
re-definition.  This may be re-considered depending on how
the vocabulary proposals develop before this draft is published.
instead of "definitions"
instead of "definitions"
@handrews handrews merged commit e4bdee0 into json-schema-org:defs-base Mar 30, 2018
@handrews handrews deleted the defs branch May 24, 2018 04:34
@gregsdennis gregsdennis added clarification Items that need to be clarified in the specification and removed Type: Maintenance labels Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification Items that need to be clarified in the specification core Priority: Medium validation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants