XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://genmapp.org/GPML/2007
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.
Documentation GenMAPP version 2.0 Pathway Schema version 1.0 All graphics measurements are in centimeters.

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
gpml http://genmapp.org/GPML/2007
xsd http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xsd:schema targetNamespace="http://genmapp.org/GPML/2007" elementFormDefault="qualified">
...
</xsd:schema>
top

Global Declarations

Element: Biopax

Name Biopax
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<gpml:Biopax>
Allow any elements from the following namespace(s): http://www.biopax.org/release/biopax-level2.owl# (skip validation). [0..*]
</gpml:Biopax>
Schema Component Representation
<xsd:element name="Biopax">
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="http://www.biopax.org/release/biopax-level2.owl#" processContents="skip" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
top

Element: DataNode

Name DataNode
Type Locally-defined complex type
Nillable no
Abstract no
Documentation DataNode is the old GeneProduct, a gene in GenMAPP terminology.
XML Instance Representation
<gpml:DataNode
BiopaxRef="xsd:string [0..1]"
GraphId="xsd:ID [0..1]"
GroupRef="xsd:string [0..1]"
ObjectType="gpml:ObjectType [0..1]"
TextLabel="xsd:string [1]"
BackpageHead="xsd:string [0..1] ?"
GenMAPP-Xref="xsd:string [0..1] ?"
Type="gpml:DataNodeType [0..1] ?">
<gpml:Comment
Source="xsd:string [0..1]"> [0..*]
xsd:string
</gpml:Comment>
<gpml:PublicationXref
ID="xsd:string [1]"
Database="xsd:string [1]"/> [0..*]
<gpml:BiopaxRef> ... </gpml:BiopaxRef> [0..*]
<gpml:Attribute
Key="xsd:string [1]"
Value="xsd:string [1]"/> [0..*]
<gpml:Graphics
CenterX="xsd:float [1]"
CenterY="xsd:float [1]"
Width="gpml:Dimension [1]"
Height="gpml:Dimension [1]"
Color="gpml:ColorType [0..1]"
ZOrder="xsd:integer [0..1]"/> [1]
<gpml:Xref
Database="gpml:DatabaseType [1]"
ID="gpml:NameType [1]"/> [1]
</gpml:DataNode>
Schema Component Representation
<xsd:element name="DataNode">
<xsd:complexType>
<xsd:sequence>
<xsd:group ref="gpml:CommentGroup"/>
<xsd:element name="Graphics" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:attributeGroup ref="gpml:RectAttributes"/>
<xsd:attribute name="Color" type="gpml:ColorType"/>
<xsd:attribute name="ZOrder" type="xsd:integer" use="optional"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="Xref" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:attribute name="Database" type="gpml:DatabaseType" use="required"/>
<xsd:attribute name="ID" type="gpml:NameType" use="required"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="BiopaxRef" type="xsd:string" use="optional"/>
<xsd:attribute name="GraphId" type="xsd:ID" use="optional"/>
<xsd:attribute name="GroupRef" type="xsd:string" use="optional"/>
<xsd:attribute name="ObjectType" type="gpml:ObjectType" default="Annotation"/>
<xsd:attribute name="TextLabel" type="xsd:string" use="required"/>
<xsd:attribute name="BackpageHead" type="xsd:string" use="optional"/>
<-- corresponds to xref column in genmapp. depracated !-->
<xsd:attribute name="GenMAPP-Xref" type="xsd:string" use="optional"/>
<xsd:attribute name="Type" type="gpml:DataNodeType" default="Unknown"/>
</xsd:complexType>
</xsd:element>
top

Element: Group

