The PROV XML Schema

Table of Contents

top

Schema Document Properties

Target Namespace http://www.w3.org/ns/prov#
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
  • This schema imports schema(s) from the following namespace(s):
    • http://www.w3.org/1999/xhtml/datatypes/
    • http://www.w3.org/XML/1998/namespace (at xml.xsd)

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
cu http://www.w3.org/1999/xhtml/datatypes/
prov http://www.w3.org/ns/prov#
xs http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xs:schema targetNamespace="http://www.w3.org/ns/prov#" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/"/>
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
...
</xs:schema>
top

Global Schema Components

Element: entity

Name entity
Type prov:Entity
Nillable no
Abstract no
XML Instance Representation
<prov:entity
prov:id="[0..1]">
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
<prov:location> ... </prov:location> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</prov:entity>
Schema Component Representation
<xs:element name="entity" type="prov:Entity"/>
top

Complex Type: Entity

Parent type: None
Direct sub-types: None
Name Entity
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
<prov:location> ... </prov:location> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="Entity">
<xs:sequence>
<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:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Element: activity

Name activity
Type prov:Activity
Nillable no
Abstract no
XML Instance Representation
<prov:activity
prov:id="[0..1]">
<prov:startTime> xs:dateTime </prov:startTime> [0..1]
<prov:endTime> xs:dateTime </prov:endTime> [0..1]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
<prov:location> ... </prov:location> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</prov:activity>
Schema Component Representation
<xs:element name="activity" type="prov:Activity"/>
top

Complex Type: Activity

Parent type: None
Direct sub-types: None
Name Activity
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:startTime> xs:dateTime </prov:startTime> [0..1]
<prov:endTime> xs:dateTime </prov:endTime> [0..1]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
<prov:location> ... </prov:location> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="Activity">
<xs:sequence>
<xs:element name="startTime" type="xs:dateTime" minOccurs="0"/>
<xs:element name="endTime" type="xs:dateTime" minOccurs="0"/>
<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:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: Used

Parent type: None
Direct sub-types: None
Name Used
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:time> xs:dateTime </prov:time> [0..1]
<prov:activity> prov:ActivityRef </prov:activity> [1]
<prov:entity> prov:EntityRef </prov:entity> [1]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
<prov:location> ... </prov:location> [0..*]
<prov:role> ... </prov:role> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="Used">
<xs:sequence>
<xs:element name="time" type="xs:dateTime" minOccurs="0"/>
<xs:element name="activity" type="prov:ActivityRef"/>
<xs:element name="entity" type="prov:EntityRef"/>
<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:role" minOccurs="0" maxOccurs="unbounded"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: WasGeneratedBy

Parent type: None
Direct sub-types: None
Name WasGeneratedBy
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:time> xs:dateTime </prov:time> [0..1]
<prov:entity> prov:EntityRef </prov:entity> [1]
<prov:activity> prov:ActivityRef </prov:activity> [0..1]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
<prov:location> ... </prov:location> [0..*]
<prov:role> ... </prov:role> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="WasGeneratedBy">
<xs:sequence>
<xs:element name="time" type="xs:dateTime" minOccurs="0"/>
<xs:element name="entity" type="prov:EntityRef"/>
<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:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: WasStartedBy

Parent type: None
Direct sub-types: None
Name WasStartedBy
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:time> xs:dateTime </prov:time> [0..1]
<prov:activity> prov:ActivityRef </prov:activity> [1]
<prov:trigger> prov:EntityRef </prov:trigger> [0..1]
<prov:starter> prov:ActivityRef </prov:starter> [0..1]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
<prov:location> ... </prov:location> [0..*]
<prov:role> ... </prov:role> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="WasStartedBy">
<xs:sequence>
<xs:element name="time" type="xs:dateTime" minOccurs="0"/>
<xs:element name="activity" type="prov:ActivityRef"/>
<xs:element name="trigger" type="prov:EntityRef" minOccurs="0"/>
<xs:element name="starter" type="prov:ActivityRef" minOccurs="0"/>
<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:role" minOccurs="0" maxOccurs="unbounded"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: WasEndedBy

