Skip to main content

Include

A directive to include content from an external source (e.g. file, URL) or content.

Properties#

Name@idTypeDescriptionInherited from
sourcestencila:sourcestringThe source of the content, a URL or file path, or the content itself.Include
typeschema:type'Include'The name of the type.Entity
contentstencila:contentArray of BlockContentThe content to be included. See note 1.Include
formatschema:encodingFormatstringMedia type, typically expressed using a MIME format, of the source content.Include
idschema:idstringThe identifier for this item.Entity
metastencila:metaobjectMetadata associated with this item.Entity

Related#

  • Parent: Entity
  • Descendants: None

Notes#

  1. content : Currently assumes that included content will be block content. This presumes that there will be limited instance where a user would want to use an Include node to transclude inline content.
  2. Available as JSON-LD.
  3. Available as JSON Schema.
  4. This documentation was generated from Include.schema.yaml.