Skip to content

Remove deprecated elements from examples - #580

Open
kflemin wants to merge 1 commit into
develop-v2from
fix/remove-deprecated-from-examples
Open

kflemin wants to merge 1 commit into
develop-v2from
fix/remove-deprecated-from-examples

Conversation

@kflemin

@kflemin kflemin commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Replaces the deprecated usages reported by the deprecated-elements check (#568) in examples/:

  • TimeSeriesReadingQuantity Currency → Cost (ASHRAE 211 Export.xml)
  • OutputCapacity → Capacity in Boiler/HeatingSource (AT examples, BuildingEQ-1.0.0.xml, Reference Building - Primary School.xml, Single_building_gbxml_externalreference_geometry.xml)
  • Site/WeatherDataStationID + WeatherStationName → Site/WeatherStations/WeatherStation (BuildingSync Website Valid Schema.xml, Reference Building - Primary School.xml, Single_building_gbxml_externalreference_geometry.xml)

No schema changes. BuildingSync Website Invalid Schema.xml left as is.

🤖 Generated with Claude Code

- TimeSeriesReadingQuantity Currency -> Cost
- OutputCapacity -> Capacity
- Site/WeatherDataStationID and WeatherStationName -> Site/WeatherStations/WeatherStation

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kflemin kflemin added Non-breaking Change Schema: No Changes No updates to the BuildingSync Schema labels Nov 6, 2026
@kflemin
kflemin requested review from JieXiong9119 and a balanced review from Copilot November 6, 2026 21:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues for the updates aligning the examples with current schema conventions.

No open issues 🎉

What changed in this PR

Updates eight BuildingSync examples to replace deprecated usage reported by #568, keeping the examples aligned with current schema conventions. No schema changes are included, and the intentionally invalid example remains unchanged.

Changes:

  • Replaces 55 TimeSeriesReadingQuantity values from Currency to Cost.
  • Replaces deprecated boiler and heating-source OutputCapacity elements with Capacity.
  • Moves site weather-station data into WeatherStations/WeatherStation containers.
File Description
examples/​Single_building_gbxml_externalreference_geometry.xml Updates weather-station structure and boiler capacity.
examples/​Reference Building - Primary School.xml Updates weather-station structure and boiler capacity.
examples/​BuildingSync Website Valid Schema.xml Uses the nested weather-station structure.
examples/​BuildingEQ-1.0.0.xml Replaces heating-source OutputCapacity with Capacity.
examples/​AT_example_SF_audit_report.xml Updates boiler and heating-source capacity elements.
examples/​AT_example_NYC_audit_report_property.xml Updates boiler and heating-source capacity elements.
examples/​AT_example_AS_conversion_audit_report.xml Updates boiler and heating-source capacity elements.
examples/​ASHRAE 211 Export.xml Uses Cost for monetary time-series readings.

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Non-breaking Change Schema: No Changes No updates to the BuildingSync Schema

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants