Skip to main content

ListItem

A single item in a list.

Properties#

Name@idTypeDescriptionInherited from
typeschema:type'ListItem'The name of the type.Entity
alternateNamesschema:alternateNameArray of stringAlternate names (aliases) for the item.Thing
contentstencila:contentArray of NodeThe content of the list item. See note 2.ListItem
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 4.Thing
imagesschema:imageArray of (ImageObject or Format 'uri')Images of the item.Thing
isCheckedstencila:isCheckedbooleanA flag to indicate if this list item is checked.ListItem
itemschema:itemNodeThe item represented by this list item. See note 3.ListItem
metastencila:metaobjectMetadata associated with this item.Entity
nameschema:namestringThe name of the item.Thing
positionschema:positionnumberThe position of the item in a series or sequence of items.ListItem
urlschema:urlFormat 'uri'The URL of the item.Thing

Related#

  • Parent: Thing
  • Descendants: None

Notes#

  1. description : 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 restriction avoids a string being coerced into an array with a single string item.
  2. content : Use either content or item, not both.
  3. item : Use either item or content, not both.
  4. identifiers : Some identifiers have specific properties e.g the issn property for the Periodical 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 will usually be better because it allows for propertyID (i.e. the type of identifier).
  5. Available as JSON-LD.
  6. Available as JSON Schema.
  7. This documentation was generated from ListItem.schema.yaml.