The info.magnolia.services.seo.audit.impl.PropertyValidationAuditor is a companion to I18NPropertyValidationAuditor. This auditor checks the values of a designated property. Use I18NPropertyValidationAuditor to check the values of internationalized properties (properties with language variants).
In addition to the common auditor properties, this auditor can be configured with the following properties:
Property
Description
propertyName
required
Defines the node property name to be checked.
level
optional
Determines how a failed audit will be counted:
Error (auditErrors)
Warning (auditWarnings)
Note (auditNotes)
valuePattern
optional
Defines a validation pattern as a Java regular expression to validate the property for a particular language. If the property values does not match the value pattern for the language the audit will fail.
Example
Here is an example from the SEO module. You can find this configuration here: /modules/seo/config/auditManager/auditors/metaKeywordsValid.