Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Diagnostic code · ARA1109

Invalid type definition

A reflected type or document-kind definition violates schema rules. An unparseable data-only type is skipped; registration verification reports invalid definitions before they can be relied on for validation and tooling.

Common causes

  • Missing documentation, invalid names, duplicate field or variant names, or an invalid record prefix.
  • An unknown field type, invalid default or example, inconsistent numeric range, or keyed item type without id: string.
  • A malformed *.types.json definition or an unsupported definition kind.

Fixes

  • Correct the named definition in Rust reflection metadata or its *.types.json file according to the message.

  • Run ara schema to verify project definitions, then restart ara serve to load corrected project types.

  • Code: ARA1109

  • Constant: INVALID_TYPE_DEF

  • Reported by: ara-schema