Class: Metanorma::UnDocument::Blocks::UnAdmonitionBlock

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).

Method Summary

Methods inherited from Document::Components::MultiParagraph::AdmonitionBlock

#json_type

Methods inherited from Document::Components::Paragraphs::ParagraphBlock

#json_content, #json_type