Recursive JSON Editor Example

This example demonstrates the many ways you can use recursive schemas (aka self-referential or circular schemas).

  • Within array items as long as minLength is 0. See "coworkers" below.
  • In non-default properties. See "mother" below (click the "object properties" button and check "mother")
  • In oneOf as long as it's not the 1st choice. See "bestFriend" below.
  • In patternProperties. Try adding the property "cousin_1" using the "object properties" button.