Atlas · sections · Plate 14 of 16

bibdata · blocks · sections

Sections

Diagram view views/Sections.lml composing 6 LML includes and 6 associations.

Includes6
Associations6
Types6
Full UML diagram for Sections

Model definitions

BasicSection

class models/sections/BasicSection.lml

Group of blocks within text, which is a leaf node in the hierarchical organisation of text (does not contain any sections of its own).

AttributeTypeCardinalityDefinition
+title TextElement 0..* Title of the section.
+id String 0..1 Identifier for the section, to be used for cross-references within the document. (Citations of references are modelled as cross-references to the corresponding bibliographical item in the References section.)
+language Iso639Code 0..* Language tags for the section, coded as ISO 639 codes.
+script Iso15924Code 0..* Script tags for the section, coded as ISO 15924 codes.
+blocks BasicBlock 0..* Blocks, containing the textual content of the section (but excluding subsections, which are only present in Hierarchical Sections).
+attributes Attribute 0..* Entries from the generic attribute register: an open key-value set that markup languages bind their own attribute types into.

HierarchicalSection

class models/sections/HierarchicalSection.lml

Sections: groups of blocks within text, which can also contain other sections.

AttributeTypeCardinalityDefinition
+subsections HierarchicalSection 0..* Sections contained within the current section. The relation is recursive, so the hierarchical arrangement of sections can be arbitrarily deep.

ContentSection

class models/sections/ContentSection.lml

Prefatory sections of text, outside the main flow of text. In the BasicDocument model these are treated as equivalent to Hierarchical Sections. (The distinction is currently reserved for downstream models such as Metanorma, which differentiates structurally between prefatory sections and sections in the main body of the text; differences between the two may be introduced in the Basic Document model at a later date.)

BasicBlock

class models/blocks/BasicBlock.lml

Block of textual content in BasicDocument.

AttributeTypeCardinalityDefinition
+notes NoteBlock 0..* Notes whose scope is the current block.
+contribMetadata ContributionElementMetadata 0..* Attribution of the block to a specific contributor, to be used in change management of documents.
+attributes Attribute 0..* Entries from the generic attribute register: an open key-value set that markup languages bind their own attribute types into.

BibliographicItem

class <<Bibliography>> models/bibdata/relaton/BibliographicItem.lml

Boundary reference to Relaton's BibliographicItem. Basicdoc defines only the bibliographic basis (BibData and its ext hook BibDataExtensionType); Relaton and downstream models extend and implement the full bibliographic semantics (OCP: open for extension, closed for modification here).