I'm planning to import a rather large set of metadata vocabulary terms into Nuxeo schemas. In the course of early testing via the Nuxeo Studio interface for loading XSD files, I enabled "Activate VCS sanity checks" and received the following.
The field 'additionalType' referenced in this schema is invalid: Invalid name for a field: 'additionalType' (the suffix 'Type' is reserved)
I believe I understand what the issue is here, but I would like to detect these conflicts in a batch rather than needing to manually upload each .xsd file to Nuxeo Studio and check the result. Is the validation code available somewhere for command-line usage?
If there isn't public code to perform the check anywhere, are the validation rules specified in code or documentation so I can sanitize my metadata term names ahead of time?