
        'type': 'integer',
        'format': 'stepper',
        "default": "",
        "minimum": 5,
        "maximum": 6
      }
    }
  };

  var editor = new JSONEditor(jsonEditorContainer, {
    schema: schema,
    theme: 'bootstrap5',
    use_default_values: false,
    required_by_default: true,
    show_errors: 'always'
  });

  document.querySelector('.get-value').addEventListener('click', function () {
    value.value = JSON.stringify(editor.getValue());
    console.log(editor.getValue());
  });

 