[Volute] r3562 - trunk/projects/registry/RegistryInterface

Volute commit messages volutecommits at g-vo.org
Wed Oct 26 18:05:29 CEST 2016


Author: msdemlei
Date: Thu Sep 22 13:28:08 2016
New Revision: 3562

Log:
RI 1.1: Adding an example for the various capabilities.

Modified:
   trunk/projects/registry/RegistryInterface/RegistryInterface.tex

Modified: trunk/projects/registry/RegistryInterface/RegistryInterface.tex
==============================================================================
--- trunk/projects/registry/RegistryInterface/RegistryInterface.tex	Thu Sep 22 12:52:22 2016	(r3561)
+++ trunk/projects/registry/RegistryInterface/RegistryInterface.tex	Thu Sep 22 13:28:08 2016	(r3562)
@@ -807,6 +807,55 @@
 
 \lstinputlisting[language=XML]{VORegistry-1.0.xsd}
 
+\section{Example Capabilities}
+
+The following XML fragment shows the three capability elements discussed
+in this document: The OAI-PMH-based publishing registry, the legacy 
+RI 1.1 searchable registry, and an auxiliary TAP capability as used
+for RegTAP.
+
+\begin{lstlisting}[language=XML]
+<ri:Resource
+  xmlns:vg="http://www.ivoa.net/xml/VORegistry/v1.0" 
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns:xmlns:ri="http://www.ivoa.net/xml/RegistryInterface/v1.0">
+
+  <!-- Standard VOResource metadata omitted for brevity -->
+
+  <!-- The capability for an OAI-PMH endpoint (publishing registry) -->
+  <capability xsi:type="vg:Harvest" standardID="ivo://ivoa.net/std/Registry">
+    <interface xsi:type="vg:OAIHTTP" version="1.0" role="std">
+       <accessURL use="base">http://registry.example.org/oai</accessURL>
+    </interface>
+    <maxRecords>100</maxRecords>
+  </capability>
+
+  <!-- A legacy, RI1.0 searchable registry endpoint, with an
+    extra interface for web browsers. -->
+  <capability xsi:type="vg:Search" standardID="ivo://ivoa.net/std/Registry">
+    <interface xsi:type="vr:WebBrowser" version="1.0" role="gui">
+      <accessURL use="full">http://registry.euro-vo.org</accessURL>
+    </interface>
+    <interface xsi:type="vr:WebService" version="1.0" role="std">
+      <accessURL use="full"
+        >http://registry.example.org/services/RegistrySearch</accessURL>
+    </interface>
+    <maxRecords>100</maxRecords>
+      <extensionSearchSupport>core</extensionSearchSupport>
+  </capability>
+
+  <!-- A reference to RegTAP-enabled TAP service as an auxiliary
+    capability -->
+  <capability standardID="ivo://ivoa.net/std/TAP#aux">
+    <interface xsi:type="vs:ParamHTTP" role="std">
+      <accessURL use="base">http://registry.example.org/tap</accessURL>
+    </interface>
+  </capability>
+
+   <!-- A RegTAP-capable searchable registry should have a tableset
+   with all its tables in the rr schema here -->
+</ri:Resource>
+\end{lstlisting}
 
 \section{Changes from Previous Versions}
 
@@ -814,7 +863,7 @@
 
 For pre-REC-1.0 changes, see \citet{std:RI1}.
 
-\section{Changes from Version 1.0}
+\subsection{Changes from Version 1.0}
 
 \label{changes-1.0}
 


More information about the Volutecommits mailing list