lling_address_1': {
        'type': 'string'
      },
      'billing_address_2': {
        'type': 'string'
      }
    },
    'required': [
      'name'
    ],
    'dependentRequired': {
      'credit_card': [
        'billing_address_1',
      ],
      'billing_address_1': [
        'billing_address_2',
      ],
      'billing_address_2': [
        'billing_address_3',
      ]
    }
  }

  var editor = new JSONEditor(editorContainer, {
    schema: schema,
    theme: 'bootstrap4',
    iconlib: 'fontawesome