SR071
Severity: error
Summary: index references a field not found in schema
What this means
An entry in the indexes: section names a field that does not exist in the resource schema. All index fields must be declared in the schema for Shaperail to emit a valid CREATE INDEX statement.
Example that triggers this
indexes:
- fields: [missing_field]
(without missing_field in schema:)
How to fix it
Add the missing field to the schema, or remove it from the index definition:
missing_field: { type: string, required: true }