<xsd:element name="map">
<xsd:annotation>
<xsd:documentation>
<p>The map element describes a single SBGN PD map. It contains a list of glyph elements and a list of arc elements. These lists can be of any size (possibly empty).</p>
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="SBGNBase">
<xsd:sequence>
<xsd:element ref="sbgn:bbox" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
<p>The bbox element on a map is not mandatory, it allows the application to define a canvas, and at the same time define a whitespace margin around the glyphs.</p>
<p>If a bbox is defined on a map, all glyphs and arcs must be inside this bbox, otherwise they could be clipped off by applications.</p>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="sbgn:glyph" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="sbgn:arc" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="sbgn:arcgroup" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="version">
<xsd:annotation>
<xsd:documentation>
<p>Version of the map: URI identifier that gives the language, level and version defined by SBGN. Different languages/levels/versions have different restrictions on the usage of sub-elements (that are not encoded in this schema but must be validated with an external validator)</p>
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:anyURI">
<xsd:enumeration value="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3"/>
<xsd:enumeration value="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.2"/>
<xsd:enumeration value="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.1"/>
<xsd:enumeration value="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.0"/>
<xsd:enumeration value="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1"/>
<xsd:enumeration value="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2"/>
<xsd:enumeration value="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-1.2"/>
<xsd:enumeration value="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-1.1"/>
<xsd:enumeration value="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-1.0"/>
<xsd:enumeration value="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-1"/>
<xsd:enumeration value="http://identifiers.org/combine.specifications/sbgn.af.level-1.version-1.2"/>
<xsd:enumeration value="http://identifiers.org/combine.specifications/sbgn.af.level-1.version-1.0"/>
<xsd:enumeration value="http://identifiers.org/combine.specifications/sbgn.af.level-1.version-1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<!-- DEPRECATED: Language attribute is deprecated in Milestone 3 -->
<xsd:attribute name="language">
<xsd:annotation>
<xsd:documentation>
<p>Language of the map: one of three sublanguages defined by SBGN. Different languages have different restrictions on the usage of sub-elements (that are not encoded in this schema but must be validated with an external validator)</p>
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="entity relationship"/>
<xsd:enumeration value="process description"/>
<xsd:enumeration value="activity flow"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<!-- /DEPRECATED-->
<xsd:attribute name="id" type="xsd:ID" use="required">
<xsd:annotation>
<xsd:documentation>
<p>The xsd:ID type is an alphanumeric identifier, starting with a letter. It is recommended to generate meaningless IDs (e.g. "map1234") and avoid IDs with a meaning (e.g. "MAPK cascade")</p>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element> |