structures

On this page

Description:

This key defines which predefined templates to use for populating entries nested in the Object Input.

The value can be a string or an object. When configured, team members can select a structure to populate the Object with input/input groups.

If configured as an object, CloudCannon will use the values directly. If configured as a string, CloudCannon will use the matching structures value defined under _structures in the configuration cascade.

Available for Mutable Objects only.

Note: This key looks similar to structures. However, the structures key applies to the Object input itself, while entries.structures applies to the entries within the object.

This key has no default.

Appears in:
└── _inputs
    └── *
        └── Object Input
            └── options
                └── entries
                    └── structures
Types:

A reference to an existing structure.

Appears in: entries.structures, options.structures, options.structures.

This key defines data formats when adding new items to arrays and objects, with options for how editors choose from available values.

Appears in: entries.structures, _structures, options.structures, options.structures.

Examples:
Open in a new tab