page.corvus.view

View block variants — visualizations rendered over a database or SQL query (`page.corvus.database`). Each sub-def is a view shape selected by `page.corvus.block.blockType`.

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

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "graph": {
      "description": "A graph view block",
      "properties": {
        "blockId": {
          "description": "The AT-URI of this block record",
          "format": "at-uri",
          "type": "string"
        },
        "chartType": {
          "description": "Chart style (string register, known values: bar, line, scatter, area, pie)",
          "ref": "page.corvus.core#register",
          "type": "ref"
        },
        "query": {
          "description": "Block id of the page.corvus.database#sql block whose results this view plots",
          "ref": "page.corvus.core#register",
          "type": "ref"
        }
      },
      "required": [
        "blockId"
      ],
      "type": "object"
    },
    "kanban": {
      "description": "A kanban board view block",
      "properties": {
        "blockId": {
          "description": "The AT-URI of this block record",
          "format": "at-uri",
          "type": "string"
        },
        "database": {
          "description": "Block id of the backing page.corvus.database block",
          "ref": "page.corvus.core#register",
          "type": "ref"
        },
        "groupBy": {
          "description": "Block id of the page.corvus.database#column that places each card in a lane",
          "ref": "page.corvus.core#register",
          "type": "ref"
        },
        "lanes": {
          "description": "Ordered sequence of page.corvus.contentBlocks#option block ids setting the lane order",
          "ref": "page.corvus.core#sequence",
          "type": "ref"
        },
        "title": {
          "description": "The board title as a text sequence",
          "ref": "page.corvus.core#sequence",
          "type": "ref"
        }
      },
      "required": [
        "blockId",
        "database",
        "groupBy"
      ],
      "type": "object"
    },
    "table": {
      "description": "A table view block",
      "properties": {
        "blockId": {
          "description": "The AT-URI of this block record",
          "format": "at-uri",
          "type": "string"
        },
        "query": {
          "description": "Block id of the page.corvus.database#sql block whose results this view renders",
          "ref": "page.corvus.core#register",
          "type": "ref"
        }
      },
      "required": [
        "blockId"
      ],
      "type": "object"
    }
  },
  "description": "View block variants — visualizations rendered over a database or SQL query (`page.corvus.database`). Each sub-def is a view shape selected by `page.corvus.block.blockType`.",
  "id": "page.corvus.view",
  "lexicon": 1
}