Selaa lähdekoodia

[1.1/dataref] Add dataurl section

M. Sonntag 5 vuotta sitten
vanhempi
commit
2ecf6f876b
3 muutettua tiedostoa jossa 35 lisäystä ja 1 poistoa
  1. 1 1
      v1.1/datareference/datauri.xml
  2. 27 0
      v1.1/datareference/dataurl.xml
  3. 7 0
      v1.1/terminologies.xml

+ 1 - 1
v1.1/datareference/datauri.xml

@@ -21,7 +21,7 @@
         <property>
             <name>DataURI</name>
             <definition>A URI linking to the published dataset.</definition>
-            <type>url</type>
+            <type>string</type>
         </property>
     </section>
 </odML>

+ 27 - 0
v1.1/datareference/dataurl.xml

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1.1">
+    <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+    <version>1.0</version>
+    <date>2019-03-26</date>
+    <!-- *********************************************************        -->
+    <!--                      Data reference section                      -->
+    <!--  The minimal description of a data reference is a URI linking back
+          to the repository the odml file or the data the odml document describes
+          resides in.
+          Further details common to the different types of data reference sections
+          can be added via the reference description section              -->
+    <!-- *********************************************************        -->
+    <section>
+        <type>DataReference</type>
+        <name>DataURL</name>
+        <definition>A published dataset referenced by a URL. The referenced dataset will contain either the odML file itself or the data the odML is annotating.
+        </definition>
+
+        <property>
+            <name>DataURL</name>
+            <definition>A URL linking to the published dataset.</definition>
+            <type>url</type>
+        </property>
+    </section>
+</odML>

+ 7 - 0
v1.1/terminologies.xml

@@ -23,6 +23,13 @@
     <include>http://portal.g-node.org/odml/terminologies/v1.1/datareference/datauri.xml</include>
   </section>
 
+  <section>
+    <type>DataReference</type>
+    <name>DataURL</name>
+    <definition>A published dataset referenced by a URL. The referenced dataset will contain either the odML file itself or the data the odML is annotating.</definition>
+    <include>http://portal.g-node.org/odml/terminologies/v1.1/datareference/dataurl.xml</include>
+  </section>
+
   <section>
     <type>DataReference</type>
     <name>DataReferenceDescription</name>