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.
- configuration-1-3.xsd - Latest configuration schema
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>
Report XSD
The report schema validates XML output generated by Checkstyle reports.
- checkstyle-report-1.0.0.xsd - Report output schema
This schema can be used to validate the XML files produced by Checkstyle's XML logger.






