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

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 195 for Xml/Working/DataHistory.xsd

Show
Ignore:
Timestamp:
09/10/08 12:03:10 (4 months ago)
Author:
andrew
Message:

Version presented in meeting 10th Sept 2008

Files:
1 modified

  • Xml/Working/DataHistory.xsd (modified) (2 diffs)

Legend:

Unmodified
Added
Removed
  • Xml/Working/DataHistory.xsd

    r153 r195  
    1616        #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    1717--> 
    18 <schema xmlns = "http://www.w3.org/2001/XMLSchema" 
     18<xsd:schema 
    1919        targetNamespace = "http://openmicroscopy.com/Schemas/DataHistory/2008-02" 
    2020         xmlns:DH = "http://openmicroscopy.com/Schemas/DataHistory/2008-02" 
    … …  
    2323         version="1" 
    2424         elementFormDefault = "qualified"> 
    25         <import namespace = "http://www.openmicroscopy.org/Schemas/OME/2008-02" schemaLocation = "http://www.openmicroscopy.org/Schemas/OME/2008-02/ome.xsd"/> 
    26         <element name = "Input"> 
    27                 <annotation> 
    28                         <documentation>Identifies a set of attributes that satisfied a formal input.</documentation> 
    29                 </annotation> 
    30                 <complexType> 
    31                         <attribute name = "Name" use = "required" type = "string"> 
    32                                 <annotation> 
    33                                         <documentation>Formal Input name</documentation> 
    34                                 </annotation> 
    35                         </attribute> 
    36                         <attribute name = "ModuleExecutionID" type = "string"> 
    37                                 <annotation> 
    38                                         <documentation>References a module execution that produced the attribute set fed to this input.</documentation> 
    39                                 </annotation> 
    40                         </attribute> 
    41                 </complexType> 
    42         </element> 
    43         <element name = "Output"> 
    44                 <annotation> 
    45                         <documentation>Identifies a set of attributes that were generated by a formal output.</documentation> 
    46                 </annotation> 
    47                 <complexType> 
    48                         <sequence> 
    49                                 <element ref = "DH:AttributeRef" minOccurs = "0" maxOccurs = "unbounded"/> 
    50                         </sequence> 
    51                         <attribute name = "Name" use = "required" type = "string"> 
    52                                 <annotation> 
    53                                         <documentation>Formal Output Name</documentation> 
    54                                 </annotation> 
    55                         </attribute> 
    56                 </complexType> 
    57         </element> 
    58         <element name = "AttributeRef"> 
    59                 <annotation> 
    60                         <documentation>Reference to an attribute.</documentation> 
    61                 </annotation> 
    62                 <complexType> 
    63                         <attribute name = "ID" use = "required" type = "string"> 
    64                                 <annotation> 
    65                                         <documentation>References an attribute by LSID or id local to document.</documentation> 
    66                                 </annotation> 
    67                         </attribute> 
    68                 </complexType> 
    69         </element> 
    70         <element name = "ModuleExecution"> 
    71                 <annotation> 
    72                         <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. 
     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. 
    7373Non-deterministic modules may have only one ExecutionHistory per ModuleRun because their results are not guaranteed to be the same for identical inputs. 
    74                         </documentation> 
    75                 </annotation> 
    76                 <complexType> 
    77                         <sequence> 
    78                                 <element ref = "DH:ExecutionHistory"/> 
    79                                 <element ref = "DH:Input" minOccurs = "0" maxOccurs = "unbounded"/> 
    80                                 <element ref = "DH:Output" minOccurs = "0" maxOccurs = "unbounded"/> 
    81                         </sequence> 
    82                         <attribute name = "ID" use = "required" type = "string"/> 
    83                         <attribute name = "DatasetID" use = "required" type = "OME:DatasetID"> 
    84                                 <annotation> 
    85                                         <documentation>Dataset this was run against.</documentation> 
    86                                 </annotation> 
    87                         </attribute> 
    88                         <attribute name = "ModuleID" use = "required" type = "OME:ModuleID"> 
    89                                 <annotation> 
    90                                         <documentation>References a module by LSID</documentation> 
    91                                 </annotation> 
    92                         </attribute> 
    93                         <attribute name = "Dependence" use = "required"> 
    94                                 <annotation> 
    95                                         <documentation>Module Execution Dependence.</documentation> 
    96                                 </annotation> 
    97                                 <simpleType> 
    98                                         <restriction base = "string"> 
    99                                                 <enumeration value = "G"/> 
    100                                                 <enumeration value = "D"/> 
    101                                                 <enumeration value = "I"/> 
    102                                                 <enumeration value = "F"/> 
    103                                         </restriction> 
    104                                 </simpleType> 
    105                         </attribute> 
    106                 </complexType> 
    107         </element> 
    108         <element name = "ExecutionHistory"> 
    109                 <complexType> 
    110                         <attribute name = "RunTime" use = "required" type = "string"> 
    111                                 <annotation> 
    112                                         <documentation>How long the module took to run. </documentation> 
    113                                 </annotation> 
    114                         </attribute> 
    115                         <attribute name = "Timestamp" use = "required" type = "string"> 
    116                                 <annotation> 
    117                                         <documentation>When the module was executed.</documentation> 
    118                                 </annotation> 
    119                         </attribute> 
    120                         <attribute name = "Status" use = "required" type = "string"/> 
    121                         <attribute name = "ErrorMessage" type = "string"/> 
    122                         <attribute name = "AttributeCreateTime" type = "string"/> 
    123                         <attribute name = "AttributeSortTime" type = "string"/> 
    124                 </complexType> 
    125         </element> 
    126         <element name = "DataHistory"> 
    127                 <annotation> 
    128                         <documentation>Describes all known history of data.</documentation> 
    129                 </annotation> 
    130                 <complexType> 
    131                         <sequence> 
    132                                 <element ref = "DH:ModuleExecution" maxOccurs = "unbounded"/> 
    133                         </sequence> 
    134                 </complexType> 
    135         </element> 
    136 </schema> 
     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> 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

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