Name Group
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<gpml:Group
BiopaxRef="xsd:string [0..1]"
GroupId="xsd:string [1]"
GroupRef="xsd:string [0..1]"
Style="xsd:string [0..1]"
TextLabel="xsd:string [0..1]"
GraphId="xsd:ID [0..1]">
<gpml:Comment
Source="xsd:string [0..1]"> [0..*]
xsd:string
</gpml:Comment>
<gpml:PublicationXref
ID="xsd:string [1]"
Database="xsd:string [1]"/> [0..*]
<gpml:BiopaxRef> ... </gpml:BiopaxRef> [0..*]
<gpml:Attribute
Key="xsd:string [1]"
Value="xsd:string [1]"/> [0..*]
</gpml:Group>
Schema Component Representation
<xsd:element name="Group">
<xsd:complexType>
<xsd:sequence>
<xsd:group ref="gpml:CommentGroup"/>
</xsd:sequence>
<xsd:attribute name="BiopaxRef" type="xsd:string" use="optional"/>
<xsd:attribute name="GroupId" type="xsd:string" use="required"/>
<xsd:attribute name="GroupRef" type="xsd:string" use="optional"/>
<xsd:attribute name="Style" type="xsd:string" default="None"/>
<xsd:attribute name="TextLabel" type="xsd:string" use="optional"/>
<xsd:attribute name="GraphId" type="xsd:ID" use="optional"/>
</xsd:complexType>
</xsd:element>
top

Element: InfoBox

Name InfoBox
Type Locally-defined complex type
Nillable no
Abstract no
Documentation InfoBox element holds the coordinates on the GenMAPP layout where the Information kept in the Info table will be displayed in the mapp.
XML Instance Representation
<gpml:InfoBox
CenterX="xsd:float [1]"
CenterY="xsd:float [1]"/>
Schema Component Representation
<xsd:element name="InfoBox">
<xsd:complexType>
<xsd:attribute name="CenterX" type="xsd:float" use="required"/>
<xsd:attribute name="CenterY" type="xsd:float" use="required"/>
</xsd:complexType>
</xsd:element>
top

Element: Label

Name Label
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<gpml:Label
Href="xsd:string [0..1]"
PathwayRef="xsd:string [0..1]"
BiopaxRef="xsd:string [0..1]"
GraphId="xsd:ID [0..1]"
GroupRef="xsd:string [0..1]"
ObjectType="gpml:ObjectType [0..1]"
Outline="xsd:string (value comes from list: {'None'|'Rectangle'|'RoundedRectangle'}) [0..1]"
TextLabel="xsd:string [1]"
Xref="xsd:string [0..1] ?"
GenMAPP-Xref="xsd:string [0..1] ?">
<gpml:Comment
Source="xsd:string [0..1]"> [0..*]
xsd:string
</gpml:Comment>
<gpml:PublicationXref
ID="xsd:string [1]"
Database="xsd:string [1]"/> [0..*]
<gpml:BiopaxRef> ... </gpml:BiopaxRef> [0..*]
<gpml:Attribute
Key="xsd:string [1]"
Value="xsd:string [1]"/> [0..*]
<gpml:Graphics
CenterX="xsd:float [1]"
CenterY="xsd:float [1]"
Width="gpml:Dimension [1]"
Height="gpml:Dimension [1]"
Color="gpml:ColorType [0..1]"
FontName="xsd:string [0..1]"
FontStyle="xsd:string (value comes from list: {'Normal'|'Italic'}) [0..1]"
FontDecoration="xsd:string (value comes from list: {'Normal'|'Underline'}) [0..1]"
FontStrikethru="xsd:string (value comes from list: {'Normal'|'Strikethru'}) [0..1]"
FontWeight="xsd:string (value comes from list: {'Normal'|'Bold'}) [0..1]"
FontSize="xsd:nonNegativeInteger [0..1]"
ZOrder="xsd:integer [0..1]"/> [1]
</gpml:Label>
Schema Component Representation
<xsd:element name="Label">
<xsd:complexType>
<xsd:sequence>
<xsd:group ref="gpml:CommentGroup"/>
<xsd:element name="Graphics" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:attributeGroup ref="gpml:RectAttributes"/>
<xsd:attribute name="Color" type="gpml:ColorType" use="optional"/>
<xsd:attributeGroup ref="gpml:FontAttributes"/>
<xsd:attribute name="ZOrder" type="xsd:integer" use="optional"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<-- for a reference to a url !-->
<xsd:attribute name="Href" type="xsd:string" use="optional"/>
<-- for a reference to a Stable pathway ID on wikipathways !-->
<xsd:attribute name="PathwayRef" type="xsd:string" use="optional"/>
<xsd:attribute name="BiopaxRef" type="xsd:string" use="optional"/>
<xsd:attribute name="GraphId" type="xsd:ID" use="optional"/>
<xsd:attribute name="GroupRef" type="xsd:string" use="optional"/>
<xsd:attribute name="ObjectType" type="gpml:ObjectType" default="Annotation"/>
<xsd:attribute name="Outline" default="None">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None"/>
<xsd:enumeration value="Rectangle"/>
<xsd:enumeration value="RoundedRectangle"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="TextLabel" type="xsd:string" use="required"/>
<-- Xref is deprecated, to avoid confusion with the Xref tag. Use GenMapp-Xref for pathways converted from GenMAPP -->
<-- Left in here for backwards compatibility -->
<xsd:attribute name="Xref" type="xsd:string" use="optional"/>
<xsd:attribute name="GenMAPP-Xref" type="xsd:string" use="optional"/>
</xsd:complexType>
</xsd:element>
top

