Documentation for OME Schemas

Table of Contents

Master schema documentation file: ome.xsd.html

top

Schema Document Properties

Target Namespace http://www.openmicroscopy.org/Schemas/AnalysisModule/2008-09
Version 1
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
AML http://www.openmicroscopy.org/Schemas/AnalysisModule/2008-09
CLI http://www.openmicroscopy.org/Schemas/CLI/2008-09
Bin http://www.openmicroscopy.org/Schemas/BinaryFile/2008-09
MLI http://www.openmicroscopy.org/Schemas/MLI/2008-09
OME http://www.openmicroscopy.org/Schemas/OME/2008-09
xsd http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xsd:schema targetNamespace="http://www.openmicroscopy.org/Schemas/AnalysisModule/2008-09" version="1" elementFormDefault="qualified">
<xsd:import namespace="http://www.openmicroscopy.org/Schemas/CLI/2008-09" schemaLocation="http://www.openmicroscopy.org/Schemas/CLI/2008-09/CLI.xsd"/>
<xsd:import namespace="http://www.openmicroscopy.org/Schemas/BinaryFile/2008-09" schemaLocation="http://www.openmicroscopy.org/Schemas/BinaryFile/2008-09/BinaryFile.xsd"/>
<xsd:import namespace="http://www.openmicroscopy.org/Schemas/MLI/2008-09" schemaLocation="http://www.openmicroscopy.org/Schemas/MLI/2008-09/MLI.xsd"/>
<xsd:import namespace="http://www.openmicroscopy.org/Schemas/OME/2008-09" schemaLocation="http://www.openmicroscopy.org/Schemas/OME/2008-09/ome.xsd"/>
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
...
</xsd:schema>
top

Global Declarations

Element: AnalysisModule

Name AnalysisModule
Used by (from the same schema document) Element AnalysisModuleLibrary
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Describes an interface to use with a program.
Logical Diagram
element_Description element_Declaration
XML Instance Representation
<AML:AnalysisModule
isStreamAlgorithm=" xsd:boolean [0..1]

'This is a stub for future development. The database location doesn\'t even exist yet. If the output of the analysis will be the same when pixel positions are scrambled, the analysis is a stream algorithm. Examples of stream algorithms are: A statistics module that produces mean, geometric mean, standard deviation, etc. for pixel intensities. A module to cross correlate pixel intensities across wavelengths. Example of an algorithms that is not a stream algorithm is: FindSpots. (It\'s a module to find blobs in an image.) If a module is a stream algorithm, it can function across the x, y, z, and time dimensions. Tied to DB. Table PROGRAMS Column IS_STREAM_ALGORITHM'

"

ModuleType=" xsd:string (pattern = OME::Analysis::.+) [1]

'As more handlers, are added, this part of the schema needs to be changed Tied to DB. Table PROGRAMS Column MODULE_TYPE'

"

RegionIterator=" xsd:string (length <= 128) [0..1]

'If the module iterates over a region, specify the iterator here. It will reference a region via the TAG column of the REGIONS table. An example of a module that does not iterate over a region is Find Cells. It examines one image at a time, hence it iterates over an image, not a region. It produces zero or more regions (Çell) per image. These Cell regions belong to an image. This module would not get a RegionIterator attribute. An example of a module that iterates over a region is Find Golgi. It examines one CELL at a time. A cell is a region, hence the module iterates over regions, not images or datasets. It produces zero or more Golgi regions per Cell region. These Golgi regions belong to a Cell region. This module would get a RegionIterator attribute of \"CELL\". Tied to DB. Table PROGRAMS Column DEFAULT_ITERATOR'

"

NewRegionName=" xsd:string (length <= 128) [0..1]

'If this module makes new regions, then the new Region\'s name needs to be specified here. If the module does not make new regions, do not specify a value for this attribute. Tied to DB. PROGRAMS.NEW_FEATURE_TAG'

"

Category=" xsd:string (length <= 32) [0..1]

'References a Category.'

"

ProgramID=" xsd:string [1]

'Eventually will refer to a program. Currently program installation is NOT implemented. So this value is the path to the installed binary file.'

"

ModuleName=" xsd:string (length <= 64) [0..1]"
ID=" AML:ModuleID [1]">
<!--
Uniqueness Constraint - FormalInput
Selector - AML:Declaration/AML:FormalInput
Field(s) - @Name
-->
<!--
Uniqueness Constraint - FormalOutput
Selector - AML:Declaration/AML:FormalOutput
Field(s) - @Name
-->