Parent type: None
Direct sub-types: None
Name WasEndedBy
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:time> xs:dateTime </prov:time> [0..1]
<prov:activity> prov:ActivityRef </prov:activity> [1]
<prov:trigger> prov:EntityRef </prov:trigger> [0..1]
<prov:ender> prov:ActivityRef </prov:ender> [0..1]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
<prov:location> ... </prov:location> [0..*]
<prov:role> ... </prov:role> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="WasEndedBy">
<xs:sequence>
<xs:element name="time" type="xs:dateTime" minOccurs="0"/>
<xs:element name="activity" type="prov:ActivityRef"/>
<xs:element name="trigger" type="prov:EntityRef" minOccurs="0"/>
<xs:element name="ender" type="prov:ActivityRef" minOccurs="0"/>
<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:role" minOccurs="0" maxOccurs="unbounded"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: WasInvalidatedBy

Parent type: None
Direct sub-types: None
Name WasInvalidatedBy
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:time> xs:dateTime </prov:time> [0..1]
<prov:entity> prov:EntityRef </prov:entity> [1]
<prov:activity> prov:ActivityRef </prov:activity> [0..1]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
<prov:location> ... </prov:location> [0..*]
<prov:role> ... </prov:role> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="WasInvalidatedBy">
<xs:sequence>
<xs:element name="time" type="xs:dateTime" minOccurs="0"/>
<xs:element name="entity" type="prov:EntityRef"/>
<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:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: WasInformedBy

Parent type: None
Direct sub-types: None
Name WasInformedBy
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:time> xs:dateTime </prov:time> [0..1]
<prov:effect> prov:ActivityRef </prov:effect> [1]
<prov:cause> prov:ActivityRef </prov:cause> [1]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="WasInformedBy">
<xs:sequence>
<xs:element name="time" type="xs:dateTime" minOccurs="0"/>
<xs:element name="effect" type="prov:ActivityRef"/>
<xs:element name="cause" type="prov:ActivityRef"/>
<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"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: WasDerivedFrom

Parent type: None
Direct sub-types: None
Name WasDerivedFrom
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:generation> prov:DependencyRef </prov:generation> [0..1]
<prov:usage> prov:DependencyRef </prov:usage> [0..1]
<prov:activity> prov:ActivityRef </prov:activity> [0..1]
<prov:generatedEntity> prov:EntityRef </prov:generatedEntity> [1]
<prov:usedEntity> prov:EntityRef </prov:usedEntity> [1]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="WasDerivedFrom">
<xs:sequence>
<xs:element name="generation" type="prov:DependencyRef" minOccurs="0"/>
<xs:element name="usage" type="prov:DependencyRef" minOccurs="0"/>
<xs:element name="activity" type="prov:ActivityRef" minOccurs="0"/>
<xs:element name="generatedEntity" type="prov:EntityRef"/>
<xs:element name="usedEntity" type="prov:EntityRef"/>
<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"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: WasRevisionOf

Parent type: None
Direct sub-types: None
Name WasRevisionOf
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:generation> prov:DependencyRef </prov:generation> [0..1]
<prov:usage> prov:DependencyRef </prov:usage> [0..1]
<prov:activity> prov:ActivityRef </prov:activity> [0..1]
<prov:newer> prov:EntityRef </prov:newer> [1]
<prov:older> prov:EntityRef </prov:older> [1]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="WasRevisionOf">
<xs:sequence>
<xs:element name="generation" type="prov:DependencyRef" minOccurs="0"/>
<xs:element name="usage" type="prov:DependencyRef" minOccurs="0"/>
<xs:element name="activity" type="prov:ActivityRef" minOccurs="0"/>
<xs:element name="newer" type="prov:EntityRef"/>
<xs:element name="older" type="prov:EntityRef"/>
<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"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: WasQuotedFrom

Parent type: None
Direct sub-types: None
Name WasQuotedFrom
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:generation> prov:DependencyRef </prov:generation> [0..1]
<prov:usage> prov:DependencyRef </prov:usage> [0..1]
<prov:activity> prov:ActivityRef </prov:activity> [0..1]
<prov:quote> prov:EntityRef </prov:quote> [1]
<prov:original> prov:EntityRef </prov:original> [1]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="WasQuotedFrom">
<xs:sequence>
<xs:element name="generation" type="prov:DependencyRef" minOccurs="0"/>
<xs:element name="usage" type="prov:DependencyRef" minOccurs="0"/>
<xs:element name="activity" type="prov:ActivityRef" minOccurs="0"/>
<xs:element name="quote" type="prov:EntityRef"/>
<xs:element name="original" type="prov:EntityRef"/>
<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"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: HadPrimarySource

