Skip to main content



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

When a <representation> element is defined directly as a child of the root <application> element, it must also specify a non-empty id for it using the id attribute. This id will help uniquely identify the representation in the document and help other components refer it using a URI reference.

Maximum SeverityError
MessageGlobally defined <representation> element has a missing id.
Rule SystemSemantic
Broad CategoryRepresentations
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagswadl api semantic validation id representation global

Suggested Fixes

  • Ensure that the <representation> element (which is nested directly under the root <application> element) contains the id attribute.
  • Ensure that the value of the id attribute is not empty.

For More Information