Available Types

Sketch supports the following field types:

Type
Description
Example

string

String with max 255 chars

{ name: title, type: string }

text

Long text

{ name: content, type: text }

integer

Whole numbers

{ name: count, type: integer }

decimal

Decimal numbers

{ name: price, type: decimal }

boolean

True/False values

{ name: is_active, type: boolean }

date

Date only

{ name: publish_date, type: date }

datetime

Date and time

{ name: created_at, type: datetime }

enum

Enumerated values

{ name: status, type: enum, options: ['draft', 'published'] }

json

JSON data

{ name: metadata, type: json }

Last updated