<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="earthquakeHistory">
<xs:complexType>
<xs:sequence>
<xs:element name="stateCode" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="county" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="postCode" type="xs:int" minOccurs="0"></xs:element>
<xs:element name="events" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="event" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="dateTime" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="date" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="time" type="xs:string" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="seismicRegionNumber" type="xs:int" minOccurs="0"></xs:element>
<xs:element name="depth" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:int">
<xs:attribute type="xs:string" name="unit"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="magnitude" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="bodyWaveValue" type="xs:int" minOccurs="0"></xs:element>
<xs:element name="surfaceWaveValue" type="xs:int" minOccurs="0"></xs:element>
<xs:element name="value" type="xs:double" minOccurs="0"></xs:element>
</xs:sequence>
<xs:attribute name="scale" type="xs:string"></xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="cause" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="culturalEffect" minOccurs="0"></xs:element>
<xs:element name="intensity" type="xs:int" minOccurs="0"></xs:element>
<xs:element name="diastrophism" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="miscPhenomena" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="location" 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:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>