Element: Legend

Name Legend
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<gpml:Legend
CenterX="xsd:float [1]"
CenterY="xsd:float [1]"/>
Schema Component Representation
<xsd:element name="Legend">
<xsd:complexType>
<xsd:attribute name="CenterX" type="xsd:float" use="required"/>
<xsd:attribute name="CenterY" type="xsd:float" use="required"/>
</xsd:complexType>
</xsd:element>
top

Element: Line

Name Line
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<gpml:Line
Style="gpml:StyleType [0..1]"
GroupRef="xsd:string [0..1]"
BiopaxRef="xsd:string [0..1]"
GraphId="xsd:ID [0..1]">
<gpml:Comment
Source="xsd:string [0..1]"> [0..*]
xsd:string
</gpml:Comment>
<gpml:PublicationXref
ID="xsd:string [1]"
Database="xsd:string [1]"/> [0..*]
<gpml:BiopaxRef> ... </gpml:BiopaxRef> [0..*]
<gpml:Attribute
Key="xsd:string [1]"
Value="xsd:string [1]"/> [0..*]
<gpml:Graphics
Color="gpml:ColorType [0..1]"
ConnectorType="xsd:string [0..1]"
ZOrder="xsd:integer [0..1]"> [1]
<gpml:Point
x="xsd:float [1]"
y="xsd:float [1]"
relX="xsd:float [0..1]"
relY="xsd:float [0..1]"
GraphRef="xsd:IDREF [0..1]"
GraphId="xsd:ID [0..1]"
ArrowHead="xsd:string [0..1]"
Head="xsd:string [0..1]"/> [2..*]
<gpml:Anchor
position="xsd:float [1]"
GraphId="xsd:ID [0..1]"
Shape="xsd:string [0..1]"/> [0..*]
</gpml:Graphics>
</gpml:Line>
Schema Component Representation
<xsd:element name="Line">
<xsd:complexType>
<xsd:sequence>
<xsd:group ref="gpml:CommentGroup"/>
<xsd:element name="Graphics" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Point" minOccurs="2" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name="x" type="xsd:float" use="required"/>
<xsd:attribute name="y" type="xsd:float" use="required"/>
<-- relX and relY are the coordinates used when a point is linked to another object (when GraphRef is defined). They represent he coordinates of the point relative to the object that it's linked to, where 0,0 lies at the center of the object and 1,1 at the bottom-right corner -->
<xsd:attribute name="relX" type="xsd:float" use="optional"/>
<xsd:attribute name="relY" type="xsd:float" use="optional"/>
<xsd:attribute name="GraphRef" type="xsd:IDREF" use="optional"/>
<xsd:attribute name="GraphId" type="xsd:ID" use="optional"/>
<-- Note: technically points in the middle can have a head, but this will be ignored for most types. !-->
<xsd:attribute name="ArrowHead" type="xsd:string" default="Line"/>
<-- the "Head" attribute is deprecated! Use the ArrowHead attribute instead. Due to a stupid bug in PathVisio, the head attribute was stored on the wrong point. To remain backwards compatible, a head attribute read from the first point is stored on the second point. !-->
<xsd:attribute name="Head" type="xsd:string" default="Line"/>
<-- Head Type is no longer restricted. However, if you care about compatibility with GenMAPP you should only use the shapes below <xsd:restriction base="xsd:string"> <xsd:enumeration value="Line"/> <xsd:enumeration value="Arrow"/> <xsd:enumeration value="Receptor"/> <xsd:enumeration value="ReceptorRound"/> <xsd:enumeration value="ReceptorSquare"/> <xsd:enumeration value="LigandRound"/> <xsd:enumeration value="LigandSquare"/> <xsd:enumeration value="TBar"/> </xsd:restriction> !-->
</xsd:complexType>
</xsd:element>
<xsd:element name="Anchor" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name="position" type="xsd:float" use="required"/>
<xsd:attribute name="GraphId" type="xsd:ID" use="optional"/>
<xsd:attribute name="Shape" type="xsd:string" default="ReceptorRound"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="Color" type="gpml:ColorType" default="Black"/>
<xsd:attribute name="ConnectorType" type="xsd:string" use="optional" default="Straight"/>
<xsd:attribute name="ZOrder" type="xsd:integer" use="optional"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="Style" type="gpml:StyleType" default="Solid"/>
<xsd:attribute name="GroupRef" type="xsd:string" use="optional"/>
<xsd:attribute name="BiopaxRef" type="xsd:string" use="optional"/>
<xsd:attribute name="GraphId" type="xsd:ID" use="optional"/>
</xsd:complexType>
</xsd:element>
top

