Collection

An object

The list of common settings for parameters is available here.

Specification

spec

  • Type: Array

  • Description of the collection.

  • Array of parameters. Standard parameters syntax is used.

{
    "name": "myCollection",
    "type": "collection",
    "label": "My Collection",
    "spec": [
        {
            "name": "email",
            "type": "email"
        },
        {
            "name": "phone",
            "type": "text"
        }
    ]
}

sequence

  • Type: Boolean

  • If set to true , all properties of the object will be in the same order as they are defined in the spec.

Examples

Simple Collection

You can easily create a collection by specifying its parameters in the spec.

Collection in a Collection

Collections can be also nested in another collection.

Last updated