<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<application xmlns="http://wadl.dev.java.net/2009/02">
<doc title="SeismicPortal FDSN event web service 1.2.1"/>
<resources base="http://www.seismicportal.eu/fdsnws/event/1/">
	<resource path="">
		<method id="index" name="GET">
			<doc>This documentation</doc>
			<response>
				<representation mediaType="text/html"/>
			</response>
		</method>
	</resource>
	
	 <resource path="query">
		<method id="query" name="GET">
		   <doc>Return the events found</doc>
		   <request>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="starttime" style="query" type="xs:date">
				 <doc xml:lang="english" title="limit to events occurring on or after the specified start time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)">Examples: starttime=2012-11-29 or 2012-11-29T00:00:00 or 2012-11-29T00:00:00.000</doc>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="start" style="query" type="xs:date">
				 <doc xml:lang="english" title="(alias of starttime) limit to events occurring on or after the specified start time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)">Examples: starttime=2012-11-29 or 2012-11-29T00:00:00 or 2012-11-29T00:00:00.000</doc>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="endtime" style="query" type="xs:date">
				 <doc xml:lang="english"  title="limit to events occurring on or before the specified end time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="end" style="query" type="xs:date">
				 <doc xml:lang="english"  title="(alias of endtime) limit to events occurring on or before the specified end time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="minlatitude" style="query" type="xs:double" default="-90.0">
				 <doc xml:lang="english"  title="southern boundary (degrees)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="minlat" style="query" type="xs:double" default="-90.0">
				 <doc xml:lang="english"  title="(alias of minlatitude) southern boundary (degrees)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="maxlatitude" style="query" type="xs:double" default="90.0">
				 <doc xml:lang="english" title="northern boundary" />
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="maxlat" style="query" type="xs:double" default="90.0">
				 <doc xml:lang="english" title="(alias of maxlatitude) northern boundary (degrees)" />
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="minlongitude" style="query" type="xs:double" default="-180.0">
				 <doc xml:lang="english" title="western boundary (degrees)" />
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="minlon" style="query" type="xs:double" default="-180.0">
				 <doc xml:lang="english" title="(alias of minlongitude) western boundary (degrees)" />
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="maxlongitude" style="query" type="xs:double" default="180.0">
				 <doc xml:lang="english" title="eastern boundary"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="maxlon" style="query" type="xs:double" default="180.0">
				 <doc xml:lang="english" title="(alias of maxlongitude) eastern boundary (degrees)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="latitude" style="query" type="xs:double">
				 <doc xml:lang="english" title="Specify the central latitude point for a radial search (degrees)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="lat" style="query" type="xs:double">
				 <doc xml:lang="english" title="(alias of latitude) Specify the central latitude point for a radial search (degrees)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="longitude" style="query" type="xs:double">
				 <doc xml:lang="english" title="Specify the central longitude point for a radial search (degrees)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="lon" style="query" type="xs:double">
				 <doc xml:lang="english" title="(alias of longitude) Specify the central longitude point for a radial search (degrees)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="minradius" style="query" type="xs:double" default="0.0">
				 <doc xml:lang="english" title="Specify minimum distance (degrees) from the geographic point defined by latitude and longitude"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="maxradius" style="query" type="xs:double" default="180.0">
				 <doc xml:lang="english" title="Specify maximum distance (degrees) from the geographic point defined by latitude and longitude"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="mindepth" style="query" type="xs:double">
				 <doc xml:lang="english"  title="Limit to events with depths equal to or greater than the specified depth (km)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="maxdepth" style="query" type="xs:double">
				 <doc xml:lang="english" title="Limit to events with depths less than the specified depth (km)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="minmagnitude" style="query" type="xs:double">
				 <doc xml:lang="english" title="Limit to events with a magnitude equal or larger than the specified minimum"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="minmag" style="query" type="xs:double">
				 <doc xml:lang="english" title="(alias of minmagnitude) Limit to events with a magnitude equal or larger than the specified minimum"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="maxmagnitude" style="query" type="xs:double">
				 <doc xml:lang="english" title="Limit to events with a magnitude smaller than the specified maximum"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="maxmag" style="query" type="xs:double">
				 <doc xml:lang="english" title="(alias of maxmagnitude) Limit to events with a magnitude smaller than the specified maximum"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="magnitudetype" style="query" type="xs:string">
				 <doc xml:lang="english" title="Type of Magnitude used to test minimum and maximum limits (case insensitive)">Examples: Ml,Ms,mb,Mw</doc>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="magtype" style="query" type="xs:string">
				 <doc xml:lang="english" title="(alias of magnitudetype) Type of Magnitude used to test minimum and maximum limits (case insensitive)">Examples: Ml,Ms,mb,Mw</doc>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="includeallorigins" style="query" type="xs:boolean" default="false">
				 <doc xml:lang="english" title="Retrieve all origins or only the primary origin associated with each event in a catalog"/>
			  </param>
			  <!--<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="includeallmagnitudes" style="query" type="xs:boolean" default="false">
				 <doc xml:lang="english" title="Retrieve all magnitudes for the event, or only the primary magnitude from within the catalog"/>
			  </param> not implemented--> 
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="includearrivals" style="query" type="xs:boolean" default="false">
				 <doc xml:lang="english" title="Specify if phase arrivals should be included"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="eventid" style="query" type="xs:string">
				 <doc xml:lang="english" title="Retrieve an event based on the unique ID numbers assigned by the SeismicPortal. ex : 20131030_0000001"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="catalog" style="query" type="xs:string">
				 <doc xml:lang="english" title="Specify the catalog from which origins and magnitudes will be retrieved. Note that since 2012, only the EMSC-RTS catalog is in use.">See available catalogs at : http://www.seismicportal/fdsnws/event/1/catalogs</doc>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="contributor" style="query" type="xs:string">
				 <doc xml:lang="english" title="Limit to events contributed by a specified contributor">See available catalogs at : http://www.seismicportal/fdsnws/event/1/contributors</doc>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="updatedafter" style="query" type="xs:date">
				 <doc xml:lang="english" title="Limit to events updated after the specified time"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="format" style="query" type="xs:string" default="xml">
				 <doc xml:lang="english" title="Specify output format. ">json responses are an EMSC extension to the FDSN specification</doc>
				 <option value="xml" mediaType="application/xml"/>
				 <option value="json" mediaType="application/json"/>
				 <option value="text" mediaType="application/text"/>
				 <option value="xml" mediaType="application/xml-gz"/>
				 <option value="json" mediaType="application/json-gz"/>
				 <option value="text" mediaType="application/text-gz"/>
				 <!--<option value="jsonp" mediaType="application/javascript"/> -->
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="orderby" style="query" type="xs:string" default="time">
				 <doc xml:lang="english" title="Specify the ordering of the returned results"/>
				 <option value="time">
					<doc xml:lang="english" title="Sort by time, descending"/>
				 </option>
				 <option value="magnitude">
					<doc xml:lang="english" title="Sort by magnitude, descending"/>
				 </option>
				 <option value="time-asc">
					<doc xml:lang="english" title="Sort by time, ascending"/>
				 </option>
				 <option value="magnitude-asc">
					<doc xml:lang="english" title="Sort by magnitude, ascending"/>
				 </option>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="limit" style="query" type="xs:int">
				 <doc xml:lang="english" title="Limit the results to the specified number of events"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="offset" style="query" type="xs:int" default="1">
				 <doc xml:lang="english" title="Return results starting at the event count specified (starting at 1)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="nodata" style="query" type="xs:string" default="204">
				 <doc xml:lang="english" title="Select status code for nodata, either 204 or 404"/>
				 <option value="204"/>
				 <option value="404"/>
			  </param>
