Skip to content

Conversation

jdorn
Copy link
Owner

@jdorn jdorn commented Jul 7, 2014

Adds support for recursive (a.k.a. "circular" or "self-referential") schemas. Also, make definition order not matter.

This requires a non-backwards compatible change to the Editor API, so this pull request will be the first v0.7 release.

TODO:

  • Recursive schema support
  • In oneOf (not first oneOf choice)
  • In array items
  • In pattern properties
  • Ignore definition declaration order when resolving references
  • Helpful warnings when infinite recursion is detected
  • Way to mark object properties as not added by default
  • Recursive schema support within these non-default properties
  • Overhaul of object properties modal
  • Fix broken dynamic header support (including tab labels)
  • Crease recursive.html example
  • Update documentation
  • Test!!!

Fixes #71
Fixes #142
Fixes #115
Fixes #128
Fixes #153
Fixes #181
Fixes #110

@jdorn jdorn merged commit be5d196 into master Jul 14, 2014
@brettz9
Copy link
Contributor

brettz9 commented Jul 14, 2014

Woohoo!

@oleics
Copy link

oleics commented Jul 18, 2014

:) so can I stop hacking the json-editor and start looking forward to v0.7

@jdorn jdorn deleted the recursive-schemas branch July 29, 2014 05:04
@dkbast
Copy link

dkbast commented Aug 18, 2016

Im having trouble loading data created using the recursive method back into the editor as starting values, is this even possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment