# Validation rules **Illustrative example.** Illustrative collection created to demonstrate data structure, documentation and delivery. It does not represent a commercial dataset available for purchase. A row is accepted only when every rule passes. The rules are applied by `syn002_validate` in the build script. | Rule | Column | Requirement | |---|---|---| | R1 | order_date | Present and a real calendar date in YYYY-MM-DD form, within 2026. | | R2 | quantity | Present and a whole number from 1 to 1000. Larger values are treated as outliers and rejected. | | R3 | unit_price | Present, a decimal with exactly two places, greater than 0 and at most 5000.00. | | R4 | status | One of placed, shipped, delivered, cancelled. | `case_type` names the edge case the row was generated to show. `expected_outcome` is the outcome the generator intended (accept or reject); the build script applies the rules and checks that the result matches it for every row.