Table
A table.
Properties
The Table
type has these properties:
Name | Description | Type | Inherited from | JSON-LD @id |
Aliases |
---|---|---|---|---|---|
id |
The identifier for this item. | String |
Entity |
schema:id |
- |
alternateNames |
Alternate names (aliases) for the item. | String * |
Thing |
schema:alternateName |
alternate-names , alternate_names , alternateName , alternate-name , alternate_name |
description |
A description of the item. | String |
Thing |
schema:description |
- |
identifiers |
Any kind of identifier for any kind of Thing. | (PropertyValue | String )* |
Thing |
schema:identifier |
identifier |
images |
Images of the item. | ImageObject * |
Thing |
schema:image |
image |
name |
The name of the item. | String |
Thing |
schema:name |
- |
url |
The URL of the item. | String |
Thing |
schema:url |
- |
about |
The subject matter of the content. | ThingType * |
CreativeWork |
schema:about |
- |
abstract |
A a short description that summarizes a CreativeWork . |
Block * |
CreativeWork |
schema:abstract |
- |
authors |
The authors of the CreativeWork . |
Author * |
CreativeWork |
schema:author |
author |
provenance |
A summary of the provenance of the content within the work. | ProvenanceCount * |
CreativeWork |
stencila:provenance |
- |
contributors |
A secondary contributor to the CreativeWork . |
Author * |
CreativeWork |
schema:contributor |
contributor |
editors |
People who edited the CreativeWork . |
Person * |
CreativeWork |
schema:editor |
editor |
maintainers |
The maintainers of the CreativeWork . |
(Person | Organization )* |
CreativeWork |
schema:maintainer |
maintainer |
comments |
Comments about this creative work. | Comment * |
CreativeWork |
schema:comment |
comment |
dateCreated |
Date/time of creation. | Date |
CreativeWork |
schema:dateCreated |
date-created , date_created |
dateReceived |
Date/time that work was received. | Date |
CreativeWork |
schema:dateReceived |
date-received , date_received |
dateAccepted |
Date/time of acceptance. | Date |
CreativeWork |
stencila:dateAccepted |
date-accepted , date_accepted |
dateModified |
Date/time of most recent modification. | Date |
CreativeWork |
schema:dateModified |
date-modified , date_modified |
datePublished |
Date of first publication. | Date |
CreativeWork |
schema:datePublished |
date , date-published , date_published |
funders |
People or organizations that funded the CreativeWork . |
(Person | Organization )* |
CreativeWork |
schema:funder |
funder |
fundedBy |
Grants that funded the CreativeWork ; reverse of fundedItems . |
(Grant | MonetaryGrant )* |
CreativeWork |
stencila:fundedBy |
funded-by , funded_by |
genre |
Genre of the creative work, broadcast channel or group. | String * |
CreativeWork |
schema:genre |
- |
keywords |
Keywords or tags used to describe this content. Multiple entries in a keywords list are typically delimited by commas. | String * |
CreativeWork |
schema:keywords |
keyword |
isPartOf |
An item or other CreativeWork that this CreativeWork is a part of. | CreativeWorkType |
CreativeWork |
schema:isPartOf |
is-part-of , is_part_of |
licenses |
License documents that applies to this content, typically indicated by URL. | (CreativeWorkType | Text )* |
CreativeWork |
schema:license |
license |
parts |
Elements of the collection which can be a variety of different elements, such as Articles, Datatables, Tables and more. | CreativeWorkType * |
CreativeWork |
schema:hasParts |
hasParts , part |
publisher |
A publisher of the CreativeWork. | Person | Organization |
CreativeWork |
schema:publisher |
- |
references |
References to other creative works, such as another publication, web page, scholarly article, etc. | (CreativeWorkType | Text )* |
CreativeWork |
schema:citation |
citations , reference |
text |
The textual content of this creative work. | Text |
CreativeWork |
schema:text |
- |
title |
The title of the creative work. | Inline * |
CreativeWork |
schema:headline |
headline |
version |
The version of the creative work. | String | Number |
CreativeWork |
schema:version |
- |
label |
A short label for the table. | String |
- | stencila:label |
- |
labelAutomatically |
Whether the label should be automatically updated. | Boolean |
- | stencila:labelAutomatically |
label-automatically , label_automatically |
caption |
A caption for the table. | Block * |
- | schema:caption |
- |
rows |
Rows of cells in the table. | TableRow * |
- | stencila:rows |
row |
notes |
Notes for the table. | Block * |
- | schema:notes |
note |
Related
The Table
type is related to these types:
- Parents:
CreativeWork
- Children: none
Formats
The Table
type can be encoded (serialized) to, and/or decoded (deserialized) from, these formats:
Format | Encoding | Decoding | Support | Notes |
---|---|---|---|---|
DOM HTML | 🟢 No loss | |||
HTML | 🔷 Low loss | Encoded using special function | ||
JATS | Encoded using special function | |||
Markdown | 🔷 Low loss | 🔷 Low loss | Encoded using implemented function | |
Stencila Markdown | 🔷 Low loss | 🔷 Low loss | ||
Quarto Markdown | 🔷 Low loss | 🔷 Low loss | ||
MyST Markdown | 🔷 Low loss | 🔷 Low loss | ||
LLM Markdown | 🔷 Low loss | 🔷 Low loss | ||
LaTeX | 🔷 Low loss | 🔷 Low loss | ||
🔷 Low loss | ||||
Plain text | ⚠️ High loss | |||
IPYNB | 🔷 Low loss | 🔷 Low loss | ||
Microsoft Word DOCX | 🔷 Low loss | 🔷 Low loss | ||
OpenDocument ODT | 🔷 Low loss | 🔷 Low loss | ||
TeX | 🔷 Low loss | 🔷 Low loss | ||
JSON | 🟢 No loss | 🟢 No loss | ||
JSON+Zip | 🟢 No loss | 🟢 No loss | ||
JSON5 | 🟢 No loss | 🟢 No loss | ||
JSON-LD | 🟢 No loss | 🟢 No loss | ||
CBOR | 🟢 No loss | 🟢 No loss | ||
CBOR+Zstandard | 🟢 No loss | 🟢 No loss | ||
YAML | 🟢 No loss | 🟢 No loss | ||
Lexical JSON | 🔷 Low loss | 🔷 Low loss | ||
Koenig JSON | 🔷 Low loss | 🔷 Low loss | ||
Pandoc AST | 🔷 Low loss | 🔷 Low loss | ||
Directory | ||||
Stencila Web Bundle | ||||
Debug | 🔷 Low loss |
Bindings
The Table
type is represented in:
- JSON-LD
- JSON Schema
- Python class
Table
- Rust struct
Table
- TypeScript class
Table
Testing
During property-based (a.k.a generative) testing, the properties of the Table
type are generated using the following strategies for each complexity level. Any optional properties that are not in this table are set to None
.
Property | Complexity | Description | Strategy |
---|---|---|---|
caption |
Min+ | No caption. | None |
Low+ | Generate up to two arbitrary paragraphs. | option::of(vec_paragraphs(2)) |
|
Max | Generate up to three arbitrary, non-recursive, block nodes. | option::of(vec_blocks_non_recursive(3)) |
|
rows |
Min+ | 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)) |
|
Max | Generate up to eight, arbitrary, table rows. | vec(TableRow::arbitrary(), size_range(1..=8)) |
|
notes |
Min+ | No notes. | None |
Low+ | Generate an arbitrary paragraph. | option::of(vec_paragraphs(1)) |
|
Max | Generate up to two arbitrary, non-recursive, block nodes. | option::of(vec_blocks_non_recursive(2)) |
Source
This documentation was generated from Table.yaml
by docs_types.rs
.