Browse files

Added Opencontext api table

  • Loading branch information...
1 parent 12e8952 commit e4ef70f1f38b9e3c069ecc7e546f3e0fbe42f924 @portableant portableant committed Jul 6, 2010
Showing with 28 additions and 0 deletions.
  1. +28 −0 opencontext/opencontext.sets.xml
View
28 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.