page.corvus.database

corvus.page

Documentation

A database block

main object

A database block

Properties

blockId string at-uri Required

The AT-URI of this block record

View raw schema
{
  "description": "A database block",
  "properties": {
    "blockId": {
      "description": "The AT-URI of this block record",
      "format": "at-uri",
      "type": "string"
    },
    "columns": {
      "description": "The columns of the database, sequence of column block ids",
      "ref": "page.corvus.core#sequence",
      "type": "ref"
    },
    "rows": {
      "description": "The rows of the database",
      "ref": "page.corvus.core#set",
      "type": "ref"
    },
    "title": {
      "description": "The name of the database",
      "ref": "page.corvus.core#sequence",
      "type": "ref"
    }
  },
  "required": [
    "blockId"
  ],
  "type": "object"
}
atLink object

A link to an ATProtocol resource

Properties

blockId string at-uri Required

The AT-URI of this block record

uri string at-uri Required

The AT-URI of the linked resource

View raw schema
{
  "description": "A link to an ATProtocol resource",
  "properties": {
    "blockId": {
      "description": "The AT-URI of this block record",
      "format": "at-uri",
      "type": "string"
    },
    "uri": {
      "description": "The AT-URI of the linked resource",
      "format": "at-uri",
      "type": "string"
    }
  },
  "required": [
    "blockId",
    "uri"
  ],
  "type": "object"
}
cell object

No description available.

Properties

columnId string at-uri Optional

The id of the column this cell belongs to

valueBlockId string at-uri Optional

The id of the value block

View raw schema
{
  "properties": {
    "columnId": {
      "description": "The id of the column this cell belongs to",
      "format": "at-uri",
      "type": "string"
    },
    "valueBlockId": {
      "description": "The id of the value block",
      "format": "at-uri",
      "type": "string"
    }
  },
  "type": "object"
}
column object

A database column

Properties

blockId string at-uri Required

The AT-URI of this block record

cellType string nsid Optional

The type of the column

Known values: page.corvus.document#prose, page.corvus.contentBlocks#checkbox, page.corvus.contentBlocks#code, page.corvus.contentBlocks#image, page.corvus.contentBlocks#atLink, page.corvus.contentBlocks#blockLink
View raw schema
{
  "description": "A database column",
  "properties": {
    "blockId": {
      "description": "The AT-URI of this block record",
      "format": "at-uri",
      "type": "string"
    },
    "cellType": {
      "description": "The type of the column",
      "format": "nsid",
      "knownValues": [
        "page.corvus.document#prose",
        "page.corvus.contentBlocks#checkbox",
        "page.corvus.contentBlocks#code",
        "page.corvus.contentBlocks#image",
        "page.corvus.contentBlocks#atLink",
        "page.corvus.contentBlocks#blockLink"
      ],
      "type": "string"
    },
    "defaults": {
      "description": "The default properties for the column",
      "ref": "page.corvus.core#set",
      "type": "ref"
    },
    "name": {
      "description": "The title of the column",
      "ref": "page.corvus.core#register",
      "type": "ref"
    }
  },
  "required": [
    "blockId"
  ],
  "type": "object"
}
columnReferenceFacet object

No description available.

Properties

columnId string at-uri Optional

The id of the column this reference belongs to

View raw schema
{
  "properties": {
    "columnId": {
      "description": "The id of the column this reference belongs to",
      "format": "at-uri",
      "type": "string"
    }
  },
  "type": "object"
}
counter object

No description available.

Properties

blockId string at-uri Required

The AT-URI of this block record

View raw schema
{
  "properties": {
    "blockId": {
      "description": "The AT-URI of this block record",
      "format": "at-uri",
      "type": "string"
    },
    "count": {
      "description": "The counter value",
      "ref": "page.corvus.core#counter",
      "type": "ref"
    }
  },
  "required": [
    "blockId"
  ],
  "type": "object"
}
databaseReferenceFacet object

No description available.

Properties

databaseId string at-uri Optional

The id of the database this reference belongs to

View raw schema
{
  "properties": {
    "databaseId": {
      "description": "The id of the database this reference belongs to",
      "format": "at-uri",
      "type": "string"
    }
  },
  "type": "object"
}
row object

A database row

Properties

blockId string at-uri Required

The AT-URI of this block record

View raw schema
{
  "description": "A database row",
  "properties": {
    "blockId": {
      "description": "The AT-URI of this block record",
      "format": "at-uri",
      "type": "string"
    },
    "cells": {
      "description": "The cells of the row, one per column with a value",
      "ref": "page.corvus.core#set",
      "type": "ref"
    }
  },
  "required": [
    "blockId"
  ],
  "type": "object"
}
sql object

No description available.

Properties

blockId string at-uri Required

The AT-URI of this block record

View raw schema
{
  "properties": {
    "blockId": {
      "description": "The AT-URI of this block record",
      "format": "at-uri",
      "type": "string"
    },
    "facets": {
      "description": "The facets applied to the SQL query",
      "ref": "page.corvus.core#set",
      "type": "ref"
    },
    "text": {
      "description": "The SQL query text",
      "ref": "page.corvus.core#sequence",
      "type": "ref"
    }
  },
  "required": [
    "blockId"
  ],
  "type": "object"
}
sqlReferenceFacet object

No description available.

Properties

sqlId string at-uri Optional

The id of the SQL query this reference belongs to

View raw schema
{
  "properties": {
    "sqlId": {
      "description": "The id of the SQL query this reference belongs to",
      "format": "at-uri",
      "type": "string"
    }
  },
  "type": "object"
}
string object

No description available.

Properties

blockId string at-uri Required

The AT-URI of this block record

View raw schema
{
  "properties": {
    "blockId": {
      "description": "The AT-URI of this block record",
      "format": "at-uri",
      "type": "string"
    },
    "text": {
      "ref": "page.corvus.core#register",
      "type": "ref"
    }
  },
  "required": [
    "blockId"
  ],
  "type": "object"
}

Lexicon Garden

@