1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
// THIS IS A GENERATED FILE
// If anything in this file needs to be updated, it needs to be fixed in reso_dd_generator
use serde::{Deserialize, Serialize};

/// [GreenBuildingVerificationType Lookups](https://ddwiki.reso.org/display/DDW17/GreenBuildingVerificationType+Lookups)
#[derive(Debug, Clone, Eq, PartialEq)]
pub enum GreenBuildingVerificationType {
    /// "[Certified Passive House](https://ddwiki.reso.org/display/DDW17/Certified+Passive+House)": Super-insulated new homes that have been built to meet certification requirements demonstrating minimal or no heating and cooling system.
    CertifiedPassiveHouse,

    /// "[ENERGY STAR Certified Homes](https://ddwiki.reso.org/display/DDW17/ENERGY+STAR+Certified+Homes)": EPA ENERGY STAR Certified Homes is a set of optional construction practices and technologies (above minimum code requirements) that builders can follow to upgrade a new home's energy efficiency beyond minimum code requirements. Guidelines are outlined in the National Performance Path; or the National Prescriptive Path; This whole-house label differs from the ENERGY STAR products label. To achieve the ENERGY STAR Certified Homes label, a home's energy efficiency must be verified by a third-party organization.
    ENERGYSTARCertifiedHomes,

    /// "[EnerPHit](https://ddwiki.reso.org/display/DDW17/EnerPHit)": Super-insulated existing homes that have been remodeled to meet certification requirements demonstrating minimal or no heating and cooling system.
    EnerPHit,

    /// "[HERS Index Score](https://ddwiki.reso.org/display/DDW17/HERS+Index+Score)": The HERS Index is the nationally recognized scoring system for measuring a home's energy performance. To calculate a home's HERS Index Score, a certified RESNET home energy rater will do a home energy rating and compare the data against a reference home (a design-modeled home of the same size and shape as the actual home), so the HERS Index Score is always relative to the size, shape, and type of the house. The lower the number, the more energy efficient the home.
    HERSIndexScore,

    /// "[Home Energy Score](https://ddwiki.reso.org/display/DDW17/Home+Energy+Score)": The Home Energy Score, managed by the US DOE, is a national system that allows homes to receive an energy efficiency rating, similar to the MPG rating available for cars. The Home Energy Score uses a 10-point scale to reflect how much energy a home is expected to use under standard operating conditions. Homes that are expected to use the least amount of energy (and are considered the most energy efficient) score a 10, and homes that are expected to use the most amount of energy (and are considered the least energy efficient) score a 1. The Home Energy Score uses a standard calculation method and takes into account the home's structure and envelope (walls, windows, foundation) and its heating, cooling, and hot water systems. Only Qualified Assessors who pass a DOE exam are allowed to provide the Home Energy Score.
    HomeEnergyScore,

    /// "[Home Energy Upgrade Certificate of Energy Efficiency Improvements](https://ddwiki.reso.org/display/DDW17/Home+Energy+Upgrade+Certificate+of+Energy+Efficiency+Improvements)": Buildings Performance Institute BPI- 2101 Standard Requirements for a Certificate of Completion for Whole-House Energy Efficiency Upgrades specifies a standard way of describing the improvements made to an existing home through a home energy upgrade (HEU). Certificates are provided by a local energy efficiency program sponsor.
    HomeEnergyUpgradeCertificateofEnergyEfficiencyImprovements,

    /// "[Home Energy Upgrade Certificate of Energy Efficiency Performance](https://ddwiki.reso.org/display/DDW17/Home+Energy+Upgrade+Certificate+of+Energy+Efficiency+Performance)": Buildings Performance Institute BPI- 2101 Standard Requirements for a Certificate of Completion for Whole-House Energy Efficiency Upgrades specifies a standard way of describing the improvements made to an existing home through a home energy upgrade (HEU) and provides one or more measures of a home's performance. Measures of performance may include a HERS rating, a Home Energy Score, an indication of projected or actual energy consumption, or other systems. Certificates are provided by a local energy efficiency program sponsor.
    HomeEnergyUpgradeCertificateofEnergyEfficiencyPerformance,

