Skip to main content

valid-raml-08-schema-definition

Overview

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

Each schema definition provided in the root object schemas list must be a valid JSON schema string, XML schema string or an external path to one of these using the !include keyword.

PropertyValue
EnabledYes
Maximum SeverityError
MessageProvided schema definition in RAML schemas list is invalid.
CodeRAML_V200
TypeValidation
Rule SystemSemantic
Broad CategoryTypes
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsraml semantic validation schema xml schema json schema

Suggested Fixes

  • Ensure that the schema value points to a valid JSON schema or XML schema definition.
  • Avoid using JSON schema with draft versions above 4.

For More Information