{
  "properties": [
    {
      "name": "value",
      "type": "String",
      "description": "Set signature pad value"
    },
    {
      "name": "signaturePadWidth",
      "type": "String",
      "default": "420px",
      "description": "Width signature pad"
    },
    {
      "name": "signaturePadHeight",
      "type": "String",
      "default": "160px",
      "description": "Height signature pad"
    },
    {
      "name": "lockSignaturePad",
      "type": "Boolean",
      "default": "false",
      "description": "Lock signature pad"
    },
    {
      "name": "clearTitle",
      "type": "String",
      "default": "EFFACER",
      "description": "Set clear title"
    },
    {
      "name": "signaruteInitText",
      "type": "String",
      "default": "",
      "description": "Set the text that will be displayed on signature pad init component if the signature value is undefined"
    },
    {
      "name": "validators",
      "type": "Array<Object>",
      "description": "Array of validator Objects. When multiple validators fail, only one error is displayed, determined by their order in the array. Each Object should have three fields:",
      "subProperty": [
        {
          "name": "name",
          "type": "String",
          "description": "Validator id"
        },
        {
          "name": "message",
          "type": "String",
          "description": "Error message that shown when validation fails"
        },
        {
          "name": "validator",
          "type": "Function",
          "description": "Function that takes input value as an argument and returns Boolean"
        }
      ]
    },
    {
      "name": "name",
      "type": "String",
      "description": "With this property signature will be listening to validation with current value for e.g. 'validateTest'"
    },
    {
      "name": "lockSignatureArea",
      "type": "Boolean",
      "description": "With this property set to true signature area will be lock for editing"
    },
    {
      "name": "signaturePadPoints",
      "type": "Array",
      "default": "[]",
      "description": "Set signature points that were stored"
    },
    {
      "name": "signaturePadAreaWidth",
      "type": "Number",
      "description": "Set signature pad area width with which signature was stored"
    }
  ],
  "events": [
    {
      "name": "empty",
      "description": "Emitted when next events are triggering like mouseup, mouseleave or clear button pressed, will return isEmpty status of signature pad"
    },
    {
      "name": "mouseup",
      "description": "Emitted when is mouseup event is trigger on signature pad and signature data is not empty and changed state, will return signature pad data value"
    },
    {
      "name": "mouseleave",
      "description": "Emitted when is mouseleave event is trigger on signature pad and signature data is not empty and changed state, will return signature pad data value"
    }
  ]
}
