{
  "definitions": {
    "events": {
      "$ref": "#/definitions/Events",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "definitions": {
        "Events": {
          "additionalProperties": false,
          "properties": {
            "setVal": {
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string"
                },
                "valid": {
                  "type": "boolean"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "value",
                "valid",
                "id"
              ],
              "type": "object"
            }
          },
          "required": [
            "setVal"
          ],
          "type": "object"
        }
      }
    },
    "component": {
      "$ref": "#/definitions/Component",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "definitions": {
        "Component": {
          "additionalProperties": false,
          "properties": {
            "id": {
              "type": "string"
            },
            "schemaentry": {
              "$ref": "#/definitions/FormSchemaEntry"
            },
            "show_validation": {
              "enum": [
                "yes",
                "no"
              ],
              "type": "string"
            },
            "style": {
              "type": "string"
            }
          },
          "required": [
            "schemaentry"
          ],
          "type": "object"
        },
        "FormSchemaEntry": {
          "additionalProperties": false,
          "properties": {
            "id": {
              "description": "This will be both the key of the object when submitting the form's data, and also the id in the DOM.",
              "type": "string"
            },
            "label": {
              "description": "The descriptive label that will show alongside the form control.",
              "type": "string"
            },
            "params": {
              "description": "Other parameters that may be specific to a certain kind of form control.",
              "type": "object"
            },
            "placeholder": {
              "type": "string"
            },
            "readonly": {
              "type": "boolean"
            },
            "required": {
              "description": "This doesn't matter if the dependencies requirements aren't met.",
              "type": "boolean"
            },
            "validationRegex": {
              "type": "string"
            },
            "validationTip": {
              "description": "Shows if value is not valid.",
              "type": "string"
            },
            "value": {
              "description": "Optional default value.",
              "type": [
                "string",
                "number",
                "boolean"
              ]
            }
          },
          "required": [
            "id"
          ],
          "type": "object"
        }
      }
    }
  },
  "description": "",
  "storybookArgs": {
    "schemaentry": {
      "control": {
        "type": "object"
      }
    },
    "show_validation": {
      "control": {
        "type": "boolean"
      }
    },
    "setVal": {
      "action": "setVal"
    }
  },
  "styleSetup": {
    "vars": [
      {
        "name": "--bs-primary",
        "valueType": "color",
        "theme": "bootstrap",
        "defaultValue": "#07689f"
      },
      {
        "name": "--bs-secondary",
        "valueType": "color",
        "theme": "bootstrap",
        "defaultValue": "#c9d6df"
      },
      {
        "name": "--bs-success",
        "valueType": "color",
        "theme": "bootstrap",
        "defaultValue": "#11d3bc"
      },
      {
        "name": "--bs-info",
        "valueType": "color",
        "theme": "bootstrap",
        "defaultValue": "#a2d5f2"
      },
      {
        "name": "--bs-warning",
        "valueType": "color",
        "theme": "bootstrap",
        "defaultValue": "#ffc107"
      },
      {
        "name": "--bs-danger",
        "valueType": "color",
        "theme": "bootstrap",
        "defaultValue": "#f67280"
      }
    ],
    "parts": [
      {
        "name": "invalid-feedback",
        "description": ""
      }
    ]
  },
  "contributors": [],
  "htmlSlots": [],
  "i18n": [],
  "examples": [
    {
      "name": "default",
      "data": {
        "schemaentry": {
          "placeholder": "Insert your last name here...",
          "id": "testcheckbox",
          "required": true,
          "label": "Check Box",
          "validationTip": "This field cannot be empty."
        }
      }
    },
    {
      "name": "switch",
      "data": {
        "schemaentry": {
          "placeholder": "Insert your last name here...",
          "id": "testcheckboxchecked",
          "required": true,
          "value": true,
          "label": "Check Box",
          "validationTip": "This field cannot be empty.",
          "params": {
            "type": "switch"
          }
        }
      }
    },
    {
      "name": "checked",
      "data": {
        "schemaentry": {
          "placeholder": "Insert your last name here...",
          "id": "testcheckboxchecked",
          "required": true,
          "value": true,
          "label": "Check Box",
          "validationTip": "This field cannot be empty."
        }
      }
    }
  ],
  "screenshots": [],
  "licenses": [
    {
      "type": "Apache-2.0",
      "path": "LICENSE.md",
      "cost": 0,
      "currency": "EUR"
    }
  ],
  "readmePath": "README.md",
  "name": "hb-input-checkbox",
  "category": "input",
  "tags": [
    "input"
  ],
  "size": {},
  "iifePath": "main.iife.js",
  "repoName": "@htmlbricks/hb-input-checkbox",
  "version": "0.65.13"
}