<OME:Description> ... </OME:Description> [0..1]
<AML:Declaration> ... </AML:Declaration> [1]
Start Choice [0..1]
<CLI:ExecutionInstructions> ... </CLI:ExecutionInstructions> [1]
<MLI:ExecutionInstructions> ... </MLI:ExecutionInstructions> [1]
End Choice
</AML:AnalysisModule>
Diagram
element_Description element_Declaration element_ExecutionInstructions element_ExecutionInstructions type_ModuleID
Schema Component Representation
<xsd:element name="AnalysisModule">
<-- top level definition -->
<xsd:complexType>
<xsd:sequence>
<xsd:element ref=" OME:Description " minOccurs="0" maxOccurs="1"/>
<xsd:element ref=" AML:Declaration " minOccurs="1" maxOccurs="1"/>
<xsd:choice minOccurs="0" maxOccurs="1">
<xsd:element ref=" CLI:ExecutionInstructions " minOccurs="1" maxOccurs="1"/>
<xsd:element ref=" MLI:ExecutionInstructions " minOccurs="1" maxOccurs="1"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="isStreamAlgorithm" type=" xsd:boolean " default="false" use="optional"/>
<xsd:attribute name="ModuleType" use="required">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:pattern value="OME::Analysis::.+"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="RegionIterator" use="optional">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:maxLength value="128"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="NewRegionName" use="optional">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:maxLength value="128"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="Category" use="optional">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:maxLength value="32"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="ProgramID" type=" xsd:string " use="required"/>
<xsd:attribute name="ModuleName" use="optional">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:maxLength value="64"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="ID" type=" AML:ModuleID " use="required"/>
</xsd:complexType>
<xsd:unique name="FormalInput">
<xsd:selector xpath="AML:Declaration/AML:FormalInput"/>
<xsd:field xpath="@Name"/>
</xsd:unique>
<xsd:unique name="FormalOutput">
<xsd:selector xpath="AML:Declaration/AML:FormalOutput"/>
<xsd:field xpath="@Name"/>
</xsd:unique>
</xsd:element>
top

Element: AnalysisModuleLibrary

Name AnalysisModuleLibrary
Type Locally-defined complex type
Nillable no
Abstract no
Documentation An analysis module is defined by two things: 1) A program 2) An interface A single program may have multiple interfaces. Why do you need multiple interfaces? Pretend you have a program that calculates simple statistics on the pixels of an image. You can specify which statistics you want via parameters. Typing ./stats -mean -sigma image1 will output Image | mean | sigma image1 12.4 1 Typing ./stats -geomean -mean image1 will output Image | geomean | mean image1 12.2 12.4 The outputs are completely different. You need to specify an interface for each of these behaviors. Or pretend you have a powerful program that can do 10 unrelated tasks, each of which outputs an image. While the outputs are the same type and format, they represent 10 completely different things. In this case, it might make sense to define 10 corresponding AnalysisModule to represent the 10 logical functions. In any case, use AnalysisModule to define an interface and Program to store installation software for a program.
Logical Diagram
element_AnalysisModule element_Category element_Program
XML Instance Representation
<AML:AnalysisModuleLibrary>
<!--
Uniqueness Constraint - AnalysisModule
Selector - AML:AnalysisModule
Field(s) - @AML:ModuleName
-->

<AML:AnalysisModule> ... </AML:AnalysisModule> [1..*]
<AML:Category> ... </AML:Category> [0..*]
<AML:Program> ... </AML:Program> [0..*]
</AML:AnalysisModuleLibrary>
Diagram
element_AnalysisModule element_Category element_Program
Schema Component Representation
<xsd:element name="AnalysisModuleLibrary">
<-- top level definition -->
<-- This was commented out by Josiah <siah@nih.gov> on July 3, 2003. We don't support Program installation yet, and are using the value of ProgramID in <AnalysisModule> to refer to the location of the installed program. A temporary hack to be sure, but that's the way it works for now. <keyref name = "ProgramRef" refer = "AML:Program"> <selector xpath = "AML:AnalysisModule"/> <field xpath = "@ProgramID"/> </keyref> <unique name = "Program"> <selector xpath = "AML:Program"/> <field xpath = "@ProgramID"/> </unique> -->
<xsd:complexType>
<xsd:sequence>
<xsd:element ref=" AML:AnalysisModule " minOccurs="1" maxOccurs="unbounded"/>
<xsd:element ref=" AML:Category " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref=" AML:Program " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:unique name="AnalysisModule">
<xsd:selector xpath="AML:AnalysisModule"/>
<xsd:field xpath="@AML:ModuleName"/>
</xsd:unique>
</xsd:element>
top

