Define & Validate APIsValidation RulesetsData Rulesets
Data Rulesets Overview
The rulesets APIMatic uses to validate and lint Data documents.
APIMatic validates data documents (JSON data, JSON Schema, YAML data, and XML) against the rulesets below. They check that these files use valid syntax and are compatible with APIMatic.
Validation rulesets
These rulesets make sure your data files use valid syntax.
| Ruleset | Code prefix | Rules |
|---|---|---|
| JSON Data Validation | JSON_V | 21 |
| JSON Schema Validation | JSONSCHEMA_V | 1 |
| YAML Data Semantic Validation | YAMLSEMANTIC_V | 7 |
| YAML Data Syntax Validation | YAMLSYNTAX_V | 11 |
| XML Validation | XML_V | 3 |