Element: Pathway

Name Pathway
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<gpml:Pathway
Name="gpml:NameType [1] ?"
Organism="xsd:string [0..1] ?"
Data-Source="xsd:string [0..1] ?"
Version="xsd:string [0..1] ?"
Author="xsd:string [0..1]"
Maintainer="xsd:string [0..1]"
Email="xsd:string [0..1]"
License="xsd:string [0..1]"
Copyright="xsd:string [0..1] ?"
Last-Modified="xsd:string [0..1] ?"
BiopaxRef="xsd:string [0..1]">
<gpml:Comment
Source="xsd:string [0..1]"> [0..*]
xsd:string
</gpml:Comment>
<gpml:PublicationXref
ID="xsd:string [1]"
Database="xsd:string [1]"/> [0..*]
<gpml:BiopaxRef> ... </gpml:BiopaxRef> [0..*]
<gpml:Attribute
Key="xsd:string [1]"
Value="xsd:string [1]"/> [0..*]
<gpml:Graphics
BoardWidth="gpml:Dimension [1]"
BoardHeight="gpml:Dimension [1]"
WindowWidth="gpml:Dimension [0..1]"
WindowHeight="gpml:Dimension [0..1]"/> [0..1]
<gpml:DataNode> ... </gpml:DataNode> [0..*]
<gpml:Line> ... </gpml:Line> [0..*]
<gpml:Label> ... </gpml:Label> [0..*]
<gpml:Shape> ... </gpml:Shape> [0..*]
<gpml:Group> ... </gpml:Group> [0..*]
<gpml:InfoBox> ... </gpml:InfoBox> [1]
<gpml:Legend> ... </gpml:Legend> [0..1]
<gpml:Biopax> ... </gpml:Biopax> [0..1]
</gpml:Pathway>
Schema Component Representation
<xsd:element name="Pathway">
<xsd:complexType>
<xsd:sequence>
<xsd:group ref="gpml:CommentGroup"/>
<xsd:element name="Graphics" minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:attribute name="BoardWidth" type="gpml:Dimension" use="required"/>
<xsd:attribute name="BoardHeight" type="gpml:Dimension" use="required"/>
<-- windowwidth and windowheight are only for compatibilty with GenMAPP, not used by Pathvisio !-->
<xsd:attribute name="WindowWidth" type="gpml:Dimension" use="optional" default="18000"/>
<xsd:attribute name="WindowHeight" type="gpml:Dimension" use="optional" default="12000"/>
<-- TODO: I suspect these below aren't used for anything -->
</xsd:complexType>
</xsd:element>
<xsd:element ref="gpml:DataNode" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="gpml:Line" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="gpml:Label" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="gpml:Shape" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="gpml:Group" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="gpml:InfoBox" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="gpml:Legend" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="gpml:Biopax" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="Name" type="gpml:NameType" use="required"/>
<xsd:attribute name="Organism" type="xsd:string" use="optional"/>
<xsd:attribute name="Data-Source" type="xsd:string" use="optional"/>
<xsd:attribute name="Version" type="xsd:string" use="optional"/>
<xsd:attribute name="Author" type="xsd:string" use="optional"/>
<xsd:attribute name="Maintainer" type="xsd:string" use="optional"/>
<xsd:attribute name="Email" type="xsd:string" use="optional"/>
<xsd:attribute name="License" type="xsd:string" use="optional"/>
<xsd:attribute name="Copyright" type="xsd:string" use="optional"/>
<xsd:attribute name="Last-Modified" type="xsd:string" use="optional"/>
<xsd:attribute name="BiopaxRef" type="xsd:string" use="optional"/>
</xsd:complexType>
</xsd:element>
top