Parent type: None
Direct sub-types: None
Name HadPrimarySource
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:generation> prov:DependencyRef </prov:generation> [0..1]
<prov:usage> prov:DependencyRef </prov:usage> [0..1]
<prov:activity> prov:ActivityRef </prov:activity> [0..1]
<prov:derived> prov:EntityRef </prov:derived> [1]
<prov:source> prov:EntityRef </prov:source> [1]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="HadPrimarySource">
<xs:sequence>
<xs:element name="generation" type="prov:DependencyRef" minOccurs="0"/>
<xs:element name="usage" type="prov:DependencyRef" minOccurs="0"/>
<xs:element name="activity" type="prov:ActivityRef" minOccurs="0"/>
<xs:element name="derived" type="prov:EntityRef"/>
<xs:element name="source" type="prov:EntityRef"/>
<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"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Element: agent

Name agent
Type prov:Agent
Nillable no
Abstract no
XML Instance Representation
<prov:agent
prov:id="[0..1]">
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</prov:agent>
Schema Component Representation
<xs:element name="agent" type="prov:Agent"/>
top

Complex Type: Agent

Parent type: None
Direct sub-types: None
Name Agent
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="Agent">
<xs:sequence>
<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"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: WasAssociatedWith

Parent type: None
Direct sub-types: None
Name WasAssociatedWith
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:activity> prov:ActivityRef </prov:activity> [1]
<prov:agent> prov:AgentRef </prov:agent> [1]
<prov:plan> prov:EntityRef </prov:plan> [0..1]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
<prov:role> ... </prov:role> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="WasAssociatedWith">
<xs:sequence>
<xs:element name="activity" type="prov:ActivityRef"/>
<xs:element name="agent" type="prov:AgentRef"/>
<xs:element name="plan" type="prov:EntityRef" minOccurs="0"/>
<xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: WasAttributedTo

Parent type: None
Direct sub-types: None
Name WasAttributedTo
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:entity> prov:EntityRef </prov:entity> [1]
<prov:agent> prov:AgentRef </prov:agent> [1]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="WasAttributedTo">
<xs:sequence>
<xs:element name="entity" type="prov:EntityRef"/>
<xs:element name="agent" type="prov:AgentRef"/>
<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"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: ActedOnBehalfOf

Parent type: None
Direct sub-types: None
Name ActedOnBehalfOf
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:subordinate> prov:AgentRef </prov:subordinate> [1]
<prov:responsible> prov:AgentRef </prov:responsible> [1]
<prov:activity> prov:ActivityRef </prov:activity> [1]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="ActedOnBehalfOf">
<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 ref="prov:label" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: WasInfluencedBy

Parent type: None
Direct sub-types: None
Name WasInfluencedBy
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:influencee> prov:AnyRef </prov:influencee> [1]
<prov:influencer> prov:AnyRef </prov:influencer> [1]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="WasInfluencedBy">
<xs:sequence>
<xs:element name="influencee" type="prov:AnyRef"/>
<xs:element name="influencer" type="prov:AnyRef"/>
<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"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: AlternateOf

Parent type: None
Direct sub-types: None
Name AlternateOf
Abstract no
XML Instance Representation
<...>
<prov:entity2> prov:EntityRef </prov:entity2> [1]
<prov:entity1> prov:EntityRef </prov:entity1> [1]
</...>
Schema Component Representation
<xs:complexType name="AlternateOf">
<xs:sequence>
<xs:element name="entity2" type="prov:EntityRef"/>
<xs:element name="entity1" type="prov:EntityRef"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: SpecializationOf

Parent type: None
Direct sub-types: None
Name SpecializationOf
Abstract no
XML Instance Representation
<...>
<prov:specializedEntity> prov:EntityRef </prov:specializedEntity> [1]
<prov:generalEntity> prov:EntityRef </prov:generalEntity> [1]
</...>
Schema Component Representation
<xs:complexType name="SpecializationOf">
<xs:sequence>
<xs:element name="specializedEntity" type="prov:EntityRef"/>
<xs:element name="generalEntity" type="prov:EntityRef"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: MentionOf

Parent type: None
Direct sub-types: None
Name MentionOf
Abstract no
XML Instance Representation
<...>
<prov:specializedEntity> prov:EntityRef </prov:specializedEntity> [1]
<prov:generalEntity> prov:EntityRef </prov:generalEntity> [1]
<prov:bundle> prov:EntityRef </prov:bundle> [1]
</...>
Schema Component Representation
<xs:complexType name="MentionOf">
<xs:sequence>
<xs:element name="specializedEntity" type="prov:EntityRef"/>
<xs:element name="generalEntity" type="prov:EntityRef"/>
<xs:element name="bundle" type="prov:EntityRef" minOccurs="1"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: DerivedByInsertionFrom

