Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.53 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.53 KB

Schematron for Building Energy Asset Score

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.

Usage

The following Schematron documents are available:

Application Use Case Status Link
Audit Template New York City Energy Efficiency Report Complete XML

Link Validator

To validate links within XML documents that are generated by the Building Energy Asset Score project:

  1. Clone and navigate to this repository:
    git clone https://github.com/pnnl/assetscore-schematron-docs.git && cd assetscore-schematron-docs
  2. Install dependencies:
    bundle install
  3. Execute the script:
    bundle exec bin/cli.rb validate FILE
    where FILE is the path to the XML document to be validated.

License

The 2-Clause BSD License

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/pnnl/assetscore-schematron-docs.