{
  "slug": "job-application",
  "name": "Job application",
  "description": "Take an application with a resume attached, in a shape you can compare across candidates.",
  "page": "https://lazerforms.com/use-cases/job-application",
  "create_url": "https://lazerforms.com/signup?template=job-application",
  "fields": [
    {
      "id": "ja_role",
      "type": "select",
      "label": "Position you are applying for",
      "required": true,
      "description": "",
      "options": [
        {
          "label": "Warehouse operator",
          "value": "warehouse_operator"
        },
        {
          "label": "Delivery driver",
          "value": "delivery_driver"
        },
        {
          "label": "Customer support agent",
          "value": "customer_support_agent"
        },
        {
          "label": "Field technician",
          "value": "field_technician"
        },
        {
          "label": "Office administrator",
          "value": "office_administrator"
        }
      ]
    },
    {
      "id": "ja_hours",
      "type": "select",
      "label": "Hours you want",
      "required": true,
      "description": "",
      "options": [
        {
          "label": "Full time",
          "value": "full_time"
        },
        {
          "label": "Part time",
          "value": "part_time"
        },
        {
          "label": "Casual or shift work",
          "value": "casual_or_shift_work"
        },
        {
          "label": "Fixed term contract",
          "value": "fixed_term_contract"
        }
      ]
    },
    {
      "id": "ja_available",
      "type": "datepicker",
      "label": "Earliest date you could start",
      "required": true,
      "description": ""
    },
    {
      "id": "ja_name",
      "type": "text",
      "label": "Full name",
      "required": true,
      "description": ""
    },
    {
      "id": "ja_email",
      "type": "email",
      "label": "Email address",
      "required": true,
      "description": ""
    },
    {
      "id": "ja_phone",
      "type": "text",
      "label": "Phone number",
      "required": true,
      "description": ""
    },
    {
      "id": "ja_location",
      "type": "text",
      "label": "City and country you live in",
      "required": true,
      "description": ""
    },
    {
      "id": "ja_rights",
      "type": "checkbox-simple",
      "label": "I have the right to work in that country",
      "required": true,
      "description": ""
    },
    {
      "id": "ja_experience",
      "type": "textarea",
      "label": "Relevant experience",
      "required": true,
      "description": ""
    },
    {
      "id": "ja_why",
      "type": "textarea",
      "label": "Why this role",
      "required": false,
      "description": ""
    },
    {
      "id": "ja_resume",
      "type": "fileupload",
      "label": "Resume",
      "required": true,
      "description": "A PDF is best. A clear photograph of a printed resume is accepted.",
      "max_files": 3
    }
  ],
  "structure": [
    {
      "id": "ja_h1",
      "type": "heading",
      "label": "",
      "config": {
        "required": false,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "text": "The role",
        "level": 2,
        "alignment": "left",
        "color": "#000",
        "font_size": 0,
        "font_weight": "700",
        "margin_top": 24,
        "margin_bottom": 8
      }
    },
    {
      "id": "ja_role",
      "type": "select",
      "label": "Position you are applying for",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "options": [
          {
            "label": "Warehouse operator",
            "value": "warehouse_operator"
          },
          {
            "label": "Delivery driver",
            "value": "delivery_driver"
          },
          {
            "label": "Customer support agent",
            "value": "customer_support_agent"
          },
          {
            "label": "Field technician",
            "value": "field_technician"
          },
          {
            "label": "Office administrator",
            "value": "office_administrator"
          }
        ]
      }
    },
    {
      "id": "ja_hours",
      "type": "select",
      "label": "Hours you want",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "options": [
          {
            "label": "Full time",
            "value": "full_time"
          },
          {
            "label": "Part time",
            "value": "part_time"
          },
          {
            "label": "Casual or shift work",
            "value": "casual_or_shift_work"
          },
          {
            "label": "Fixed term contract",
            "value": "fixed_term_contract"
          }
        ]
      }
    },
    {
      "id": "ja_available",
      "type": "datepicker",
      "label": "Earliest date you could start",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "min": "",
        "max": ""
      }
    },
    {
      "id": "ja_h2",
      "type": "heading",
      "label": "",
      "config": {
        "required": false,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "text": "About you",
        "level": 2,
        "alignment": "left",
        "color": "#000",
        "font_size": 0,
        "font_weight": "700",
        "margin_top": 24,
        "margin_bottom": 8
      }
    },
    {
      "id": "ja_name",
      "type": "text",
      "label": "Full name",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0
      }
    },
    {
      "id": "ja_email",
      "type": "email",
      "label": "Email address",
      "config": {
        "required": true,
        "placeholder": "e.g., name@example.com",
        "description": ""
      },
      "meta": {}
    },
    {
      "id": "ja_phone",
      "type": "text",
      "label": "Phone number",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0
      }
    },
    {
      "id": "ja_location",
      "type": "text",
      "label": "City and country you live in",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0
      }
    },
    {
      "id": "ja_rights",
      "type": "checkbox-simple",
      "label": "I have the right to work in that country",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "defaultValue": ""
      }
    },
    {
      "id": "ja_experience",
      "type": "textarea",
      "label": "Relevant experience",
      "config": {
        "required": true,
        "placeholder": "The two or three jobs that matter most for this role.",
        "description": ""
      },
      "meta": {
        "minlength": 40,
        "maxlength": 0,
        "rows": 5
      }
    },
    {
      "id": "ja_why",
      "type": "textarea",
      "label": "Why this role",
      "config": {
        "required": false,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0,
        "rows": 3
      }
    },
    {
      "id": "ja_resume",
      "type": "fileupload",
      "label": "Resume",
      "config": {
        "required": true,
        "placeholder": "",
        "description": "A PDF is best. A clear photograph of a printed resume is accepted."
      },
      "meta": {
        "allowed_types": "pdf, docx, jpg, png",
        "camera": false,
        "max_files": 3,
        "min_files": 1
      }
    }
  ],
  "example_submission": {
    "values": {
      "ja_role": "warehouse_operator",
      "ja_hours": "full_time",
      "ja_available": "2026-09-09",
      "ja_name": "Jordan Ellery",
      "ja_email": "person@example.com"
    },
    "idempotency_key": "job-application-2026-09-09-001",
    "agent": {
      "name": "your-agent"
    }
  },
  "notes": [
    "Key every value by the field id, never by the label. A label may be renamed.",
    "A fileupload value is {\"base64\", \"filename\", \"content_type\"} or {\"url\"}, capped at 3 MB.",
    "A select value must match one of the option values exactly.",
    "A checkbox-simple value is one of yes, no, or na.",
    "A datepicker value is YYYY-MM-DD.",
    "Send an idempotency_key so a retry cannot store the same submission twice."
  ]
}