Parent type: None
Direct sub-types: None
Name DerivedByInsertionFrom
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:after> prov:EntityRef </prov:after> [1]
<prov:before> prov:EntityRef </prov:before> [1]
<prov:entry> prov:Entry </prov:entry> [1..*]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="DerivedByInsertionFrom">
<xs:sequence>
<xs:element name="after" type="prov:EntityRef"/>
<xs:element name="before" type="prov:EntityRef"/>
<xs:element name="entry" type="prov:Entry" 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"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: DerivedByRemovalFrom

Parent type: None
Direct sub-types: None
Name DerivedByRemovalFrom
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:after> prov:EntityRef </prov:after> [1]
<prov:before> prov:EntityRef </prov:before> [1]
<prov:key> xs:anySimpleType </prov:key> [1..*]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="DerivedByRemovalFrom">
<xs:sequence>
<xs:element name="after" type="prov:EntityRef"/>
<xs:element name="before" type="prov:EntityRef"/>
<xs:element name="key" type="xs:anySimpleType" 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"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: CollectionMemberOf

Parent type: None
Direct sub-types: None
Name CollectionMemberOf
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:entity> prov:EntityRef </prov:entity> [1]
<prov:complete> xs:boolean </prov:complete> [1]
<prov:member> prov:Entity </prov:member> [1..*]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<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 ref="prov:label" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Complex Type: DictionaryMemberOf

Parent type: None
Direct sub-types: None
Name DictionaryMemberOf
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:entity> prov:EntityRef </prov:entity> [1]
<prov:complete> xs:boolean </prov:complete> [1]
<prov:entry> prov:Entry </prov:entry> [1..*]
<prov:label> ... </prov:label> [0..*]
<prov:type> ... </prov:type> [0..*]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="DictionaryMemberOf">
<xs:sequence>
<xs:element name="entity" type="prov:EntityRef"/>
<xs:element name="complete" type="xs:boolean"/>
<xs:element name="entry" type="prov:Entry" 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"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Element: key

Name key
Type xs:anySimpleType
Nillable no
Abstract no
XML Instance Representation
<prov:key> xs:anySimpleType </prov:key>
Schema Component Representation
<xs:element name="key" type="xs:anySimpleType"/>
top

Complex Type: Entry

Parent type: None
Direct sub-types: None
Name Entry
Abstract no
XML Instance Representation
<...>
<prov:key> ... </prov:key> [1]
<prov:entity> prov:EntityRef </prov:entity> [1]
</...>
Schema Component Representation
<xs:complexType name="Entry">
<xs:sequence>
<xs:element ref="prov:key" minOccurs="1" maxOccurs="1"/>
<xs:element name="entity" type="prov:EntityRef" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: InternationalizedString

Parent type: xs:string (derivation method: extension)
Direct sub-types: None
Name InternationalizedString
Abstract no
XML Instance Representation
<...
xml:lang="[0..1]">
xs:string
</...>
Schema Component Representation
<xs:complexType name="InternationalizedString">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute ref="xml:lang" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
top

Element: label

Name label
Type prov:InternationalizedString
Nillable no
Abstract no
XML Instance Representation
<prov:label
xml:lang="[0..1]">
xs:string
</prov:label>
Schema Component Representation
<xs:element name="label" type="prov:InternationalizedString"/>
top

Element: role

Name role
Type xs:anySimpleType
Nillable no
Abstract no
XML Instance Representation
<prov:role> xs:anySimpleType </prov:role>
Schema Component Representation
<xs:element name="role" type="xs:anySimpleType"/>
top

Element: type

Name type
Type xs:anySimpleType
Nillable no
Abstract no
XML Instance Representation
<prov:type> xs:anySimpleType </prov:type>
Schema Component Representation
<xs:element name="type" type="xs:anySimpleType"/>
top

Element: location

Name location
Type xs:anySimpleType
Nillable no
Abstract no
XML Instance Representation
<prov:location> xs:anySimpleType </prov:location>
Schema Component Representation
<xs:element name="location" type="xs:anySimpleType"/>
top

Element: value

Name value
Type xs:anySimpleType
Nillable no
Abstract no
XML Instance Representation
<prov:value> xs:anySimpleType </prov:value>
Schema Component Representation
<xs:element name="value" type="xs:anySimpleType"/>
top