<!--
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="callback" style="query" type="xs:string">
	<doc xml:lang="english" title="javascript callback method name">Used when output format is jsonp. This is an EMSC extension to the FDSN specification</doc>
</param>
-->
		   </request>
		   <response>
			  <representation mediaType="application/json"/>
			  <representation mediaType="application/javascript"/>
			  <representation mediaType="application/xml"/>
		   </response>
		</method>
	 </resource>
	
	 <resource path="version">
		<method id="version" name="GET">
		<doc title="Return the version number of this Web Services"/>
		   <response>
			  <representation mediaType="text/plain"/>
		   </response>
		</method>
	 </resource>
	
	 <resource path="catalogs">
		<method id="catalogs" name="GET">
			<doc title="Return the available catalogs name"/>
		   <response>
			  <representation mediaType="application/xml"/>
		   </response>
		</method>
	 </resource>
	
	 <resource path="contributors">
		<method id="contributors" name="GET">
			<doc title="Return the contributors list"/>
		   <response>
			  <representation mediaType="application/xml"/>
		   </response>
		</method>
	 </resource>
	
	<resource path="counts">
		<method id="counts" name="GET">
			<doc>Return the total number of events found</doc>
		   <request>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="starttime" style="query" type="xs:date">
				 <doc xml:lang="english" title="limit to events occurring on or after the specified start time">Examples: starttime=2012-11-29 or 2012-11-29T00:00:00 or 2012-11-29T00:00:00.000</doc>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="start" style="query" type="xs:date">
				 <doc xml:lang="english" title="(alias of starttime) limit to events occurring on or after the specified start time">Examples: starttime=2012-11-29 or 2012-11-29T00:00:00 or 2012-11-29T00:00:00.000</doc>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="endtime" style="query" type="xs:date">
				 <doc xml:lang="english"  title="limit to events occurring on or before the specified end time"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="end" style="query" type="xs:date">
				 <doc xml:lang="english"  title="(alias of endtime) limit to events occurring on or before the specified end time"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="minlatitude" style="query" type="xs:double" default="-90.0">
				 <doc xml:lang="english"  title="southern boundary (degrees)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="minlat" style="query" type="xs:double" default="-90.0">
				 <doc xml:lang="english"  title="(alias of minlatitude) southern boundary (degrees)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="maxlatitude" style="query" type="xs:double" default="90.0">
				 <doc xml:lang="english" title="northern boundary" />
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="maxlat" style="query" type="xs:double" default="90.0">
				 <doc xml:lang="english" title="(alias of maxlatitude) northern boundary (degrees)" />
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="minlongitude" style="query" type="xs:double" default="-180.0">
				 <doc xml:lang="english" title="western boundary (degrees)" />
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="minlon" style="query" type="xs:double" default="-180.0">
				 <doc xml:lang="english" title="(alias of minlongitude) western boundary (degrees)" />
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="maxlongitude" style="query" type="xs:double" default="180.0">
				 <doc xml:lang="english" title="eastern boundary"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="maxlon" style="query" type="xs:double" default="180.0">
				 <doc xml:lang="english" title="(alias of maxlongitude) eastern boundary (degrees)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="latitude" style="query" type="xs:double">
				 <doc xml:lang="english" title="Specify the central latitude point for a radial search (degrees)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="lat" style="query" type="xs:double">
				 <doc xml:lang="english" title="(alias of latitude) Specify the central latitude point for a radial search (degrees)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="longitude" style="query" type="xs:double">
				 <doc xml:lang="english" title="Specify the central longitude point for a radial search (degrees)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="lon" style="query" type="xs:double">
				 <doc xml:lang="english" title="(alias of longitude) Specify the central longitude point for a radial search (degrees)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="minradius" style="query" type="xs:double" default="0.0">
				 <doc xml:lang="english" title="Specify minimum distance (degrees) from the geographic point defined by latitude and longitude"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="maxradius" style="query" type="xs:double" default="180.0">
				 <doc xml:lang="english" title="Specify maximum distance (degrees) from the geographic point defined by latitude and longitude"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="mindepth" style="query" type="xs:double">
				 <doc xml:lang="english"  title="Limit to events with depths equal to or greater than the specified depth (km)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="maxdepth" style="query" type="xs:double">
				 <doc xml:lang="english" title="Limit to events with depths equal to or less than the specified depth (km)"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="minmagnitude" style="query" type="xs:double">
				 <doc xml:lang="english" title="Limit to events with a magnitude larger than or equal to the specified minimum"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="minmag" style="query" type="xs:double">
				 <doc xml:lang="english" title="(alias of minmagnitude) Limit to events with a magnitude larger than or equal to the specified minimum"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="maxmagnitude" style="query" type="xs:double">
				 <doc xml:lang="english" title="Limit to events with a magnitude smaller than or equal to the specified maximum"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="maxmag" style="query" type="xs:double">
				 <doc xml:lang="english" title="(alias of maxmagnitude) Limit to events with a magnitude smaller than or equal to the specified maximum"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="magnitudetype" style="query" type="xs:string">
				 <doc xml:lang="english" title="Type of Magnitude used to test minimum and maximum limits (case insensitive)">Examples: Ml,Ms,mb,Mw</doc>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="magtype" style="query" type="xs:string">
				 <doc xml:lang="english" title="(alias of magnitudetype) Type of Magnitude used to test minimum and maximum limits (case insensitive)">Examples: Ml,Ms,mb,Mw</doc>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="eventid" style="query" type="xs:long">
				 <doc xml:lang="english" title="Retrieve an event based on the unique ID numbers assigned by the SeismicPortal. ex : 20131030_0000001"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="catalog" style="query" type="xs:string">
				 <doc xml:lang="english" title="Specify the catalog from which origins and magnitudes will be retrieved">See available catalogs at : http://www.seismicportal/fdsnws/event/1/catalogs</doc>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="contributor" style="query" type="xs:string">
				 <doc xml:lang="english" title="Limit to events contributed by a specified contributor">See available catalogs at : http://www.seismicportal/fdsnws/event/1/contributors</doc>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema"  name="updatedafter" style="query" type="xs:date">
				 <doc xml:lang="english" title="Limit to events updated after the specified time"/>
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="format" style="query" type="xs:string" default="xml">
				 <doc xml:lang="english" title="Specify output format. ">json responses are an EMSC extension to the FDSN specification</doc>
				 <option value="xml" mediaType="application/xml"/>
				 <option value="json" mediaType="application/json"/>
				 <!--<option value="jsonp" mediaType="application/javascript"/> -->
			  </param>
			  <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="nodata" style="query" type="xs:string" default="204">
				 <doc xml:lang="english" title="Select status code for nodata, either 204 or 404"/>
				 <option value="204"/>
				 <option value="404"/>
			  </param>
<!--
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="callback" style="query" type="xs:string">
	<doc xml:lang="english" title="javascript callback method name">Used when output format is jsonp. This is an EMSC extension to the FDSN specification</doc>
</param>
-->
		   </request>
		   <response>
			  <representation mediaType="application/json"/>
			  <representation mediaType="application/javascript"/>
			  <representation mediaType="application/xml"/>
		   </response>
		</method>
	 </resource>
	
   </resources>
</application>

