xml/experimental/extensions/dictionary.xsd
author Stian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk>
Thu, 06 Dec 2012 16:51:27 +0000
changeset 5310 6113b10ac714
permissions -rw-r--r--
xsd:any switched for prov:extraRecord
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
     3 	targetNamespace="http://www.w3.org/ns/prov#" xmlns:prov="http://www.w3.org/ns/prov#"
     4 	elementFormDefault="qualified">
     5 	<xsd:include schemaLocation="prov.xsd" />
     6 
     7 	<!-- 
     8 	Note: This is only an *example* of how dictionary membership could be expressed
     9 	as an extension of prov.xsd	
    10 	 -->
    11 
    12 	<xsd:complexType name="Membership">
    13 		<xsd:sequence>
    14 			<xsd:element name="collection" type="prov:EntityRef" />
    15 			<xsd:element name="member" type="prov:EntityRef" />
    16 			<xsd:element name="key" type="xsd:string" minOccurs="0"/>
    17 		</xsd:sequence>
    18 	</xsd:complexType>
    19 	
    20 	<xsd:element name="dictionary" type="prov:Entity" substitutionGroup="prov:extraRecord" />
    21 	<xsd:element name="hasMember" type="prov:Membership" substitutionGroup="prov:extraDependency" />
    22 	
    23 	
    24 </xsd:schema>