DIA-50731
Type definition must contain either "type" or "anyOf".
Cause
A type definition in the AgentSpec omitted both the "type" and "anyOf" fields, so the parser could not determine the allowed type.
Action
Specify a supported "type" field or provide an "anyOf" array describing the allowed types.