export default {
  "refs": {
    "element": {
      "type": "string"
    }
  },
  "defs": {
    "bind": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "input": {"enum": ["checkbox"]},
            "element": {"$ref": "#/refs/element"},
            "debounce": {"type": "number"}
          },
          "required": ["input"]
        },
        {
          "type": "object",
          "properties": {
            "input": {"enum": ["radio", "select"]},
            "element": {"$ref": "#/refs/element"},
            "options": {"type": "array"},
            "debounce": {"type": "number"}
          },
          "additionalProperties": false,
          "required": ["input", "options"]
        },
        {
          "type": "object",
          "properties": {
            "input": {"enum": ["range"]},
            "element": {"$ref": "#/refs/element"},
            "min": {"type": "number"},
            "max": {"type": "number"},
            "step": {"type": "number"},
            "debounce": {"type": "number"}
          },
          "additionalProperties": false,
          "required": ["input"]
        },
        {
          "type": "object",
          "properties": {
            "input": {
              "not": {"enum": ["checkbox", "radio", "range", "select"]}
            },
            "element": {"$ref": "#/refs/element"},
            "debounce": {"type": "number"}
          },
          "additionalProperties": true
        },
      ]
    }
  }
};

@@ -310,33 +310,73 @@
 type%22: %22number%22%7D
+,%0A            %22name%22: %7B%22type%22: %22string%22%7D
 %0A
-
           %7D,%0A   
@@ -658,32 +658,72 @@
 type%22: %22number%22%7D
+,%0A            %22name%22: %7B%22type%22: %22string%22%7D
 %0A          %7D,%0A  
@@ -1124,32 +1124,72 @@
 type%22: %22number%22%7D
+,%0A            %22name%22: %7B%22type%22: %22string%22%7D
 %0A          %7D,%0A  
@@ -1487,32 +1487,32 @@
 refs/element%22%7D,%0A
-
             %22deb
@@ -1537,16 +1537,56 @@
 number%22%7D
+,%0A            %22name%22: %7B%22type%22: %22string%22%7D
 %0A       

Add "name" as a legal "bind" property.