FireStation.xsd

<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"  
xmlns:gml="http://www.opengis.net/gml"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:include schemaLocation="https://developer.precisely.com/apis/schema/v1/xsd/CommonObjects.xsd"/>
	<xs:import namespace="http://www.opengis.net/gml" schemaLocation="https://developer.precisely.com/apis/schema/v1/xsd/Point.xsd"/>

	<xs:element name="fireStations">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="fireStation" minOccurs="0" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="numWithinDepartment" type="xs:string" minOccurs="0" />
							<xs:element name="locationReference" type="xs:string" minOccurs="0" />
							<xs:element name="travelDistance" minOccurs="0">
								<xs:complexType>
									<xs:simpleContent>
										<xs:extension base="xs:string">
											<xs:attribute name="unit" type="xs:string"/>
										</xs:extension>
									</xs:simpleContent>
								</xs:complexType>
							</xs:element>
							<xs:element name="travelTime" minOccurs="0">
								<xs:complexType>
									<xs:simpleContent>
										<xs:extension base="xs:string">
											<xs:attribute name="unit" type="xs:string"/>
										</xs:extension>
									</xs:simpleContent>
								</xs:complexType>
							</xs:element>
							<xs:element name="contactDetails" minOccurs="0">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="address" type="address" minOccurs="0" />
										<xs:element name="phone" type="xs:string" minOccurs="0" />
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="fireDepartment" minOccurs="0" maxOccurs="unbounded">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="name" type="xs:string" minOccurs="0" />
										<xs:element name="type" type="xs:string" minOccurs="0" />
										<xs:element name="numberOfStations" type="xs:string" minOccurs="0" />
										<xs:element name="administrativeOfficeOnly" type="xs:string" minOccurs="0" />
										<xs:element name="contactDetails" minOccurs="0">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="address" type="address" minOccurs="0" />
													<xs:element name="phone" type="xs:string" minOccurs="0" />
													<xs:element name="fax" type="xs:string" minOccurs="0" />
												</xs:sequence>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="geometry" minOccurs="0">
								<xs:complexType>
									<xs:sequence>
										<xs:element ref="gml:point" minOccurs="0" />
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="matchedAddress" type="address" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>