Validation
This page allows you to "validate" (check for conformance) BrainML model
and vocabulary files. (Recall that model files are XML schemas, whereas
vocabulary files are XML files conforming to a schema in BrainMetaL.)
Model or Instance Validation
Please select an XML schema file, in standard or compact syntax. Then push the
"Validate" button. The model file will be validated to check whether
1) it is a valid schema file, and 2) it is valid
BrainML.
Instead or in addition, you may select an XML instance file for
"Instance". This will validate the instance against the schemas it
references -- either ones accessible on the web from this repository or
elsewhere, or the schema selected above.
Schema Bundles
If you need to submit multiple schemas for validation purposes (if the
primary one references others using the import
or include directives), you may combine them in a ZIP
archive. The name of the archive must be the name of the primary
schema followed by ".zip". This is how the validator
determines which schema to use if the instance document does not contain
an xsi:schemaLocation directive. Also, note that the zip
file will be unpacked "flat" in one directory, so subdirectory names
in import or include will not work.
Vocabulary Validation
Please select a vocabulary file, in XML format. Then push the
"Validate" button. The model file will be validated to check whether
1) it is a valid XML file, and 2) it is a valid
BrainML vocabulary file.