    /// "[Home Performance with ENERGY STAR](https://ddwiki.reso.org/display/DDW17/Home+Performance+with+ENERGY+STAR)": Home Performance with ENERGY STAR offers whole-house solutions to high energy bills and homes with comfort problems. The program is managed by a local sponsor that recruits home improvement contractors who are qualified to perform comprehensive home assessments and improvements.   Local sponsors must follow specific guidelines to participate as outlined in the HPwES Sponsor Guide and Reference Manual.
    HomePerformancewithENERGYSTAR,

    /// "[Indoor airPLUS](https://ddwiki.reso.org/display/DDW17/Indoor+airPLUS)": EPA Indoor airPLUS is a set of optional construction practices and technologies builders can follow to reduce indoor air pollutants and improve the indoor air quality in a new home beyond minimum code requirements. It is only available to homes that first meet ENERGY STAR Certified Homes certification.
    IndoorairPLUS,

    /// "[LEED For Homes](https://ddwiki.reso.org/display/DDW17/LEED+For+Homes)": USGBC's residential rating system, LEED for Homes, was launched in 2008. The LEED rating systems are developed through an open, consensus-based process led by LEED committees. LEED is a voluntary program that provides independent, third-party verification that a home was designed and built using methods for achieving high performance in multiple areas of sustainability including energy, water, waste management, indoor air quality, and sustainable site development. There are multiple rating systems for all types of buildings including Existing Buildings and Homes for residential projects. Homes may achieve different levels of certification (platinum, gold, silver, certified) depending on the number of LEED prerequisites and credits that are met.
    LEEDForHomes,

    /// "[Living Building Challenge](https://ddwiki.reso.org/display/DDW17/Living+Building+Challenge)": Living Future Institute's Homes certified by a third-party that they produce as much or more energy than they use. Super-insulated homes that have met certification requirements demonstrating minimal or no heating and cooling system.
    LivingBuildingChallenge,

    /// "[NGBS New Construction](https://ddwiki.reso.org/display/DDW17/NGBS+New+Construction)": Home Innovation Research Labs certifies homes to the ICC-700 National Green Building Standard(tm) (NGBS), which has undergone the full consensus process and received approval from the American National Standards Institute (ANSI). Home Innovation Research Labs provides project certification to the NGBS. NGBS applies to both single-family homes and multifamily buildings. Certification options also exist for new construction, remodel projects (both whole-home and functional areas such as a kitchen or bathroom) and land development/subdivision. Homes may qualify for a bronze, silver, gold, or emerald certification level depending on the number of green building practices met.
    NGBSNewConstruction,

    /// "[NGBS Small Projects Remodel](https://ddwiki.reso.org/display/DDW17/NGBS+Small+Projects+Remodel)": Home Innovation Research Labs provides project certification to the NGBS. NGBS applies to both single-family homes and multifamily buildings. Certification options also exist for new construction, remodel projects (both whole-home and functional areas such as a kitchen or bathroom), and land development/subdivision. For the Small Projects Remodel, the functional area (kitchen, bathroom, basement, addition) is either certified or not. Unlike other NGBS certifications, multiple certification levels (bronze, silver, gold, or emerald) do not exist for this certification option.
    NGBSSmallProjectsRemodel,

    /// "[NGBS Whole-Home Remodel](https://ddwiki.reso.org/display/DDW17/NGBS+Whole-Home+Remodel)": Home Innovation Research Labs provides project certification to the NGBS. NGBS applies to both single-family homes and multifamily buildings. Certification options also exist for new construction, remodel projects (both whole-home and functional areas such as a kitchen or bathroom), and land development/subdivision. Homes may qualify for a bronze, silver, gold, or emerald certification level depending on the number of green building practices met.
    NGBSWholeHomeRemodel,

