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