FWEBuilding.xsd 7.81 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
9
10
11
12
13
  <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/-->
  <element name="BuildingSurvey" substitutionGroup="gml:_Feature" type="FWEB:BuildingSurveyType"/>
  <complexType name="BuildingSurveyType">
    <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
18
          <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="waterSurveyProperty">
19
20
21
22
23
            <annotation>
              <appinfo>
                <taggedValue xmlns="http://www.interactive-instruments.de/ShapeChange/AppInfo" tag="relationType">composition</taggedValue>
              </appinfo>
            </annotation>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
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
            <complexType>
              <sequence>
                <element ref="FWEB:WaterSurvey"/>
              </sequence>
            </complexType>
          </element>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="BuildingSurveyPropertyType">
    <sequence minOccurs="0">
      <element ref="FWEB:BuildingSurvey"/>
    </sequence>
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
  </complexType>
  <element name="EnergySurvey" substitutionGroup="FWEB:BuildingSurvey" type="FWEB:EnergySurveyType"/>
  <complexType name="EnergySurveyType">
    <complexContent>
      <extension base="FWEB:BuildingSurveyType">
        <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>
63
  <element name="FoodSurvey" substitutionGroup="gml:_Feature" type="FWEB:FoodSurveyType"/>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
64
65
  <complexType name="FoodSurveyType">
    <complexContent>
66
      <extension base="gml:AbstractFeatureType">
Rushikesh Padsala's avatar
Rushikesh Padsala committed
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
        <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>
  <element name="WaterSurvey" substitutionGroup="FWEB:BuildingSurvey" type="FWEB:WaterSurveyType"/>
  <complexType name="WaterSurveyType">
    <complexContent>
      <extension base="FWEB:BuildingSurveyType">
        <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>
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
  <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>
Rushikesh Padsala's avatar
Rushikesh Padsala committed
144
145
146
147
148
149
150
151
  <element name="buildingSurveyProperties" substitutionGroup="bldg:_GenericApplicationPropertyOfAbstractBuilding">
    <complexType>
      <sequence>
        <element ref="FWEB:BuildingSurvey"/>
      </sequence>
    </complexType>
  </element>
</schema>