Home

Paragraph

This is a type used in Stencila Schema for paragraph content.

It exists to represent one of the main units of prose within the document model while also supporting authorship and provenance metadata not usually available on plain text paragraphs in simpler formats.

Key properties include the inline content, together with optional authors and provenance metadata.

Analogues

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

Properties

The Paragraph type has these properties:

NameDescriptionTypeInherited from
contentThe contents of the paragraph.Inline*-
authorsThe authors of the paragraph.Author*-
provenanceA summary of the provenance of content within the paragraph.ProvenanceCount*-
idThe identifier for this item.StringEntity

Related

The Paragraph type is related to these types:

Bindings

The Paragraph type is represented in:

Testing

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

PropertyComplexityDescriptionStrategy
contentMin+Generate a single arbitrary inline nodevec_inlines(1)
Low+Generate up to two arbitrary inline nodesvec_inlines(2)
High+Generate up to four arbitrary inline nodesvec_inlines(4)
MaxGenerate up to eight arbitrary inline nodes without restrictions on their ordervec(Inline::arbitrary(), size_range(0..=8))

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

© 2026 Stencila