Attribute: id

Name id
Type xs:QName
XML Instance Representation
prov:id="xs:QName"
Schema Component Representation
<xs:attribute name="id" type="xs:QName"/>
top

Attribute: ref

Name ref
Type xs:QName
XML Instance Representation
prov:ref="xs:QName"
Schema Component Representation
<xs:attribute name="ref" type="xs:QName"/>
top

Complex Type: ActivityRef

Parent type: None
Direct sub-types: None
Name ActivityRef
Abstract no
XML Instance Representation
<...
prov:ref="[0..1]"/>
Schema Component Representation
<xs:complexType name="ActivityRef">
<xs:attribute ref="prov:ref"/>
</xs:complexType>
top

Complex Type: EntityRef

Parent type: None
Direct sub-types: None
Name EntityRef
Abstract no
XML Instance Representation
<...
prov:ref="[0..1]"/>
Schema Component Representation
<xs:complexType name="EntityRef">
<xs:attribute ref="prov:ref"/>
</xs:complexType>
top

Complex Type: AgentRef

Parent type: None
Direct sub-types: None
Name AgentRef
Abstract no
XML Instance Representation
<...
prov:ref="[0..1]"/>
Schema Component Representation
<xs:complexType name="AgentRef">
<xs:attribute ref="prov:ref"/>
</xs:complexType>
top

Complex Type: DependencyRef

Parent type: None
Direct sub-types: None
Name DependencyRef
Abstract no
XML Instance Representation
<...
prov:ref="[0..1]"/>
Schema Component Representation
<xs:complexType name="DependencyRef">
<xs:attribute ref="prov:ref"/>
</xs:complexType>
top

Complex Type: AnyRef

Parent type: None
Direct sub-types: None
Name AnyRef
Abstract no
XML Instance Representation
<...
prov:ref="[0..1]"/>
Schema Component Representation
<xs:complexType name="AnyRef">
<xs:attribute ref="prov:ref"/>
</xs:complexType>
top

Complex Type: Dependencies

Parent type: None
Direct sub-types: None
Name Dependencies
Abstract no
XML Instance Representation
<...>
Start Choice [0..*]
<prov:used> prov:Used </prov:used> [1]
<prov:wasGeneratedBy> prov:WasGeneratedBy </prov:wasGeneratedBy> [1]
<prov:wasStartedBy> prov:WasStartedBy </prov:wasStartedBy> [1]
<prov:wasEndedBy> prov:WasEndedBy </prov:wasEndedBy> [1]
<prov:wasInvalidatedBy> prov:WasInvalidatedBy </prov:wasInvalidatedBy> [1]
<prov:wasInformedBy> prov:WasInformedBy </prov:wasInformedBy> [1]
<prov:wasDerivedFrom> prov:WasDerivedFrom </prov:wasDerivedFrom> [1]
<prov:wasRevisionOf> prov:WasRevisionOf </prov:wasRevisionOf> [1]
<prov:wasQuotedFrom> prov:WasQuotedFrom </prov:wasQuotedFrom> [1]
<prov:hadPrimarySource> prov:HadPrimarySource </prov:hadPrimarySource> [1]
<prov:wasAttributedTo> prov:WasAttributedTo </prov:wasAttributedTo> [1]
<prov:wasAssociatedWith> prov:WasAssociatedWith </prov:wasAssociatedWith> [1]
<prov:actedOnBehalfOf> prov:ActedOnBehalfOf </prov:actedOnBehalfOf> [1]
<prov:wasInfluencedBy> prov:WasInfluencedBy </prov:wasInfluencedBy> [1]
<prov:alternateOf> prov:AlternateOf </prov:alternateOf> [1]
<prov:specializationOf> prov:SpecializationOf </prov:specializationOf> [1]
<prov:mentionOf> prov:MentionOf </prov:mentionOf> [1]
<prov:derivedByInsertionFrom> prov:DerivedByInsertionFrom </prov:derivedByInsertionFrom> [1]
<prov:derivedByRemovalFrom> prov:DerivedByRemovalFrom </prov:derivedByRemovalFrom> [1]
<prov:collectionMemberOf> prov:CollectionMemberOf </prov:collectionMemberOf> [1]
<prov:dictionaryMemberOf> prov:DictionaryMemberOf </prov:dictionaryMemberOf> [1]
End Choice
</...>
Schema Component Representation
<xs:complexType name="Dependencies">
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="used" type="prov:Used"/>
<xs:element name="wasGeneratedBy" type="prov:WasGeneratedBy"/>
<xs:element name="wasStartedBy" type="prov:WasStartedBy"/>
<xs:element name="wasEndedBy" type="prov:WasEndedBy"/>
<xs:element name="wasInvalidatedBy" type="prov:WasInvalidatedBy"/>
<xs:element name="wasInformedBy" type="prov:WasInformedBy"/>
<xs:element name="wasDerivedFrom" type="prov:WasDerivedFrom"/>
<xs:element name="wasRevisionOf" type="prov:WasRevisionOf"/>
<xs:element name="wasQuotedFrom" type="prov:WasQuotedFrom"/>
<xs:element name="hadPrimarySource" type="prov:HadPrimarySource"/>
<xs:element name="wasAttributedTo" type="prov:WasAttributedTo"/>
<xs:element name="wasAssociatedWith" type="prov:WasAssociatedWith"/>
<xs:element name="actedOnBehalfOf" type="prov:ActedOnBehalfOf"/>
<xs:element name="wasInfluencedBy" type="prov:WasInfluencedBy"/>
<xs:element name="alternateOf" type="prov:AlternateOf"/>
<xs:element name="specializationOf" type="prov:SpecializationOf"/>
<xs:element name="mentionOf" type="prov:MentionOf"/>
<xs:element name="derivedByInsertionFrom" type="prov:DerivedByInsertionFrom"/>
<xs:element name="derivedByRemovalFrom" type="prov:DerivedByRemovalFrom"/>
<xs:element name="collectionMemberOf" type="prov:CollectionMemberOf"/>
<xs:element name="dictionaryMemberOf" type="prov:DictionaryMemberOf"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
top

