epb_view_models 2.0.9 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: dbc727b02388eb9194d802c34ae2e16da467f03fdb832bdf940b595a8e228d7c
         | 
| 4 | 
            +
              data.tar.gz: 88d8d77fc287e8740e4dbbbfc0264d94fec8f967783b69b19bc5e81d435bbe3e
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 7cf40bfa11c973b79429f8feade524b9b8868f21cdaf91f7e351b582bcc4bef152de216117d76d3970263f200da9b5263df0f94393ab5fba6b57cdc7863999e8
         | 
| 7 | 
            +
              data.tar.gz: ea30e9bcffdf50d523ceabd091b88515d47091b8d1b05f9563ba81b589780d0cc09b26f53dc5cad0aaf77c9ece9c41454e36ca33c69b4e9ad3cb4f13fce283cf
         | 
| @@ -999,7 +999,7 @@ If the total peak power has been apportioned between different dwellings within | |
| 999 999 | 
             
                <xs:element name="PV-Batteries" type="PV-Batteries"/>
         | 
| 1000 1000 | 
             
                <xs:complexType name="PV-Batteries">
         | 
| 1001 1001 | 
             
                    <xs:sequence>
         | 
| 1002 | 
            -
                        <xs:element name="PV-Battery" type="PV-Battery" maxOccurs=" | 
| 1002 | 
            +
                        <xs:element name="PV-Battery" type="PV-Battery" maxOccurs="4"/>
         | 
| 1003 1003 | 
             
                    </xs:sequence>
         | 
| 1004 1004 | 
             
                </xs:complexType>
         | 
| 1005 1005 | 
             
                <xs:element name="PV-Battery" type="PV-Battery"/>
         | 
| @@ -1018,7 +1018,7 @@ If the total peak power has been apportioned between different dwellings within | |
| 1018 1018 | 
             
                        <xs:element name="Flat-Ceiling-Length-1" type="Measurement" minOccurs="0"/>
         | 
| 1019 1019 | 
             
                        <xs:element name="Flat-Ceiling-Height-1" type="Measurement" minOccurs="0"/>
         | 
| 1020 1020 | 
             
                        <xs:element name="Flat-Ceiling-U-Value-1" type="xs:decimal" minOccurs="0"/>
         | 
| 1021 | 
            -
                        <xs:element name="Flat-Ceiling-Insulation-Thickness-1" type=" | 
| 1021 | 
            +
                        <xs:element name="Flat-Ceiling-Insulation-Thickness-1" type="RoofRoomInsulationThicknessCode" minOccurs="0">
         | 
| 1022 1022 | 
             
                            <xs:annotation>
         | 
| 1023 1023 | 
             
                                <xs:documentation>Mutually exclusive with U-value. Either U-value provided, or thickness.</xs:documentation>
         | 
| 1024 1024 | 
             
                            </xs:annotation>
         | 
| @@ -1036,7 +1036,7 @@ If the total peak power has been apportioned between different dwellings within | |
| 1036 1036 | 
             
                        <xs:element name="Flat-Ceiling-Length-2" type="Measurement" minOccurs="0"/>
         | 
| 1037 1037 | 
             
                        <xs:element name="Flat-Ceiling-Height-2" type="Measurement" minOccurs="0"/>
         | 
| 1038 1038 | 
             
                        <xs:element name="Flat-Ceiling-U-Value-2" type="xs:decimal" minOccurs="0"/>
         | 
| 1039 | 
            -
                        <xs:element name="Flat-Ceiling-Insulation-Thickness-2" type=" | 
| 1039 | 
            +
                        <xs:element name="Flat-Ceiling-Insulation-Thickness-2" type="RoofRoomInsulationThicknessCode" minOccurs="0">
         | 
| 1040 1040 | 
             
                            <xs:annotation>
         | 
| 1041 1041 | 
             
                                <xs:documentation>Mutually exclusive with U-value. Either U-value provided, or thickness.</xs:documentation>
         | 
