Your records as plain JSON

SWPPP Inspector can save every record on a device as one readable JSON file. Open it in a spreadsheet, feed it to a script, or hand it to an AI assistant and ask what is overdue. It is free and needs no account, because the file is made on your device.

In the app: Settings, then Your data, then Export as JSON. The file is a copy to read. To move records to another device, use Save backup file, which keeps the photos.

The file

schema
Always "swppp-inspector.export".
version
Layout version, a whole number. This page describes version 1.
appVersion
Version of SWPPP Inspector that wrote the file.
exportedAt
When the file was written, as an ISO 8601 time in UTC.
images
"omitted" in files saved from the app: photos, signatures, logo and stamps are described but not embedded.
company
Company name, tagline, phone, email and website as printed on reports.
reportSettings
Certification statement, switched-on report features, the inspector's own checklist wording by practice type, photos per row and the names of any stamps. Left out on a device connected to a hosted firm.
projects
One entry per project or site: name, number, permit number, state, client, location, coordinates and inspection schedule.
practices
The sites and practices list: each practice with its kind, frequencyDays, omReference (O&M Manual section) and lastInspected date.
inspections
One entry per inspection. See below.
plans
SWPPP plans with their mapped controls and quantities.

An inspection

id, projectId, practiceId
Links between the inspection, its project and its entry on the practices list.
projectName, projectNumber, permitNumber
As printed on the report.
inspectorName, inspectionType, date
Who inspected, the kind of visit and when.
bmpItems
Each control or checklist item with its condition or Yes / No answer, location and notes.
correctiveActions
Each action with description, assignedTo, dueDate (yyyy-MM-dd) and completed (true or false).
photos
Each photo's id, timestamp, gps, notes and bytes (size of the stored image). No image data.
signed, signatureTimestamp
Whether a drawn signature is stored, and when it was captured.
overallCompliance
"Compliant", "Partially Compliant" or "Non-Compliant", as the inspector marked it.
createdAt, updatedAt
ISO 8601 times. The newer updatedAt wins when two copies of a record meet.

An inspection carries more fields than these (weather, site conditions, unit details, observations). They are plain names and values, and all of them are in the file.

A short example

Invented for this page.

{
  "schema": "swppp-inspector.export",
  "version": 1,
  "appVersion": "4.1.0",
  "exportedAt": "2030-01-15T16:04:00.000Z",
  "images": "omitted",
  "company": { "name": "Example Environmental (fictional)" },
  "projects": [{ "id": "p-1", "name": "Willow Creek (sample)", "state": "IN" }],
  "practices": [
    { "id": "pr-1", "projectId": "p-1", "name": "Rain garden BR-1",
      "kind": "bioretention", "frequencyDays": 91, "omReference": "Section 4" }
  ],
  "inspections": [
    { "id": "i-1", "projectId": "p-1", "practiceId": "pr-1",
      "date": "2030-01-15", "inspectionType": "Quarterly",
      "correctiveActions": [
        { "id": "c-1", "description": "Replace 2 to 3 in. of mulch",
          "assignedTo": "Property manager", "dueDate": "2030-02-04", "completed": false }
      ],
      "photos": [{ "id": "ph-1", "timestamp": "2030-01-15T15:40:00.000Z", "notes": "North half", "bytes": 184220 }],
      "signed": true, "overallCompliance": "Partially Compliant" }
  ],
  "plans": []
}

How versions work

  • Within a version, fields are only added. A reader should ignore names it does not know.
  • Renaming or removing a field raises the version number, and this page will describe both.
  • Dates are yyyy-MM-dd. Times are ISO 8601 in UTC. Coordinates are decimal degrees.

What it is not

  • It is not a live connection. Nothing leaves the device unless you save the file and share it.
  • It does not hold photos or signatures, only their details.
  • It records what the inspector entered. It does not decide compliance.