FWESystem.xsd 9.75 KB
Newer Older
Rushikesh Padsala's avatar
Rushikesh Padsala committed
1
<?xml version="1.0" encoding="UTF-8"?><schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:FWEA="http://transfer.hft-stuttgart.de/pages/fwe-ade/FWEArea/v2.1/XSD" xmlns:FWES="http://transfer.hft-stuttgart.de/pages/fwe-ade/FWESystem/v2.1/XSD" xmlns:core="http://www.opengis.net/citygml/2.0" xmlns:gml="http://www.opengis.net/gml" xmlns:sc="http://www.interactive-instruments.de/ShapeChange/AppInfo" elementFormDefault="qualified" targetNamespace="http://transfer.hft-stuttgart.de/pages/fwe-ade/FWESystem/v2.1/XSD" version="2.1">
Rushikesh Padsala's avatar
Rushikesh Padsala committed
2
3
4
5
  <annotation>
    <documentation>This introduces a new city object "FWESystem" as a part of the CityGML FWE ADE developed in the IN-SOURCE project.</documentation>
  </annotation>
  <import namespace="http://transfer.hft-stuttgart.de/pages/fwe-ade/FWEArea/v2.1/XSD"/>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
6
  <import namespace="http://www.interactive-instruments.de/ShapeChange/AppInfo" schemaLocation="http://shapechange.net/resources/schema/ShapeChangeAppinfo.xsd"/>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
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
  <import namespace="http://www.opengis.net/citygml/2.0" schemaLocation="http://schemas.opengis.net/citygml/2.0/cityGMLBase.xsd"/>
  <import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd"/>
  <!--XML Schema document created by ShapeChange - http://shapechange.net/-->
  <element name="EnergySurvey" substitutionGroup="FWES:SystemSurvey" type="FWES:EnergySurveyType"/>
  <complexType name="EnergySurveyType">
    <complexContent>
      <extension base="FWES:SystemSurveyType">
        <sequence>
          <element minOccurs="0" name="spaceHeatingDemand" type="double"/>
          <element minOccurs="0" name="spaceHeatingDemandUnit" type="string"/>
          <element minOccurs="0" name="spaceCoolingDemand" type="double"/>
          <element minOccurs="0" name="spaceCoolingDemandUnit" type="string"/>
          <element minOccurs="0" name="residentialElectricityDemand" type="double"/>
          <element minOccurs="0" name="residentialElectricityDemandUnit" type="string"/>
          <element minOccurs="0" name="electricityPotentialFromPVBuildings" type="double"/>
          <element minOccurs="0" name="electricityPotentialFromPVBuildingsUnit" type="string"/>
          <element minOccurs="0" name="biomassPrimaryEnergyPotential" type="double"/>
          <element minOccurs="0" name="biomassPrimaryEnergyPotentialUnit" type="string"/>
          <element minOccurs="0" name="biomassElectricityPotential" type="double"/>
          <element minOccurs="0" name="biomassElectricityPotentialUnit" type="string"/>
          <element minOccurs="0" name="biomassThermalPotential" type="double"/>
          <element minOccurs="0" name="biomassThermalPotentialUnit" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="EnergySurveyPropertyType">
    <sequence minOccurs="0">
      <element ref="FWES:EnergySurvey"/>
    </sequence>
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
  </complexType>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
39
40
41
42
43
44
45
  <element name="FWESystem" substitutionGroup="core:_CityObject" type="FWES:FWESystemType">
    <annotation>
      <appinfo>
        <taggedValue xmlns="http://www.interactive-instruments.de/ShapeChange/AppInfo" tag="topLevel">true</taggedValue>
      </appinfo>
    </annotation>
  </element>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
46
47
  <complexType name="FWESystemType">
    <complexContent>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
48
      <extension base="core:AbstractCityObjectType">
Rushikesh Padsala's avatar
Rushikesh Padsala committed
49
        <sequence>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
50
51
52
53
54
55
56
          <element minOccurs="0" name="fweSystemName" type="string">
            <annotation>
              <appinfo>
                <taggedValue xmlns="http://www.interactive-instruments.de/ShapeChange/AppInfo" tag="maxOccurs">1</taggedValue>
              </appinfo>
            </annotation>
          </element>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
57
          <element minOccurs="0" name="lod0MultiSurface" type="gml:MultiSurfacePropertyType"/>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
