Record Key
tid
Timestamp-based ID
Properties
blocks
array
of
union
Required
Document content as array of blocks
createdAt
string
datetime
Required
An RFC 3339 formatted timestamp.
slug
string
Required
URL-friendly identifier, unique per author
maxLength: 100 bytestitle
string
Required
Document title
maxLength: 300 bytesupdatedAt
string
datetime
Optional
An RFC 3339 formatted timestamp.
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"title",
"slug",
"blocks",
"createdAt"
],
"properties": {
"slug": {
"type": "string",
"maxLength": 100,
"description": "URL-friendly identifier, unique per author"
},
"title": {
"type": "string",
"maxLength": 300,
"description": "Document title"
},
"blocks": {
"type": "array",
"items": {
"refs": [
"#paragraph",
"#heading",
"#codeBlock",
"#quote",
"#tangledEmbed",
"#imageEmbed"
],
"type": "union"
},
"description": "Document content as array of blocks"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"updatedAt": {
"type": "string",
"format": "datetime"
}
}
}
}