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.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Provided schema definition in RAML schemas list is invalid. |
| Code | RAML_V200 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Types |
| Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
| Tags | raml 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.