UNPKG

@stencila/schema

Version:

Stencila schema and other specifications

43 lines (42 loc) 1.25 kB
title: TableCell '@id': stencila:TableCell $extends: ../Thing.schema.yaml role: secondary status: experimental description: | A cell within a `Table`. properties: name: '@id': schema:name description: | The name of the cell. Cell's have an implicit name derived from their position in the table e.g. `C4` for the cell in the third column and fourth row. However this name can be overridden with an explicit name, e.g. `rate`. type: string colspan: '@id': stencila:colspan description: | How many columns the cell extends. $comment: Based on the HTML `colspan` attribute for [table cells](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td). type: integer minimum: 0 maximum: 1000 default: 1 rowspan: '@id': stencila:rowspan description: | How many columns the cell extends. $comment: Based on the HTML `rowspan` attribute for [table cells](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td). type: integer minimum: 0 maximum: 65534 default: 1 content: '@id': stencila:content description: | Contents of the table cell. type: array items: $ref: InlineContent.schema.yaml required: - content