Define & Validate APIsValidation RulesetsData Rulesets
XML Validation
Validation checks performed on provided XML to check its conformance to standards.
| Property | Value |
|---|---|
| Ruleset ID | xml-validation |
| Code prefix | XML_V |
| Type | Validation |
| Default severity | Blocking |
| Rule system | Syntax |
| Rules | 3 |
XML Data
| Code | Rule | Severity | What it checks |
|---|---|---|---|
XML_V001 | valid-xml-data | Blocking | An XML data must start and terminate appropriately. It must follow all standards defined in the official W3C specification. |
XML Schema
| Code | Rule | Severity | What it checks |
|---|---|---|---|
XML_V400 | valid-xml-schema | Blocking | XML schema serves as a blueprint or template that defines the structure, data types, and constraints for certain types of XML data. The XML schema must adhere to the W3C XML Schema standard. |
XML_V401 | valid-xml-schema-type | Error | The type attribute is used to define the data type of an element or attribute in an XML Schema document. The value of the type must either be a simple XML schema standard type e.g. string, integer, boolean etc. or a valid name (qualified/unqualified) of a simple/complex type defined in the same or an external XML schema document. If type information is not found, type string will be assumed by default when importing/transforming in APIMatic. |