"title": "Checkboxes",
    "items": {
      "title": "Checkbox",
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": ["1", "2", "3", "4", "5"]
      }
    }
  };

  var editor = new JSONEditor(container, {
    schema: schema
  });

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

</script>

</body>
</html>