Element: Shape

Name Shape
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<gpml:Shape
Type="xsd:string [1]"
BiopaxRef="xsd:string [0..1]"
GraphId="xsd:ID [0..1]"
GroupRef="xsd:string [0..1]"
ObjectType="gpml:ObjectType [0..1]"
Style="gpml:StyleType [0..1]">
<gpml:Comment
Source="xsd:string [0..1]"> [0..*]
xsd:string
</gpml:Comment>
<gpml:PublicationXref
ID="xsd:string [1]"
Database="xsd:string [1]"/> [0..*]
<gpml:BiopaxRef> ... </gpml:BiopaxRef> [0..*]
<gpml:Attribute
Key="xsd:string [1]"
Value="xsd:string [1]"/> [0..*]
<gpml:Graphics
CenterX="xsd:float [1]"
CenterY="xsd:float [1]"
Width="gpml:Dimension [1]"
Height="gpml:Dimension [1]"
Color="gpml:ColorType [0..1]"
Rotation="gpml:RotationType [0..1]"
FillColor="gpml:ColorType [0..1]"
ZOrder="xsd:integer [0..1]"/> [1]
</gpml:Shape>
Schema Component Representation
<xsd:element name="Shape">
<xsd:complexType>
<xsd:sequence>
<xsd:group ref="gpml:CommentGroup"/>
<xsd:element name="Graphics" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:attributeGroup ref="gpml:RectAttributes"/>
<xsd:attribute name="Color" type="gpml:ColorType" default="Black"/>
<xsd:attribute name="Rotation" type="gpml:RotationType" default="Top"/>
<xsd:attribute name="FillColor" type="gpml:ColorType" default="Transparent"/>
<xsd:attribute name="ZOrder" type="xsd:integer" use="optional"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="Type" type="xsd:string" use="required">
<-- Shape Type is no longer restricted. However, if you care about compatibility with GenMAPP you should only use the shapes below <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Rectangle"/> <xsd:enumeration value="Arc"/> <xsd:enumeration value="Oval"/> <xsd:enumeration value="Brace"/> <xsd:enumeration value="Hexagon"/> <xsd:enumeration value="Pentagon"/> <xsd:enumeration value="Triangle"/> <xsd:enumeration value="Vesicle"/> <xsd:enumeration value="ProteinComplex"/> <xsd:enumeration value="OrganA"/> <xsd:enumeration value="OrganB"/> <xsd:enumeration value="OrganC"/> <xsd:enumeration value="Ribosome"/> <xsd:enumeration value="CellA"/> </xsd:restriction> </xsd:simpleType> !-->
</xsd:attribute>
<xsd:attribute name="BiopaxRef" type="xsd:string" use="optional"/>
<xsd:attribute name="GraphId" type="xsd:ID" use="optional"/>
<xsd:attribute name="GroupRef" type="xsd:string" use="optional"/>
<xsd:attribute name="ObjectType" type="gpml:ObjectType" default="Annotation"/>
<xsd:attribute name="Style" type="gpml:StyleType" default="Solid"/>
</xsd:complexType>
</xsd:element>
top

Global Definitions

Attribute Group: FontAttributes

