Home

Table

This is an implementation of schema.org Table, extended in Stencila Schema for document-oriented table content.

In addition to the schema.org model, this type supports structured rows, notes, captions, authorship, provenance, and labeling behavior needed for authoring and publishing documents. It is focused on presentational and narrative tables, in contrast to Datatable, which is optimized for typed data.

Key properties include rows, caption, notes, label, and labelAutomatically. Additional metadata features may be inherited from CreativeWork.

Analogues

The following external types, elements, or nodes are similar to a Table:

  • schema.org Table: Direct schema.org source type, extended in Stencila with structured row and note content for document authoring.

  • HTML <table>: Closest HTML analogue for tabular content, though Stencila also models notes and richer work metadata.

  • JATS <table-wrap>: Closest JATS analogue for publishable tables with captions and notes.

  • Pandoc Table: Closest Pandoc analogue for structured document tables.

Properties

The Table type has these properties:

NameDescriptionTypeInherited from
labelA short label for the table.String-
labelAutomaticallyWhether the label should be automatically updated.Boolean-
captionA caption for the table.Block*-
rowsRows of cells in the table.TableRow*-
notesNotes for the table.Block*-
workTypeThe type of CreativeWork (e.g. article, book, software application).CreativeWorkTypeCreativeWork
doiThe work's Digital Object Identifier (https://doi.org/).StringCreativeWork
aboutThe subject matter of the content.ThingVariant*CreativeWork
abstractA short description that summarizes a CreativeWork.Block*CreativeWork
authorsThe authors of the CreativeWork.Author*CreativeWork
provenanceA summary of the provenance of the content within the work.ProvenanceCount*CreativeWork
contributorsA secondary contributor to the CreativeWork.Author*CreativeWork
editorsPeople who edited the CreativeWork.Person*CreativeWork
maintainersThe maintainers of the CreativeWork.(Person | Organization)*CreativeWork
commentsComments about this creative work.Comment*CreativeWork
dateCreatedDate/time of creation.DateTimeCreativeWork
dateReceivedDate/time that work was received.DateTimeCreativeWork
dateAcceptedDate/time of acceptance.DateTimeCreativeWork
dateModifiedDate/time of most recent modification.DateTimeCreativeWork
datePublishedDate of first publication.DateTimeCreativeWork
fundersPeople or organizations that funded the CreativeWork.(Person | Organization)*CreativeWork
fundedByGrants that funded the CreativeWork; reverse of fundedItems.(Grant | MonetaryGrant)*CreativeWork
genreGenre of the creative work, broadcast channel or group.String*CreativeWork
keywordsKeywords or tags used to describe this content. Multiple entries in a keywords list are typically delimited by commas.String*CreativeWork
isPartOfAn item or other CreativeWork that this CreativeWork is a part of.CreativeWorkVariantCreativeWork
licensesLicense documents that applies to this content, typically indicated by URL, but may be a CreativeWork itself.(CreativeWorkVariant | String)*CreativeWork
partsElements of the collection which can be a variety of different elements, such as Articles, Datatables, Tables and more.CreativeWorkVariant*CreativeWork
publisherA publisher of the CreativeWork.Person | OrganizationCreativeWork
bibliographyA bibliography of references which may be cited in the work.BibliographyCreativeWork
referencesReferences to other creative works, such as another publication, web page, scholarly article, etc.Reference*CreativeWork
textThe textual content of this creative work.TextCreativeWork
titleThe title of the creative work.Inline*CreativeWork
repositoryURL of the repository where the un-compiled, human readable source of the work is located.StringCreativeWork
pathThe file system path of the source of the work.StringCreativeWork
commitThe commit hash (or similar) of the source of the work.StringCreativeWork
versionThe version of the creative work.String | NumberCreativeWork
alternateNamesAlternate names (aliases) for the item.String*Thing
descriptionA description of the item.StringThing
identifiersAny kind of identifier for any kind of Thing.(PropertyValue | String)*Thing
imagesImages of the item.ImageObject*Thing
nameThe name of the item.StringThing
urlThe URL of the item.StringThing
idThe identifier for this item.StringEntity

Related

The Table type is related to these types:

Bindings

The Table type is represented in:

Testing

During property-based (a.k.a generative) testing, the properties of the Table type are generated using the following strategies.

PropertyComplexityDescriptionStrategy
captionMin+No caption.None
Low+Generate up to two arbitrary paragraphs.option::of(vec_paragraphs(2))
MaxGenerate up to three arbitrary, non-recursive, block nodes.option::of(vec_blocks_non_recursive(3))
rowsMin+Generate up to a 2x2 table with a header row.table_rows_with_header(2,2)
Low+Generate up to a 3x3 table with a header row.table_rows_with_header(3,3)
High+Generate up to four, arbitrary, table rows.vec(TableRow::arbitrary(), size_range(1..=4))
MaxGenerate up to eight, arbitrary, table rows.vec(TableRow::arbitrary(), size_range(1..=8))
notesMin+No notes.None
Low+Generate an arbitrary paragraph.option::of(vec_paragraphs(1))
MaxGenerate up to two arbitrary, non-recursive, block nodes.option::of(vec_blocks_non_recursive(2))

This documentation was generated from Table.yaml by docs_types.rs.

© 2026 Stencila