Streets WADL

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://wadl.dev.java.net/2009/02"
	xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<resources
		base="https://api.precisely.com">
		<resource path="/streets/v1/intersection">
			<resource path="/byaddress">
				<method name="GET">
					<request>
						<param name="address" style="query" type="xs:string" required="true" />
						<param name="roadClass" style="query" type="xs:string" />
						<param name="driveTime" style="query" type="xs:string" />
						<param name="driveTimeUnit" style="query" type="xs:string" />
						<param name="searchRadius" style="query" type="xs:string" />
						<param name="searchRadiusUnit" style="query" type="xs:string" />
						<param name="historicSpeed" style="query" type="xs:string" />
					</request>
					<response>
						<representation mediaType="application/json" element="intersections"/>
						<fault status="400" mediaType="application/json" element="errors"/>
					</response>
				</method>
			</resource>
		</resource>

		<resource path="/streets/v1/intersection">
			<resource path="/bylocation">
				<method name="GET">
					<request>
						<param name="longitude" style="query" type="xs:string" required="true" />
						<param name="latitude" style="query" type="xs:string" required="true" />
						<param name="roadClass" style="query" type="xs:string" />
						<param name="driveTime" style="query" type="xs:string" />
						<param name="driveTimeUnit" style="query" type="xs:string" />
						<param name="searchRadius" style="query" type="xs:string" />
						<param name="searchRadiusUnit" style="query" type="xs:string" />
						<param name="historicSpeed" style="query" type="xs:string" />
					</request>					
					<response>
						<representation mediaType="application/json" element="intersections"/>
						<fault status="400" mediaType="application/json" element="errors"/>
					</response>
				</method>
			</resource>
		</resource>
		<resource path="/streets/v1/">
			<resource path="/speedlimit">
				<method name="GET">
					<request>
						<param name="path" style="query" type="xs:string" required="true" />
					</request>					
					<response>
						<representation mediaType="application/json" element="intersections"/>
						<fault status="400" mediaType="application/json" element="errors"/>
					</response>
				</method>
			</resource>
		</resource>
	</resources>
</application>