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

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 93 for Xml/Working/ome.xsd

Show
Ignore:
Timestamp:
09/19/07 13:52:48 (14 months ago)
Author:
andrew
Message:

Applied Version 2 - September 2007 changes to schema and improved Tiff chacks in validator

Location:
Xml/Working
Files:
2 modified

  • . (modified) (1 prop)
  • ome.xsd (modified) (8 diffs)

Legend:

Unmodified
Added
Removed
  • Xml/Working

    • Property svn:ignore
      •  

        old new  
        11.DS_Store 
        22Working Project.tmproj 
         3ClareQuestions.xml 
  • Xml/Working/ome.xsd

    r73 r93  
    2424        xmlns:CA="http://www.openmicroscopy.org/Schemas/CA/2007-06"  
    2525        xmlns:SPW="http://www.openmicroscopy.org/Schemas/SPW/2007-06"  
    26         version="1"  
     26        version="2"  
    2727        elementFormDefault="qualified"> 
    2828        <xsd:import namespace="http://www.openmicroscopy.org/Schemas/AnalysisModule/2007-06" schemaLocation="http://www.openmicroscopy.org/Schemas/AnalysisModule/2007-06/AnalysisModule.xsd"/> 
    … …  
    3434                <xsd:documentation> 
    3535                        Open Microscopy Environment 
    36                         OME XML Schema 2.0-RC1 
     36                        OME XML Schema June 2007 - Update Version 2 September 2007 
    3737                        Author:  Ilya G. Goldberg, Andrew J Patterson 
    3838                        Copyright 2002 - 2007 OME. All rights reserved. 
    … …  
    685685                        <xsd:sequence> 
    686686                                <xsd:element ref="Microscope"/> 
    687                                 <xsd:element ref="LightSource" maxOccurs="unbounded"/> 
    688                                 <xsd:element ref="Detector" maxOccurs="unbounded"/> 
    689                                 <xsd:element ref="Objective" maxOccurs="unbounded"/> 
     687                                <xsd:element ref="LightSource" minOccurs="0" maxOccurs="unbounded"/> 
     688                                <xsd:element ref="Detector" minOccurs="0" maxOccurs="unbounded"/> 
     689                                <xsd:element ref="Objective" minOccurs="0" maxOccurs="unbounded"/> 
    690690                                <xsd:element ref="FilterSet" minOccurs="0" maxOccurs="unbounded"/> 
    691691                                <xsd:element ref="Filter" minOccurs="0" maxOccurs="unbounded"/> 
    692692                                <xsd:element ref="Dichroic" minOccurs="0" maxOccurs="unbounded"/> 
    693                                 <xsd:element ref="OTF" maxOccurs="unbounded"/> 
     693                                <xsd:element ref="OTF" minOccurs="0" maxOccurs="unbounded"/> 
    694694                        </xsd:sequence> 
    695695                        <xsd:attribute name="ID" use="required" type="InstrumentID"/> 
    … …  
    709709                </xsd:complexType> 
    710710        </xsd:element> 
    711         <xsd:element name="Experimenter" type="ExperimenterType"> 
     711        <xsd:element name="Experimenter"> 
    712712                <xsd:annotation> 
    713713                        <xsd:documentation> 
    … …  
    715715                                This person may also be a user of the OME system, in which case the OMEName element contains their login name. 
    716716                                Experimenters may belong to one or more groups which are specified using one or more GroupRef elements. 
    717                         </xsd:documentation> 
    718                 </xsd:annotation> 
     717                                Note while FirstName, LastName, Email and OMEName are all optional to be valid an Experimenter must have AT LEAST ONE present 
     718                        </xsd:documentation> 
     719                </xsd:annotation> 
     720                <xsd:complexType> 
     721                        <xsd:sequence> 
     722                                <xsd:choice> 
     723                                        <xsd:annotation> 
     724                                                <xsd:documentation> 
     725                                                        At lease one of (FirstName, LastName, Email, OMEName) 
     726                                                </xsd:documentation> 
     727                                        </xsd:annotation> 
     728                                        <xsd:sequence> 
     729                                                <xsd:element ref="FirstName"/> 
     730                                                <xsd:element ref="LastName" minOccurs="0"/> 
     731                                                <xsd:element ref="Email" minOccurs="0"/> 
     732                                                <xsd:element ref="Institution" minOccurs="0"/> 
     733                                                <xsd:element ref="OMEName" minOccurs="0"/> 
     734                                        </xsd:sequence> 
     735                                        <xsd:sequence> 
     736                                                <xsd:element ref="LastName"/> 
     737                                                <xsd:element ref="Email" minOccurs="0"/> 
     738                                                <xsd:element ref="Institution" minOccurs="0"/> 
     739                                                <xsd:element ref="OMEName" minOccurs="0"/> 
     740                                        </xsd:sequence> 
     741                                        <xsd:sequence> 
     742                                                <xsd:element ref="Email"/> 
     743                                                <xsd:element ref="Institution" minOccurs="0"/> 
     744                                                <xsd:element ref="OMEName" minOccurs="0"/> 
     745                                        </xsd:sequence> 
     746                                        <xsd:sequence> 
     747                                                <xsd:element ref="Institution" minOccurs="0"/> 
     748                                                <xsd:element ref="OMEName"/> 
     749                                        </xsd:sequence> 
     750                                </xsd:choice> 
     751                                <xsd:element ref="GroupRef" minOccurs="0" maxOccurs="unbounded"/> 
     752                        </xsd:sequence> 
     753                        <xsd:attribute name="ID" use="required" type="ExperimenterID"/> 
     754                </xsd:complexType> 
    719755        </xsd:element> 
    720756        <xsd:element name="OMEName" type="xsd:string"> 
    … …  
    11121148                </xsd:annotation> 
    11131149                <xsd:restriction base="xsd:string"> 
    1114                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:\S+:\S+)|(\S+:\S+)"/> 
     1150                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:\S+:\S+)|(\S+:\S+)"/> 
    11151151                </xsd:restriction> 
    11161152        </xsd:simpleType> 
    11171153        <xsd:simpleType name="ProjectID"> 
    11181154                <xsd:restriction base="LSID"> 
    1119                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:Project:\S+)|(Project:\S+)"/> 
     1155                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:Project:\S+)|(Project:\S+)"/> 
    11201156                </xsd:restriction> 
    11211157        </xsd:simpleType> 
    11221158        <xsd:simpleType name="DatasetID"> 
    11231159                <xsd:restriction base="LSID"> 
    1124                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:Dataset:\S+)|(Dataset:\S+)"/> 
     1160                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:Dataset:\S+)|(Dataset:\S+)"/> 
    11251161                </xsd:restriction> 
    11261162        </xsd:simpleType> 
    11271163        <xsd:simpleType name="ImageID"> 
    11281164                <xsd:restriction base="LSID"> 
    1129                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:Image:\S+)|(Image:\S+)"/> 
     1165                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:Image:\S+)|(Image:\S+)"/> 
    11301166                </xsd:restriction> 
    11311167        </xsd:simpleType> 
    11321168        <xsd:simpleType name="RegionID"> 
    11331169                <xsd:restriction base="LSID"> 
    1134                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:Region:\S+)|(Region:\S+)"/> 
     1170                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:Region:\S+)|(Region:\S+)"/> 
    11351171                </xsd:restriction> 
    11361172        </xsd:simpleType> 
    11371173        <xsd:simpleType name="ExperimenterID"> 
    11381174                <xsd:restriction base="LSID"> 
    1139                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:Experimenter:\S+)|(Experimenter:\S+)"/> 
     1175                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:Experimenter:\S+)|(Experimenter:\S+)"/> 
    11401176                </xsd:restriction> 
    11411177        </xsd:simpleType> 
    11421178        <xsd:simpleType name="GroupID"> 
    11431179                <xsd:restriction base="LSID"> 
    1144                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:Group:\S+)|(Group:\S+)"/> 
     1180                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:Group:\S+)|(Group:\S+)"/> 
    11451181                </xsd:restriction> 
    11461182        </xsd:simpleType> 
    11471183        <xsd:simpleType name="ExperimentID"> 
    11481184                <xsd:restriction base="LSID"> 
    1149                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:Experiment:\S+)|(Experiment:\S+)"/> 
     1185                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:Experiment:\S+)|(Experiment:\S+)"/> 
    11501186                </xsd:restriction> 
    11511187        </xsd:simpleType> 
    11521188        <xsd:simpleType name="MicrobeamManipulationID"> 
    11531189                <xsd:restriction base="LSID"> 
    1154                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:MicrobeamManipulation:\S+)|(MicrobeamManipulation:\S+)"/> 
     1190                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:MicrobeamManipulation:\S+)|(MicrobeamManipulation:\S+)"/> 
    11551191                </xsd:restriction> 
    11561192        </xsd:simpleType> 
    11571193        <xsd:simpleType name="ROIID"> 
    11581194                <xsd:restriction base="LSID"> 
    1159                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:ROI:\S+)|(ROI:\S+)"/> 
     1195                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:ROI:\S+)|(ROI:\S+)"/> 
    11601196                </xsd:restriction> 
    11611197        </xsd:simpleType> 
    11621198        <xsd:simpleType name="InstrumentID"> 
    11631199                <xsd:restriction base="LSID"> 
    1164                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:Instrument:\S+)|(Instrument:\S+)"/> 
     1200                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:Instrument:\S+)|(Instrument:\S+)"/> 
    11651201                </xsd:restriction> 
    11661202        </xsd:simpleType> 
    11671203        <xsd:simpleType name="ObjectiveID"> 
    11681204                <xsd:restriction base="LSID"> 
    1169                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:Objective:\S+)|(Objective:\S+)"/> 
     1205                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:Objective:\S+)|(Objective:\S+)"/> 
    11701206                </xsd:restriction> 
    11711207        </xsd:simpleType> 
    11721208        <xsd:simpleType name="ObjectiveSettingsID"> 
    11731209                <xsd:restriction base="LSID"> 
    1174                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:ObjectiveSettings:\S+)|(ObjectiveSettings:\S+)"/> 
     1210                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:ObjectiveSettings:\S+)|(ObjectiveSettings:\S+)"/> 
    11751211                </xsd:restriction> 
    11761212        </xsd:simpleType> 
    11771213        <xsd:simpleType name="LightSourceID"> 
    11781214                <xsd:restriction base="LSID"> 
    1179                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:LightSource:\S+)|(LightSource:\S+)"/> 
     1215                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:LightSource:\S+)|(LightSource:\S+)"/> 
    11801216                </xsd:restriction> 
    11811217        </xsd:simpleType> 
    11821218        <xsd:simpleType name="DichroicID"> 
    11831219                <xsd:restriction base="LSID"> 
    1184                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:Dichroic:\S+)|(Dichroic:\S+)"/> 
     1220                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:Dichroic:\S+)|(Dichroic:\S+)"/> 
    11851221                </xsd:restriction> 
    11861222        </xsd:simpleType> 
    11871223        <xsd:simpleType name="FilterID"> 
    11881224                <xsd:restriction base="LSID"> 
    1189                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:Filter:\S+)|(Filter:\S+)"/> 
     1225                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:Filter:\S+)|(Filter:\S+)"/> 
    11901226                </xsd:restriction> 
    11911227        </xsd:simpleType> 
    11921228        <xsd:simpleType name="FilterSetID"> 
    11931229                <xsd:restriction base="LSID"> 
    1194                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:FilterSet:\S+)|(FilterSet:\S+)"/> 
     1230                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:FilterSet:\S+)|(FilterSet:\S+)"/> 
    11951231                </xsd:restriction> 
    11961232        </xsd:simpleType> 
    11971233        <xsd:simpleType name="OTFID"> 
    11981234                <xsd:restriction base="LSID"> 
    1199                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:OTF:\S+)|(OTF:\S+)"/> 
     1235                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:OTF:\S+)|(OTF:\S+)"/> 
    12001236                </xsd:restriction> 
    12011237        </xsd:simpleType> 
    12021238        <xsd:simpleType name="DetectorID"> 
    12031239                <xsd:restriction base="LSID"> 
    1204                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:Detector:\S+)|(Detector:\S+)"/> 
     1240                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:Detector:\S+)|(Detector:\S+)"/> 
    12051241                </xsd:restriction> 
    12061242        </xsd:simpleType> 
    12071243        <xsd:simpleType name="PixelsID"> 
    12081244                <xsd:restriction base="LSID"> 
    1209                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:Pixels:\S+)|(Pixels:\S+)"/> 
     1245                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:Pixels:\S+)|(Pixels:\S+)"/> 
    12101246                </xsd:restriction> 
    12111247        </xsd:simpleType> 
    12121248        <xsd:simpleType name="DisplayOptionsID"> 
    12131249                <xsd:restriction base="LSID"> 
    1214                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:DisplayOptions:\S+)|(DisplayOptions:\S+)"/> 
     1250                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:DisplayOptions:\S+)|(DisplayOptions:\S+)"/> 
    12151251                </xsd:restriction> 
    12161252        </xsd:simpleType> 
    12171253        <xsd:simpleType name="LogicalChannelID"> 
    12181254                <xsd:restriction base="LSID"> 
    1219                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:LogicalChannel:\S+)|(LogicalChannel:\S+)"/> 
     1255                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:LogicalChannel:\S+)|(LogicalChannel:\S+)"/> 
    12201256                </xsd:restriction> 
    12211257        </xsd:simpleType> 
    … …  
    12371273        <xsd:simpleType name="ModuleID"> 
    12381274                <xsd:restriction base="LSID"> 
    1239                         <xsd:pattern value="(urn:lsid:([\w-\.]+\.[\w-\.]+)+:Module:\S+)|(Module:\S+)"/> 
     1275                        <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:Module:\S+)|(Module:\S+)"/> 
    12401276                </xsd:restriction> 
    12411277        </xsd:simpleType> 
    … …  
    13001336                </xsd:complexType> 
    13011337        </xsd:element> 
    1302         <xsd:complexType name="ExperimenterType"> 
    1303                 <xsd:annotation> 
    1304                         <xsd:documentation> 
    1305                                 An element type to specify an Experimenter under OME. 
    1306                                 It consists of a Person element group and a login name specified under OMEName. 
    1307                         </xsd:documentation> 
    1308                 </xsd:annotation> 
    1309                 <xsd:sequence> 
    1310                         <xsd:element ref="FirstName"/> 
    1311                         <xsd:element ref="LastName"/> 
    1312                         <xsd:element ref="Email"/> 
    1313                         <xsd:element ref="Institution"/> 
    1314                         <xsd:element ref="OMEName" minOccurs="0"/> 
    1315                         <xsd:element ref="GroupRef" maxOccurs="unbounded"/> 
    1316                 </xsd:sequence> 
    1317                 <xsd:attribute name="ID" use="required" type="ExperimenterID"/> 
    1318         </xsd:complexType> 
    13191338        <xsd:element name="Contact"> 
    13201339                <xsd:annotation> 

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/