Document failed schema validation
Type URI: https://modeled-information-format.github.io/mif-rs/references/errors/invalid-document/v1
HTTP status: 422
Exit code: 2
Emitted by: mif-schema (MifSchemaError::Invalid); also surfaced verbatim through mif-cli’s and mif-mcp’s Schema wrapper variant
Message
Section titled “Message”MIF document failed schema validation: {joined validation error messages}The instance passed to validate_document/validate_citation/
validate_ontology_definition failed schema validation against the
canonical, vendored MIF JSON Schema. The detail field lists every
individual validation error message, semicolon-joined.
Suggested fix
Section titled “Suggested fix”MaybeIncorrect — correct the document so it conforms to the canonical MIF JSON Schema, then retry.