Skip to content

Ref-target schema has no $id

Type URI: https://modeled-information-format.github.io/mif-rs/references/errors/ref-schema-missing-id/v1 HTTP status: 422 Exit code: 2 Emitted by: mif-rh (MifRhError::RefSchemaMissingId)

schema {path} has no $id — it cannot be registered as a $ref target

This fires when a $ref dependency schema has no $id. Without a $id, there is nothing for the main schema to resolve its reference against, so the dependency schema cannot be registered as a valid $ref target.

MaybeIncorrect — add a $id to the dependency schema, then retry.