-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathAppliance.xsd
More file actions
64 lines (64 loc) · 3.04 KB
/
Appliance.xsd
File metadata and controls
64 lines (64 loc) · 3.04 KB
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
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.iepmodel.net"
xmlns="http://www.iepmodel.net" elementFormDefault="qualified">
<xs:include schemaLocation="CommonSystemProperties.xsd"/>
<xs:element name="appliance" type="appliance"/>
<xs:complexType name="appliance">
<xs:sequence>
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>This is simply a descriptive name, typically a common name used for the system</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Place for user to include additional notes/description of the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="buildingId" nillable="false" type="xs:IDREF">
<xs:annotation>
<xs:documentation>This refers to the building that the appliance in contained in.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="type" type="applianceEnum" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>This is specific list of appliances used to categorize the level of energy usage for any particular appliance. This is intended to be used as a simple description of the system and is suited for use with the SaveEnergy123 tool: https://saveenergy123.com/</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="applianceDefinition" type="equipmentDefinition" minOccurs="0"/>
<xs:element minOccurs="0" name="ApplianceEquipment" type="equipmentInstance"/>
<xs:element name="subType" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>This is used to provide more specifics on the type of system. This will likely be extended in the future. For example: type of computer, type of TV, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="systemProperties" type="commonSystemProperties" minOccurs="0"
maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="applianceEnum">
<xs:annotation>
<xs:documentation>Enum exists to know specifically what equipment is being referenced as opposed to being a open description only.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="DISHWASHER"/>
<xs:enumeration value="DRYER"/>
<xs:enumeration value="MICROWAVE"/>
<xs:enumeration value="STOVE"/>
<xs:enumeration value="RANGE"/>
<xs:enumeration value="REGRIGERATOR"/>
<xs:enumeration value="STOVE"/>
<xs:enumeration value="WASHER"/>
<xs:enumeration value="COMPUTER"/>
<xs:enumeration value="FISHTANK"/>
<xs:enumeration value="OTHER"/>
<xs:enumeration value="TV"/>
<xs:enumeration value="DVR">
<xs:annotation>
<xs:documentation>Digital Video Recorder</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="WELL_PUMP"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>