page.corvus.contentBlocks

Content block variants — atomic content types that compose into documents and database cells. Each sub-def is a block content shape selected by `page.corvus.block.blockType`.

Repository @corvus.page did:plc:3qc4cbzcriye72qqqodeda26 namespace authority
Details · defs
Kinddefs
Authoritycorvus.page
Indexed

#aspectRatio

object

A width:height aspect ratio

Properties

height

requiredinteger

Height component of the ratio

  • minimum: 1

width

requiredinteger

Width component of the ratio

  • minimum: 1

#checkbox

object

A checkbox block — label content plus a checked flag

Properties

blockId

requiredstring · at-uri

The AT-URI of this block record

True if the checkbox is checked (boolean register, defaults to false)

#code

object

A code block

Properties

blockId

requiredstring · at-uri

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)

text

ref

The code content as a text sequence

#comment

object

A comment block

Properties

author

requiredstring · did

The DID of the comment author

blockId

requiredstring · at-uri

The AT-URI of this block record

body

ref

Comment body as a child block id

Emoji reactions on the comment (set of #reaction)

True if the comment is resolved (boolean register, defaults to false)

#commentBlockReference

object

A reference to a comment block

Properties

blockId

requiredstring · at-uri

The AT-URI of this block record

#commentOrSetReference

object

A reference to a comment OR-set

Properties

blockId

requiredstring · at-uri

The AT-URI of this block record

orSet

requiredstring

The OR-set of the comment reference

valueOp

requiredstring

The operation id of the referenced value

#commentRegisterReference

object

A reference to a comment register

Properties

blockId

requiredstring · at-uri

The AT-URI of this block record

register

requiredstring

The register of the comment reference

valueOp

requiredstring

The operation id of the referenced value

#commentSequenceReference

object

A reference to a comment sequence

Properties

atomEnd

requiredstring

The end atom id of the comment reference (inclusive) - formatted as `operationId.atomIdx`

atomStart

requiredstring

The start atom id of the comment reference (inclusive) - formatted as `operationId.atomIdx`

blockId

requiredstring · at-uri

The AT-URI of this block record

sequence

requiredstring

The sequence of the comment reference

#image

object

An image block

Properties

alt

ref

Accessibility text describing the image (string register)

The aspect ratio of the image (register of #aspectRatio)

blockId

requiredstring · at-uri

The AT-URI of this block record

image

requiredblob

The image blob

#option

object

An option for a select block

Properties

blockId

requiredstring · at-uri

The AT-URI of this block record

Optional color hint (string register)

label

requiredref

Display name of the option as a text sequence

#plainText

object

A plain text block

Properties

blockId

requiredstring · at-uri

The AT-URI of this block record

text

ref

The text content as a text sequence

#reaction

object

An emoji reaction with its author

Properties

author

requiredstring · did

The DID of the reaction author

emoji

requiredstring

The emoji or short string of the reaction

#select

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)

blockId

requiredstring · at-uri

The AT-URI of this block record

The set of option block ids (set of #option)

The set of selected option block ids

#tagged

object

A tagged block — a set of string tags with an optional allowlist

Properties

Optional allowlist of permitted tag strings

blockId

requiredstring · at-uri

The AT-URI of this block record

The set of tag strings

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.