| 1042 1042 | 
             
                            </xs:annotation>
         | 
| @@ -1054,7 +1054,7 @@ If the total peak power has been apportioned between different dwellings within | |
| 1054 1054 | 
             
                        <xs:element name="Stud-Wall-Length-1" type="Measurement" minOccurs="0"/>
         | 
| 1055 1055 | 
             
                        <xs:element name="Stud-Wall-Height-1" type="Measurement" minOccurs="0"/>
         | 
| 1056 1056 | 
             
                        <xs:element name="Stud-Wall-U-Value-1" type="xs:decimal" minOccurs="0"/>
         | 
| 1057 | 
            -
                        <xs:element name="Stud-Wall-Insulation-Thickness-1" type=" | 
| 1057 | 
            +
                        <xs:element name="Stud-Wall-Insulation-Thickness-1" type="RoofRoomInsulationThicknessCode" minOccurs="0">
         | 
| 1058 1058 | 
             
                            <xs:annotation>
         | 
| 1059 1059 | 
             
                                <xs:documentation>Mutually exclusive with U-value. Either U-value provided, or thickness.</xs:documentation>
         | 
| 1060 1060 | 
             
                            </xs:annotation>
         | 
| @@ -1067,7 +1067,7 @@ If the total peak power has been apportioned between different dwellings within | |
| 1067 1067 | 
             
                        <xs:element name="Stud-Wall-Length-2" type="Measurement" minOccurs="0"/>
         | 
| 1068 1068 | 
             
                        <xs:element name="Stud-Wall-Height-2" type="Measurement" minOccurs="0"/>
         | 
| 1069 1069 | 
             
                        <xs:element name="Stud-Wall-U-Value-2" type="xs:decimal" minOccurs="0"/>
         | 
| 1070 | 
            -
                        <xs:element name="Stud-Wall-Insulation-Thickness-2" type=" | 
| 1070 | 
            +
                        <xs:element name="Stud-Wall-Insulation-Thickness-2" type="RoofRoomInsulationThicknessCode" minOccurs="0">
         | 
| 1071 1071 | 
             
                            <xs:annotation>
         | 
| 1072 1072 | 
             
                                <xs:documentation>Mutually exclusive with U-value. Either U-value provided, or thickness.</xs:documentation>
         | 
| 1073 1073 | 
             
                            </xs:annotation>
         | 
| @@ -1080,7 +1080,7 @@ If the total peak power has been apportioned between different dwellings within | |
| 1080 1080 | 
             
                        <xs:element name="Slope-Length-1" type="Measurement" minOccurs="0"/>
         | 
| 1081 1081 | 
             
                        <xs:element name="Slope-Height-1" type="Measurement" minOccurs="0"/>
         | 
| 1082 1082 | 
             
                        <xs:element name="Slope-U-Value-1" type="xs:decimal" minOccurs="0"/>
         | 
| 1083 | 
            -
                        <xs:element name="Slope-Insulation-Thickness-1" type=" | 
| 1083 | 
            +
                        <xs:element name="Slope-Insulation-Thickness-1" type="RoofRoomInsulationThicknessCode" minOccurs="0">
         | 
| 1084 1084 | 
             
                            <xs:annotation>
         | 
| 1085 1085 | 
             
                                <xs:documentation>Mutually exclusive with U-value. Either U-value provided, or thickness.</xs:documentation>
         | 
| 1086 1086 | 
             
                            </xs:annotation>
         | 
| @@ -1093,7 +1093,7 @@ If the total peak power has been apportioned between different dwellings within | |
| 1093 1093 | 
             
                        <xs:element name="Slope-Length-2" type="Measurement" minOccurs="0"/>
         | 
| 1094 1094 | 
             
                        <xs:element name="Slope-Height-2" type="Measurement" minOccurs="0"/>
         | 
