Skip to main content

Datatable Column

A column of data within a Datatable.

This schema type is marked as unstable ⚠️ and is subject to change.

Properties#

Name@idTypeDescriptionInherited from
nameschema:namestringThe name of the item.Thing
valuesstencila:valuesarrayThe data values of the column.DatatableColumn
alternateNamesschema:alternateNameArray of stringAlternate names (aliases) for the item.Thing
descriptionschema:descriptionArray of BlockContent or Array of InlineContent or stringA description of the item. See note 1.Thing
idschema:idstringThe identifier for this item.Entity
identifiersschema:identifierArray of (PropertyValue or string)Any kind of identifier for any kind of Thing. See note 2.Thing
imagesschema:imageArray of (ImageObject or Format 'uri')Images of the item.Thing
metastencila:metaobjectMetadata associated with this item.Entity
urlschema:urlFormat 'uri'The URL of the item.Thing
validatorstencila:validatorArrayValidatorThe validator to use to validate data in the column.DatatableColumn

Notes#

  1. description : !array('Allows for the description to be an array of nodes (e.g. an array of inline content, or a couple of paragraphs), or a string. The ')minItems!array(' restriction avoids a string being coerced into an array with a single string item.')
  2. identifiers : !array('Some identifiers have specific properties e.g the ')issn!array(' property for the ')Periodical!array(' type. These should be used in preference to this property which is intended for identifiers that do not yet have a specific property. Identifiers can be represented as strings, but using a ')PropertyValue!array(' will usually be better because it allows for ')propertyID!array(' (i.e. the type of identifier).')

Related#

  • Parent: Thing
  • Descendants: None

Available as#

Source#

This documentation was generated from DatatableColumn.schema.yaml.