FWEBuilding.xsd 8.32 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?><schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:FWEB="http://transfer.hft-stuttgart.de/pages/fwe-ade/FWEBuilding/v2.1/XSD" xmlns:bldg="http://www.opengis.net/citygml/building/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/FWEBuilding/v2.1/XSD" version="2.1">
Rushikesh Padsala's avatar
Rushikesh Padsala committed
2
3
4
  <annotation>
    <documentation>This is the FWE ADE for CityGML building datasets developed in the IN-SOURCE project.</documentation>
  </annotation>
5
  <import namespace="http://www.interactive-instruments.de/ShapeChange/AppInfo" schemaLocation="http://shapechange.net/resources/schema/ShapeChangeAppinfo.xsd"/>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
6
7
8
  <import namespace="http://www.opengis.net/citygml/building/2.0" schemaLocation="http://schemas.opengis.net/citygml/building/2.0/building.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/-->
Rushikesh Padsala's avatar
Rushikesh Padsala committed
9
  <element name="BuildingSurvey" substitutionGroup="gml:_Feature" type="FWEB:BuildingSurveyType"/>
10
  <complexType abstract="true" name="BuildingSurveyType">
Rushikesh Padsala's avatar
Rushikesh Padsala committed
11
12
13
    <complexContent>
      <extension base="gml:AbstractFeatureType">
        <sequence>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
14
          <element minOccurs="0" name="surveyYear" type="integer"/>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
15
16
17
          <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"/>
18
          <element maxOccurs="unbounded" minOccurs="0" name="foodSurvey" type="FWEB:FoodSurveyPropertyType">
19
20
21
22
23
24
            <annotation>
              <appinfo>
                <taggedValue xmlns="http://www.interactive-instruments.de/ShapeChange/AppInfo" tag="relationType">composition</taggedValue>
              </appinfo>
            </annotation>
          </element>
25
          <element minOccurs="0" name="waterSurvey" type="FWEB:WaterSurveyPropertyType">
26
27
28
29
30
31
            <annotation>
              <appinfo>
                <taggedValue xmlns="http://www.interactive-instruments.de/ShapeChange/AppInfo" tag="relationType">composition</taggedValue>
              </appinfo>
            </annotation>
          </element>
32
          <element minOccurs="0" name="energySurvey" type="FWEB:EnergySurveyPropertyType">
33
34
35
36
37
38
            <annotation>
              <appinfo>
                <taggedValue xmlns="http://www.interactive-instruments.de/ShapeChange/AppInfo" tag="relationType">composition</taggedValue>
              </appinfo>
            </annotation>
          </element>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
39
40
41
42
43
44
45
46
47
48
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="BuildingSurveyPropertyType">
    <sequence minOccurs="0">
      <element ref="FWEB:BuildingSurvey"/>
    </sequence>
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
  </complexType>
49
  <element name="EnergySurvey" substitutionGroup="FWEB:BuildingSurvey" type="FWEB:EnergySurveyType"/>
50
51
  <complexType name="EnergySurveyType">
    <complexContent>
52
      <extension base="FWEB:BuildingSurveyType">
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
        <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="electricityPotentialFromPV" type="double"/>
          <element minOccurs="0" name="electricityPotentialfromPVUnit" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="EnergySurveyPropertyType">
    <sequence minOccurs="0">
      <element ref="FWEB:EnergySurvey"/>
    </sequence>
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
  </complexType>
72
  <element name="FoodSurvey" substitutionGroup="FWEB:BuildingSurvey" type="FWEB:FoodSurveyType"/>
73
74
  <complexType name="FoodSurveyType">
    <complexContent>
75
      <extension base="FWEB:BuildingSurveyType">
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
        <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="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="FWEB:FoodSurvey"/>
    </sequence>
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
  </complexType>
98
  <element name="WaterSurvey" substitutionGroup="FWEB:BuildingSurvey" type="FWEB:WaterSurveyType"/>
99
100
  <complexType name="WaterSurveyType">
    <complexContent>
101
      <extension base="FWEB:BuildingSurveyType">
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
        <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="domesticHotWaterEnergyDemand" type="double"/>
          <element minOccurs="0" name="domesticHotWaterEnergyDemandUnit" 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"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="WaterSurveyPropertyType">
    <sequence minOccurs="0">
      <element ref="FWEB:WaterSurvey"/>
    </sequence>
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
  </complexType>
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
  <element name="buildingFootprintArea" substitutionGroup="bldg:_GenericApplicationPropertyOfAbstractBuilding" type="gml:AreaType">
    <annotation>
      <appinfo>
        <taggedValue xmlns="http://www.interactive-instruments.de/ShapeChange/AppInfo" tag="maxOccurs">1</taggedValue>
      </appinfo>
    </annotation>
  </element>
  <element name="totalFloorArea" substitutionGroup="bldg:_GenericApplicationPropertyOfAbstractBuilding" type="gml:AreaType">
    <annotation>
      <appinfo>
        <taggedValue xmlns="http://www.interactive-instruments.de/ShapeChange/AppInfo" tag="maxOccurs">1</taggedValue>
      </appinfo>
    </annotation>
  </element>
  <element name="fweAreaName" substitutionGroup="bldg:_GenericApplicationPropertyOfAbstractBuilding" type="string">
    <annotation>
      <appinfo>
        <taggedValue xmlns="http://www.interactive-instruments.de/ShapeChange/AppInfo" tag="maxOccurs">1</taggedValue>
      </appinfo>
    </annotation>
  </element>
  <element name="fweSystemName" substitutionGroup="bldg:_GenericApplicationPropertyOfAbstractBuilding" type="string">
    <annotation>
      <appinfo>
        <taggedValue xmlns="http://www.interactive-instruments.de/ShapeChange/AppInfo" tag="maxOccurs">1</taggedValue>
      </appinfo>
    </annotation>
  </element>
153
  <element name="buildingSurvey" substitutionGroup="bldg:_GenericApplicationPropertyOfAbstractBuilding" type="FWEB:BuildingSurveyPropertyType"/>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
154
</schema>