Element: bundle

Name bundle
Type prov:Bundle
Nillable no
Abstract no
Documentation A set of assertions about the provenance of things
XML Instance Representation
<prov:bundle>
<prov:records> ... </prov:records> [1]
<prov:bundle> prov:NamedBundle </prov:bundle> [0..*]
</prov:bundle>
Schema Component Representation
<xs:element name="bundle" type="prov:Bundle"/>
top

Element: records

Name records
Type prov:Records
Nillable no
Abstract no
XML Instance Representation
<prov:records>
<prov:activity> ... </prov:activity> [0..*]
<prov:entity> ... </prov:entity> [0..*]
<prov:agent> ... </prov:agent> [0..*]
<prov:dependencies> prov:Dependencies </prov:dependencies> [0..1]
</prov:records>
Schema Component Representation
<xs:element name="records" type="prov:Records"/>
top

Complex Type: Records

Parent type: None
Direct sub-types: None
Name Records
Abstract no
XML Instance Representation
<...>
<prov:activity> ... </prov:activity> [0..*]
<prov:entity> ... </prov:entity> [0..*]
<prov:agent> ... </prov:agent> [0..*]
<prov:dependencies> prov:Dependencies </prov:dependencies> [0..1]
</...>
Schema Component Representation
<xs:complexType name="Records">
<xs:sequence>
<xs:element ref="prov:activity" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="prov:entity" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="prov:agent" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="dependencies" type="prov:Dependencies" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: Bundle

Parent type: None
Direct sub-types: None
Name Bundle
Abstract no
XML Instance Representation
<...>
<prov:records> ... </prov:records> [1]
<prov:bundle> prov:NamedBundle </prov:bundle> [0..*]
</...>
Schema Component Representation
<xs:complexType name="Bundle">
<xs:sequence>
<xs:element ref="prov:records" minOccurs="1" maxOccurs="1"/>
<xs:element name="bundle" type="prov:NamedBundle" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: NamedBundle

Parent type: None
Direct sub-types: None
Name NamedBundle
Abstract no
XML Instance Representation
<...
prov:id="[0..1]">
<prov:records> ... </prov:records> [1]
</...>
Schema Component Representation
<xs:complexType name="NamedBundle">
<xs:sequence>
<xs:element ref="prov:records" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute ref="prov:id"/>
</xs:complexType>
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Parent type: Address (derivation method: extension)
Direct sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
Name AusAddress
Abstract no
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia">
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice[1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1]?
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<complexTypename="AusAddress">
<complexContent>
<extensionbase="Address">
<sequence>
<elementname="state" type="AusStates"/>
<elementname="postcode">
<simpleType>
<restrictionbase="string">
<patternvalue="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attributename="country" type="string" fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

top