UUID Type

Overview

The uuid field type stores a UUID key.

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

Data Structure

{
    "id": "5fd1da4c-71d8-40e0-b723-da6dcb636d56"
}

Basic value access displays the stored value:

@verbatim// Basic access
{{ $entry->id }}@endverbatim

Configuration

// streams/example.json
"fields": {
    "id": {
        "type": "uuid",
        "unique": true,
        "config": {
            "default": true
        }
    }
}