Name FontAttributes
XML Instance Representation
FontName="xsd:string [0..1]"
FontStyle="xsd:string (value comes from list: {'Normal'|'Italic'}) [0..1]"
FontDecoration="xsd:string (value comes from list: {'Normal'|'Underline'}) [0..1]"
FontStrikethru="xsd:string (value comes from list: {'Normal'|'Strikethru'}) [0..1]"
FontWeight="xsd:string (value comes from list: {'Normal'|'Bold'}) [0..1]"
FontSize="xsd:nonNegativeInteger [0..1]"
Schema Component Representation
<xsd:attributeGroup name="FontAttributes">
<xsd:attribute name="FontName" type="xsd:string" default="Arial"/>
<xsd:attribute name="FontStyle" default="Normal">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Normal"/>
<xsd:enumeration value="Italic"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="FontDecoration" default="Normal">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Normal"/>
<xsd:enumeration value="Underline"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="FontStrikethru" default="Normal">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Normal"/>
<xsd:enumeration value="Strikethru"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="FontWeight" default="Normal">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Normal"/>
<xsd:enumeration value="Bold"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="FontSize" type="xsd:nonNegativeInteger" default="12"/>
</xsd:attributeGroup>
top

Attribute Group: RectAttributes

Name RectAttributes
XML Instance Representation
CenterX="xsd:float [1]"
CenterY="xsd:float [1]"
Width="gpml:Dimension [1]"
Height="gpml:Dimension [1]"
Schema Component Representation
<xsd:attributeGroup name="RectAttributes">
<xsd:attribute name="CenterX" type="xsd:float" use="required"/>
<xsd:attribute name="CenterY" type="xsd:float" use="required"/>
<xsd:attribute name="Width" type="gpml:Dimension" use="required"/>
<xsd:attribute name="Height" type="gpml:Dimension" use="required"/>
</xsd:attributeGroup>
top

Model Group: CommentGroup

Name CommentGroup
XML Instance Representation
<gpml:Comment
Source="xsd:string [0..1]"> [0..*]
xsd:string
</gpml:Comment>
<gpml:PublicationXref
ID="xsd:string [1]"
Database="xsd:string [1]"/> [0..*]
<gpml:BiopaxRef> ... </gpml:BiopaxRef> [0..*]
<gpml:Attribute
Key="xsd:string [1]"
Value="xsd:string [1]"/> [0..*]
Schema Component Representation
<xsd:group name="CommentGroup">
<xsd:sequence>
<xsd:element name="Comment" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="Source" type="xsd:string"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="PublicationXref" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name="ID" type="xsd:string" use="required"/>
<xsd:attribute name="Database" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="BiopaxRef" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="Attribute" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name="Key" type="xsd:string" use="required"/>
<xsd:attribute name="Value" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:group>
top

Simple Type: ColorType

Super-types: None
Sub-types: None
Name ColorType
Content
  • Union of following types:
    • Locally defined type:
      • Base XSD Type: hexBinary
    • Locally defined type:
      • Base XSD Type: string
      • value comes from list: {'Aqua'|'Black'|'Blue'|'Fuchsia'|'Gray'|'Green'|'Lime'|'Maroon'|'Navy'|'Olive'|'Purple'|'Red'|'Silver'|'Teal'|'White'|'Yellow'|'Transparent'}
Schema Component Representation
<xsd:simpleType name="ColorType">
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:hexBinary"/>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Aqua"/>
<xsd:enumeration value="Black"/>
<xsd:enumeration value="Blue"/>
<xsd:enumeration value="Fuchsia"/>
<xsd:enumeration value="Gray"/>
<xsd:enumeration value="Green"/>
<xsd:enumeration value="Lime"/>
<xsd:enumeration value="Maroon"/>
<xsd:enumeration value="Navy"/>
<xsd:enumeration value="Olive"/>
<xsd:enumeration value="Purple"/>
<xsd:enumeration value="Red"/>
<xsd:enumeration value="Silver"/>
<xsd:enumeration value="Teal"/>
<xsd:enumeration value="White"/>
<xsd:enumeration value="Yellow"/>
<xsd:enumeration value="Transparent"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
top

Simple Type: DataNodeType