    /// "[PHIUS+](https://ddwiki.reso.org/pages/viewpage.action?pageId=29244887)": Super-insulated homes that have met certification requirements demonstrating minimal or no heating and cooling system.
    PHIUSPlus,

    /// "[WaterSense](https://ddwiki.reso.org/display/DDW17/WaterSense)": EPA WaterSense is a set of optional construction practices and technologies (above minimum code requirements) that builders can follow to ensure a home uses less water while still providing the same level of comfort and convenience. WaterSense also applies to specific plumbing fixtures (see InteriorFeatures) and should not be confused with the whole-house label.
    WaterSense,

    /// "[Zero Energy Ready Home](https://ddwiki.reso.org/display/DDW17/Zero+Energy+Ready+Home)": DOE Zero Energy Ready Home is a set of optional construction practices and technologies (above minimum code and ENERGY STAR Certified Home requirements) that builders can follow to ensure high-performance homes so energy efficient all or most annual energy consumption can be offset with renewable energy. Guidelines are outlined in the "DOE Zero Energy Ready Home National Program Requirements."
    ZeroEnergyReadyHome,

    /// A value that was not defined by the enumeration
    OpenEnumeration(String),
}

impl crate::ResoEnumeration for GreenBuildingVerificationType {
    fn from_str(s: &str) -> GreenBuildingVerificationType {
        match s {


"Certified Passive House" => GreenBuildingVerificationType::CertifiedPassiveHouse,

"ENERGY STAR Certified Homes" => GreenBuildingVerificationType::ENERGYSTARCertifiedHomes,

"EnerPHit" => GreenBuildingVerificationType::EnerPHit,

"HERS Index Score" => GreenBuildingVerificationType::HERSIndexScore,

"Home Energy Score" => GreenBuildingVerificationType::HomeEnergyScore,

"Home Energy Upgrade Certificate of Energy Efficiency Improvements" => GreenBuildingVerificationType::HomeEnergyUpgradeCertificateofEnergyEfficiencyImprovements,

"Home Energy Upgrade Certificate of Energy Efficiency Performance" => GreenBuildingVerificationType::HomeEnergyUpgradeCertificateofEnergyEfficiencyPerformance,

"Home Performance with ENERGY STAR" => GreenBuildingVerificationType::HomePerformancewithENERGYSTAR,

"Indoor airPLUS" => GreenBuildingVerificationType::IndoorairPLUS,

"LEED For Homes" => GreenBuildingVerificationType::LEEDForHomes,

"Living Building Challenge" => GreenBuildingVerificationType::LivingBuildingChallenge,

"NGBS New Construction" => GreenBuildingVerificationType::NGBSNewConstruction,

"NGBS Small Projects Remodel" => GreenBuildingVerificationType::NGBSSmallProjectsRemodel,

"NGBS Whole-Home Remodel" => GreenBuildingVerificationType::NGBSWholeHomeRemodel,

"PHIUS+" => GreenBuildingVerificationType::PHIUSPlus,

"WaterSense" => GreenBuildingVerificationType::WaterSense,

"Zero Energy Ready Home" => GreenBuildingVerificationType::ZeroEnergyReadyHome,

_ => GreenBuildingVerificationType::OpenEnumeration(s.into()),
}
    }

