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.jsondefinition or an unsupported definition kind.
Fixes
Correct the named definition in Rust reflection metadata or its
*.types.jsonfile according to the message.Run
ara schemato verify project definitions, then restartara serveto load corrected project types.Code:
ARA1109Constant:
INVALID_TYPE_DEFReported by: ara-schema