Slug Type

Overview

The slug field type is used for storing indexed arrays. Items can be simple or complex types. By default, any item type is valid.

// streams/example.json
"fields": {
    "id": {
        "type": "slug"
    }
}

Data Structure

{
    "id": "john-doe"
}

Methods

@todo Generate methods from @docs

Configuration

@todo Generate config options from class::configuration