Element: Category

Name Category
Used by (from the same schema document) Element AnalysisModuleLibrary
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
element_Description
XML Instance Representation
<AML:Category
Path=" xsd:string (pattern = ^[A-Za-z0-9 ]+(\.[A-Za-z0-9 ]+)*$) [1]

'Categories are organized into hierarchical structures. This specifies the full path of this category in the following format. Path = \"GrandParent name.Parent name.Category name\" If you defined a sub category, we Strongly encourage you to also define all ancestor categories that are not part of the core OME specification.'

"
>
<OME:Description> ... </OME:Description> [1]
</AML:Category>
Diagram
element_Description
Schema Component Representation
<xsd:element name="Category">
<-- top level definition -->
<xsd:complexType>
<xsd:sequence>
<xsd:element ref=" OME:Description " minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="Path" use="required">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:pattern value="^[A-Za-z0-9 ]+(\.[A-Za-z0-9 ]+)*$"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
top

Element: Declaration

Name Declaration
Used by (from the same schema document) Element AnalysisModule
Type Locally-defined complex type
Nillable no
Abstract no
Documentation States module requirements. Formal Inputs are optional because input requirements may be specified by guaranteed image attributes. For example, OME_Image_XYZ_stats requires a path to the OME repository file, and Dimensions. These are given by <RawImageFilePath>, <sizeX>, <sizeY>, <sizeZ>, <sizeT>, and <sizeW>.
Logical Diagram
element_FormalInput element_FormalOutput
XML Instance Representation
<AML:Declaration>
<AML:FormalInput> ... </AML:FormalInput> [0..*]
<AML:FormalOutput> ... </AML:FormalOutput> [0..*]
</AML:Declaration>
Diagram
element_FormalInput element_FormalOutput
Schema Component Representation
<xsd:element name="Declaration">
<-- top level definition -->
<xsd:complexType>
<xsd:sequence>
<xsd:element ref=" AML:FormalInput " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref=" AML:FormalOutput " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
top

Element: Entry

Name Entry
Used by (from the same schema document) Element LookupTable
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<AML:Entry
Value=" xsd:string (length <= 256) [1]

'Tied to DB. LOOKUP_TABLE_ENTRIES.VALUE'

"

Label=" xsd:string (length <= 256) [0..1]

'Tied to DB. LOOKUP_TABLE_ENTRIES.LABEL'

"
/>
Diagram
Schema Component Representation
<xsd:element name="Entry">
<-- top level definition -->
<xsd:complexType>
<xsd:attribute name="Value" use="required">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:maxLength value="256"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="Label" use="optional">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:maxLength value="256"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
top

Element: FormalInput

Name FormalInput
Used by (from the same schema document) Element Declaration
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Specifies an input requirement for a module. Image dimensions and image file locations (repository or other format) should not be specified with this. Image dimensions are intrinsic to an image. They do not represent a special requirement. Image file locations and contents are specified by other elements. Specifically, RawImageFile, RawImageFilePath, XYPlaneFile, and XYPlaneFilePath.
Logical Diagram
element_LookupTable element_Description
XML Instance Representation
<AML:FormalInput
UserDefined=" xsd:boolean [0..1]

'OME interprets this as a recommendation rather than a requirement. Tied to DB. Table FORMAL_INPUTS Column USER_DEFINED'

"

Count=" xsd:string (value comes from list: {'!'|'?'|'+'|'*'}) [0..1]

'Specifies how many counts of this formal input are expected. Meanings are specified below ! = exactly one ? = zero or one + = one or more * = zero or more'

"

Name=" xsd:string (pattern = [A-Za-z0-9\-\^\(\)_ ]+) [1]

'Valid characters are alphanumeric and spaces.'

"