58
59
60
61
62
63
          <element maxOccurs="unbounded" minOccurs="0" name="consistsOfFWEsurvey" type="FWES:SystemSurveyPropertyType">
            <annotation>
              <appinfo>
                <taggedValue xmlns="http://www.interactive-instruments.de/ShapeChange/AppInfo" tag="relationType">composition</taggedValue>
              </appinfo>
            </annotation>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
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
          </element>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="FWESystemPropertyType">
    <sequence minOccurs="0">
      <element ref="FWES:FWESystem"/>
    </sequence>
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
  </complexType>
  <element name="FoodSurvey" substitutionGroup="FWES:SystemSurvey" type="FWES:FoodSurveyType"/>
  <complexType name="FoodSurveyType">
    <complexContent>
      <extension base="FWES:SystemSurveyType">
        <sequence>
          <element maxOccurs="unbounded" minOccurs="0" name="foodCategory" type="gml:CodeType"/>
          <element minOccurs="0" name="foodDemand" type="double"/>
          <element minOccurs="0" name="foodDemandUnit" type="string"/>
          <element minOccurs="0" name="foodImport" type="double"/>
          <element minOccurs="0" name="foodImportUnit" type="string"/>
          <element minOccurs="0" name="foodProduction" type="double"/>
          <element minOccurs="0" name="foodProductionUnit" type="string"/>
          <element minOccurs="0" name="foodProductionWaterDemand" type="double"/>
          <element minOccurs="0" name="foodProductionWaterDemandUnit" type="string"/>
          <element minOccurs="0" name="foodProductionEnergyDemand" type="double"/>
          <element minOccurs="0" name="foodProductionEnergyDemandUnit" type="string"/>
          <element minOccurs="0" name="foodConsumption" type="double"/>
          <element minOccurs="0" name="foodConsumptionUnit" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="FoodSurveyPropertyType">
    <sequence minOccurs="0">
      <element ref="FWES:FoodSurvey"/>
    </sequence>
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
  </complexType>
  <element name="SystemSurvey" substitutionGroup="gml:_Feature" type="FWES:SystemSurveyType"/>
  <complexType name="SystemSurveyType">
    <complexContent>
      <extension base="gml:AbstractFeatureType">
        <sequence>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
108
          <element maxOccurs="unbounded" minOccurs="0" name="surveyYear" type="integer"/>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
109
110
111
112
113
114
          <element maxOccurs="unbounded" minOccurs="0" name="surveyYearVersion" type="double"/>
          <element maxOccurs="unbounded" minOccurs="0" name="surveyDescription" type="string"/>
          <element minOccurs="0" name="population" type="integer"/>
          <element minOccurs="0" name="buildingFootprintArea" type="gml:AreaType"/>
          <element minOccurs="0" name="settlementArea" type="gml:AreaType"/>
          <element minOccurs="0" name="openPlotArea" type="gml:AreaType"/>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
115
          <element minOccurs="0" name="surfaceArea" type="gml:AreaType"/>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
116
117
118
          <element minOccurs="0" name="trafficArea" type="gml:AreaType"/>
          <element minOccurs="0" name="vegetationArea" type="gml:AreaType"/>
          <element minOccurs="0" name="waterBodyArea" type="gml:AreaType"/>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
119
120
121
122
123
124
          <element maxOccurs="unbounded" minOccurs="0" name="foodSurvey" type="FWES:FoodSurveyPropertyType">
            <annotation>
              <appinfo>
                <taggedValue xmlns="http://www.interactive-instruments.de/ShapeChange/AppInfo" tag="relationType">composition</taggedValue>
              </appinfo>
            </annotation>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
125
          </element>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
126
127
128
129
130
131
          <element maxOccurs="unbounded" minOccurs="0" name="waterSurvey" type="FWES:WaterSurveyPropertyType">
            <annotation>
              <appinfo>
                <taggedValue xmlns="http://www.interactive-instruments.de/ShapeChange/AppInfo" tag="relationType">composition</taggedValue>
              </appinfo>
            </annotation>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
132
          </element>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
133
134
135
136
137
138
          <element maxOccurs="unbounded" minOccurs="0" name="energySurvey" type="FWES:EnergySurveyPropertyType">
            <annotation>
              <appinfo>
                <taggedValue xmlns="http://www.interactive-instruments.de/ShapeChange/AppInfo" tag="relationType">composition</taggedValue>
              </appinfo>
            </annotation>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
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
          </element>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="SystemSurveyPropertyType">
    <sequence minOccurs="0">
      <element ref="FWES:SystemSurvey"/>
    </sequence>
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
  </complexType>
  <element name="WaterSurvey" substitutionGroup="FWES:SystemSurvey" type="FWES:WaterSurveyType"/>
  <complexType name="WaterSurveyType">
    <complexContent>
      <extension base="FWES:SystemSurveyType">
        <sequence>
          <element minOccurs="0" name="domesticWaterDemand" type="double"/>
          <element minOccurs="0" name="domesticWaterDemandUnit" type="string"/>
          <element minOccurs="0" name="domesticHotWaterDemand" type="double"/>
          <element minOccurs="0" name="domesticHotWaterDemandUnit" type="string"/>
          <element minOccurs="0" name="domesticWaterWaste" type="double"/>
          <element minOccurs="0" name="domesticWaterWasteUnit" type="string"/>
          <element minOccurs="0" name="domesticSolidWaste" type="double"/>
          <element minOccurs="0" name="domesticSolidWasteUnit" type="string"/>
          <element minOccurs="0" name="totalDomesticWaste" type="double"/>
          <element minOccurs="0" name="totalDomesticWasteUnit" type="string"/>
          <element minOccurs="0" name="totalDomesticWasteEnergyPotential" type="double"/>
          <element minOccurs="0" name="totalDomesticWasteEnergyPotentialUnit" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="WaterSurveyPropertyType">
    <sequence minOccurs="0">
      <element ref="FWES:WaterSurvey"/>
    </sequence>
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
  </complexType>
</schema>