<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="https://developer.precisely.com/apis/schema/v1" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="https://developer.precisely.com/apis/schema/v1">
<xs:include schemaLocation="https://developer.precisely.com/apis/schema/v1/xsd/CommonObjects.xsd"/>
<xs:element name="taxResponses">
<xs:complexType>
<xs:sequence>
<xs:element name="taxResponse" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="objectId" />
<xs:element type="xs:decimal" name="confidence"/>
<xs:element name="jurisdiction">
<xs:complexType>
<xs:sequence>
<xs:element name="state">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="code"/>
<xs:element type="xs:string" name="name"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="county">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="code"/>
<xs:element type="xs:string" name="name"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="place">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="name"/>
<xs:element type="xs:string" name="code"/>
<xs:element type="xs:string" name="gnisCode"/>
<xs:element type="xs:boolean" name="selfCollected" minOccurs="0"/>
<xs:element type="xs:string" name="classCode"/>
<xs:element type="xs:string" name="incorporatedFlag"/>
<xs:element type="xs:string" name="lastAnnexedDate"/>
<xs:element type="xs:string" name="lastUpdatedDate"/>
<xs:element type="xs:string" name="lastVerifiedDate"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="spds">
<xs:complexType>
<xs:sequence>
<xs:element name="spd" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="districtName"/>
<xs:element type="xs:string" name="districtCode"/>
<xs:element type="xs:string" name="versionDate"/>
<xs:element type="xs:string" name="effectiveDate"/>
<xs:element type="xs:string" name="compiledDate"/>
<xs:element type="xs:string" name="updateDate"/>
</xs:sequence>
<xs:attribute type="xs:string" name="districtNumber" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="matchedAddress" minOccurs="0" type="address"/>
<xs:element name="salesTax">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:boolean" name="specialTaxRulesApplied" minOccurs="0"/>
<xs:element type="xs:string" name="specialTaxRulesDescriptor" minOccurs="0"/>
<xs:element type="xs:decimal" name="totalTaxRate" minOccurs="0"/>
<xs:element type="xs:decimal" name="totalTaxAmount" minOccurs="0"/>
<xs:element type="xs:decimal" name="stateTaxRate" minOccurs="0"/>
<xs:element type="xs:decimal" name="stateTaxAmount" minOccurs="0"/>
<xs:element type="xs:decimal" name="countyTaxRate" minOccurs="0"/>
<xs:element type="xs:decimal" name="countyTaxAmount" minOccurs="0"/>
<xs:element type="xs:decimal" name="municipalTaxRate" minOccurs="0"/>
<xs:element type="xs:decimal" name="municipalTaxAmount" minOccurs="0"/>
<xs:element name="spdsTax">
<xs:complexType>
<xs:sequence>
<xs:element name="spdTax" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:decimal" name="taxAmount" minOccurs="0"/>
<xs:element type="xs:decimal" name="taxRate" minOccurs="0"/>
</xs:sequence>
<xs:attribute type="xs:string" name="districtNumber" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="useTax">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:boolean" name="specialTaxRulesApplied" minOccurs="0"/>
<xs:element type="xs:string" name="specialTaxRulesDescriptor" minOccurs="0"/>
<xs:element type="xs:decimal" name="totalTaxRate" minOccurs="0"/>
<xs:element type="xs:decimal" name="totalTaxAmount" minOccurs="0"/>
<xs:element type="xs:decimal" name="stateTaxRate" minOccurs="0"/>
<xs:element type="xs:decimal" name="stateTaxAmount" minOccurs="0"/>
<xs:element type="xs:decimal" name="countyTaxRate" minOccurs="0"/>
<xs:element type="xs:decimal" name="countyTaxAmount" minOccurs="0"/>
<xs:element type="xs:decimal" name="municipalTaxRate" minOccurs="0"/>
<xs:element type="xs:decimal" name="municipalTaxAmount" minOccurs="0"/>
<xs:element name="spdsTax">
<xs:complexType>
<xs:sequence>
<xs:element name="spdTax" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:decimal" name="taxAmount" minOccurs="0"/>
<xs:element type="xs:decimal" name="taxRate" minOccurs="0"/>
</xs:sequence>
<xs:attribute type="xs:string" name="districtNumber" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="census">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="cbsa">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="name" type="xs:string" />
<xs:element minOccurs="0" name="code" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="matchLevel" type="xs:string" />
<xs:element minOccurs="0" name="matchCode" type="xs:string" />
<xs:element minOccurs="0" name="tract" type="xs:string" />
<xs:element minOccurs="0" name="mcd">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="name" type="xs:string" />
<xs:element minOccurs="0" name="code" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="location">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="matchCode" type="xs:string" />
<xs:element minOccurs="0" name="matchLevel" type="xs:string" />
<xs:element minOccurs="0" name="streetMatchCode" />
<xs:element minOccurs="0" name="streetMatchLevel" />
<xs:element minOccurs="0" name="geometry">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="type" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="coordinates" type="xs:string" />
</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>