SemanticTypeName=" xsd:string [1]">
<AML:LookupTable> ... </AML:LookupTable> [0..1]
<OME:Description> ... </OME:Description> [0..1]
</AML:FormalInput>
Diagram
element_LookupTable element_Description
Schema Component Representation
<xsd:element name="FormalInput">
<-- top level definition -->
<xsd:complexType>
<xsd:sequence>
<xsd:element ref=" AML:LookupTable " minOccurs="0" maxOccurs="1"/>
<xsd:element ref=" OME:Description " minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="UserDefined" type=" xsd:boolean " default="false" use="optional"/>
<xsd:attribute name="Count" default="+" use="optional">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:enumeration value="!"/>
<xsd:enumeration value="?"/>
<xsd:enumeration value="+"/>
<xsd:enumeration value="*"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="Name" use="required">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:pattern value="[A-Za-z0-9\-\^\(\)_ ]+"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="SemanticTypeName" type=" xsd:string " use="required"/>
</xsd:complexType>
</xsd:element>
top

Element: FormalOutput

Name FormalOutput
Used by (from the same schema document) Element Declaration
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Specifies an output element of a module.
Logical Diagram
element_Description
XML Instance Representation
<AML:FormalOutput
IBelongTo=" xsd:string (value comes from list: {'[Region]'|'[Iterator]'}) [0..1]

'Concerning MakeNewRegion attribute of ExecutionInstructions, if a new region type is made, then there are two possible places a formal output attribute can be stored: It can be stored as an attribute of the RegionIterator, or it can be stored as an attribute of the new Region. This tag is supposed to specify which. Can be left blank if module does not make new iterator. Tied to DB. FORMAL_OUTPUTS.FEATURE_TAG Processed before storage to DB'

"

Count=" xsd:string (value comes from list: {'!'|'?'|'+'|'*'}) [0..1]

'Specifies how many counts of this formal output will be produced. Meanings are specified below ! = exactly one ? = zero or one + = one or more * = zero or more'

"

Name=" xsd:string (pattern = [A-Za-z0-9\-\^\(\)_ ]+) [1]"
SemanticTypeName=" xsd:string [0..1]

'THIS IS REQUIRED for every formal output outside of the importer. The importer doesn\'t know what it will run into before it executes, so it can\'t declare the semantic type of its outputs. If you are writing a module, I HIGHLY HIGHLY recommend that you type your formal outputs.'

"
>
<OME:Description> ... </OME:Description> [0..1]
</AML:FormalOutput>
Diagram
element_Description
Schema Component Representation
<xsd:element name="FormalOutput">
<-- top level definition -->
<xsd:complexType>
<xsd:sequence>
<xsd:element ref=" OME:Description " minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="IBelongTo" use="optional">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:enumeration value="[Region]"/>
<xsd:enumeration value="[Iterator]"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="Count" default="+" use="optional">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:enumeration value="!"/>
<xsd:enumeration value="?"/>
<xsd:enumeration value="+"/>
<xsd:enumeration value="*"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="Name" use="required">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:pattern value="[A-Za-z0-9\-\^\(\)_ ]+"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="SemanticTypeName" type=" xsd:string " use="optional"/>
</xsd:complexType>
</xsd:element>
top

Element: InstallationFile

Name InstallationFile
Used by (from the same schema document) Element Program
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Contains a packaged or zipped installation files (binaries or source code).
Logical Diagram
element_BinaryFile
XML Instance Representation
<AML:InstallationFile
Format=" xsd:string [0..1]

'This is a stub for future development. Don\'t bother with it unless you know more about it. Specifies the packaging and/or compression format of the Installation file.'

"
>
<Bin:BinaryFile> ... </Bin:BinaryFile> [1]
</AML:InstallationFile>
Diagram
element_BinaryFile
Schema Component Representation
<xsd:element name="InstallationFile">
<-- top level definition -->
<xsd:complexType>
<xsd:sequence>
<xsd:element ref=" Bin:BinaryFile " minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="Format" type=" xsd:string " use="optional"/>
</xsd:complexType>
</xsd:element>
top

Element: InstallationScript

Name InstallationScript
Used by (from the same schema document) Element Program
Type Locally-defined complex type
Nillable no
Abstract no
Documentation The script should interface with the OME API to find all information it needs. (i.e. installation path) It also needs to set the location of the program after the program is installed. The location should be set through the API, but it will propagate to the LOCATION column of the PROGRAMS table.
Logical Diagram
element_BinaryFile
XML Instance Representation
<AML:InstallationScript>
<Bin:BinaryFile> ... </Bin:BinaryFile> [1]
</AML:InstallationScript>
Diagram
element_BinaryFile
Schema Component Representation
<xsd:element name="InstallationScript">
<-- top level definition -->
<xsd:complexType>
<xsd:sequence>
<xsd:element ref=" Bin:BinaryFile " minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
top

