Content

Overview

Checkstyle provides XML Schema Definition (XSD) files for validating configuration files and report outputs. These schemas ensure that your XML documents conform to the expected structure.

Configuration XSD

The configuration schema validates Checkstyle configuration XML files.

To use this schema for validation, include the following in your configuration XML:


<module xmlns="https://checkstyle.org/xsds/configuration-1-3.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://checkstyle.org/xsds/configuration-1-3.xsd
https://checkstyle.org/xsds/configuration-1-3.xsd">
...
</module>