Frontmatter did not parse to a YAML mapping
Type URI: https://modeled-information-format.github.io/mif-rs/references/errors/frontmatter-not-a-mapping/v1
HTTP status: 422
Exit code: 2
Emitted by: mif-frontmatter (FrontmatterError::NotAMapping)
Message
Section titled “Message”frontmatter did not parse to a YAML mappingThe frontmatter block parsed as valid YAML, but the top-level value was a
bare scalar or sequence, not a mapping (e.g. ---\n- a\n- b\n---). Python’s
mif_convert.py reference converter has no equivalent check and would fail
later with an unhandled exception instead.
Suggested fix
Section titled “Suggested fix”MaybeIncorrect — make the frontmatter block a YAML mapping, not a scalar or sequence.