Element: Installed

Name Installed
Used by (from the same schema document) Element Program
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<AML:Installed
location=" xsd:string [1]"/>
Diagram
Schema Component Representation
<xsd:element name="Installed">
<-- top level definition -->
<xsd:complexType>
<xsd:attribute name="location" type=" xsd:string " use="required"/>
</xsd:complexType>
</xsd:element>
top

Element: LookupTable

Name LookupTable
Used by (from the same schema document) Element FormalInput
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Describes valid values for an input. Think enumerations, (a list of valid values).
Logical Diagram
element_Entry element_Description
XML Instance Representation
<AML:LookupTable
Name=" xsd:string (length <= 64) [1]

'Tied to DB. LOOKUP_TABLES.NAME'

"
>
<AML:Entry> ... </AML:Entry> [1..*]
<OME:Description> ... </OME:Description> [0..1]
</AML:LookupTable>
Diagram
element_Entry element_Description
Schema Component Representation
<xsd:element name="LookupTable">
<-- top level definition -->
<xsd:complexType>
<xsd:sequence>
<xsd:element ref=" AML:Entry " minOccurs="1" maxOccurs="unbounded"/>
<xsd:element ref=" OME:Description " minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="Name" use="required">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:maxLength value="64"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
top

Element: Program

Name Program
Used by (from the same schema document) Element AnalysisModuleLibrary
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Stores an installation package and installation script for a program. This currently is NOT implemented.
Logical Diagram
element_Installed
XML Instance Representation
<AML:Program
Name=" xsd:string (length <= 64) [0..1]

'Program name. Unclear how this would be used. DB location PROGRAMS.PROGRAM_NAME is populated by XML attribute AnalysisModule.Name.'

"

Version=" xsd:string [0..1]

'Currently unused'

"

ProgramID=" xsd:string [1]">
Start Choice [1]
<AML:InstallationScript> ... </AML:InstallationScript> [1]
<AML:InstallationFile> ... </AML:InstallationFile> [1]
<AML:Installed> ... </AML:Installed> [1]
End Choice
</AML:Program>
Diagram
element_InstallationScript element_InstallationFile element_Installed
Schema Component Representation
<xsd:element name="Program">
<-- top level definition -->
<xsd:complexType>
<xsd:choice minOccurs="1" maxOccurs="1">
<xsd:sequence>
<xsd:element ref=" AML:InstallationScript " minOccurs="1" maxOccurs="1"/>
<xsd:element ref=" AML:InstallationFile " minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
<xsd:element ref=" AML:Installed " minOccurs="1" maxOccurs="1"/>
</xsd:choice>
<xsd:attribute name="Name" use="optional">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:maxLength value="64"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="Version" type=" xsd:string " use="optional"/>
<xsd:attribute name="ProgramID" type=" xsd:string " use="required"/>
</xsd:complexType>
</xsd:element>
top

Global Definitions

Simple Type: Hex40

Super-types: xsd:hexBinary < Hex40 (by restriction)
Sub-types: None
Name Hex40
Content
  • Base XSD Type: hexBinary
  • length = 20
Diagram
Schema Component Representation
<xsd:simpleType name="Hex40">
<xsd:restriction base=" xsd:hexBinary ">
<xsd:length value="20"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: ModuleID

Super-types: OME:LSID < ModuleID (by restriction)
Sub-types: None
Name ModuleID
Used by (from the same schema document) Element AnalysisModule
Content
  • Base XSD Type: string
  • pattern = (urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:\S+:\S+)|(\S+:\S+)
  • pattern = (urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:Module:\S+)|(Module:\S+)
Diagram
Schema Component Representation
<xsd:simpleType name="ModuleID">
<xsd:restriction base=" OME:LSID ">
<xsd:pattern value="(urn:lsid:([\w\-\.]+\.[\w\-\.]+)+:Module:\S+)|(Module:\S+)"/>
</xsd:restriction>
</xsd:simpleType>
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Super-types: Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
Name AusAddress
Abstract no
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia" >
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice [1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1] ?
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<complexType name="AusAddress">
<complexContent>
<extension base=" Address ">
<sequence>
<element name="state" type=" AusStates "/>
<element name="postcode">
<simpleType>
<restriction base=" string ">
<pattern value="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="country" type=" string " fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

top