
module.exports = {
  components: [
    {
      "input": true,
      "tableView": true,
      "inputType": "text",
      "inputMask": "",
      "label": "Text Field",
      "key": "textField2",
      "placeholder": "",
      "prefix": "",
      "suffix": "",
      "multiple": false,
      "defaultValue": "",
      "protected": false,
      "unique": false,
      "persistent": true,
      "validate": {
        "required": false,
        "minLength": "",
        "maxLength": "",
        "pattern": "",
        "custom": "",
        "customPrivate": false
      },
      "conditional": {
        "show": null,
        "when": null,
        "eq": ""
      },
      "type": "textfield"
    },
    {
      "input": true,
      "tableView": true,
      "inputType": "number",
      "label": "Number",
      "key": "number2",
      "placeholder": "",
      "prefix": "",
      "suffix": "",
      "defaultValue": 0,
      "protected": false,
      "persistent": true,
      "validate": {
        "required": false,
        "min": "",
        "max": "",
        "step": "any",
        "integer": "",
        "multiple": "",
        "custom": ""
      },
      "type": "number",
      "conditional": {
        "show": null,
        "when": null,
        "eq": ""
      }
    },
    {
      "input": true,
      "tableView": true,
      "label": "Text Area",
      "key": "textArea2",
      "placeholder": "",
      "prefix": "",
      "suffix": "",
      "rows": 3,
      "multiple": false,
      "defaultValue": "",
      "protected": false,
      "persistent": true,
      "wysiwyg": false,
      "validate": {
        "required": false,
        "minLength": "",
        "maxLength": "",
        "pattern": "",
        "custom": ""
      },
      "type": "textarea",
      "conditional": {
        "show": null,
        "when": null,
        "eq": ""
      }
    },
    {
      "input": true,
      "inputType": "checkbox",
      "tableView": true,
      "hideLabel": true,
      "label": "Checkbox",
      "key": "checkbox2",
      "defaultValue": false,
      "protected": false,
      "persistent": true,
      "validate": {
        "required": false
      },
      "type": "checkbox",
      "conditional": {
        "show": null,
        "when": null,
        "eq": ""
      }
    },
    {
      "input": true,
      "tableView": true,
      "label": "SelectBoxes",
      "key": "selectBoxes2",
      "values": [
        {
          "value": "one",
          "label": "One"
        },
        {
          "value": "two",
          "label": "Two"
        },
        {
          "value": "three",
          "label": "Three"
        }
      ],
      "inline": false,
      "protected": false,
      "persistent": true,
      "validate": {
        "required": false
      },
      "type": "selectboxes",
      "conditional": {
        "show": null,
        "when": null,
        "eq": ""
      }
    },
    {
      "input": true,
      "tableView": true,
      "label": "Select",
      "key": "select2",
      "placeholder": "",
      "data": {
        "values": [
          {
            "value": "one",
            "label": "One"
          },
          {
            "value": "two",
            "label": "Two"
          },
          {
            "value": "three",
            "label": "Three"
          }
        ],
        "json": "",
        "url": "",
        "resource": ""
      },
      "dataSrc": "values",
      "valueProperty": "",
      "defaultValue": "",
      "refreshOn": "",
      "filter": "",
      "authenticate": false,
      "template": "<span>{{ item.label }}</span>",
      "multiple": false,
      "protected": false,
      "unique": false,
      "persistent": true,
      "validate": {
        "required": false
      },
      "type": "select",
      "conditional": {
        "show": null,
        "when": null,
        "eq": ""
      }
    },
    {
      "input": true,
      "tableView": true,
      "inputType": "radio",
      "label": "Radio",
      "key": "radio2",
      "values": [
        {
          "value": "one",
          "label": "One"
        },
        {
          "value": "two",
          "label": "Two"
        },
        {
          "value": "three",
          "label": "Three"
        }
      ],
      "defaultValue": "",
      "protected": false,
      "persistent": true,
      "validate": {
        "required": false,
        "custom": "",
        "customPrivate": false
      },
      "type": "radio",
      "conditional": {
        "show": null,
        "when": null,
        "eq": ""
      }
    },
    {
      "input": true,
      "tableView": true,
      "inputType": "email",
      "label": "Email",
      "key": "email2",
      "placeholder": "",
      "prefix": "",
      "suffix": "",
      "defaultValue": "",
      "protected": false,
      "unique": false,
      "persistent": true,
      "type": "email",
      "conditional": {
        "show": null,
        "when": null,
        "eq": ""
      }
    },
    {
      "input": true,
      "tableView": true,
      "inputMask": "(999) 999-9999",
      "label": "Phone Number",
      "key": "phoneNumber2",
      "placeholder": "",
      "prefix": "",
      "suffix": "",
      "multiple": false,
      "protected": false,
      "unique": false,
      "persistent": true,
      "defaultValue": "",
      "validate": {
        "required": false
      },
      "type": "phoneNumber",
      "conditional": {
        "show": null,
        "when": null,
        "eq": ""
      }
    },
    {
      "conditional": {
        "eq": "",
        "when": null,
        "show": null
      },
      "type": "address",
      "validate": {
        "required": false
      },
      "persistent": true,
      "unique": false,
      "protected": false,
      "multiple": false,
      "placeholder": "",
      "key": "address2",
      "label": "Address",
      "tableView": true,
      "input": true
    },
    {
      "input": true,
      "tableView": true,
      "label": "Date / Time",
      "key": "dateTime2",
      "placeholder": "",
      "format": "yyyy-MM-dd HH:mm",
      "enableDate": true,
      "enableTime": true,
      "datepickerMode": "day",
      "datePicker": {
        "showWeeks": true,
        "startingDay": 0,
        "initDate": "",
        "minMode": "day",
        "maxMode": "year",
        "yearRange": "20",
        "datepickerMode": "day"
      },
      "timePicker": {
        "hourStep": 1,
        "minuteStep": 1,
        "showMeridian": true,
        "readonlyInput": false,
        "mousewheel": true,
        "arrowkeys": true
      },
      "protected": false,
      "persistent": true,
      "validate": {
        "required": false,
        "custom": ""
      },
      "type": "datetime",
      "conditional": {
        "show": null,
        "when": null,
        "eq": ""
      }
    },
    {
      "type": "currency",
      "conditional": {
        "eq": "",
        "when": null,
        "show": null
      },
      "validate": {
        "custom": "",
        "multiple": "",
        "required": false
      },
      "persistent": true,
      "protected": false,
      "defaultValue": "",
      "suffix": "",
      "prefix": "",
      "placeholder": "",
      "key": "currency2",
      "label": "Currency",
      "inputMask": "",
      "inputType": "text",
      "tableView": true,
      "input": true
    },
    {
      "input": true,
      "tableView": true,
      "key": "hidden2",
      "label": "Hidden",
      "protected": false,
      "unique": false,
      "persistent": true,
      "type": "hidden",
      "conditional": {
        "show": null,
        "when": null,
        "eq": ""
      }
    },
    {
      "input": true,
      "tableView": true,
      "label": "Resource",
      "key": "resource2",
      "placeholder": "",
      "resource": "5692b920d1028f01000407e7",
      "project": "5692b91fd1028f01000407e3",
      "defaultValue": "",
      "template": "<span>{{ item.data }}</span>",
      "selectFields": "",
      "searchFields": "",
      "multiple": false,
      "protected": false,
      "persistent": true,
      "validate": {
        "required": false
      },
      "defaultPermission": "",
      "type": "resource",
      "conditional": {
        "show": null,
        "when": null,
        "eq": ""
      }
    },
    {
      "conditional": {
        "eq": "",
        "when": null,
        "show": null
      },
      "type": "file",
      "protected": false,
      "defaultValue": "",
      "multiple": false,
      "placeholder": "",
      "key": "file2",
      "label": "File",
      "tableView": true,
      "input": true
    },
    {
      "conditional": {
        "eq": "",
        "when": null,
        "show": null
      },
      "hideLabel": true,
      "type": "signature",
      "validate": {
        "required": false
      },
      "persistent": true,
      "protected": false,
      "maxWidth": "2.5",
      "minWidth": "0.5",
      "backgroundColor": "rgb(245,245,235)",
      "penColor": "black",
      "height": "150px",
      "width": "100%",
      "footer": "Sign above",
      "placeholder": "",
      "key": "signature2",
      "label": "Signature",
      "tableView": true,
      "input": true
    },
    {
      "input": true,
      "tableView": true,
      "label": "Survey",
      "key": "survey2",
      "questions": [
        {
          "value": "one",
          "label": "One"
        },
        {
          "value": "two",
          "label": "Two"
        }
      ],
      "values": [
        {
          "value": "alpha",
          "label": "Alpha"
        },
        {
          "value": "bet",
          "label": "Bet"
        }
      ],
      "defaultValue": "",
      "protected": false,
      "persistent": true,
      "validate": {
        "required": false,
        "custom": "",
        "customPrivate": false
      },
      "type": "survey",
      "conditional": {
        "show": null,
        "when": null,
        "eq": ""
      }
    }
  ],
  submission: {
    textField2: 'test value again',
    number2: 200,
    textArea2: 'This is the contents again',
    checkbox2: true,
    selectBoxes2: {
      one: false,
      two: true,
      three: true
    },
    select2: 'three',
    radio2: 'one',
    email2: 'none2@example.com',
    phoneNumber2: '3947573039',
    address2: {
      "address_components": [
        {
          "long_name": "123",
          "short_name": "123",
          "types": [
            "street_number"
          ]
        },
        {
          "long_name": "Fake Drive",
          "short_name": "Fake Dr",
          "types": [
            "route"
          ]
        },
        {
          "long_name": "Luray",
          "short_name": "Luray",
          "types": [
            "locality",
            "political"
          ]
        },
        {
          "long_name": "1, West Luray",
          "short_name": "1, West Luray",
          "types": [
            "administrative_area_level_3",
            "political"
          ]
        },
        {
          "long_name": "Page County",
          "short_name": "Page County",
          "types": [
            "administrative_area_level_2",
            "political"
          ]
        },
        {
          "long_name": "Virginia",
          "short_name": "VA",
          "types": [
            "administrative_area_level_1",
            "political"
          ]
        },
        {
          "long_name": "United States",
          "short_name": "US",
          "types": [
            "country",
            "political"
          ]
        },
        {
          "long_name": "22835",
          "short_name": "22835",
          "types": [
            "postal_code"
          ]
        },
        {
          "long_name": "2722",
          "short_name": "2722",
          "types": [
            "postal_code_suffix"
          ]
        }
      ],
        "formatted_address": "123 Fake Dr, Luray, VA 22835, USA",
        "geometry": {
        "bounds": {
          "northeast": {
            "lat": 38.7062041,
              "lng": -78.5065
          },
          "southwest": {
            "lat": 38.70619,
              "lng": -78.5065048
          }
        },
        "location": {
          "lat": 38.7062041,
            "lng": -78.5065
        },
        "location_type": "RANGE_INTERPOLATED",
          "viewport": {
          "northeast": {
            "lat": 38.7075460302915,
              "lng": -78.50515341970849
          },
          "southwest": {
            "lat": 38.7048480697085,
              "lng": -78.50785138029151
          }
        }
      },
      "partial_match": true,
        "place_id": "EiExMjMgRmFrZSBEciwgTHVyYXksIFZBIDIyODM1LCBVU0E",
        "types": [
        "street_address"
      ]
    },
    dateTime2: '2016-08-23T21:48:10.225Z',
    currency2: '2,000',
    hidden2: 'Im hidden!',
    resource2: {},
    file2: [{
      storage: 's3',
      url: 'http://google.com/another'
    }],
    signature2: 'data:image/png;base64, ',
    survey2: {
      one: "bet",
      two: "alpha"
    }
  }
}