{
  "slug": "incident-report",
  "name": "Incident report",
  "description": "Capture what happened, who was hurt, and what was done, in the minutes after an event.",
  "page": "https://lazerforms.com/use-cases/incident-report",
  "create_url": "https://lazerforms.com/signup?template=incident-report",
  "fields": [
    {
      "id": "inc_date",
      "type": "datepicker",
      "label": "Date of the event",
      "required": true,
      "description": ""
    },
    {
      "id": "inc_time",
      "type": "text",
      "label": "Time of the event",
      "required": true,
      "description": ""
    },
    {
      "id": "inc_place",
      "type": "text",
      "label": "Where it happened",
      "required": true,
      "description": ""
    },
    {
      "id": "inc_type",
      "type": "select",
      "label": "Type of event",
      "required": true,
      "description": "",
      "options": [
        {
          "label": "Injury",
          "value": "injury"
        },
        {
          "label": "Near miss",
          "value": "near_miss"
        },
        {
          "label": "Property damage",
          "value": "property_damage"
        },
        {
          "label": "Environmental release",
          "value": "environmental_release"
        },
        {
          "label": "Security event",
          "value": "security_event"
        }
      ]
    },
    {
      "id": "inc_severity",
      "type": "select",
      "label": "Severity",
      "required": true,
      "description": "",
      "options": [
        {
          "label": "No treatment needed",
          "value": "no_treatment_needed"
        },
        {
          "label": "First aid",
          "value": "first_aid"
        },
        {
          "label": "Medical treatment",
          "value": "medical_treatment"
        },
        {
          "label": "Lost time",
          "value": "lost_time"
        },
        {
          "label": "Notifiable",
          "value": "notifiable"
        }
      ]
    },
    {
      "id": "inc_account",
      "type": "textarea",
      "label": "Account of the event",
      "required": true,
      "description": ""
    },
    {
      "id": "inc_involved",
      "type": "text",
      "label": "People involved",
      "required": false,
      "description": ""
    },
    {
      "id": "inc_action",
      "type": "textarea",
      "label": "Immediate action taken",
      "required": true,
      "description": ""
    },
    {
      "id": "inc_notified",
      "type": "checkbox-simple",
      "label": "The regulator has been notified",
      "required": true,
      "description": ""
    },
    {
      "id": "inc_photos",
      "type": "fileupload",
      "label": "Scene photographs",
      "required": false,
      "description": "Photograph the scene before anything is moved.",
      "max_files": 8
    },
    {
      "id": "inc_sign",
      "type": "signature-pad",
      "label": "Reporter signature",
      "required": true,
      "description": ""
    }
  ],
  "structure": [
    {
      "id": "inc_h1",
      "type": "heading",
      "label": "",
      "config": {
        "required": false,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "text": "What happened",
        "level": 2,
        "alignment": "left",
        "color": "#000",
        "font_size": 0,
        "font_weight": "700",
        "margin_top": 24,
        "margin_bottom": 8
      }
    },
    {
      "id": "inc_intro",
      "type": "paragraph",
      "label": "",
      "config": {
        "required": false,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "text": "Fill this in as soon as the scene is safe. Facts only. Leave the cause to the investigation.",
        "alignment": "left",
        "color": "#555",
        "font_size": 0,
        "line_height": "1.55",
        "margin_top": 0,
        "margin_bottom": 14
      }
    },
    {
      "id": "inc_date",
      "type": "datepicker",
      "label": "Date of the event",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "min": "",
        "max": ""
      }
    },
    {
      "id": "inc_time",
      "type": "text",
      "label": "Time of the event",
      "config": {
        "required": true,
        "placeholder": "24 hour, e.g. 14:35",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0
      }
    },
    {
      "id": "inc_place",
      "type": "text",
      "label": "Where it happened",
      "config": {
        "required": true,
        "placeholder": "Building, level, or grid reference",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0
      }
    },
    {
      "id": "inc_type",
      "type": "select",
      "label": "Type of event",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "options": [
          {
            "label": "Injury",
            "value": "injury"
          },
          {
            "label": "Near miss",
            "value": "near_miss"
          },
          {
            "label": "Property damage",
            "value": "property_damage"
          },
          {
            "label": "Environmental release",
            "value": "environmental_release"
          },
          {
            "label": "Security event",
            "value": "security_event"
          }
        ]
      }
    },
    {
      "id": "inc_severity",
      "type": "select",
      "label": "Severity",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "options": [
          {
            "label": "No treatment needed",
            "value": "no_treatment_needed"
          },
          {
            "label": "First aid",
            "value": "first_aid"
          },
          {
            "label": "Medical treatment",
            "value": "medical_treatment"
          },
          {
            "label": "Lost time",
            "value": "lost_time"
          },
          {
            "label": "Notifiable",
            "value": "notifiable"
          }
        ]
      }
    },
    {
      "id": "inc_account",
      "type": "textarea",
      "label": "Account of the event",
      "config": {
        "required": true,
        "placeholder": "In order, what happened before, during, and after.",
        "description": ""
      },
      "meta": {
        "minlength": 40,
        "maxlength": 0,
        "rows": 6
      }
    },
    {
      "id": "inc_h2",
      "type": "heading",
      "label": "",
      "config": {
        "required": false,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "text": "People and response",
        "level": 2,
        "alignment": "left",
        "color": "#000",
        "font_size": 0,
        "font_weight": "700",
        "margin_top": 24,
        "margin_bottom": 8
      }
    },
    {
      "id": "inc_involved",
      "type": "text",
      "label": "People involved",
      "config": {
        "required": false,
        "placeholder": "Names, or roles when a name is withheld",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0
      }
    },
    {
      "id": "inc_action",
      "type": "textarea",
      "label": "Immediate action taken",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0,
        "rows": 3
      }
    },
    {
      "id": "inc_notified",
      "type": "checkbox-simple",
      "label": "The regulator has been notified",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "defaultValue": "na"
      }
    },
    {
      "id": "inc_photos",
      "type": "fileupload",
      "label": "Scene photographs",
      "config": {
        "required": false,
        "placeholder": "",
        "description": "Photograph the scene before anything is moved."
      },
      "meta": {
        "allowed_types": "jpg, png",
        "camera": true,
        "max_files": 8,
        "min_files": 0
      }
    },
    {
      "id": "inc_sign",
      "type": "signature-pad",
      "label": "Reporter signature",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "height": 180,
        "pen_color": "#000",
        "background_color": "#ffffff"
      }
    }
  ],
  "example_submission": {
    "values": {
      "inc_date": "2026-09-09",
      "inc_time": "24 hour, e.g. 14:35",
      "inc_place": "Building, level, or grid reference",
      "inc_type": "injury",
      "inc_severity": "no_treatment_needed"
    },
    "idempotency_key": "incident-report-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."
  ]
}