{
  "snapi_template": 1,
  "name": "Event Registration",
  "description": "Registrations need confirming and tracking. Collect signups on a board and send the confirmation and calendar invite when you confirm.",
  "app": "$f1",
  "root": "$f1",
  "forms": [
    {
      "token": "$f1",
      "name": "Event Registration",
      "description": "Event Registration — submit and work the queue",
      "icon": "fas fa-calendar-check",
      "color": "#2551ed",
      "is_public": false,
      "auth_required": false,
      "is_app": true,
      "success_message": "Submitted successfully.",
      "config": {
        "fields": [
          {
            "name": "hub_title",
            "label": "Event Registration",
            "type": "title"
          },
          {
            "name": "hub_intro",
            "label": "Submit a registration, or open the board to work the queue. Moving a card fires a webhook back to your automation.",
            "type": "subtitle"
          },
          {
            "name": "new_item",
            "label": "Register",
            "type": "button",
            "buttonActionType": "navigate",
            "buttonTargetKind": "form",
            "buttonTargetEntityId": "$f2",
            "buttonIcon": "fas fa-plus",
            "buttonStyle": "primary"
          },
          {
            "name": "board_link",
            "label": "Registration board",
            "type": "link",
            "linkAction": "navigate",
            "linkTargetKind": "board",
            "linkTargetBoardId": "$b1",
            "linkIcon": "fas fa-columns"
          }
        ]
      }
    },
    {
      "token": "$f2",
      "name": "Registration",
      "description": "A registration",
      "icon": "fas fa-calendar-check",
      "color": "#0ea5e9",
      "is_public": true,
      "auth_required": false,
      "is_app": false,
      "success_message": "Submitted — it's now in the queue.",
      "default_board": "$b1",
      "default_column": "$c1",
      "config": {
        "fields": [
          {
            "name": "ref_no",
            "label": "Ref #",
            "type": "sequence",
            "sequenceId": "$s1",
            "sequenceEditable": false
          },
          {
            "name": "name",
            "label": "Name",
            "type": "text",
            "required": true
          },
          {
            "name": "email",
            "label": "Email",
            "type": "email",
            "required": true
          },
          {
            "name": "ticket",
            "label": "Ticket type",
            "type": "select",
            "options": [
              "General",
              "VIP",
              "Speaker"
            ]
          },
          {
            "name": "dietary",
            "label": "Dietary needs",
            "type": "text"
          }
        ]
      }
    }
  ],
  "boards": [
    {
      "token": "$b1",
      "name": "Event Registration Queue",
      "description": "New items land in Registered. Drag a card to Confirmed — that move fires the form's post-webhook so your automation can continue.",
      "nav_items": [
        {
          "name": "nav_new",
          "label": "Register",
          "type": "button",
          "buttonActionType": "navigate",
          "buttonTargetKind": "form",
          "buttonTargetEntityId": "$f2",
          "buttonIcon": "fas fa-plus",
          "buttonStyle": "primary"
        }
      ],
      "columns": [
        {
          "token": "$c1",
          "name": "Registered",
          "color": "#0ea5e9",
          "position": 0
        },
        {
          "token": "$c2",
          "name": "Confirmed",
          "color": "#10b981",
          "position": 1
        },
        {
          "token": "$c3",
          "name": "Waitlist",
          "color": "#f59e0b",
          "position": 2
        },
        {
          "token": "$c4",
          "name": "Cancelled",
          "color": "#64748b",
          "position": 3
        }
      ]
    }
  ],
  "sequences": [
    {
      "token": "$s1",
      "name": "event_registration",
      "prefix": "REG-",
      "padding": 4,
      "reset_period": null
    }
  ]
}
