Skip to content

Commit

Permalink
update versions in examples and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JieXiong9119 committed Sep 27, 2024
1 parent 590afad commit 5c118b1
Show file tree
Hide file tree
Showing 30 changed files with 39 additions and 34 deletions.
6 changes: 3 additions & 3 deletions docs/notebooks/bsync_examples/Primary-School-Levels1-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This notebook uses resources from:

- the [DOE Commercial Prorotype buildings](https://www.energycodes.gov/prototype-building-models) repository
- ASHRAE [Standard 211](https://www.ashrae.org/technical-resources/bookstore/standards-180-and-211) for formal guidelines on energy audits
- the [BuildingSync schema documentation](https://buildingsync.net/dictionary/2.5.0/)
- the [BuildingSync schema documentation](https://buildingsync.net/dictionary/2.6.0/)
- the [notebook included in the bsync examples folder](./Small-Office-Level-1.md) for a comprehensive explanation on basic BuildingSync and bsyncpy concepts

## 3. Overview
Expand All @@ -27,7 +27,7 @@ This notebook is broken down into the following sections:

3) Adding the information required for a Level 2 energy audit

4) Generating a BuildingSync file and verifying it against version 2.5.0 of the BuildingSync schema
4) Generating a BuildingSync file and verifying it against version 2.6.0 of the BuildingSync schema


But first, let us import the required libraries and set up some useful functions:
Expand All @@ -52,7 +52,7 @@ def bsync_dump(root_element, file="example1.xml"):


# Have to manually set the version right now. Align release of bsyncpy to this version.
as_etree.set("version", "2.5.0")
as_etree.set("version", "2.6.0")
output = etree.tostring(as_etree, doctype=doctype, pretty_print=True)
with open(file, 'wb+') as f:
f.write(output)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../../../BuildingSync.xsd" version="2.5.0">
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../../../BuildingSync.xsd" version="2.6.0">
<Facilities>
<Facility ID="Facility-1">
<Sites>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../../../BuildingSync.xsd" version="2.5.0">
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../../../BuildingSync.xsd" version="2.6.0">
<Facilities>
<Facility ID="Facility-1">
<Sites>
Expand Down
4 changes: 2 additions & 2 deletions docs/notebooks/bsync_examples/Small-Office-Level-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ By the end of this notebook, you should:
- Create a minimum viable Level 1 BuildingSync document and verify it validates using the [BuildingSync Use Case Validator](https://buildingsync.net/validator)

## For Reference: Core Concepts and Notation Used
- We will be using BuildingSync version 2.5.0. [Documentation](https://buildingsync.net/documentation/2.5.0). [Github release](https://github.com/BuildingSync/schema/releases/tag/v2.5.0).
- We will be using BuildingSync version 2.6.0. [Documentation](https://buildingsync.net/documentation/2.6.0). [Github release](https://github.com/BuildingSync/schema/releases/tag/v2.6.0).
- BuildingSync is an XML Schema Document (XSD). It defines intended structure. Referring to something as a BuildingSync document typically means the document is intended to conform to the BuildingSync schema.
- An XSD defines a hierarchical or tree-based schema, where elements are 'nested' within other elements. An XML document then looks like nested elements within one another. Similar to HTML, it uses angle brackets `<` and `>` to open and close an element tag. The example below provides a very simple example of an XML document:
```xml
Expand Down Expand Up @@ -49,7 +49,7 @@ def bsync_dump(root_element, file="example1.xml"):
as_etree = root_element.toxml()
# Have to manually set the declaration header right now
as_etree.set("xmlns", "http://buildingsync.net/schemas/bedes-auc/2019")
as_etree.set("version", "2.5.0")
as_etree.set("version", "2.6.0")
output = etree.tostring(as_etree, doctype=doctype, pretty_print=True)
with open(file, "wb+") as f:
f.write(output)
Expand Down
4 changes: 2 additions & 2 deletions docs/notebooks/bsync_examples/Small-Office-Level-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ By the end of this notebook, you should:
- Create a minimum viable Level 2 BuildingSync document and verify it validates using the [BuildingSync Use Case Validator](https://buildingsync.net/validator)

## For Reference: Core Concepts and Notation Used
- We will be using BuildingSync version 2.5.0. [Documentation](https://buildingsync.net/documentation/2.5.0). [Github release](https://github.com/BuildingSync/schema/releases/tag/v2.5.0).
- We will be using BuildingSync version 2.6.0. [Documentation](https://buildingsync.net/documentation/2.6.0). [Github release](https://github.com/BuildingSync/schema/releases/tag/v2.6.0).
- BuildingSync is an XML Schema Document (XSD). It defines intended structure. Referring to something as a BuildingSync document typically means the document is intended to conform to the BuildingSync schema.
- An XSD defines a hierarchical or tree-based schema, where elements are 'nested' within other elements. An XML document then looks like nested elements within one another. Similar to HTML, it uses angle brackets `<` and `>` to open and close an element tag. The example below provides a very simple example of an XML document:
```xml
Expand Down Expand Up @@ -51,7 +51,7 @@ def bsync_dump(root_element, file="example1.xml"):
as_etree = root_element.toxml()
# Have to manually set the declaration header right now
as_etree.set("xmlns", "http://buildingsync.net/schemas/bedes-auc/2019")
as_etree.set("version", "2.5.0")
as_etree.set("version", "2.6.0")
output = etree.tostring(as_etree, doctype=doctype, pretty_print=True)
with open(file, "wb+") as f:
f.write(output)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../../../BuildingSync.xsd"
version="2.5.0">
version="2.6.0">
<Facilities>
<Facility ID="Facility-1">
<Sites>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../../../BuildingSync.xsd"
version="2.5.0">
version="2.6.0">
<Facilities>
<Facility ID="Facility-1">
<Sites>
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/example-with-emissions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../../BuildingSync.xsd"
version="2.4.0">
version="2.6.0">
<Facilities>
<Facility ID="Facility-1">
<Sites>
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "bsync-examples"
version = "0.2.0"
description = "Examples for generating BuildingSync files from Python. This currently uses BuildingSync Version 2.5."
description = "Examples for generating BuildingSync files from Python. This currently uses BuildingSync Version 2.6."
authors = ["corymosiman12 <[email protected]>", "nllong <[email protected]>"]

[tool.poetry.dependencies]
Expand Down
5 changes: 4 additions & 1 deletion docs/release_instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,17 @@ Check out main locally, pull changes, and create a tag and push it
git checkout main && git pull
git tag -a v<version> -m "<message>" [SHA]
```
Where `v<version>` is a valid [semantic version](https://semver.org/) (e.g., `v1.2.3` or `v1.2.3-pr.1`) and `<message>` is the tagging message (e.g. "First official release"). See [Versioning](versioning.md) for more information.
Where `v<version>` is a valid [semantic version](https://semver.org/) (e.g., `v1.2.3` or `v1.2.3-pr.1`) and `<message>` is the tagging message (e.g. "First official release"). [SHA] is used for specific commit (when the tag does not correspond to the latest commit). See [Versioning](versioning.md) for more information.
```bash
# push the tag
git push --tags origin
```

This should trigger a GitHub workflow for building and publishing the release. If publishing a pre-release, you are done. Otherwise, once the release has been successfully published on GitHub, continue.

### Update BuildingSync examples and version references
Walk through all the files and documents in the develop branch to update the version references to the newest release. Update examples in [notebook](https://github.com/BuildingSync/schema/tree/develop-v2/docs/notebooks) and [examples](https://github.com/BuildingSync/schema/tree/develop-v2/examples) corresponding to changes for new release. This will be the first PR for new release, and is prerequisite for updating the website in next step.

### Update BuildingSync Website

At this point the GitHub action for publishing the release should be finished. Now we need to update the docs/data in [this repo](https://github.com/BuildingSync/BuildingSync-website). Read the README in that repository.
Expand Down
2 changes: 1 addition & 1 deletion examples/ASHRAE 211 Export.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.5.0">
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.6.0">
<Facilities>
<Facility ID="Facility-9dd5d819-4587-4702-95dc-bf2775840cb6">
<Sites>
Expand Down
2 changes: 1 addition & 1 deletion examples/AT_example_AS_conversion_audit_report.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<auc:BuildingSync version="2.5.0"
<auc:BuildingSync version="2.6.0"
xmlns:auc="http://buildingsync.net/schemas/bedes-auc/2019">
<auc:Facilities>
<auc:Facility ID="Facility-70048986516900">
Expand Down
2 changes: 1 addition & 1 deletion examples/AT_example_NYC_audit_report_property.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<auc:BuildingSync version="2.5.0"
<auc:BuildingSync version="2.6.0"
xmlns:auc="http://buildingsync.net/schemas/bedes-auc/2019">
<auc:Facilities>
<auc:Facility ID="Facility-70049123724400">
Expand Down
2 changes: 1 addition & 1 deletion examples/AT_example_SF_audit_report.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<auc:BuildingSync version="2.5.0"
<auc:BuildingSync version="2.6.0"
xmlns:auc="http://buildingsync.net/schemas/bedes-auc/2019">
<auc:Facilities>
<auc:Facility ID="Facility-70049014755100">
Expand Down
2 changes: 1 addition & 1 deletion examples/BuildingEQ-1.0.0.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<auc:BuildingSync xmlns:auc="http://buildingsync.net/schemas/bedes-auc/2019" version="2.5.0">
<auc:BuildingSync xmlns:auc="http://buildingsync.net/schemas/bedes-auc/2019" version="2.6.0">
<auc:Facilities>
<auc:Facility ID="Facility-70023827412660">
<auc:Sites>
Expand Down
2 changes: 1 addition & 1 deletion examples/BuildingSync Website Invalid Schema.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<auc:BuildingSync xmlns:auc="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.5.0">
<auc:BuildingSync xmlns:auc="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.6.0">
<auc:Facilities>
<auc:Facility ID="Facility-1">
<auc:PremisesName>Example Building</auc:PremisesName>
Expand Down
2 changes: 1 addition & 1 deletion examples/BuildingSync Website Valid Schema.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<auc:BuildingSync xmlns:auc="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.5.0">
<auc:BuildingSync xmlns:auc="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.6.0">
<auc:Facilities>
<auc:Facility ID="Facility-2836a9a5-95fd-4d1d-ab8f-a852dc4cba00">
<auc:Sites>
Expand Down
2 changes: 1 addition & 1 deletion examples/CMS Woodlawn Campus.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.5.0">
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.6.0">
<Programs>
<Program>
<ProgramDate>2008-01-01</ProgramDate>
Expand Down
2 changes: 1 addition & 1 deletion examples/DC GSA Headquarters.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.5.0">
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.6.0">
<Facilities>
<Facility ID="FirstFuel">
<Sites>
Expand Down
2 changes: 1 addition & 1 deletion examples/Golden Test File.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.5.0">
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.6.0">
<Facilities>
<Facility ID="Facility-be7020ff-fbdb-4901-86a8-0f868bbca12f">
<Sites>
Expand Down
2 changes: 1 addition & 1 deletion examples/LL87.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--This example file is meant to cover the majority of the functionality of New York Local Law 87-->
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.5.0">
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.6.0">
<Facilities>
<Facility ID="Facility-32bf1bba-967a-4a98-8843-5761d0ebd971">
<Sites>
Expand Down
2 changes: 1 addition & 1 deletion examples/Multi-Facility Shared Systems.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.5.0">
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.6.0">
<Facilities>
<Facility ID="Facility-08f45ff8-3c5b-4169-8f27-678102e85e6b">
<Sites>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:gbxml="http://www.gbxml.org/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.5.0">
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:gbxml="http://www.gbxml.org/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.6.0">
<Facilities>
<Facility ID="Facility-09ddd9cc-0100-4d9b-b2f5-e535f5e34743">
<Sites>
Expand Down
2 changes: 1 addition & 1 deletion examples/MultitenantBySubsections.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- "High-level" approach separating out floor areas by tenant -->
<!-- Missing Data That We Still Want: Ownership of building -->
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.5.0">
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.6.0">
<Facilities>
<Facility ID="Facility-fe6dcbd1-97e9-44f2-821b-b07431b3b81c">
<Sites>
Expand Down
2 changes: 1 addition & 1 deletion examples/NIST Gaithersburg Campus.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.5.0">
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.6.0">
<Facilities>
<Facility ID="Facility-5f583884-bad0-4c6e-b5e6-daad74ffa1d9">
<Sites>
Expand Down
2 changes: 1 addition & 1 deletion examples/Norfolk Federal Building.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.5.0">
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.6.0">
<Facilities>
<Facility ID="Facility-9edbe2dd-4b85-405c-bad1-dbf1613fd01d">
<Sites>
Expand Down
2 changes: 1 addition & 1 deletion examples/Reference Building - Primary School.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.5.0">
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.6.0">
<Facilities>
<Facility ID="Audit1">
<Sites>
Expand Down
2 changes: 1 addition & 1 deletion examples/Richmond Federal Building.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.5.0">
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.6.0">
<Facilities>
<Facility ID="Facility-3ae07f5a-2ceb-4aee-b6cb-a8d83164d9e9">
<Sites>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:gbxml="http://www.gbxml.org/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.5.0">
<BuildingSync xmlns="http://buildingsync.net/schemas/bedes-auc/2019" xmlns:gbxml="http://www.gbxml.org/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://buildingsync.net/schemas/bedes-auc/2019 ../BuildingSync.xsd" version="2.6.0">
<Facilities>
<Facility ID="Audit1">
<Sites>
Expand Down
4 changes: 3 additions & 1 deletion migration_scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ python migration_scripts/upgrade_from_2.4_to_2.5.py path/to/file
or, if you want to write to a new file:
```
python migration_scripts/upgrade_from_2.4_to_2.5.py path/to/file --to_file ./new_file.xml
```
```

The migration script will only be created for two adjacent versions that might lead to validation failures when updating the older BuildingSync XML to newer version (except for required version referencing update).

0 comments on commit 5c118b1

Please sign in to comment.