Drupal modules for browsing and managing Fedora-based digital repositories.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

45 lines
1.8 KiB

<xsd:schema xmlns="http://www.islandora.ca" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.islandora.ca" elementFormDefault="qualified" >
<xsd:annotation>
<xsd:documentation xml:lang="en">
Islandora Workflow Schema
</xsd:documentation>
</xsd:annotation>
<xsd:element name="workflow" type="workflowType"/>
<xsd:complexType name="workflowType">
<xsd:sequence>
<xsd:element name="process" type="processType" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="processType">
<xsd:sequence>
<xsd:element name="message" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="prereq" type="xsd:normalizedString" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="dependant" type="xsd:normalizedString" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="parameters" type="parametersType" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:normalizedString" use="required"/>
<xsd:attribute name="name" type="xsd:normalizedString" use="required"/>
<xsd:attribute name="state" type="xsd:normalizedString" use="required"/>
<xsd:attribute name="attempts" type="xsd:positiveInteger"/>
<xsd:attribute name="timestamp" type="xsd:dateTime"/>
</xsd:complexType>
<xsd:complexType name="parametersType">
<xsd:sequence>
<xsd:element name="parameter" type="parameterType" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="parameterType">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="name" type="xsd:normalizedString" use="required"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:schema>