    fn from_string(s: String) -> GreenBuildingVerificationType {
        match s.as_ref() {


"Certified Passive House" => GreenBuildingVerificationType::CertifiedPassiveHouse,

"ENERGY STAR Certified Homes" => GreenBuildingVerificationType::ENERGYSTARCertifiedHomes,

"EnerPHit" => GreenBuildingVerificationType::EnerPHit,

"HERS Index Score" => GreenBuildingVerificationType::HERSIndexScore,

"Home Energy Score" => GreenBuildingVerificationType::HomeEnergyScore,

"Home Energy Upgrade Certificate of Energy Efficiency Improvements" => GreenBuildingVerificationType::HomeEnergyUpgradeCertificateofEnergyEfficiencyImprovements,

"Home Energy Upgrade Certificate of Energy Efficiency Performance" => GreenBuildingVerificationType::HomeEnergyUpgradeCertificateofEnergyEfficiencyPerformance,

"Home Performance with ENERGY STAR" => GreenBuildingVerificationType::HomePerformancewithENERGYSTAR,

"Indoor airPLUS" => GreenBuildingVerificationType::IndoorairPLUS,

"LEED For Homes" => GreenBuildingVerificationType::LEEDForHomes,

"Living Building Challenge" => GreenBuildingVerificationType::LivingBuildingChallenge,

"NGBS New Construction" => GreenBuildingVerificationType::NGBSNewConstruction,

"NGBS Small Projects Remodel" => GreenBuildingVerificationType::NGBSSmallProjectsRemodel,

"NGBS Whole-Home Remodel" => GreenBuildingVerificationType::NGBSWholeHomeRemodel,

"PHIUS+" => GreenBuildingVerificationType::PHIUSPlus,

"WaterSense" => GreenBuildingVerificationType::WaterSense,

"Zero Energy Ready Home" => GreenBuildingVerificationType::ZeroEnergyReadyHome,

_ => GreenBuildingVerificationType::OpenEnumeration(s),
}
    }

    fn to_str(&self) -> &str {
        match self {


GreenBuildingVerificationType::CertifiedPassiveHouse => "Certified Passive House",

GreenBuildingVerificationType::ENERGYSTARCertifiedHomes => "ENERGY STAR Certified Homes",

GreenBuildingVerificationType::EnerPHit => "EnerPHit",

GreenBuildingVerificationType::HERSIndexScore => "HERS Index Score",

GreenBuildingVerificationType::HomeEnergyScore => "Home Energy Score",

GreenBuildingVerificationType::HomeEnergyUpgradeCertificateofEnergyEfficiencyImprovements => "Home Energy Upgrade Certificate of Energy Efficiency Improvements",

GreenBuildingVerificationType::HomeEnergyUpgradeCertificateofEnergyEfficiencyPerformance => "Home Energy Upgrade Certificate of Energy Efficiency Performance",

GreenBuildingVerificationType::HomePerformancewithENERGYSTAR => "Home Performance with ENERGY STAR",

GreenBuildingVerificationType::IndoorairPLUS => "Indoor airPLUS",

GreenBuildingVerificationType::LEEDForHomes => "LEED For Homes",

GreenBuildingVerificationType::LivingBuildingChallenge => "Living Building Challenge",

GreenBuildingVerificationType::NGBSNewConstruction => "NGBS New Construction",

GreenBuildingVerificationType::NGBSSmallProjectsRemodel => "NGBS Small Projects Remodel",

GreenBuildingVerificationType::NGBSWholeHomeRemodel => "NGBS Whole-Home Remodel",

GreenBuildingVerificationType::PHIUSPlus => "PHIUS+",

GreenBuildingVerificationType::WaterSense => "WaterSense",

GreenBuildingVerificationType::ZeroEnergyReadyHome => "Zero Energy Ready Home",

GreenBuildingVerificationType::OpenEnumeration(ref s) => s,
}
    }

