eco_validate
Validate an engineering change order record before processing: checks schema, ID, affected items, disposition, and effectivity.
Instructions
Validate an ECO (engineering change order) record (issue #142, C3) — the cheap front door. Checks the schema stamp, a non-empty id + affected item set, a present disposition, and an effectivity carrying exactly one of date|serial|revision.
eco: the ECO object.
Returns {ok, problems} — ok is True iff problems is empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eco | Yes |