Skip to content

Entity type validation schema is malformed

Type URI: https://modeled-information-format.github.io/mif-rs/references/errors/entity-type-schema-invalid/v1 HTTP status: 422 Exit code: 4 Emitted by: mif-rh (MifRhError::EntityTypeSchemaInvalid)

entity type '{entity_type}' has a malformed validation schema: {detail}

mif-rh builds a dynamic jsonschema validator from a resolved entity type’s schema field, and that compilation step failed. This points at a malformed ontology pack rather than at anything wrong with the finding being validated — the pack’s own schema definition is broken.

MaybeIncorrect — fix the entity type’s schema field in the ontology pack, then retry.