1. Last-mile Delivery Platform
  2. Data model
Reference

The tables behind Last-mile Delivery Platform

Last-mile Delivery Platform ships with 15 tables, grouped here by the feature that uses them. Every record your team works with lives in one of them, and you can add fields and tables in Proto.

Tables
15
Features
6, plus shared settings
Change it
Add fields and tables in Proto

How the model is organised

Load commitments

Loads holds the owner, organization, partner, promise and lifecycle. Load stops holds ordered visits. Load assignments holds driver and vehicle commitments.

Delivery evidence

Delivery stops holds custody status and proof; record attachments holds files with evidence type and visibility.

Review

Review decisions records a decision against a source revision. Operation receipts records the outcome of an operation under a stable key.

Operating parties

Organizations, team members, Users and transport partners identify who is working and for whom.

Fleet

Drivers, Vehicles and vehicle defects support eligibility and readiness checks. Exchange rates supplies effective read-only rates.

Every table, by feature

Loads and commitments

6 tablesAbout this feature
  • Loads

    Freight loads from pickup to delivery with promised windows, freight value and lifecycle

    Linked to Organizations, Team members, Transport partners
  • Load assignments

    Driver and vehicle assignments to loads with committed start and end times

    Linked to Loads, Drivers, Vehicles
  • Load stops

    Ordered pickup and delivery stops within a load with appointment windows

    Linked to Loads
  • Transport partners

    Eligible carriers and transport partners with contact and eligibility notes

    Linked to Organizations
  • Operation receipts

    Idempotent operation receipts recording executed or failed actions with stable keys

    Linked to Loads
  • Review decisions

    Independent approval, rejection or return decisions on a source revision

    Linked to Loads, Team members

Assignments and dispatch

5 tablesAbout this feature
  • Load assignments

    Driver and vehicle assignments to loads with committed start and end times

    Linked to Loads, Drivers, Vehicles
  • Loads

    Freight loads from pickup to delivery with promised windows, freight value and lifecycle

    Linked to Organizations, Team members, Transport partners
  • Drivers

    Driver roster with eligibility expiry and external authority reference

  • Vehicles

    Fleet vehicles with equipment class, capacity, readiness and external fleet id

  • Vehicle defects

    Reported vehicle defects with severity, repair evidence and release time

    Linked to Vehicles

Stops and windows

4 tablesAbout this feature
  • Load stops

    Ordered pickup and delivery stops within a load with appointment windows

    Linked to Loads
  • Loads

    Freight loads from pickup to delivery with promised windows, freight value and lifecycle

    Linked to Organizations, Team members, Transport partners
  • Delivery stops

    Delivery stop records supporting the complete-a-delivery-stop operation with proof and recipient exception evidence

    Linked to Loads, Organizations, Drivers
  • Load assignments

    Driver and vehicle assignments to loads with committed start and end times

    Linked to Loads, Drivers, Vehicles

Delivery and custody

5 tablesAbout this feature
  • Delivery stops

    Delivery stop records supporting the complete-a-delivery-stop operation with proof and recipient exception evidence

    Linked to Loads, Organizations, Drivers
  • Load stops

    Ordered pickup and delivery stops within a load with appointment windows

    Linked to Loads
  • Loads

    Freight loads from pickup to delivery with promised windows, freight value and lifecycle

    Linked to Organizations, Team members, Transport partners
  • Record attachments

    Evidence files attached to loads with visibility and evidence type

    Linked to Loads, Team members
  • Review decisions

    Independent approval, rejection or return decisions on a source revision

    Linked to Loads, Team members

Fleet and partners

7 tablesAbout this feature
  • Drivers

    Driver roster with eligibility expiry and external authority reference

  • Vehicles

    Fleet vehicles with equipment class, capacity, readiness and external fleet id

  • Vehicle defects

    Reported vehicle defects with severity, repair evidence and release time

    Linked to Vehicles
  • Transport partners

    Eligible carriers and transport partners with contact and eligibility notes

    Linked to Organizations
  • Organizations

    Logistics operating organizations with time zone, currency and active scope

  • Load assignments

    Driver and vehicle assignments to loads with committed start and end times

    Linked to Loads, Drivers, Vehicles
  • Loads

    Freight loads from pickup to delivery with promised windows, freight value and lifecycle

    Linked to Organizations, Team members, Transport partners

Review and evidence

6 tablesAbout this feature
  • Review decisions

    Independent approval, rejection or return decisions on a source revision

    Linked to Loads, Team members
  • Operation receipts

    Idempotent operation receipts recording executed or failed actions with stable keys

    Linked to Loads
  • Record attachments

    Evidence files attached to loads with visibility and evidence type

    Linked to Loads, Team members
  • Loads

    Freight loads from pickup to delivery with promised windows, freight value and lifecycle

    Linked to Organizations, Team members, Transport partners
  • Delivery stops

    Delivery stop records supporting the complete-a-delivery-stop operation with proof and recipient exception evidence

    Linked to Loads, Organizations, Drivers
  • Team members

    Staff membership linking platform users to organizations with operational roles

    Linked to Organizations, Users

Shared and settings

2 tables
  • Exchange rates

    Read-only effective exchange rates for this app.

  • Users

    Users

    Linked to Users

Keys and references

The parent load connects stops, attachments, receipts and review decisions. An assignment references its load, driver and vehicle. A load owner references a team member, who links to an organization and may link to a user. Review decisions reference the reviewer and source revision; keep that revision intact when the load changes. Vehicle defects reference their vehicle. The delivery stop’s driver reference is separate from the load assignment’s driver, so check both when investigating a disputed delivery.

Migration order

  1. Operating scope. Bring in Organizations, Users and team members with verified ownership and time zones.
  2. Parties and fleet. Bring in transport partners, Drivers, Vehicles and vehicle defects; review active state and readiness.
  3. Loads and plans. Bring in Loads, then load stops and load assignments with their parent references.
  4. Delivery and evidence. Bring in delivery stops and record attachments, keeping proof files and visibility with their loads.
  5. Review history. Bring in review decisions and operation receipts with original keys, revisions, outcomes and times.
  6. Reference rates. Bring in exchange rates from its authoritative source where applicable.

Set up Last-mile Delivery Platform your way.

Start free, then use Proto to change fields, steps and approvals before your team goes live.

How to get started