Class: Metanorma::UnDocument::Blocks::UnAdmonitionBlock
- Inherits:
-
Document::Components::MultiParagraph::AdmonitionBlock
- Object
- Lutaml::Model::Serializable
- Document::Components::Blocks::BasicBlock
- Document::Components::Paragraphs::ParagraphBlock
- Document::Components::Paragraphs::ParagraphWithFootnote
- Document::Components::MultiParagraph::ParagraphsBlock
- Document::Components::MultiParagraph::AdmonitionBlock
- Metanorma::UnDocument::Blocks::UnAdmonitionBlock
- Defined in:
- lib/metanorma/un_document/blocks/un_admonition_block.rb
Overview
Admonition block of a UN document. Corresponds to un.rng:
AdmonitionType = danger | caution | warning | important |
"safety precautions"
AdmonitionBody = tname?,
( paragraph-with-footnote | table | formula | ol | ul | dl |
figure | quote | sourcecode | example | review )+,
note*
The UN grammar widens the isodoc admonition body from paragraphs only
to most block types, with notes permitted after the body.
uri keeps the base model's element mapping (the current basicdoc
grammar declares it an attribute — a base-level divergence affecting
all flavors, left as-is here).