SR077
Severity: error
Summary: array items type is enum but declares no values
What this means
An array field has items: { type: enum } but the required values: list is missing from the items spec. Without values, Shaperail cannot generate the enum type for the array elements.
Example that triggers this
schema:
statuses: { type: array, items: { type: enum } }
How to fix it
Add values: [...] to the items spec:
statuses: { type: array, items: { type: enum, values: [a, b] } }