Property Information WADL

Refer 'PropertyAttributes.xsd', 'PropertyAttributesResponse.xsd' and 'Errors.xsd' for XML schema definition.
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://wadl.dev.java.net/2009/02" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<grammars>
		<xs:complexType name="Address">
			<xs:sequence>
				<xs:element name="objectId" type="xs:string" minOccurs="0"/>
				<xs:element name="mainAddressLine" type="xs:string" minOccurs="0"/>
				<xs:element name="addressLastLine" type="xs:string" minOccurs="0"/>
				<xs:element name="placeName" type="xs:string" minOccurs="0"/>
				<xs:element name="areaName1" type="xs:string" minOccurs="0"/>
				<xs:element name="areaName2" type="xs:string" minOccurs="0"/>
				<xs:element name="areaName3" type="xs:string" minOccurs="0"/>
				<xs:element name="areaName4" type="xs:string" minOccurs="0"/>
				<xs:element name="postCode" type="xs:string" minOccurs="0"/>
				<xs:element name="postCodeExt" type="xs:string" minOccurs="0"/>
				<xs:element name="country" type="xs:string" minOccurs="0"/>
				<xs:element name="addressNumber" type="xs:string" minOccurs="0"/>
				<xs:element name="streetName" type="xs:string" minOccurs="0"/>
				<xs:element name="unitType" type="xs:string" minOccurs="0"/>
				<xs:element name="unitValue" type="xs:string" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
		
		<xs:element name="propertyAttributesAddressRequestV2" type="PropertyInfoAddressRequest"/>

		<xs:complexType name="PropertyInfoAddressRequest">
			<xs:element name="preferences" type="PropertyInfoPreferences" maxOccurs="unbounded"/>
			<xs:sequence>
				<xs:element name="address" type="Address" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
		
		<xs:complexType name="PropertyInfoPreferences">
			<xs:sequence>
				<xs:element name="attributes" type="xs:string" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
		
	</grammars>
	<resources base="https://api.precisely.com">
		<resource path="/property/v2/attributes">
			<resource path="/byaddress">
				<method name="GET">
					<request>
						<param name="address" style="query" type="xs:string" required="true"/>
						<param name="attributes" style="query" type="xs:string" required="true"/>
					</request>
					<response>
						<representation mediaType="application/json" element="propertyInfoResponse"/>
						<fault status="400" mediaType="application/json" element="errors"/>
					</response>
				</method>
				<method name="POST">
					<request>
						<representation mediaType="application/json"/>
					</request>
					<response>
						<representation mediaType="application/json" element="propertyInfoResponses"/>
						<fault status="400" mediaType="application/json" element="errors"/>
					</response>
				</method>
			</resource>
			
		</resource>
		
	</resources>
</application>