Made ActedOnBehalfOf element activity optional to match PROV-DM
authorCurt Tilmes <Curt.Tilmes@nasa.gov>
Wed, 29 Aug 2012 08:19:06 -0400
changeset 4372 fbe20385e1f3
parent 4371 bdb842ddf163
child 4373 5279a2172dc6
Made ActedOnBehalfOf element activity optional to match PROV-DM
http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html#term-delegation
xml/schema/prov.xsd
--- a/xml/schema/prov.xsd	Tue Aug 28 15:56:36 2012 -0400
+++ b/xml/schema/prov.xsd	Wed Aug 29 08:19:06 2012 -0400
@@ -247,7 +247,7 @@
     <xs:sequence>
       <xs:element name="subordinate" type="prov:AgentRef"/>
       <xs:element name="responsible" type="prov:AgentRef"/>
-      <xs:element name="activity"    type="prov:ActivityRef"/>
+      <xs:element name="activity"    type="prov:ActivityRef" minOccurs="0"/>
       <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"/>