Skip to content

Commit

Permalink
Added Opencontext api table
Browse files Browse the repository at this point in the history
  • Loading branch information
portableant committed Jul 6, 2010
1 parent 12e8952 commit e4ef70f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions opencontext/opencontext.sets.xml
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="false">
<meta>
<author>Daniel Pett</author>
<description>Search the Open Context API for archaeological data</description>
<documentationURL>http://opencontext.org/about/services</documentationURL>
<sampleQuery description="Search for items located in the region bound by the coordinates: 30E, 30N to 50E, 50N (very roughly southwest Asia).">select * from {table} where bBox="30,30,50,50";</sampleQuery>
</meta>
<bindings>
<select itemPath="" produces="JSON">
<urls>
<url> http://opencontext.org/sets/.json</url>
</urls>
<inputs>
<key id="q" type="xs:string" paramType="query" required="false" />
<key id="bBox" type="xs:string" paramType="query" required="false" />
<key id="proj" type="xs:string" paramType="query" required="false" />
<key id="cat" type="xs:string" paramType="query" required="false" />
<key id="text" type="xs:string" paramType="query" required="false" />
<key id="person" type="xs:string" paramType="query" required="false" />
<key id="t-start" type="xs:integer" paramType="query" required="false" />
<key id="t-end" type="xs:integer" paramType="query" required="false" />
<key id="image" type="xs:boolean" paramType="query" required="false" />
<key id="sort" type="xs:string" paramType="query" required="false" />
</inputs>
</select>
</bindings>
</table>

0 comments on commit e4ef70f

Please sign in to comment.