The FDA’s extension of the FSMA 204 compliance deadline from January 2026 to July 2028 has provided much-needed breathing room for food supply chains. However, for companies relying on cold chain IoT infrastructure, this delay masks a deeper issue: the absence of a robust data model to trace product journeys accurately.
Over two decades of deploying IoT tracking devices across 100+ countries, a consistent pattern emerges. Organizations accumulate vast amounts of sensor telemetry but lack the schema to map that data to the Critical Tracking Events (CTEs) and Key Data Elements (KDEs) required by the FDA. The delay isn’t about hardware—it’s about data traceability.
Why Most Systems Fail FSMA 204 Compliance
FSMA 204 mandates that companies handling foods on the Food Traceability List must generate an electronic, sortable spreadsheet of traceability records within 24 hours of an FDA request. The requirements are specific:
- Identify every CTE a lot passes through (e.g., receiving, shipping, transformation).
- Provide KDEs for each event (who, what, where, when, from/to).
- Include associated sensor telemetry for each transit segment.
- Flag anomalies such as temperature excursions or data gaps.
- Deliver the output in a sortable spreadsheet format within a 24-hour window.
Most enterprise resource planning (ERP) systems fall short because they prioritize transactional data over traceability events. They track what happened but not where, when, or why in the context required by regulators.
A Four-Layer Architecture for FSMA 204 Compliance
To bridge this gap, a structured approach is essential. The following four-layer data model ensures compliance while maintaining scalability and accuracy.
Layer 1: Entity (Master Data)
This foundational layer contains reference tables that change infrequently. These records serve as the backbone for associating events, telemetry, and evidence with standardized identifiers.
- Locations: Global Location Numbers (GLN) or Facility Registration Numbers (FFRN), including address and facility type.
- Products: Global Trade Item Numbers (GTIN), descriptions, and categorization under the Food Traceability List (FTL).
- Lots: Traceability Lot Codes (TLC), product IDs, and creation timestamps.
- Actors: Legal entities and their roles (e.g., grower, processor, distributor, retailer).
Layer 2: Event (CTE Records)
Each custody change or transformation generates a discrete event record. This layer captures the what, when, and where of product movement.
{
"cte_type": "receiving",
"timestamp": "2026-04-15T14:30:00Z",
"location_gln": "0012345000010",
"actor_id": "distributor-acme",
"lot_code": "LOT-2026-04-0042",
"product_gtin": "00012345678905",
"source_actor": "processor-freshco",
"quantity": 120,
"unit": "cases",
"reference_doc": "PO-88921",
"telemetry_session_id": "sess-7f3a9b"
}The seven core CTEs include growing, receiving, transforming/creating, shipping, receiving (at subsequent nodes), and first land-based receipt. Each event must link to a telemetry session for sensor data continuity.
Layer 3: Telemetry (Sensor Data)
This layer captures continuous time-series data from IoT devices, such as temperature, humidity, and location sensors. It is linked to events via a unique telemetry_session_id.
{
"session_id": "sess-7f3a9b",
"sensor_id": "GPT29-unit-4471",
"readings": [
{
"ts": "2026-04-15T08:00:00Z",
"temp_c": 2.1,
"rh_pct": 65,
"lat": 32.78,
"lng": -96.80
},
{
"ts": "2026-04-15T08:05:00Z",
"temp_c": 2.3,
"rh_pct": 64,
"lat": 32.79,
"lng": -96.78
},
{
"ts": "2026-04-15T08:10:00Z",
"temp_c": 5.8,
"rh_pct": 71,
"lat": 32.80,
"lng": -96.77
}
]
}Critical design principles include:
- Storing timestamps in UTC to avoid timezone discrepancies.
- Synchronizing device clocks against network time to mitigate drift.
- Using time-series databases (e.g., InfluxDB, TimescaleDB) for telemetry storage.
- Linking telemetry to events via session IDs rather than timestamp correlation to ensure data integrity.
Layer 4: Evidence (Audit Exports)
This final layer is often overlooked but is critical for compliance. It generates the sortable spreadsheet the FDA requires. Design this query early—if you can’t produce the output, the preceding layers are ineffective.
SELECT
e.cte_type,
e.timestamp,
l.address AS location,
p.description AS product,
e.lot_code,
e.source_actor,
a.name AS performed_by,
anomaly.type AS anomaly_flag
FROM events e
JOIN locations l ON e.location_gln = l.gln
JOIN products p ON e.product_gtin = p.gtin
JOIN actors a ON e.actor_id = a.id
LEFT JOIN anomalies anomaly ON anomaly.event_id = e.id
WHERE e.lot_code = 'LOT-2026-04-0042'
ORDER BY e.timestamp;Addressing Common Failures: Anomalies and Data Gaps
Compliance isn’t just about normal operations—it’s about handling exceptions. Here’s how to design for real-world failures:
- Temperature excursions: When sensor readings exceed predefined thresholds (e.g., >4°C for refrigerated products), automatically generate an anomaly record. Include the trigger reading, duration, affected lot codes, and corrective actions.
{
"type": "temperature_excursion",
"session_id": "sess-7f3a9b",
"trigger_reading": {
"ts": "2026-04-15T08:10:00Z",
"temp_c": 5.8
},
"duration_minutes": 23,
"lot_codes_affected": ["LOT-2026-04-0042"],
"corrective_action": null,
"disposition": "pending_review"
}- Data gaps: Missing sensor data for more than 15 minutes should trigger a flag. Auditors distinguish between "no data" and "data within range," so these gaps must be documented explicitly.
- Lot mismatches: Discrepancies between receiving and shipping lot codes should generate reconciliation exceptions. Avoid silent acceptance of invalid data.
A 90-Day Roadmap to Compliance
Implementing this architecture requires a phased approach. Use the following timeline to prioritize deliverables:
| Phase | Duration (Days) | Deliverable | |-------------|-----------------|-------------------------------------------------------------------------------------------------| | Audit | 1–30 | Conduct a data gap analysis to identify which KDEs your system can produce today versus what’s missing. | | Prototype | 31–60 | Develop the four-layer schema, integrate live IoT sensors for one route, and test the 24-hour export process. | | Partner Onboard | 61–90 | Onboard the top five partners to submit KDEs in the agreed format (e.g., GS1 EPCIS or CSV template). |
The greatest challenge isn’t internal systems—it’s securing accurate KDEs from partners who may still rely on paper records. Start these conversations immediately to avoid bottlenecks.
Next Steps: Building a Traceable Future
The FSMA 204 deadline extension offers a rare opportunity to pause and build traceability infrastructure correctly. While hardware collects the data, it’s the data model that ensures compliance. Companies that invest in a structured, layered approach now will not only meet regulatory requirements but also gain operational clarity and efficiency.
For those working on the IoT sensor side of this challenge, collaboration is key. Whether you’re extending an existing ERP schema or standing up a separate traceability layer, the goal is the same: to transform raw telemetry into a verifiable, auditable trail of product journeys.
AI summary
Learn how to build a four-layer data model for FSMA 204 cold chain traceability. Understand CTEs, KDEs, and sensor integration to meet FDA compliance by 2028.