| 1095 1095 | 
             
                        <xs:element name="Slope-U-Value-2" type="xs:decimal" minOccurs="0"/>
         | 
| 1096 | 
            -
                        <xs:element name="Slope-Insulation-Thickness-2" type=" | 
| 1096 | 
            +
                        <xs:element name="Slope-Insulation-Thickness-2" type="RoofRoomInsulationThicknessCode" minOccurs="0">
         | 
| 1097 1097 | 
             
                            <xs:annotation>
         | 
| 1098 1098 | 
             
                                <xs:documentation>Mutually exclusive with U-value. Either U-value provided, or thickness.</xs:documentation>
         | 
| 1099 1099 | 
             
                            </xs:annotation>
         | 
| @@ -243,8 +243,8 @@ Northern Ireland: 2014 onwards</xs:documentation> | |
| 243 243 | 
             
                        <xs:enumeration value="M">
         | 
| 244 244 | 
             
                            <xs:annotation>
         | 
| 245 245 | 
             
                                <xs:documentation>England and Wales: 2022 onwards;
         | 
| 246 | 
            -
            Scotland:  | 
| 247 | 
            -
            Northern Ireland:  | 
| 246 | 
            +
            Scotland: 2024 onwards;
         | 
| 247 | 
            +
            Northern Ireland: 2023 onwards</xs:documentation>
         | 
| 248 248 | 
             
                            </xs:annotation>
         | 
| 249 249 | 
             
                        </xs:enumeration>
         | 
| 250 250 | 
             
                        <xs:enumeration value="0">
         | 
| @@ -336,6 +336,11 @@ Northern Ireland: 2014 onwards (TBA)</xs:documentation> | |
| 336 336 | 
             
                                <xs:documentation>triple glazing, installed during or after 2022 in EAW, 2023 in SCT, 2022 NI</xs:documentation>
         | 
| 337 337 | 
             
                            </xs:annotation>
         | 
| 338 338 | 
             
                        </xs:enumeration>
         | 
| 339 | 
            +
                        <xs:enumeration value="15">
         | 
| 340 | 
            +
                            <xs:annotation>
         | 
| 341 | 
            +
                                <xs:documentation>single glazing, known data</xs:documentation>
         | 
| 342 | 
            +
                            </xs:annotation>
         | 
| 343 | 
            +
                        </xs:enumeration>
         | 
| 339 344 | 
             
                    </xs:restriction>
         | 
| 340 345 | 
             
                </xs:simpleType>
         | 
| 341 346 | 
             
                <xs:simpleType name="GlazedAreaCode">
         | 
| @@ -504,6 +509,105 @@ Northern Ireland: 2014 onwards (TBA)</xs:documentation> | |
| 504 509 | 
             
                            </xs:annotation>
         | 
| 505 510 | 
             
                        </xs:enumeration>
         | 
| 506 511 | 
             
                    </xs:restriction>
         | 
| 512 | 
            +
                </xs:simpleType>
         | 
| 513 | 
            +
                    <xs:simpleType name="RoofRoomInsulationThicknessCode">
         | 
| 514 | 
            +
                    <xs:restriction base="xs:string">
         | 
| 515 | 
            +
                        <xs:enumeration value="AB">
         | 
| 516 | 
            +
                            <xs:annotation>
         | 
| 517 | 
            +
                                <xs:documentation>as built</xs:documentation>
         | 
| 518 | 
            +
                            </xs:annotation>
         | 
| 519 | 
            +
                        </xs:enumeration>
         | 
| 520 | 
            +
                        <xs:enumeration value="NI">
         | 
| 521 | 
            +
                            <xs:annotation>
         | 
| 522 | 
            +
                                <xs:documentation>unknown</xs:documentation>
         | 
| 523 | 
            +
                            </xs:annotation>
         | 
| 524 | 
            +
                        </xs:enumeration>
         | 
