This repository contains Schematron documents that may be used validate XML documents that are generated by the Building Energy Asset Score project.
This repository also contains Ruby scripts that may be used to validate links within XML documents that are generated by the Building Energy Asset Score project.
The following Schematron documents are available:
Application | Use Case | Status | Link |
---|---|---|---|
Audit Template | New York City Energy Efficiency Report | Complete | XML |
To validate links within XML documents that are generated by the Building Energy Asset Score project:
- Clone and navigate to this repository:
git clone https://github.com/pnnl/assetscore-schematron-docs.git && cd assetscore-schematron-docs
- Install dependencies:
bundle install
- Execute the script:
where
bundle exec bin/cli.rb validate FILE
FILE
is the path to the XML document to be validated.
Bug reports and pull requests are welcome on GitHub at https://github.com/pnnl/assetscore-schematron-docs.