{
  "title": "Synthetic workshop signup",
  "description": "Only synthetic data is used in this example.",
  "questions": [
    { "key": "intro", "type": "section", "title": "工作坊資料" },
    {
      "key": "program",
      "type": "short_text",
      "title": "課程",
      "required": true,
      "personal": false
    },
    {
      "key": "session",
      "type": "dropdown",
      "title": "場次",
      "options": ["Demo A", "Demo B"],
      "required": true,
      "personal": false
    },
    {
      "key": "interest",
      "type": "number",
      "title": "興趣程度",
      "min": 0,
      "max": 5,
      "integer": true,
      "required": true,
      "personal": false
    },
    {
      "key": "preferred_date",
      "type": "date",
      "title": "期望日期",
      "personal": false
    },
    {
      "key": "topics",
      "type": "multiple_choice",
      "title": "主題",
      "options": ["Demo X", "Demo Y"],
      "required": true,
      "personal": false
    },
    {
      "key": "participants",
      "type": "repeating_group",
      "title": "參加者",
      "min": 1,
      "max": 4,
      "personal": false,
      "fields": [
        {
          "key": "participant_ref",
          "label": "匿名參加者編號",
          "type": "text",
          "required": true,
          "personal": false
        },
        {
          "key": "category",
          "label": "類別",
          "type": "single_choice",
          "options": ["Demo beginner", "Demo advanced"],
          "required": true,
          "personal": false
        }
      ]
    },
    { "key": "notes", "type": "paragraph", "title": "備註", "personal": true },
    {
      "key": "portal_source",
      "type": "hidden",
      "title": "來源",
      "personal": true
    }
  ]
}
