SR076

Severity: error

Summary: array field has nested array items (not supported)

What this means

An array-typed field declares items: { type: array, ... }, creating a nested array. Shaperail does not support arrays of arrays. If you need to store a complex nested structure, use type: json instead.

Example that triggers this

schema:
  tags: { type: array, items: { type: array, items: string } }

How to fix it

Change the field type to json for nested structures, or flatten the data model:

tags: { type: json }

Back to top

Shaperail documentation lives in the same repository as the framework so every release has versioned instructions. See the latest release for the most recent version.

This site uses Just the Docs, a documentation theme for Jekyll.