    fn into_string(self) -> String {
        match self {


GreenBuildingVerificationType::CertifiedPassiveHouse => "Certified Passive House".into(),

GreenBuildingVerificationType::ENERGYSTARCertifiedHomes => "ENERGY STAR Certified Homes".into(),

GreenBuildingVerificationType::EnerPHit => "EnerPHit".into(),

GreenBuildingVerificationType::HERSIndexScore => "HERS Index Score".into(),

GreenBuildingVerificationType::HomeEnergyScore => "Home Energy Score".into(),

GreenBuildingVerificationType::HomeEnergyUpgradeCertificateofEnergyEfficiencyImprovements => "Home Energy Upgrade Certificate of Energy Efficiency Improvements".into(),

GreenBuildingVerificationType::HomeEnergyUpgradeCertificateofEnergyEfficiencyPerformance => "Home Energy Upgrade Certificate of Energy Efficiency Performance".into(),

GreenBuildingVerificationType::HomePerformancewithENERGYSTAR => "Home Performance with ENERGY STAR".into(),

GreenBuildingVerificationType::IndoorairPLUS => "Indoor airPLUS".into(),

GreenBuildingVerificationType::LEEDForHomes => "LEED For Homes".into(),

GreenBuildingVerificationType::LivingBuildingChallenge => "Living Building Challenge".into(),

GreenBuildingVerificationType::NGBSNewConstruction => "NGBS New Construction".into(),

GreenBuildingVerificationType::NGBSSmallProjectsRemodel => "NGBS Small Projects Remodel".into(),

GreenBuildingVerificationType::NGBSWholeHomeRemodel => "NGBS Whole-Home Remodel".into(),

GreenBuildingVerificationType::PHIUSPlus => "PHIUS+".into(),

GreenBuildingVerificationType::WaterSense => "WaterSense".into(),

GreenBuildingVerificationType::ZeroEnergyReadyHome => "Zero Energy Ready Home".into(),

GreenBuildingVerificationType::OpenEnumeration(s) => s,
}
    }

    fn fallback_value(&self) -> Option<&str> {
        match self {
            GreenBuildingVerificationType::OpenEnumeration(ref s) => Some(s),
            _ => None,
        }
    }
}

impl From<String> for GreenBuildingVerificationType {
    fn from(s: String) -> GreenBuildingVerificationType {
        match s.as_ref() {


"Certified Passive House" => GreenBuildingVerificationType::CertifiedPassiveHouse,

"ENERGY STAR Certified Homes" => GreenBuildingVerificationType::ENERGYSTARCertifiedHomes,

"EnerPHit" => GreenBuildingVerificationType::EnerPHit,

"HERS Index Score" => GreenBuildingVerificationType::HERSIndexScore,

"Home Energy Score" => GreenBuildingVerificationType::HomeEnergyScore,

"Home Energy Upgrade Certificate of Energy Efficiency Improvements" => GreenBuildingVerificationType::HomeEnergyUpgradeCertificateofEnergyEfficiencyImprovements,

"Home Energy Upgrade Certificate of Energy Efficiency Performance" => GreenBuildingVerificationType::HomeEnergyUpgradeCertificateofEnergyEfficiencyPerformance,

"Home Performance with ENERGY STAR" => GreenBuildingVerificationType::HomePerformancewithENERGYSTAR,

"Indoor airPLUS" => GreenBuildingVerificationType::IndoorairPLUS,

"LEED For Homes" => GreenBuildingVerificationType::LEEDForHomes,

"Living Building Challenge" => GreenBuildingVerificationType::LivingBuildingChallenge,

"NGBS New Construction" => GreenBuildingVerificationType::NGBSNewConstruction,

"NGBS Small Projects Remodel" => GreenBuildingVerificationType::NGBSSmallProjectsRemodel,

"NGBS Whole-Home Remodel" => GreenBuildingVerificationType::NGBSWholeHomeRemodel,

"PHIUS+" => GreenBuildingVerificationType::PHIUSPlus,

"WaterSense" => GreenBuildingVerificationType::WaterSense,

"Zero Energy Ready Home" => GreenBuildingVerificationType::ZeroEnergyReadyHome,

_ => GreenBuildingVerificationType::OpenEnumeration(s),
}
    }
}

