--- a/dictionary/prov-dictionary.html Thu Jan 10 17:12:04 2013 +0000
+++ b/dictionary/prov-dictionary.html Thu Jan 10 18:24:25 2013 +0100
@@ -2424,7 +2424,84 @@
<section id="dictionary-xml-schema">
<h2>XML Schema Dictionary</h2>
-The XML serialization of Dictionary will follow once this document has passed a first round of internal review by the Working Group.
+<section id="term-Dictionary">
+<h3>Dictionary</h3>
+<div class="glossary-ref" data-ref="glossary-dictionary"></div>
+<p>To specialize an Entity as a Dictionary, include a <code>prov:type</code> with the value "prov:Dictionary".</p>
+<p>An EmptyDictionary is asserted with the <code>prov:type</code> "prov:EmptyCollection" and denotes a Dictionary with no members.</p>
+<pre class="example">
+<prov:document
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:prov="http://www.w3.org/ns/prov#"
+ xmlns:ex="http://example.com/ns/ex#">
+
+ <!-- d0 is an empty dictionary -->
+ <b><prov:entity prov:id="d0">
+ <prov:type xsi:type="xsd:QName">prov:EmptyDictionary</prov:type>
+ </prov:entity></b>
+
+ <!-- d1 is a dictionary, with unknown content -->
+ <b><prov:entity prov:id="d1">
+ <prov:type xsi:type="xsd:QName">prov:Dictionary</prov:type>
+ </prov:entity></b>
+
+</prov:document>
+</pre>
+</section> <!-- end term-Collection -->
+
+<section id="term-DictionaryMembership">
+<h3>Dictionary Membership</h3>
+<div class="glossary-ref" data-ref="glossary-dictionarymembership"></div>
+<pre class="schema-type">
+<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DictionaryMembership">
+ <xs:sequence>
+ <xs:element name="dictionary" type="prov:EntityRef"/>
+ <xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="KeyValuePair" maxOccurs="unbounded" >
+ <xs:element name="entity" type="prov:EntityRef" />
+ <xs:element name="key" type="xs:String" />
+ </xs:complexType>
+ </xs:sequence>
+</xs:complexType>
+</pre>
+<pre class="schema-usage">
+<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="keyValuePair" type="prov:KeyValuePair"/>
+<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="hadDictionaryMember" type="prov:DictionaryMembership"/>
+</pre>
+<pre class="example">
+<prov:document
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:prov="http://www.w3.org/ns/prov#">
+
+ <prov:entity prov:id="e0"/>
+ <prov:entity prov:id="e1"/>
+ <prov:entity prov:id="e2"/>
+
+ <prov:entity prov:id="d">
+ <prov:type xsi:type="xsd:QName">prov:Dictionary</prov:type>
+ </prov:entity>
+
+ <b><prov:hadDictionaryMember>
+ <prov:dictionary prov:ref="d"/>
+ <prov:keyValuePair>
+ <prov:entity prov:ref="e0"/>
+ <prov:key>k0</prov:key>
+ </prov:keyValuePair>
+ <prov:keyValuePair>
+ <prov:entity prov:ref="e1"/>
+ <prov:key>k1</prov:key>
+ </prov:keyValuePair>
+ <prov:keyValuePair>
+ <prov:entity prov:ref="e2"/>
+ <prov:key>k2</prov:key>
+ </prov:keyValuePair>
+ </prov:hadDictionaryMember></b>
+
+</prov:document>
+</pre>
+</section> <!-- end term-Membership -->
+
</section>
<section id="dictionary-constraints">