{
  "additionalProperties": false,
  "properties": {
    "fields": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "type": {
            "enum": [
              "string",
              "number",
              "boolean",
              "date",
              "money"
            ],
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "maxItems": 100,
      "type": "array"
    },
    "form": {
      "description": "Name of the form whose submissions start the flow.",
      "minLength": 1,
      "type": "string",
      "x-lumen-widget": "form-ref"
    }
  },
  "required": [
    "form"
  ],
  "type": "object"
}
