Report data fields
Caller-defined projections that carry arbitrary upload columns
into the DDS report's per-plot data_fields block.
Each projection is a { key, paths, label? } entry. At report
build time the resolver tries each path in order against the
plot's raw upload row; the first non-null hit wins. If every path
misses, the key is still emitted with value null so the report
shape is observable regardless of resolution outcome.
See Report Data Fields for the conceptual overview, including the inherit / clear / replace semantics when cutting a new version.
▶Endpoints
| Method | Path | Purpose |
|---|---|---|
| GET | /regulations/eudr/audit-trail/:recordId/data-fields | Read the projection list configured on the current version |
| PUT | /regulations/eudr/audit-trail/:recordId/data-fields | Full-replacement write of the projection list on the editable version |
▶Validation
| Constraint | Limit |
|---|---|
| Total entries | ≤ 64 per version |
| Paths per entry | 1–16 |
key pattern | ^[a-z][a-z0-9_]*$, ≤128 chars |
| Each path | ≤512 chars |
label | 1–256 chars if present |
Violations surface as 400 with the field path and reason.