A width:height aspect ratio
Properties
Height component of the ratio
minimum: 1
Width component of the ratio
minimum: 1
View raw schema
{
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"width": {
"type": "integer",
"minimum": 1,
"description": "Width component of the ratio"
},
"height": {
"type": "integer",
"minimum": 1,
"description": "Height component of the ratio"
}
},
"description": "A width:height aspect ratio"
}
A checkbox block — label content plus a checked flag
Properties
The AT-URI of this block record
True if the checkbox is checked (boolean register, defaults to false)
View raw schema
{
"type": "object",
"required": [
"blockId"
],
"properties": {
"blockId": {
"type": "string",
"format": "at-uri",
"description": "The AT-URI of this block record"
},
"checked": {
"ref": "page.corvus.core#register",
"type": "ref",
"description": "True if the checkbox is checked (boolean register, defaults to false)"
}
},
"description": "A checkbox block — label content plus a checked flag"
}
A code block
Properties
The AT-URI of this block record
Language identifier for syntax highlighting (string register, known values: javascript, typescript, python, rust, java, c, c++, c#, go)
Optional theme hint (string register)
The code content as a text sequence
View raw schema
{
"type": "object",
"required": [
"blockId"
],
"properties": {
"text": {
"ref": "page.corvus.core#sequence",
"type": "ref",
"description": "The code content as a text sequence"
},
"blockId": {
"type": "string",
"format": "at-uri",
"description": "The AT-URI of this block record"
},
"language": {
"ref": "page.corvus.core#register",
"type": "ref",
"description": "Language identifier for syntax highlighting (string register, known values: javascript, typescript, python, rust, java, c, c++, c#, go)"
},
"syntaxHighlightingTheme": {
"ref": "page.corvus.core#register",
"type": "ref",
"description": "Optional theme hint (string register)"
}
},
"description": "A code block"
}
An image block
Properties
Accessibility text describing the image (string register)
The aspect ratio of the image (register of #aspectRatio)
The AT-URI of this block record
View raw schema
{
"type": "object",
"required": [
"blockId",
"image"
],
"properties": {
"alt": {
"ref": "page.corvus.core#register",
"type": "ref",
"description": "Accessibility text describing the image (string register)"
},
"image": {
"type": "blob",
"mimeType": "image/*",
"description": "The image blob"
},
"blockId": {
"type": "string",
"format": "at-uri",
"description": "The AT-URI of this block record"
},
"aspectRatio": {
"ref": "page.corvus.core#register",
"type": "ref",
"description": "The aspect ratio of the image (register of #aspectRatio)"
}
},
"description": "An image block"
}
An option for a select block
Properties
The AT-URI of this block record
Optional color hint (string register)
Display name of the option as a text sequence
View raw schema
{
"type": "object",
"required": [
"blockId",
"label"
],
"properties": {
"color": {
"ref": "page.corvus.core#register",
"type": "ref",
"description": "Optional color hint (string register)"
},
"label": {
"ref": "page.corvus.core#sequence",
"type": "ref",
"description": "Display name of the option as a text sequence"
},
"blockId": {
"type": "string",
"format": "at-uri",
"description": "The AT-URI of this block record"
}
},
"description": "An option for a select block"
}
A plain text block
Properties
The AT-URI of this block record
The text content as a text sequence
View raw schema
{
"type": "object",
"required": [
"blockId"
],
"properties": {
"text": {
"ref": "page.corvus.core#sequence",
"type": "ref",
"description": "The text content as a text sequence"
},
"blockId": {
"type": "string",
"format": "at-uri",
"description": "The AT-URI of this block record"
}
},
"description": "A plain text block"
}
An emoji reaction with its author
Properties
The DID of the reaction author
The emoji or short string of the reaction
View raw schema
{
"type": "object",
"required": [
"emoji",
"author"
],
"properties": {
"emoji": {
"type": "string",
"description": "The emoji or short string of the reaction"
},
"author": {
"type": "string",
"format": "did",
"description": "The DID of the reaction author"
}
},
"description": "An emoji reaction with its author"
}
A select block — a set of options with one or more selected
Properties
True if multiple options can be selected (boolean register, defaults to false)
The AT-URI of this block record
The set of option block ids (set of #option)
The set of selected option block ids
View raw schema
{
"type": "object",
"required": [
"blockId"
],
"properties": {
"blockId": {
"type": "string",
"format": "at-uri",
"description": "The AT-URI of this block record"
},
"options": {
"ref": "page.corvus.core#set",
"type": "ref",
"description": "The set of option block ids (set of #option)"
},
"selected": {
"ref": "page.corvus.core#set",
"type": "ref",
"description": "The set of selected option block ids"
},
"allowMultiple": {
"ref": "page.corvus.core#register",
"type": "ref",
"description": "True if multiple options can be selected (boolean register, defaults to false)"
}
},
"description": "A select block — a set of options with one or more selected"
}
A tagged block — a set of string tags with an optional allowlist
Properties
Optional allowlist of permitted tag strings
The AT-URI of this block record
View raw schema
{
"type": "object",
"required": [
"blockId"
],
"properties": {
"values": {
"ref": "page.corvus.core#set",
"type": "ref",
"description": "The set of tag strings"
},
"allowed": {
"ref": "page.corvus.core#set",
"type": "ref",
"description": "Optional allowlist of permitted tag strings"
},
"blockId": {
"type": "string",
"format": "at-uri",
"description": "The AT-URI of this block record"
}
},
"description": "A tagged block — a set of string tags with an optional allowlist"
}