{
  "id": "Form_1",
  "type": "default",
  "components": [
    {
      "id": "Field_1",
      "type": "text",
      "text": "# Invoice\nLorem _ipsum_ __dolor__ `sit`.\n  \n  \nA list of BPMN symbols:\n* Start Event\n* Task\nLearn more about [forms](https://bpmn.io).\n  \n  \nThis [malicious link](javascript:throw onerror=alert,'some string',123,'haha') __should not work__."
    },
    {
      "id": "Field_2",
      "key": "creditor",
      "label": "Creditor",
      "type": "textfield",
      "validate": {
        "required": true
      }
    },
    {
      "id": "Field_3",
      "description": "An invoice number in the format: C-123.",
      "key": "invoiceNumber",
      "label": "Invoice Number",
      "type": "textfield",
      "validate": {
        "pattern": "^C-[0-9]+$"
      }
    },
    {
      "id": "Field_4",
      "key": "amount",
      "label": "Amount",
      "type": "number",
      "validate": {
        "min": 0,
        "max": 1000
      }
    },
    {
      "id": "Field_5",
      "key": "approved",
      "label": "Approved",
      "type": "checkbox"
    },
    {
      "id": "Field_6",
      "key": "approvedBy",
      "label": "Approved By",
      "type": "textfield"
    },
    {
      "id": "Field_7",
      "key": "product",
      "label": "Product",
      "type": "radio",
      "values": [
        {
          "label": "Camunda Platform",
          "value": "camunda-platform"
        },
        {
          "label": "Camunda Cloud",
          "value": "camunda-cloud"
        }
      ]
    },
    {
      "id": "Field_8",
      "key": "language",
      "label": "Language",
      "type": "select",
      "values": [
        {
          "label": "German",
          "value": "german"
        },
        {
          "label": "English",
          "value": "english"
        }
      ]
    },
    {
      "id": "Field_9",
      "action": "submit",
      "key": "submit",
      "label": "Submit",
      "type": "button"
    },
    {
      "id": "Field_10",
      "action": "reset",
      "key": "reset",
      "label": "Reset",
      "type": "button"
    }
  ]
}