page.corvus.document

corvus.page

Documentation

A collection of text formatted document blocks

main object

A collection of text formatted document blocks

Properties

blockId string at-uri Required

The AT-URI of this block record

View raw schema
{
  "type": "object",
  "required": [
    "blockId"
  ],
  "properties": {
    "icon": {
      "ref": "page.corvus.core#register",
      "type": "ref",
      "description": "The icon of the document"
    },
    "title": {
      "ref": "page.corvus.core#sequence",
      "type": "ref",
      "description": "The title of the document"
    },
    "blockId": {
      "type": "string",
      "format": "at-uri",
      "description": "The AT-URI of this block record"
    },
    "content": {
      "ref": "page.corvus.core#register",
      "type": "ref",
      "description": "The block containing the content of the document"
    },
    "children": {
      "ref": "page.corvus.core#sequence",
      "type": "ref",
      "description": "The children of the document, turning this into a folder tree"
    }
  },
  "description": "A collection of text formatted document blocks"
}
blockDisplay object

A block display

Properties

blockId string at-uri Required

The AT-URI of this block record

View raw schema
{
  "type": "object",
  "required": [
    "blockId"
  ],
  "properties": {
    "blockId": {
      "type": "string",
      "format": "at-uri",
      "description": "The AT-URI of this block record"
    },
    "children": {
      "ref": "page.corvus.core#sequence",
      "type": "ref",
      "description": "The child block id to display vertically"
    }
  },
  "description": "A block display"
}
blockFootnoteReference object

A footnote reference to a block

Properties

blockId string at-uri Required

The URI of the block that contains the footnote reference

View raw schema
{
  "type": "object",
  "required": [
    "blockId"
  ],
  "properties": {
    "blockId": {
      "type": "string",
      "format": "at-uri",
      "description": "The URI of the block that contains the footnote reference"
    }
  },
  "description": "A footnote reference to a block"
}
blockQuote object

A block quote block

Properties

blockId string at-uri Required

The AT-URI of this block record

View raw schema
{
  "type": "object",
  "required": [
    "blockId"
  ],
  "properties": {
    "text": {
      "ref": "page.corvus.core#sequence",
      "type": "ref",
      "description": "The text content of the block quote"
    },
    "facets": {
      "ref": "page.corvus.core#set",
      "type": "ref",
      "description": "The facets applied to the text"
    },
    "blockId": {
      "type": "string",
      "format": "at-uri",
      "description": "The AT-URI of this block record"
    },
    "fontSize": {
      "ref": "page.corvus.core#register",
      "type": "ref",
      "description": "The font size of the text"
    },
    "fontWeight": {
      "ref": "page.corvus.core#register",
      "type": "ref",
      "description": "The font weight of the text"
    }
  },
  "description": "A block quote block"
}
footnote object

A footnote block

Properties

blockId string at-uri Required

The AT-URI of this block record

from ref page.corvus.core#set Optional

The set of footnote references, one of #blockFootnoteReference, #sequenceFootnoteReference, #registerFootnoteReference or #orSetFootnoteReference

View raw schema
{
  "type": "object",
  "required": [
    "blockId"
  ],
  "properties": {
    "from": {
      "ref": "page.corvus.core#set",
      "type": "ref",
      "description": "The set of footnote references, one of #blockFootnoteReference, #sequenceFootnoteReference, #registerFootnoteReference or #orSetFootnoteReference"
    },
    "blockId": {
      "type": "string",
      "format": "at-uri",
      "description": "The AT-URI of this block record"
    },
    "content": {
      "ref": "page.corvus.core#register",
      "type": "ref",
      "description": "A block id of the footnote content"
    }
  },
  "description": "A footnote block"
}
heading object

A heading block

Properties

blockId string at-uri Required

The AT-URI of this block record

View raw schema
{
  "type": "object",
  "required": [
    "blockId"
  ],
  "properties": {
    "text": {
      "ref": "page.corvus.core#sequence",
      "type": "ref",
      "description": "The text content of the heading"
    },
    "level": {
      "ref": "page.corvus.core#register",
      "type": "ref",
      "description": "The level of the heading - defaults to 1"
    },
    "blockId": {
      "type": "string",
      "format": "at-uri",
      "description": "The AT-URI of this block record"
    }
  },
  "description": "A heading block"
}
horizontalRule object

A horizontal rule block

Properties

blockId string at-uri Required

The AT-URI of this block record

View raw schema
{
  "type": "object",
  "required": [
    "blockId"
  ],
  "properties": {
    "blockId": {
      "type": "string",
      "format": "at-uri",
      "description": "The AT-URI of this block record"
    }
  },
  "description": "A horizontal rule block"
}
inlineDisplay object

An inline display

Properties

blockId string at-uri Required

The AT-URI of this block record

View raw schema
{
  "type": "object",
  "required": [
    "blockId"
  ],
  "properties": {
    "blockId": {
      "type": "string",
      "format": "at-uri",
      "description": "The AT-URI of this block record"
    },
    "children": {
      "ref": "page.corvus.core#sequence",
      "type": "ref",
      "description": "The child block id to display inline"
    }
  },
  "description": "An inline display"
}
orSetFootnoteReference object

