• Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • Last Change
  • Annotate
  • Revision Log

root/Xml/Working/DataHistory.xsd

Revision 195, 6.0 kB (checked in by andrew, 4 months ago)

Version presented in meeting 10th Sept 2008

Line 
1<?xml version = "1.0" encoding = "UTF-8"?>
2<!--
3        #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4        #
5        # Copyright (C) 2003-2008 Open Microscopy Environment
6        #       Massachusetts Institute of Technology,
7        #       National Institutes of Health,
8        #       University of Dundee,
9        #       University of Wisconsin at Madison
10        #
11        #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12-->
13<!--
14        #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15        # Written by: Ilya G. Goldberg, Josiah Johnston, Andrew J Patterson
16        #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17-->
18<xsd:schema
19        targetNamespace = "http://openmicroscopy.com/Schemas/DataHistory/2008-02"
20         xmlns:DH = "http://openmicroscopy.com/Schemas/DataHistory/2008-02"
21         xmlns:xsd = "http://www.w3.org/2001/XMLSchema"
22         xmlns:OME = "http://www.openmicroscopy.org/Schemas/OME/2008-02"
23         version="1"
24         elementFormDefault = "qualified">
25        <xsd:import namespace = "http://www.openmicroscopy.org/Schemas/OME/2008-02" schemaLocation = "http://www.openmicroscopy.org/Schemas/OME/2008-02/ome.xsd"/>
26        <xsd:element name = "Input"> <!-- top level definition -->
27                <xsd:annotation>
28                        <xsd:documentation>Identifies a set of attributes that satisfied a formal input.</xsd:documentation>
29                </xsd:annotation>
30                <xsd:complexType>
31                        <xsd:attribute name = "Name" use = "required" type = "xsd:string">
32                                <xsd:annotation>
33                                        <xsd:documentation>Formal Input name</xsd:documentation>
34                                </xsd:annotation>
35                        </xsd:attribute>
36                        <xsd:attribute name = "ModuleExecutionID" use="optional" type = "xsd:string">
37                                <xsd:annotation>
38                                        <xsd:documentation>References a module execution that produced the attribute set fed to this input.</xsd:documentation>
39                                </xsd:annotation>
40                        </xsd:attribute>
41                </xsd:complexType>
42        </xsd:element>
43        <xsd:element name = "Output"> <!-- top level definition -->
44                <xsd:annotation>
45                        <xsd:documentation>Identifies a set of attributes that were generated by a formal output.</xsd:documentation>
46                </xsd:annotation>
47                <xsd:complexType>
48                        <xsd:sequence>
49                                <xsd:element ref = "DH:AttributeRef" minOccurs = "0" maxOccurs = "unbounded"/>
50                        </xsd:sequence>
51                        <xsd:attribute name = "Name" use = "required" type = "xsd:string">
52                                <xsd:annotation>
53                                        <xsd:documentation>Formal Output Name</xsd:documentation>
54                                </xsd:annotation>
55                        </xsd:attribute>
56                </xsd:complexType>
57        </xsd:element>
58        <xsd:element name = "AttributeRef"> <!-- top level definition -->
59                <xsd:annotation>
60                        <xsd:documentation>Reference to an attribute.</xsd:documentation>
61                </xsd:annotation>
62                <xsd:complexType>
63                        <xsd:attribute name = "ID" use = "required" type = "xsd:string">
64                                <xsd:annotation>
65                                        <xsd:documentation>References an attribute by LSID or id local to document.</xsd:documentation>
66                                </xsd:annotation>
67                        </xsd:attribute>
68                </xsd:complexType>
69        </xsd:element>
70        <xsd:element name = "ModuleExecution"> <!-- top level definition -->
71                <xsd:annotation>
72                        <xsd:documentation>Describes the data dependency of a module run. ModuleRun is meant to describe the relationships a module run creates, not the specifics of its execution. A Module may in fact have been executed more than once. Isolating execution specifics from the relationship allows us to acknowledge that multiple executions occured without storing two copies of their identical output.
73Non-deterministic modules may have only one ExecutionHistory per ModuleRun because their results are not guaranteed to be the same for identical inputs.
74                        </xsd:documentation>
75                </xsd:annotation>
76                <xsd:complexType>
77                        <xsd:sequence>
78                                <xsd:element ref = "DH:ExecutionHistory" minOccurs="1" maxOccurs="1"/>
79                                <xsd:element ref = "DH:Input" minOccurs = "0" maxOccurs = "unbounded"/>
80                                <xsd:element ref = "DH:Output" minOccurs = "0" maxOccurs = "unbounded"/>
81                        </xsd:sequence>
82                        <xsd:attribute name = "ID" use = "required" type = "xsd:string"/>
83                        <xsd:attribute name = "DatasetID" use = "required" type = "OME:DatasetID">
84                                <xsd:annotation>
85                                        <xsd:documentation>Dataset this was run against.</xsd:documentation>
86                                </xsd:annotation>
87                        </xsd:attribute>
88                        <xsd:attribute name = "ModuleID" use = "required" type = "OME:ModuleID">
89                                <xsd:annotation>
90                                        <xsd:documentation>References a module by LSID</xsd:documentation>
91                                </xsd:annotation>
92                        </xsd:attribute>
93                        <xsd:attribute name = "Dependence" use = "required">
94                                <xsd:annotation>
95                                        <xsd:documentation>Module Execution Dependence.</xsd:documentation>
96                                </xsd:annotation>
97                                <xsd:simpleType>
98                                        <xsd:restriction base = "xsd:string">
99                                                <xsd:enumeration value = "G"/>
100                                                <xsd:enumeration value = "D"/>
101                                                <xsd:enumeration value = "I"/>
102                                                <xsd:enumeration value = "F"/>
103                                        </xsd:restriction>
104                                </xsd:simpleType>
105                        </xsd:attribute>
106                </xsd:complexType>
107        </xsd:element>
108        <xsd:element name = "ExecutionHistory"> <!-- top level definition -->
109                <xsd:complexType>
110                        <xsd:attribute name = "RunTime" use = "required" type = "xsd:string">
111                                <xsd:annotation>
112                                        <xsd:documentation>How long the module took to run. </xsd:documentation>
113                                </xsd:annotation>
114                        </xsd:attribute>
115                        <xsd:attribute name = "Timestamp" use = "required" type = "xsd:string">
116                                <xsd:annotation>
117                                        <xsd:documentation>When the module was executed.</xsd:documentation>
118                                </xsd:annotation>
119                        </xsd:attribute>
120                        <xsd:attribute name = "Status" use = "required" type = "xsd:string"/>
121                        <xsd:attribute name = "ErrorMessage" use="optional" type = "xsd:string"/>
122                        <xsd:attribute name = "AttributeCreateTime" use="optional" type = "xsd:string"/>
123                        <xsd:attribute name = "AttributeSortTime" use="optional" type = "xsd:string"/>
124                </xsd:complexType>
125        </xsd:element>
126        <xsd:element name = "DataHistory"> <!-- top level definition -->
127                <xsd:annotation>
128                        <xsd:documentation>Describes all known history of data.</xsd:documentation>
129                </xsd:annotation>
130                <xsd:complexType>
131                        <xsd:sequence>
132                                <xsd:element ref = "DH:ModuleExecution" minOccurs="1" maxOccurs = "unbounded"/>
133                        </xsd:sequence>
134                </xsd:complexType>
135        </xsd:element>
136</xsd:schema>
Note: See TracBrowser for help on using the browser.

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/