Super-types: xsd:string < DataNodeType (by restriction)
Sub-types: None
Name DataNodeType
Content
  • Base XSD Type: string
  • value comes from list: {'Protein'|'Rna'|'Complex'|'GeneProduct'|'Metabolite'|'Unknown'}
Schema Component Representation
<xsd:simpleType name="DataNodeType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Protein"/>
<xsd:enumeration value="Rna"/>
<xsd:enumeration value="Complex"/>
<xsd:enumeration value="GeneProduct"/>
<xsd:enumeration value="Metabolite"/>
<xsd:enumeration value="Unknown"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: DatabaseType

Super-types: None
Sub-types: None
Name DatabaseType
Content
  • Union of following types:
    • Locally defined type:
      • Base XSD Type: string
      • length <= 20
    • Locally defined type:
      • Base XSD Type: string
      • value comes from list: {'FlyBase'|'GenBank'|'GeneOntology'|'InterPro'|'LocusLink'|'MGI'|'RefSeq'|'RGD'|'SGD'|'SwissProt'|'TAIR'|'UniGene'|'UniProt'|'WormBase'|'Affy'|'ZFIN'}
Schema Component Representation
<xsd:simpleType name="DatabaseType">
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="20"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="FlyBase"/>
<xsd:enumeration value="GenBank"/>
<xsd:enumeration value="GeneOntology"/>
<xsd:enumeration value="InterPro"/>
<xsd:enumeration value="LocusLink"/>
<xsd:enumeration value="MGI"/>
<xsd:enumeration value="RefSeq"/>
<xsd:enumeration value="RGD"/>
<xsd:enumeration value="SGD"/>
<xsd:enumeration value="SwissProt"/>
<xsd:enumeration value="TAIR"/>
<xsd:enumeration value="UniGene"/>
<xsd:enumeration value="UniProt"/>
<xsd:enumeration value="WormBase"/>
<xsd:enumeration value="Affy"/>
<xsd:enumeration value="ZFIN"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
top

Simple Type: Dimension

Super-types: xsd:float < Dimension (by restriction)
Sub-types: None
Name Dimension
Content
  • Base XSD Type: float
  • value >= 0
Schema Component Representation
<xsd:simpleType name="Dimension">
<xsd:restriction base="xsd:float">
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: NameType

Super-types: xsd:string < NameType (by restriction)
Sub-types: None
Name NameType
Content
  • Base XSD Type: string
  • length <= 50
Schema Component Representation
<xsd:simpleType name="NameType">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="50" fixed="true"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: ObjectType

Super-types: xsd:string < ObjectType (by restriction)
Sub-types: None
Name ObjectType
Content
  • Base XSD Type: string
  • value comes from list: {'Node'|'Edge'|'Annotation'}
Schema Component Representation
<xsd:simpleType name="ObjectType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Node"/>
<xsd:enumeration value="Edge"/>
<xsd:enumeration value="Annotation"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: RotationType

Super-types: None
Sub-types: None
Name RotationType
Content
  • Union of following types:
    • Locally defined type:
      • Base XSD Type: string
      • value comes from list: {'Top'|'Right'|'Bottom'|'Left'}
    • Locally defined type:
      • Base XSD Type: float
Schema Component Representation
<xsd:simpleType name="RotationType">
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Top"/>
<-- rotation of 0.0 !-->
<xsd:enumeration value="Right"/>
<-- rotation of 1/2 pi !-->
<xsd:enumeration value="Bottom"/>
<-- rotation of 1 pi !-->
<xsd:enumeration value="Left"/>
<-- rotation of 3/2 pi !-->
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="xsd:float"/>
<-- rotation is always measured in radians !-->
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
top

Simple Type: StyleType

Super-types: xsd:string < StyleType (by restriction)
Sub-types: None
Name StyleType
Content
  • Base XSD Type: string
  • value comes from list: {'Solid'|'Broken'}
Schema Component Representation
<xsd:simpleType name="StyleType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Solid"/>
<xsd:enumeration value="Broken"/>
</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
<complexTypename="AusAddress">
<complexContent>
<extensionbase="Address">
<sequence>
<elementname="state" type="AusStates"/>
<elementname="postcode">
<simpleType>
<restrictionbase="string">
<patternvalue="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attributename="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