-
Notifications
You must be signed in to change notification settings - Fork 22
Add TotalRoofArea #307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add TotalRoofArea #307
Conversation
BuildingSync.xsd
Outdated
@@ -796,6 +796,18 @@ | |||
</xs:simpleContent> | |||
</xs:complexType> | |||
</xs:element> | |||
<xs:element name="TotalExteriorRoofArea" minOccurs="0"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if we should use TotalRoofArea
instead? I don't have a preference, was wondering if there might have been a reason we added Exterior
to the wall area one, but if it is necessary for roofs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think total roof area is concise and better. Is there a non-exterior/interior roof anywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think TotalRoofArea
is good.
BuildingSync.xsd
Outdated
</xs:annotation> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:decimal"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe make this as a non negative decimal type (we might need to add this as a base type). see the BoundedDecimalZeroToOne
for something similar.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- create new simple type for nonNegativeDecimal, something like:
<xs:simpleType name="BoundedDecimalZeroToOne">
<xs:restriction base="xs:decimal">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="1"/>
</xs:restriction>
</xs:simpleType>
- Use
TotalRoofArea
Else looks good!
1. Changed `TotalExteriorRoofArea` to `TotalRoofArea`. 2. Created new simple type for `nonNegativeDecimal` and applied for the added element.
Done! Please check it again. |
Perfect. Yeah, I think renaming would be good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@JieXiong9119 -- can you resolve the conflicts on this one? |
See proposal
Implementation in schema added