<?xml version="1.0" encoding="utf-8"?>
<!--
        
        ** OAGIS® Revision: 9.1  **
        ** Date: 11 May 2007 **
        ** Copyright 1997-2007, All Rights Reserved **
        
        This is an OAGIS® BOD XML Schema (XSD) Definition.
        
       License information for this file is provided in the file **OAGi License Agreement.txt** that is provided with this download package.
        
        For support, more information, or to report implementation bugs, please contact the Open Applications Group at xml@openapplications.org.
        
        XML Schema 
        
-->
 
<!--
© Copyright 2007 Infor Global Solutions Technology GmbH and/or its affiliates and subsidiaries. All rights reserved. The 
word and design marks set forth herein are trademarks and/or registered trademarks of Infor Global Solutions 
Technology GmbH and/or its affiliates and subsidiaries. All rights reserved. All other trademarks listed herein 
are the property of their respective owners.
 
-->
 
<!--    *****     Update Log     *****
 
Date          By      Note
6 Jan 2016	 LA	      UserArea added to PublicSectorParcelType, BOD-3134

        *****     Update End     *****
 
-->

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns="http://schema.infor.com/InforOAGIS/2"
	targetNamespace="http://schema.infor.com/InforOAGIS/2" elementFormDefault="qualified"
	attributeFormDefault="unqualified">

	<xsd:include schemaLocation="../Common/Components.xsd"/>

	<xsd:complexType name="ResultsType">
		<xsd:sequence>
			<xsd:element ref="ResultByPerson" minOccurs="0"/>
			<xsd:element ref="ResultDateTime" minOccurs="0"/>
			<xsd:element ref="ResultCode" minOccurs="0"/>
			<xsd:element ref="ResultRelevantIndicator" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="Results" type="ResultsType"/>

	<xsd:element name="ResultDateTime" type="DateTimeType"/>

	<xsd:element name="ComputerGeneratedIndicator" type="IndicatorType"/>
	<xsd:element name="ResultsGeneratedIndicator" type="IndicatorType"/>
	<xsd:element name="ResultRelevantIndicator" type="IndicatorType"/>

	<xsd:element name="ResultByPerson" type="PersonReferenceType"/>


	<xsd:element name="LocationActivity" type="PublicSectorActivityType"/>

	<xsd:complexType name="PublicSectorLocationType">
		<xsd:complexContent>
			<xsd:extension base="LocationType">
				<xsd:sequence>
					<xsd:element ref="ExpireDateTime" minOccurs="0"/>
					<xsd:element ref="ExtendedAddress" minOccurs="0"/>
					<xsd:element ref="LocationActivity" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="LegalLocation" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:element name="PublicSectorLocation" type="PublicSectorLocationType"/>

	<xsd:complexType name="PublicSectorParcelType">
		<xsd:complexContent>
			<xsd:extension base="StatusEnabledStandardHeaderType">
				<xsd:sequence>
					<xsd:element ref="ParcelType" minOccurs="0"/>
					<xsd:element ref="LandPriceType" minOccurs="0"/>
					<xsd:element ref="EffectiveTimePeriod" minOccurs="0"/>
					<xsd:element ref="CitySubDivisionName" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="CityName" minOccurs="0"/>
					<xsd:element ref="TownshipName" minOccurs="0"/>
					<xsd:element ref="CountrySubDivision2Code" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="CountrySubDivisionCode" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="CountryCode" minOccurs="0"/>
					<xsd:element ref="PostalCode" minOccurs="0"/>
					<xsd:element ref="PropertyLot" minOccurs="0"/>
					<xsd:element ref="Block" minOccurs="0"/>
					<xsd:element ref="Section" minOccurs="0"/>
					<xsd:element ref="LocationArea" minOccurs="0"/>
					<xsd:element ref="AtlasPage" minOccurs="0"/>
					<xsd:element ref="MapReference" minOccurs="0"/>
					<xsd:element ref="PlanMediaNumber" minOccurs="0"/>
					<xsd:element ref="OwnerContact" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="ParcelActivity" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="CommonElementsPercent" minOccurs="0"/>
					<xsd:element ref="ParentParcel" minOccurs="0"/>
					<xsd:element ref="UserArea" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>

	<xsd:complexType name="PropertyLotType">
		<xsd:sequence>
			<xsd:element ref="ID" minOccurs="0"/>
			<xsd:element ref="LotRange" minOccurs="0"/>
			<xsd:element ref="LotDimension" minOccurs="0"/>
			<xsd:element ref="LotShape" minOccurs="0"/>
			<xsd:element ref="LotSizeMeasure" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="PropertyLot" type="PropertyLotType"/>

	<xsd:complexType name="ExtendedAddressType">
		<xsd:sequence>
			<xsd:element ref="PostDirection" minOccurs="0"/>
			<xsd:element ref="PreDirection" minOccurs="0"/>
			<xsd:element ref="SuffixName" minOccurs="0"/>
			<xsd:element ref="StreetNumber" minOccurs="0"/>
			<xsd:element ref="StreetNumberHigh" minOccurs="0"/>
			<xsd:element ref="StreetNumberSortAs" minOccurs="0"/>
			<xsd:element ref="StreetNumberSortAsHigh" minOccurs="0"/>
			<xsd:element ref="CrossStreet1" minOccurs="0"/>
			<xsd:element ref="CrossStreet2" minOccurs="0"/>
			<xsd:element ref="Block" minOccurs="0"/>
			<xsd:element ref="LocationArea" minOccurs="0"/>

			<xsd:element ref="AreaType" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="ExtendedAddress" type="ExtendedAddressType"/>

	<xsd:element name="PublicSectorApplicant" type="PublicSectorApplicantType"/>
	<xsd:complexType name="CaseContactType">
		<xsd:complexContent>
			<xsd:extension base="PublicSectorApplicantType">
				<xsd:sequence>
					<xsd:element ref="Type" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:element name="CaseContact" type="CaseContactType"/>

	<xsd:complexType name="CrossStreetType">
		<xsd:sequence>
			<xsd:element ref="Name" minOccurs="0"/>
			<xsd:element ref="PostDirection" minOccurs="0"/>
			<xsd:element ref="PreDirection" minOccurs="0"/>
			<xsd:element ref="SuffixName" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="CrossStreet1" type="CrossStreetType"/>
	<xsd:element name="CrossStreet2" type="CrossStreetType"/>

	<xsd:complexType name="LegalLocationType">
		<xsd:sequence>
			<xsd:element ref="Description" minOccurs="0"/>
			<xsd:element ref="OwnerContact" minOccurs="0"/>
			<xsd:element ref="LocationLot" minOccurs="0"/>
			<xsd:element ref="LocationBlock" minOccurs="0"/>
			<xsd:element ref="MapReference" minOccurs="0"/>
			<xsd:element ref="CityLimitIndicator" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="LegalLocation" type="LegalLocationType"/>

	<!-- not implemented >
	<xsd:complexType name="CASSType">
		<xsd:sequence>
			<xsd:element ref="ValidIndicator" minOccurs="0"/>
			<xsd:element ref="Description" minOccurs="0"/>
			<xsd:element ref="DateTime" minOccurs="0"/>
			<xsd:element ref="StatusCode" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="CASS" type="CASSType"/>
	-->

	<xsd:complexType name="AssignmentsType">
		<xsd:sequence>
			<xsd:element ref="StartedByPerson" minOccurs="0"/>
			<xsd:element ref="CompletedByPerson" minOccurs="0"/>
			<xsd:element ref="AssignedPerson" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="Assignments" type="AssignmentsType"/>

	<xsd:element name="ParcelActivity" type="PublicSectorActivityType"/>

	<xsd:element name="StartedByPerson" type="PersonReferenceType"/>
	<xsd:element name="CompletedByPerson" type="PersonReferenceType"/>

	<xsd:element name="ActualValuationAmount" type="AmountType"/>
	<xsd:element name="CalculatedValuationAmount" type="AmountType"/>
	<xsd:element name="DeclaredValuationAmount" type="AmountType"/>


	<xsd:element name="LicenseCategory" type="CodeType"/>
	<xsd:element name="ProcessState" type="CodeType"/>
	<xsd:element name="PostDirection" type="CodeType"/>
	<xsd:element name="PreDirection" type="CodeType"/>
	<xsd:element name="SchedulePreferenceType" type="CodeType"/>
	<xsd:element name="AreaType" type="CodeType"/>

	<xsd:element name="LocationArea" type="CodeType"/>
	<xsd:element name="LotShape" type="CodeType"/>
	<xsd:element name="ParcelType" type="CodeType"/>
	<xsd:element name="LandPriceType" type="CodeType"/>

	<xsd:element name="OwnerContact" type="ContactType"/>

	<xsd:element name="LastActivityDateTime" type="DateTimeType"/>

	<xsd:element name="LotDimension" type="DimensionType"/>

	<xsd:element name="LotRange" type="IdentifierType"/>

	<xsd:element name="LinearFromMeasure" type="MeasureType"/>
	<xsd:element name="LinearToMeasure" type="MeasureType"/>
	<xsd:element name="LotSizeMeasure" type="MeasureType"/>

	<xsd:element name="StreetNumberSortAs" type="PositiveIntegerNumericType"/>
	<xsd:element name="StreetNumberSortAsHigh" type="PositiveIntegerNumericType"/>
	<xsd:element name="SchedulingSequence" type="PositiveIntegerNumericType"/>
	<xsd:element name="AtlasPage" type="PositiveIntegerNumericType"/>

	<xsd:element name="StreetNumber" type="NormalizedStringType"/>
	<xsd:element name="StreetNumberHigh" type="NormalizedStringType"/>
	<xsd:element name="LocationLot" type="NormalizedStringType"/>
	<xsd:element name="LocationBlock" type="NormalizedStringType"/>
	<xsd:element name="MapReference" type="NormalizedStringType"/>
	<xsd:element name="Block" type="NormalizedStringType"/>
	<xsd:element name="Section" type="NormalizedStringType"/>
	<xsd:element name="PlanMediaNumber" type="NormalizedStringType"/>

	<xsd:element name="CityLimitIndicator" type="IndicatorType"/>
	<xsd:element name="ValidIndicator" type="IndicatorType"/>

	<xsd:element name="TownshipName" type="NameType"/>

	<xsd:element name="WithInspectionReference" type="SemanticDocumentReferenceType"/>
	<xsd:element name="PublicSectorCaseReference" type="SemanticDocumentReferenceType"/>
	<xsd:element name="ParentPublicSectorCaseReference" type="SemanticDocumentReferenceType"/>
	<xsd:element name="PublicSectorLicenseReference" type="SemanticDocumentReferenceType"/>
	<xsd:element name="ParentPublicSectorLicenseReference" type="SemanticDocumentReferenceType"/>
	<xsd:element name="PublicSectorPermitReference" type="SemanticDocumentReferenceType"/>
	<xsd:element name="ParentPublicSectorPermitReference" type="SemanticDocumentReferenceType"/>
	<xsd:element name="ParentParcel" type="SemanticDocumentReferenceType"/>

	<xsd:element name="CommonElementsPercent" type="PercentType"/>

</xsd:schema>
