epb_view_models 1.0.15 → 1.0.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44ac3c497106cfad05b3f659f0f67c680bec0d68bf129dba9ee85f4b84c92ea1
4
- data.tar.gz: f4a5b74aa6b3fe31dd79d3b6b0e3895c33c6652faccfd59fe7ef580a077599a8
3
+ metadata.gz: 79ae310938a850d789aa00468e9ccfb69bf5bf0c198b4ba306e83f15b626cf77
4
+ data.tar.gz: dede5d0236911e00b5d5378e32745c05764e01dbb68e918fa335b83d373a8733
5
5
  SHA512:
6
- metadata.gz: e991f69ff3f8990512da92df7aaeb1b2a2c0b0014e925d8da0ffbbc4560e09b39446e1731a76a8b0aa87dbdd48d101ae79dda7746cba426c53b9e8146d8c5a32
7
- data.tar.gz: 36600d67398158417c478bb42366d7d7dea759ea75a746d5864ba4b1e24c7c55e3b4d164fdd949018e8b0c0954ddc73c606112e5d7ba70c5dca2bf33c2878648
6
+ metadata.gz: 57c32e59da653209820c2284da3b10a75adc13296f42d1dda1ce7766b1c959f9a6557e3421db7958c9caa19c5a60cc9f049c48c0141042893a5be263175191dc
7
+ data.tar.gz: 804e20015ee1ce0f5fbc53676e9067068913d9a0ba84345e3f1d8104fc2a935583392487a544721e2fac332a000006c58037798e223434fbd66bf86605bf4714
@@ -18,7 +18,7 @@ As such the broad description of a Property can be regarded as a framework, cont
18
18
  <xs:documentation>Address for the property.</xs:documentation>
19
19
  </xs:annotation>
20
20
  </xs:element>
21
- <xs:element name="UPRN" type="UPRNType">
21
+ <xs:element name="UPRN" type="UPRNType" minOccurs="0">
22
22
  <xs:annotation>
23
23
  <xs:documentation>Unique Property Reference Number</xs:documentation>
24
24
  </xs:annotation>
@@ -43,7 +43,7 @@ As such the broad description of a Property can be regarded as a framework, cont
43
43
  </xs:documentation>
44
44
  </xs:annotation>
45
45
  <xs:sequence>
46
- <xs:element name="Address-Line-1" type="xs:string" minOccurs="0"/>
46
+ <xs:element name="Address-Line-1" type="xs:string"/>
47
47
  <xs:element name="Address-Line-2" type="xs:string" minOccurs="0"/>
48
48
  <xs:element name="Address-Line-3" type="xs:string" minOccurs="0"/>
49
49
  <xs:element name="Post-Town" type="xs:string"/>
@@ -57,10 +57,10 @@ As such the broad description of a Property can be regarded as a framework, cont
57
57
  </xs:complexType>
58
58
  <xs:simpleType name="UPRNType">
59
59
  <xs:annotation>
60
- <xs:documentation>Unique Property Reference Number - a 10-digit numeric string unmiquely identifuying each Property that may have a HCR registered against it.</xs:documentation>
60
+ <xs:documentation>Unique Property Reference Number</xs:documentation>
61
61
  </xs:annotation>
62
62
  <xs:restriction base="xs:string">
63
- <xs:pattern value="[0-9]{10}"/>
63
+ <xs:pattern value="UPRN-[0-9]{10,12}|RRN-[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{4}"/>
64
64
  </xs:restriction>
65
65
  </xs:simpleType>
66
66
  <xs:simpleType name="PostcodeType">
@@ -54,7 +54,15 @@
54
54
  <xs:element name="Report-Header" type="Report-Header"/>
55
55
  <xs:element name="Energy-Assessment" type="Energy-Assessment"/>
56
56
  <xs:element name="SAP10-Data" type="SAP10-Data"/>
57
- <xs:element name="PDF" type="xs:base64Binary" minOccurs="0"/>
57
+ <xs:element name="PDF" type="xs:base64Binary" minOccurs="0">
58
+ <xs:annotation>
59
+ <xs:documentation>
60
+ DEPRECATED - DO NOT USE
61
+ This element is allowed for backwards-compatibility but any data sent here will
62
+ not be read, processed or stored by the register.
63
+ </xs:documentation>
64
+ </xs:annotation>
65
+ </xs:element>
58
66
  <xs:element name="Insurance-Details" type="Insurance-Details" minOccurs="0"/>
59
67
  <xs:element name="ExternalDefinitions-Revision-Number" type="xs:string">
60
68
  <xs:annotation>
@@ -5,7 +5,7 @@ loader = Zeitwerk::Loader.for_gem
5
5
  loader.setup
6
6
 
7
7
  module EpbViewModels
8
- VERSION = "1.0.15"
8
+ VERSION = "1.0.16"
9
9
  end
10
10
 
11
11
  # Monkey patching to avoid using ActiveRecord::Type::Boolean.new.cast
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: 1.0.15
4
+ version: 1.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - MHCLG Energy Performance of Buildings
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-10 00:00:00.000000000 Z
11
+ date: 2022-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri