[mb-commits] r13616 - mmd-schema/trunk/schema

[email protected] Tue, 05 Feb 2013 02:07:01 +0000
Newsgroups gmane.comp.audio.musicbrainz.cvs
Message-ID <E1U2Xw5-0003bc-Kb@wiley>
Author: ianmcorvidae
Date: 2013-02-05 02:07:01 +0000 (Tue, 05 Feb 2013)
New Revision: 13616

Modified:
   mmd-schema/trunk/schema/musicbrainz_mmd-2.0.rng
Log:
MBS-4997: add url lookup to WS

Modified: mmd-schema/trunk/schema/musicbrainz_mmd-2.0.rng
===================================================================
--- mmd-schema/trunk/schema/musicbrainz_mmd-2.0.rng	2013-02-04 06:38:53 UTC (rev 13615)
+++ mmd-schema/trunk/schema/musicbrainz_mmd-2.0.rng	2013-02-05 02:07:01 UTC (rev 13616)
@@ -64,6 +64,9 @@
                 <ref name="def_work-element"/>
             </optional>
             <optional>
+                <ref name="def_url-element"/>
+            </optional>
+            <optional>
                 <ref name="def_puid-element"/>
             </optional>
             <optional>
@@ -643,7 +646,26 @@
         </element>
     </define>
 
+    <define name="def_url-element">
+        <element name="url">
+            <optional>
+                <attribute name="id">
+                    <data type="anyURI"/>
+                </attribute>
+            </optional>
 
+            <optional>
+                <element name="resource">
+                    <text/>
+                </element>
+            </optional>
+            <zeroOrMore>
+                <ref name="def_relation-list"/>
+            </zeroOrMore>
+        </element>
+    </define>
+
+
     <define name="def_disc-element">
         <element name="disc">
             <attribute name="id">