A user-defined tag for organizing saved places. Record key is the slug (any valid record key). Places reference tags by strongRef, so renaming a label updates everywhere.
Record Key
any
Any valid record key
Properties
color
string
Optional
Display colour as a hex value, #RRGGBB or #RRGGBBAA.
maxLength: 9 bytescreatedAt
string
datetime
Required
When the tag was created.
icon
string
Optional
Optional icon name.
maxLength: 64 byteslabel
string
Required
The tag name the user sees.
maxLength: 120 bytesmaxGraphemes: 40 graphemesslug
string
Required
Stable identifier, also the record key. Lowercase letters, digits and hyphens. It does not change when the label is renamed.
maxLength: 64 bytesView raw schema
{
"description": "A user-defined tag for organizing saved places. Record key is the slug (any valid record key). Places reference tags by strongRef, so renaming a label updates everywhere.",
"key": "any",
"record": {
"properties": {
"color": {
"description": "Display colour as a hex value, #RRGGBB or #RRGGBBAA.",
"maxLength": 9,
"pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
"type": "string"
},
"createdAt": {
"description": "When the tag was created.",
"format": "datetime",
"type": "string"
},
"icon": {
"description": "Optional icon name.",
"maxLength": 64,
"type": "string"
},
"label": {
"description": "The tag name the user sees.",
"maxGraphemes": 40,
"maxLength": 120,
"type": "string"
},
"slug": {
"description": "Stable identifier, also the record key. Lowercase letters, digits and hyphens. It does not change when the label is renamed.",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9-]*$",
"type": "string"
}
},
"required": [
"slug",
"label",
"createdAt"
],
"type": "object"
},
"type": "record"
}