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

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 155 for Schemas/OME

Show
Ignore:
Timestamp:
02/27/08 14:49:21 (9 months ago)
Author:
andrew
Message:

Updated schema to second draft - Release Candidate.

Files:
1 modified

  • Schemas/OME/2008-02/ome.xsd (modified) (14 diffs)

Legend:

Unmodified
Added
Removed
  • Schemas/OME/2008-02/ome.xsd

    r146 r155  
    33        #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    44        # 
    5         # Copyright (C) 2002-2007 Open Microscopy Environment 
     5        # Copyright (C) 2002-2008 Open Microscopy Environment 
    66        #       Massachusetts Institute of Technology, 
    77        #       National Institutes of Health, 
    … …  
    2525        xmlns:SPW="http://www.openmicroscopy.org/Schemas/SPW/2008-02"  
    2626        xmlns:xml="http://www.w3.org/XML/1998/namespace" 
    27         version="2"  
     27        version="1"  
    2828        elementFormDefault="qualified"> 
    2929        <xsd:import namespace="http://www.openmicroscopy.org/Schemas/AnalysisModule/2008-02" schemaLocation="http://www.openmicroscopy.org/Schemas/AnalysisModule/2008-02/AnalysisModule.xsd"/> 
    … …  
    3636                <xsd:documentation> 
    3737                        Open Microscopy Environment 
    38                         OME XML Schema June 2007 - Update Version 2 September 2007 
     38                        OME XML Schema February 2008 - Version 1 
    3939                        Author:  Ilya G. Goldberg, Andrew J Patterson 
    40                         Copyright 2002 - 2007 OME. All rights reserved. 
     40                        Copyright 2002 - 2008 OME. All rights reserved. 
    4141                </xsd:documentation> 
    4242        </xsd:annotation> 
    … …  
    6565                                <xsd:element ref="CA:CustomAttributes" minOccurs="0"/> 
    6666                        </xsd:sequence> 
    67                                 <xsd:attribute name="ID" type="FileID"/> 
    68                                 <xsd:attribute name="HashMethod" type="HashMethodType" default="SHA1"/> 
     67                                <xsd:attribute name="UUID" type="UniversallyUniqueIdentifier"/> 
    6968                </xsd:complexType> 
    7069        </xsd:element> 
    … …  
    103102                                <xsd:element ref="StageLabel" minOccurs="0"/> 
    104103                                <xsd:element ref="Pixels" maxOccurs="unbounded"/> 
    105                                 <xsd:element ref="AcquiredPixelsRef" minOccurs="0" maxOccurs="1"/> 
    106104                                <xsd:element ref="Region" minOccurs="0" maxOccurs="unbounded"/> 
    107105                                <xsd:element ref="CA:CustomAttributes" minOccurs="0"/> 
    … …  
    113111                        <xsd:attribute name="DefaultPixels" use="required" type="PixelsID"> 
    114112                                <xsd:annotation> 
    115                                         <xsd:documentation>More than one Pixels attribute may be associated with an Image. An Image will however have one "primary" set of Pixels. If a PixelsID is specified with this attribute, then that will be the "primary" pixels for this image. If this attribute 
    116 is not specified, then the FIRST &lt;Pixels> element under &lt;Image> will be assumed to be the "primary" set. 
     113                                        <xsd:documentation> 
     114                                                More than one Pixels element may be associated with an Image.  
     115                                                An Image will however have one "primary" set of Pixels specified with this attribute. 
     116                                        </xsd:documentation> 
     117                                </xsd:annotation> 
     118                        </xsd:attribute> 
     119                        <xsd:attribute name="AcquiredPixels" type="PixelsID"> 
     120                                <xsd:annotation> 
     121                                        <xsd:documentation> 
     122                                                Optional.  
     123                                                More than one Pixels element may be associated with an Image.  
     124                                                This attribute indicates the original acquired pixels. 
    117125                                        </xsd:documentation> 
    118126                                </xsd:annotation> 
    … …  
    210218                </xsd:complexType> 
    211219        </xsd:element> 
    212          
    213         <xsd:element name="AcquiredPixelsRef"> 
    214                 <xsd:complexType> 
    215                         <xsd:complexContent> 
    216                                 <xsd:extension base="Reference"> 
    217                                         <xsd:attribute name="ID" use="required" type="PixelsID"/> 
    218                                 </xsd:extension> 
    219                         </xsd:complexContent> 
    220                 </xsd:complexType> 
    221         </xsd:element> 
    222                                  
    223220        <xsd:element name="TiffData"> 
    224221                <xsd:annotation> 
    … …  
    228225                </xsd:annotation> 
    229226                <xsd:complexType> 
     227                        <xsd:sequence> 
     228                                <xsd:element name="UUID" minOccurs="0"> 
     229                                        <xsd:annotation> 
     230                                                <xsd:documentation> 
     231                                                        This must be used when the IFDs are located in another file. 
     232                                                        Note: It is permissible for this to be self referential. 
     233                                                </xsd:documentation> 
     234                                        </xsd:annotation> 
     235                                        <xsd:complexType> 
     236                                                <xsd:simpleContent> 
     237                                                        <xsd:extension base = "UniversallyUniqueIdentifier"> 
     238                                                                <xsd:attribute name="FileName" type="xsd:string"> 
     239                                                                        <xsd:annotation> 
     240                                                                                <xsd:documentation> 
     241                                                                                        This can be used when the IFDs are located in another file. 
     242                                                                                        The / (forward slash) is used as the path separator. 
     243                                                                                        A relative path is recommended. However an absolute path can be specified. 
     244                                                                                        Default is to use the file the ome-xml data has been pulled from. 
     245                                                                                        Note: It is permissible for this to be self referential. The file image1.tiff 
     246                                                                                        may contain ome-xml data that has FilePath="image1.tiff" or "./image1.tiff" 
     247                                                                                </xsd:documentation> 
     248                                                                        </xsd:annotation> 
     249                                                                </xsd:attribute> 
     250                                                        </xsd:extension> 
     251                                                </xsd:simpleContent> 
     252                                        </xsd:complexType> 
     253                                </xsd:element> 
     254                        </xsd:sequence> 
    230255                        <xsd:attribute name="IFD" type="xsd:integer" default="0"> 
    231256                                <xsd:annotation> 
    … …  
    269294                                </xsd:annotation> 
    270295                        </xsd:attribute> 
    271                         <xsd:attribute name="FilePath" type="xsd:string"> 
    272                                 <xsd:annotation> 
    273                                         <xsd:documentation> 
    274                                                 This is used when the IFDs are located in another file. 
    275                                                 The / (forward slash) is used as the path separator. 
    276                                                 A relative path is recommended. However an absolute path can be specified. 
    277                                                 Default is to use the file the ome-xml data has been pulled from. 
    278                                                 Note: It is permissible for this to be self referential. The file image1.tiff 
    279                                                 may contain ome-xml data that has FilePath="image1.tiff" or "./image1.tiff" 
    280                                         </xsd:documentation> 
    281                                 </xsd:annotation> 
    282                         </xsd:attribute> 
    283296                </xsd:complexType> 
    284297        </xsd:element> 
    … …  
    293306                                <xsd:element name="PlaneTiming" type="PlaneTiming" minOccurs="0" maxOccurs="1"/> 
    294307                                <xsd:element name="StagePosition" type="StagePosition" minOccurs="0" maxOccurs="1"/> 
     308                                <xsd:choice minOccurs="0" maxOccurs="1"> 
     309                                        <xsd:annotation> 
     310                                                <xsd:documentation> 
     311                                                        This optional element is a hash of the plane's image data.  
     312                                                        It is a choice between all the support hash types. 
     313                                                        Currently the only method supported is SHA1. 
     314                                                </xsd:documentation> 
     315                                        </xsd:annotation> 
     316                                        <xsd:element name="HashSHA1" type="Hex40"/> 
     317                                </xsd:choice> 
    295318                        </xsd:sequence> 
    296319                        <xsd:attribute name="TheZ" use="required" type="xsd:integer"/> 
    297320                        <xsd:attribute name="TheT" use="required" type="xsd:integer"/> 
    298321                        <xsd:attribute name="TheC" use="required" type="xsd:integer"/> 
    299                         <xsd:attribute name="Hash" type="HashValue"> 
    300                                 <xsd:annotation> 
    301                                         <xsd:documentation> 
    302                                                 This optional value is a hash of the plane's image data.  
    303                                                 It is calculated using the method set in the HashMethod of the OME element. 
    304                                                 Currently the only method supported is SHA1. 
    305                                         </xsd:documentation> 
    306                                 </xsd:annotation> 
    307                         </xsd:attribute> 
    308322                </xsd:complexType> 
    309323        </xsd:element> 
    … …  
    911925                </xsd:annotation> 
    912926        </xsd:element> 
    913         <xsd:element name="Correction" type="Correction"> 
     927        <xsd:element name="Correction"> 
    914928                <xsd:annotation> 
    915929                        <xsd:documentation>The coating applied to the lens</xsd:documentation> 
    916930                </xsd:annotation> 
    917         </xsd:element> 
    918         <xsd:simpleType name="Correction"> 
    919                 <xsd:restriction base="xsd:string"> 
    920                         <xsd:enumeration value="UV"/> 
    921                         <xsd:enumeration value="PlanApo"/> 
    922                         <xsd:enumeration value="PlanFluor"/> 
    923                         <xsd:enumeration value="SuperFluor"/> 
    924                         <xsd:enumeration value="VioletCorrected"/> 
    925                 </xsd:restriction> 
    926         </xsd:simpleType>        
    927         <xsd:element name="Immersion" type="Immersion"> 
     931                <xsd:simpleType> 
     932                        <xsd:restriction base="xsd:string"> 
     933                                <xsd:enumeration value="UV"/> 
     934                                <xsd:enumeration value="PlanApo"/> 
     935                                <xsd:enumeration value="PlanFluor"/> 
     936                                <xsd:enumeration value="SuperFluor"/> 
     937                                <xsd:enumeration value="VioletCorrected"/> 
     938                        </xsd:restriction> 
     939                </xsd:simpleType> 
     940        </xsd:element> 
     941        <xsd:element name="Immersion"> 
    928942                <xsd:annotation> 
    929943                        <xsd:documentation>The immersion medium the lens is designed for</xsd:documentation> 
    930944                </xsd:annotation> 
    931         </xsd:element> 
    932         <xsd:simpleType name="Immersion"> 
    933                 <xsd:restriction base="xsd:string"> 
    934                         <xsd:enumeration value="Oil"/> 
    935                         <xsd:enumeration value="Water"/> 
    936                         <xsd:enumeration value="WaterDipping"/> 
    937                         <xsd:enumeration value="Air"/> 
    938                         <xsd:enumeration value="Multi"/> 
    939                         <xsd:enumeration value="Glycerol"/> 
    940                         <xsd:enumeration value="Other"/> 
    941                 </xsd:restriction> 
    942         </xsd:simpleType>        
     945                <xsd:simpleType> 
     946                        <xsd:restriction base="xsd:string"> 
     947                                <xsd:enumeration value="Oil"/> 
     948                                <xsd:enumeration value="Water"/> 
     949                                <xsd:enumeration value="WaterDipping"/> 
     950                                <xsd:enumeration value="Air"/> 
     951                                <xsd:enumeration value="Multi"/> 
     952                                <xsd:enumeration value="Glycerol"/> 
     953                                <xsd:enumeration value="Other"/> 
     954                        </xsd:restriction> 
     955                </xsd:simpleType>        
     956        </xsd:element> 
    943957        <xsd:element name="WorkingDistance" type="xsd:float"> 
    944958                <xsd:annotation> 
    … …  
    10961110                </xsd:restriction> 
    10971111        </xsd:simpleType> 
    1098         <xsd:simpleType name="HashValue"> 
    1099                 <xsd:union memberTypes="Hex40"/> 
    1100         </xsd:simpleType> 
    1101         <xsd:simpleType name="HashMethodType"> 
    1102                 <xsd:restriction base="xsd:string"> 
    1103                         <xsd:enumeration value="SHA1"/> 
    1104                 </xsd:restriction> 
    1105         </xsd:simpleType> 
    11061112        <xsd:simpleType name="MetalVaporLaserMedia"> 
    11071113                <xsd:restriction base="xsd:string"> 
    … …  
    11851191                </xsd:restriction> 
    11861192        </xsd:simpleType> 
    1187         <xsd:simpleType name="FileID"> 
    1188                 <xsd:annotation> 
    1189                         <xsd:documentation> 
    1190                                 Note: This does not conform to the ID pattern used in the rest of the file. 
     1193        <xsd:simpleType name="UniversallyUniqueIdentifier"> 
     1194                <xsd:annotation> 
     1195                        <xsd:documentation> 
     1196                                This is a unique ID for the file but does not conform to the ID pattern used in the rest of the file. 
    11911197                                The rest of the IDs are either an full LSID or an internal ID which is a string that is simply unique in this file. 
    1192                                 As the FileID is used from outside this file to identify it having the same ID in another file could cause problems. 
    1193                                 To resolve this a FileID can either be an LSID or a UUID. 
     1198                                As the UniversallyUniqueIdentifier is used from outside this file to identify it having the same ID in another file could cause problems. 
    11941199                                A UUID is 32 hexadecimal digits, in 5 groups, 8-4-4-4-12, separated by hyphens 
    1195                                 e.g. 3e450fae-b8f2-4d35-aa54-702168b2487f 
     1200                                e.g. urn:uuid:3e450fae-b8f2-4d35-aa54-702168b2487f 
    11961201                                There are methods to generate these in most modern languages. 
    1197                         </xsd:documentation> 
    1198                 </xsd:annotation> 
    1199                 <xsd:restriction base="LSID"> 
    1200                         <xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:File:\S+)|(File:\S+)"/> 
     1202                                http://www.ietf.org/rfc/rfc4122.txt 
     1203                        </xsd:documentation> 
     1204                </xsd:annotation> 
     1205                <xsd:restriction base="xsd:anyURI"> 
     1206                        <xsd:pattern value="(urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})"/> 
    12011207                </xsd:restriction> 
    12021208        </xsd:simpleType> 
    … …  
    13211327                        <xsd:simpleType> 
    13221328                                <xsd:restriction base="xsd:string"> 
    1323                                         <xsd:enumeration value="bit"/> 
    1324                                         <xsd:enumeration value ="double"/> 
    1325                                         <xsd:enumeration value ="complex"/> 
    1326                                         <xsd:enumeration value ="double-complex"/> 
     1329                                        <xsd:enumeration value = "bit"/> 
     1330                                        <xsd:enumeration value = "double"/> 
     1331                                        <xsd:enumeration value = "complex"/> 
     1332                                        <xsd:enumeration value = "double-complex"/> 
    13271333                                </xsd:restriction> 
    13281334                        </xsd:simpleType> 

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/