| 525 | 
            +
                        <xs:enumeration value="0">
         | 
| 526 | 
            +
                            <xs:annotation>
         | 
| 527 | 
            +
                                <xs:documentation>None</xs:documentation>
         | 
| 528 | 
            +
                            </xs:annotation>
         | 
| 529 | 
            +
                        </xs:enumeration>
         | 
| 530 | 
            +
                        <xs:enumeration value="12mm">
         | 
| 531 | 
            +
                            <xs:annotation>
         | 
| 532 | 
            +
                                <xs:documentation>12mm</xs:documentation>
         | 
| 533 | 
            +
                            </xs:annotation>
         | 
| 534 | 
            +
                        </xs:enumeration>
         | 
| 535 | 
            +
                        <xs:enumeration value="25mm">
         | 
| 536 | 
            +
                            <xs:annotation>
         | 
| 537 | 
            +
                                <xs:documentation>25mm</xs:documentation>
         | 
| 538 | 
            +
                            </xs:annotation>
         | 
| 539 | 
            +
                        </xs:enumeration>
         | 
| 540 | 
            +
                        <xs:enumeration value="50mm">
         | 
| 541 | 
            +
                            <xs:annotation>
         | 
| 542 | 
            +
                                <xs:documentation>50mm</xs:documentation>
         | 
| 543 | 
            +
                            </xs:annotation>
         | 
| 544 | 
            +
                        </xs:enumeration>
         | 
| 545 | 
            +
                        <xs:enumeration value="75mm">
         | 
| 546 | 
            +
                            <xs:annotation>
         | 
| 547 | 
            +
                                <xs:documentation>75mm</xs:documentation>
         | 
| 548 | 
            +
                            </xs:annotation>
         | 
| 549 | 
            +
                        </xs:enumeration>
         | 
| 550 | 
            +
                        <xs:enumeration value="100mm">
         | 
| 551 | 
            +
                            <xs:annotation>
         | 
| 552 | 
            +
                                <xs:documentation>100mm</xs:documentation>
         | 
| 553 | 
            +
                            </xs:annotation>
         | 
| 554 | 
            +
                        </xs:enumeration>
         | 
| 555 | 
            +
                        <xs:enumeration value="125mm">
         | 
| 556 | 
            +
                            <xs:annotation>
         | 
| 557 | 
            +
                                <xs:documentation>125mm</xs:documentation>
         | 
| 558 | 
            +
                            </xs:annotation>
         | 
| 559 | 
            +
                        </xs:enumeration>
         | 
| 560 | 
            +
                        <xs:enumeration value="150mm">
         | 
| 561 | 
            +
                            <xs:annotation>
         | 
| 562 | 
            +
                                <xs:documentation>150mm</xs:documentation>
         | 
| 563 | 
            +
                            </xs:annotation>
         | 
| 564 | 
            +
                        </xs:enumeration>
         | 
| 565 | 
            +
                        <xs:enumeration value="175mm">
         | 
| 566 | 
            +
                            <xs:annotation>
         | 
| 567 | 
            +
                                <xs:documentation>175mm</xs:documentation>
         | 
| 568 | 
            +
                            </xs:annotation>
         | 
| 569 | 
            +
                        </xs:enumeration>
         | 
| 570 | 
            +
                        <xs:enumeration value="200mm">
         | 
| 571 | 
            +
                            <xs:annotation>
         | 
| 572 | 
            +
                                <xs:documentation>200mm</xs:documentation>
         | 
| 573 | 
            +
                            </xs:annotation>
         | 
| 574 | 
            +
                        </xs:enumeration>
         | 
| 575 | 
            +
                        <xs:enumeration value="225mm">
         | 
| 576 | 
            +
                            <xs:annotation>
         | 
| 577 | 
            +
                                <xs:documentation>225mm</xs:documentation>
         | 
| 578 | 
            +
                            </xs:annotation>
         | 
| 579 | 
            +
                        </xs:enumeration>
         | 
| 580 | 
            +
                        <xs:enumeration value="250mm">
         | 
| 581 | 
            +
                            <xs:annotation>
         | 
| 582 | 
            +
                                <xs:documentation>250mm</xs:documentation>
         | 
| 583 | 
            +
                            </xs:annotation>
         | 
| 584 | 
            +
                        </xs:enumeration>
         | 
| 585 | 
            +
                        <xs:enumeration value="270mm">
         | 
| 586 | 
            +
                            <xs:annotation>
         | 
| 587 | 
            +
                                <xs:documentation>270mm</xs:documentation>
         | 
| 588 | 
            +
                            </xs:annotation>
         | 
| 589 | 
            +
                        </xs:enumeration>
         | 
| 590 | 
            +
                        <xs:enumeration value="300mm">
         | 
| 591 | 
            +
                            <xs:annotation>
         | 
| 592 | 
            +
                                <xs:documentation>300mm</xs:documentation>
         | 
| 593 | 
            +
                            </xs:annotation>
         | 
| 594 | 
            +
                        </xs:enumeration>
         | 
| 595 | 
            +
                        <xs:enumeration value="350mm">
         | 
| 596 | 
            +
                            <xs:annotation>
         | 
| 597 | 
            +
                                <xs:documentation>350mm</xs:documentation>
         | 
| 598 | 
            +
                            </xs:annotation>
         | 
| 599 | 
            +
                        </xs:enumeration>
         | 
| 600 | 
            +
                        <xs:enumeration value="400mm+">
         | 
| 601 | 
            +
                            <xs:annotation>
         | 
| 602 | 
            +
                                <xs:documentation>400mm or more</xs:documentation>
         | 
| 603 | 
            +
                            </xs:annotation>
         | 
| 604 | 
            +
                        </xs:enumeration>
         | 
| 605 | 
            +
                        <xs:enumeration value="ND">
         | 
| 606 | 
            +
                            <xs:annotation>
         | 
| 607 | 
            +
                                <xs:documentation>Not Defined</xs:documentation>
         | 
| 608 | 
            +
                            </xs:annotation>
         | 
| 609 | 
            +
                        </xs:enumeration>
         | 
| 610 | 
            +
                    </xs:restriction>
         | 
| 507 611 | 
             
                </xs:simpleType>
         | 
| 508 612 | 
             
                <xs:simpleType name="GableType">
         | 
| 509 613 | 
             
                    <xs:restriction base="xs:string">
         | 
| @@ -2946,6 +3050,11 @@ This is a very similar concept to XML ID datatype but is locally defined because | |
| 2946 3050 | 
             
                                <xs:documentation>appliances able to use mineral oil or liquid biofuel</xs:documentation>
         | 
| 2947 3051 | 
             
                            </xs:annotation>
         | 
| 2948 3052 | 
             
                        </xs:enumeration>
         | 
| 3053 | 
            +
                        <xs:enumeration value="38">
         | 
| 3054 | 
            +
                            <xs:annotation>
         | 
| 3055 | 
            +
                                <xs:documentation>Gas: bottled LPG (for secondary heating)</xs:documentation>
         | 
| 3056 | 
            +
                            </xs:annotation>
         | 
| 3057 | 
            +
                        </xs:enumeration>
         | 
| 2949 3058 | 
             
                        <xs:enumeration value="51">
         | 
| 2950 3059 | 
             
                            <xs:annotation>
         | 
| 2951 3060 | 
             
                                <xs:documentation>biogas (not community)</xs:documentation>
         | 
    
        data/lib/epb_view_models.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: epb_view_models
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 2.0. | 
| 4 | 
            +
              version: 2.0.10
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - DLUHC Energy Performance of Buildings
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: exe
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2025-02- | 
| 11 | 
            +
            date: 2025-02-05 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: nokogiri
         |