impl From<&str> for GreenBuildingVerificationType {
    fn from(s: &str) -> GreenBuildingVerificationType {
        match s {


"Certified Passive House" => GreenBuildingVerificationType::CertifiedPassiveHouse,

"ENERGY STAR Certified Homes" => GreenBuildingVerificationType::ENERGYSTARCertifiedHomes,

"EnerPHit" => GreenBuildingVerificationType::EnerPHit,

"HERS Index Score" => GreenBuildingVerificationType::HERSIndexScore,

"Home Energy Score" => GreenBuildingVerificationType::HomeEnergyScore,

"Home Energy Upgrade Certificate of Energy Efficiency Improvements" => GreenBuildingVerificationType::HomeEnergyUpgradeCertificateofEnergyEfficiencyImprovements,

"Home Energy Upgrade Certificate of Energy Efficiency Performance" => GreenBuildingVerificationType::HomeEnergyUpgradeCertificateofEnergyEfficiencyPerformance,

"Home Performance with ENERGY STAR" => GreenBuildingVerificationType::HomePerformancewithENERGYSTAR,

"Indoor airPLUS" => GreenBuildingVerificationType::IndoorairPLUS,

"LEED For Homes" => GreenBuildingVerificationType::LEEDForHomes,

"Living Building Challenge" => GreenBuildingVerificationType::LivingBuildingChallenge,

"NGBS New Construction" => GreenBuildingVerificationType::NGBSNewConstruction,

"NGBS Small Projects Remodel" => GreenBuildingVerificationType::NGBSSmallProjectsRemodel,

"NGBS Whole-Home Remodel" => GreenBuildingVerificationType::NGBSWholeHomeRemodel,

"PHIUS+" => GreenBuildingVerificationType::PHIUSPlus,

"WaterSense" => GreenBuildingVerificationType::WaterSense,

"Zero Energy Ready Home" => GreenBuildingVerificationType::ZeroEnergyReadyHome,

_ => GreenBuildingVerificationType::OpenEnumeration(s.into()),
}
    }
}

impl<'a> From<&'a GreenBuildingVerificationType> for &'a str {
    fn from(s: &'a GreenBuildingVerificationType) -> &'a str {
        match s {


GreenBuildingVerificationType::CertifiedPassiveHouse => "Certified Passive House",

GreenBuildingVerificationType::ENERGYSTARCertifiedHomes => "ENERGY STAR Certified Homes",

GreenBuildingVerificationType::EnerPHit => "EnerPHit",

GreenBuildingVerificationType::HERSIndexScore => "HERS Index Score",

GreenBuildingVerificationType::HomeEnergyScore => "Home Energy Score",

GreenBuildingVerificationType::HomeEnergyUpgradeCertificateofEnergyEfficiencyImprovements => "Home Energy Upgrade Certificate of Energy Efficiency Improvements",

GreenBuildingVerificationType::HomeEnergyUpgradeCertificateofEnergyEfficiencyPerformance => "Home Energy Upgrade Certificate of Energy Efficiency Performance",

GreenBuildingVerificationType::HomePerformancewithENERGYSTAR => "Home Performance with ENERGY STAR",

GreenBuildingVerificationType::IndoorairPLUS => "Indoor airPLUS",

GreenBuildingVerificationType::LEEDForHomes => "LEED For Homes",

GreenBuildingVerificationType::LivingBuildingChallenge => "Living Building Challenge",

GreenBuildingVerificationType::NGBSNewConstruction => "NGBS New Construction",

GreenBuildingVerificationType::NGBSSmallProjectsRemodel => "NGBS Small Projects Remodel",

GreenBuildingVerificationType::NGBSWholeHomeRemodel => "NGBS Whole-Home Remodel",

GreenBuildingVerificationType::PHIUSPlus => "PHIUS+",

GreenBuildingVerificationType::WaterSense => "WaterSense",

GreenBuildingVerificationType::ZeroEnergyReadyHome => "Zero Energy Ready Home",

GreenBuildingVerificationType::OpenEnumeration(s) => s,
}
    }
}

impl Serialize for GreenBuildingVerificationType {
    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where
        S: serde::Serializer,
    {
        serializer.serialize_str(self.into())
    }
}

impl<'de> Deserialize<'de> for GreenBuildingVerificationType {
    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where
        D: serde::Deserializer<'de>,
    {
        let s = String::deserialize(deserializer)?;
        Ok(From::from(s))
    }
}