A footnote reference to an OR-set

Properties

blockId string at-uri Required

The URI of the block that contains the footnote reference

orSet string Required

The or set of the footnote reference

valueOp string Required

The operation id of the referenced value

View raw schema
{
  "type": "object",
  "required": [
    "blockId",
    "orSet",
    "valueOp"
  ],
  "properties": {
    "orSet": {
      "type": "string",
      "description": "The or set of the footnote reference"
    },
    "blockId": {
      "type": "string",
      "format": "at-uri",
      "description": "The URI of the block that contains the footnote reference"
    },
    "valueOp": {
      "type": "string",
      "description": "The operation id of the referenced value"
    }
  },
  "description": "A footnote reference to an OR-set"
}
orderedList object

An ordered list block

Properties

blockId string at-uri Required

The AT-URI of this block record

View raw schema
{
  "type": "object",
  "required": [
    "blockId"
  ],
  "properties": {
    "blockId": {
      "type": "string",
      "format": "at-uri",
      "description": "The AT-URI of this block record"
    },
    "children": {
      "ref": "page.corvus.core#sequence",
      "type": "ref",
      "description": "The children of the list"
    },
    "listStyle": {
      "ref": "page.corvus.core#register",
      "type": "ref",
      "description": "The style of the list - defaults to 'decimal'"
    }
  },
  "description": "An ordered list block"
}
prose object

A prose document block

Properties

blockId string at-uri Required

The AT-URI of this block record

View raw schema
{
  "type": "object",
  "required": [
    "blockId"
  ],
  "properties": {
    "text": {
      "ref": "page.corvus.core#sequence",
      "type": "ref",
      "description": "The text content of the paragraph"
    },
    "facets": {
      "ref": "page.corvus.core#set",
      "type": "ref",
      "description": "The facets applied to the text"
    },
    "blockId": {
      "type": "string",
      "format": "at-uri",
      "description": "The AT-URI of this block record"
    },
    "fontSize": {
      "ref": "page.corvus.core#register",
      "type": "ref",
      "description": "The font size of the text"
    },
    "fontWeight": {
      "ref": "page.corvus.core#register",
      "type": "ref",
      "description": "The font weight of the text"
    }
  },
  "description": "A prose document block"
}
registerFootnoteReference object

A footnote reference to a register

Properties

blockId string at-uri Required

The URI of the block that contains the footnote reference

register string Required

The register of the footnote reference

valueOp string Required

The operation id of the referenced value

View raw schema
{
  "type": "object",
  "required": [
    "blockId",
    "register",
    "valueOp"
  ],
  "properties": {
    "blockId": {
      "type": "string",
      "format": "at-uri",
      "description": "The URI of the block that contains the footnote reference"
    },
    "valueOp": {
      "type": "string",
      "description": "The operation id of the referenced value"
    },
    "register": {
      "type": "string",
      "description": "The register of the footnote reference"
    }
  },
  "description": "A footnote reference to a register"
}
sequenceFootnoteReference object

A footnote reference to a sequence

Properties

atomEnd string Required

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

atomStart string Required

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

blockId string at-uri Required

The URI of the block that contains the footnote reference

sequence string Required

The sequence of the footnote reference

View raw schema
{
  "type": "object",
  "required": [
    "blockId",
    "sequence",
    "atomStart",
    "atomEnd"
  ],
  "properties": {
    "atomEnd": {
      "type": "string",
      "description": "The end atom id of the facet (inclusive) - formatted as `operationId.atomIdx`"
    },
    "blockId": {
      "type": "string",
      "format": "at-uri",
      "description": "The URI of the block that contains the footnote reference"
    },
    "sequence": {
      "type": "string",
      "description": "The sequence of the footnote reference"
    },
    "atomStart": {
      "type": "string",
      "description": "The start atom id of the facet (inclusive) - formatted as `operationId.atomIdx`"
    }
  },
  "description": "A footnote reference to a sequence"
}
tableOfContents object

A table of contents block

Properties

blockId string at-uri Required

The AT-URI of this block record

View raw schema
{
  "type": "object",
  "required": [
    "blockId"
  ],
  "properties": {
    "blockId": {
      "type": "string",
      "format": "at-uri",
      "description": "The AT-URI of this block record"
    },
    "maxDepth": {
      "ref": "page.corvus.core#register",
      "type": "ref",
      "description": "The maximum depth of the table of contents - defaults to 6"
    }
  },
  "description": "A table of contents block"
}
unorderedList object

An unordered list block

Properties

blockId string at-uri Required

The AT-URI of this block record

View raw schema
{
  "type": "object",
  "required": [
    "blockId"
  ],
  "properties": {
    "blockId": {
      "type": "string",
      "format": "at-uri",
      "description": "The AT-URI of this block record"
    },
    "children": {
      "ref": "page.corvus.core#sequence",
      "type": "ref",
      "description": "The children of the list"
    },
    "listStyle": {
      "ref": "page.corvus.core#register",
      "type": "ref",
      "description": "The style of the list - defaults to 'bullet'"
    }
  },
  "description": "An unordered list block"
}

Lexicon Garden

@