Genericode-validator provides functionality to validate a genericode file against several sets of rules:
- The XML schema that defines the XML structural constraints for a genericode file, see section 3 Genericode XML Serialization in the OASIS standard and see the XML schema itself ;
- The document rules for a genericode file, see section 4.2 Category: document in the OASIS standard and see the equivalent rules in genericode-validator;
- Additional rules for a genericode file that are specified by Agency for Climate Data.
The repository itself contains more information about how to use the tool and the implementation of the rules.