Data model benchmark v1 (2 Nov 2026). This page and the source-of-truth demo define the standard every new feature is measured against: one approved text, outputs that carry its fingerprint, a tamper-evident hash-chained log. It is a hash-chained log, not a blockchain. Gaps still open: output fingerprints in the database, an outside checkpoint of the chain.
How one procedure is structured, step by step
This is the planned structure (schema) behind the product, shown with your real example: the Lafarge Richmond Plant lock-out procedures (September 2008). It is a design illustration, not a live system.
1. The sequence: from uploaded file to signed-off worker
AI machine does itPerson a named human decidesSystem automatic, no judgment
Receive System
Customer uploads Lafarge Lockout – Richmond Plant.doc. The file is stored encrypted and its fingerprint (hash) is recorded.
Read and split AI
Text and pictures are pulled out. The file turns out to hold about 17 separate machine-specific procedures (conveyors, bin gates, flyash auger, dust collector, silo shakers, compressor, reclaim pump), one per page, so it is split into separate Procedures.
Extract the facts AI
For each procedure: the machine, the energy sources (electrical, compressed air), where each isolation point is, each step in order, and the verification step. Every fact keeps a pointer to the exact passage it came from.
Raise questions AI
Anything missing or doubtful is flagged rather than guessed. Examples from this file: the procedures are dated September 2008 (review overdue?); "refer to picture in step 1" depends on images that must be re-attached; a protective-equipment checklist whose tick marks cannot be read from the text, and no named roles or hazards.
Human check Person
The safety manager sees the original beside the extracted version, fixes errors and answers flags. Nothing moves on until they sign off the extraction.
Match to the rules AI then Person
Each step is compared with WorkSafeBC OHS Regulation Part 10 (De-energization and Lockout) and relevant federal rules. Results are "meets", "gap" or "unclear", each citing the rule text. The named rules reviewer confirms.
Approve Person
A named approver approves the procedure. High-risk procedures like lockout go to a credentialled reviewer first. Approval locks that version.
Publish System
From the one approved record, a PDF is produced. Narrated audio and a short video are planned and will come from the same record, so they cannot disagree.
Deliver and acknowledge System
Each worker on the roster gets a secure link or QR code at the machine, with no password. They read the procedure, then confirm.
Record System
Every step above adds a linked, tamper-evident entry to the audit log. When a rule or the procedure changes, the process returns to step 4 and workers re-acknowledge.
2. The records and how they connect
Each box is one table in the database. Pink-headed boxes are the heart of the system.
Company
- name
- plan
- worker limit
Site
- name (Richmond Plant)
- address
Document
- file, type
- version
- fingerprint (hash)
- received at / by
Procedure
- title (No. 2 Conveyor)
- category (Lockout)
- status draft / in review / approved / retired
- version
- source date (Sept 2008)
- next review due
Step
- order
- action
- location
- is verification step
- source page + quote
Equipment
- name
- location
- photo
EnergySource
- type electrical / air / gravity…
- isolation point
- location
- how verified
Hazard / PPE / Role
- name
- description
- source quote
Flag
- kind missing / out of date / unclear
- message
- resolved by / when
Rule
- source (WorkSafeBC / federal)
- section
- text
- effective date
RuleMapping
- status meets / gap / unclear
- note
- confirmed by
Approval
- approver
- decision
- comment
- time
Publication
- kind PDF / audio / video
- language
- file
Worker
- name
- language
- contact
- role
Acknowledgement
- worker
- procedure version
- time, device
- signature fingerprint
LedgerEntry
- event (received, approved, acknowledged…)
- who / what
- previous entry's hash
- own hash
3. The Lafarge example, filled in
Procedure: No. 2 Conveyor (Barge Unloading area). Source: Lafarge Lockout – Richmond Plant, Sept 2008.
| # | Action | Where | Type |
|---|---|---|---|
| 1 | Shut the No. 2 Conveyor down at its local stop | On the conveyor, behind the Barge Unloading MCC Room | Shut-down |
| 2 | Lock out the conveyor at its main disconnect | Barge Unloading MCC Room | Isolation · Electrical |
| 3 | Verify lock-out: try to start the conveyor; it must not start | At the conveyor (picture referenced in the source) | Verification |
| 4 | When work is complete, check safeguards are in place and workers are clear, then remove locks and start up | — | Restore |
Source: steps and locations read from the uploaded file. The exact name of the local control in step 1 was not readable in the extraction, so it would appear as a flag for the safety manager to fill in.
| Flag | Why |
|---|---|
| Out of date? | Source is dated September 2008. Proposed: confirm review date. |
| Picture needed | Step 3 refers to a picture; images must be attached to the step. |
| Not stated | Each page has an energy-source and protective-equipment checklist, but tick marks cannot be read from the text, so the safety manager must confirm which items apply. No named hazards, no statement of who may apply locks, and no group-lockout rule were found. |
| Rule check | Compare against WorkSafeBC OHSR Part 10; section numbers to be confirmed by the rules reviewer. |
4. The same record as data
This is what the system would store (shortened). Programmers will recognize it; you can skim it.
{
"procedure": {
"title": "No. 2 Conveyor lock-out",
"category": "lockout",
"site": "Richmond Plant",
"source": { "file": "Lafarge Lockout - Richmond Plant.doc", "date": "2008-09", "hash": "sha256:…" },
"status": "draft",
"equipment": { "name": "No. 2 Conveyor" },
"energy_sources": [
{ "type": "electrical", "isolation_point": "Main disconnect",
"location": "Barge Unloading MCC Room",
"verification": "Attempt to start conveyor; must not start" }
],
"steps": [
{ "order": 1, "action": "Shut conveyor down at local control", "location": "Behind Barge Unloading MCC Room", "source": {"quote": "Shut the No. 2 Conveyor down at its local …"} },
{ "order": 2, "action": "Lock out at main disconnect", "location": "Barge Unloading MCC Room" },
{ "order": 3, "action": "Verify lock-out", "is_verification": true, "needs_picture": true },
{ "order": 4, "action": "Check safeguards and clear workers, remove locks, restart" }
],
"hazards": [], "ppe": [], "roles": [],
"flags": [
{ "kind": "out_of_date", "message": "Source dated September 2008" },
{ "kind": "missing", "message": "PPE checklist present, ticks unreadable; no roles or hazards stated" }
],
"rule_mappings": [ { "rule": "WorkSafeBC OHSR Part 10 (section to be confirmed)", "status": "unclear" } ]
}
}