Added prov:value element to Entity complexType. Made the following changes to CollectionMemberOf; prov:entity element renamed to prov:collection, prov:complete made optional element with max occurrence of 1, prov:member type changed to prov:EntityRef (was prov:Entity).
authorStephan Zednik <zednis@rpi.edu>
Mon, 27 Aug 2012 11:20:45 -0600
changeset 4368 41509362b41f
parent 4367 01449d7dbc22
child 4369 e9b18c14ccb0
Added prov:value element to Entity complexType. Made the following changes to CollectionMemberOf; prov:entity element renamed to prov:collection, prov:complete made optional element with max occurrence of 1, prov:member type changed to prov:EntityRef (was prov:Entity).
xml/schema/prov.xsd
--- a/xml/schema/prov.xsd	Mon Aug 27 11:33:29 2012 -0400
+++ b/xml/schema/prov.xsd	Mon Aug 27 11:20:45 2012 -0600
@@ -39,7 +39,8 @@
       <xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> 
       <xs:element ref="prov:type"  minOccurs="0" maxOccurs="unbounded"/>
       <xs:element ref="prov:location"  minOccurs="0" maxOccurs="unbounded"/>
- 
+	  <xs:element ref="prov:value" minOccurs="0" maxOccurs="1"/>
+	
       <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
     </xs:sequence>
     <xs:attribute ref="prov:id"/>
@@ -321,9 +322,9 @@
 
   <xs:complexType name="CollectionMemberOf">
     <xs:sequence>
-      <xs:element name="entity"          type="prov:EntityRef"/>
-      <xs:element name="complete"        type="xs:boolean"/>
-      <xs:element name="member"          type="prov:Entity" minOccurs="1" maxOccurs="unbounded"/>
+      <xs:element name="collection"          type="prov:EntityRef"/>
+      <xs:element name="complete"        type="xs:boolean" minOccurs="0" maxOccurs="1"/>
+      <xs:element name="member"          type="prov:EntityRef" minOccurs="1" maxOccurs="unbounded"/>
       <xs:element ref="prov:label" minOccurs="0"  maxOccurs="unbounded"/> 
       <xs:element ref="prov:type"  minOccurs="0" maxOccurs="unbounded"/>
       <xs:any namespace="##other"  minOccurs="0" maxOccurs="unbounded"/>
@@ -469,12 +470,4 @@
     <xs:attribute ref="prov:id"/>
   </xs:complexType>
   
-  
-  
-  
-  
-  
-  
-  
-  
 </xs:schema>