Skip to main content



This rule belongs to the api-blueprint-validation ruleset and states that:

Each element in an API Blueprint/Elements file must have a correct type assigned to it as per the standards.

Maximum SeverityError
MessageAn entity in the API Blueprint/Elements file could not be parsed.
Rule SystemSemantic
Broad CategoryBasic Structure
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsapi blueprint api elements api semantic validation type

Suggested Fixes

  • Ensure that each element in an API Blueprint/Elements file has the expected type.
  • Ensure that an array is not defined as an object or vice versa.
  • Ensure that where a number is expected, a string value is not provided, etc.
  • For objects, ensure that each property has a correct type assigned to it.

For More Information