wisemapping-open-source/wise-webapp/src/main/resources/mindmap.xsd

64 lines
2.7 KiB
XML
Raw Normal View History

2009-06-07 20:59:43 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
attributeFormDefault="unqualified"
elementFormDefault="qualified"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2009-06-07 20:59:43 +02:00
<xsd:element name="map">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="topic" minOccurs="1" maxOccurs='unbounded'/>
<xsd:element ref="relationship" minOccurs="0" maxOccurs='unbounded'/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="version" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
2009-06-07 20:59:43 +02:00
<xsd:element name="topic" type="topicType"/>
<xsd:complexType name="topicType">
<xsd:sequence>
<xsd:element minOccurs='0' maxOccurs='unbounded' type="icon" name="icon"/>
<xsd:element minOccurs='0' maxOccurs='1' type="link" name="link"/>
<xsd:element minOccurs='0' maxOccurs='1' type="note" name="note"/>
<xsd:element minOccurs='0' maxOccurs='unbounded' ref="topic"/>
</xsd:sequence>
<xsd:attribute name="text" type="xsd:string"/>
<xsd:attribute name="shape" type="xsd:string"/>
<xsd:attribute name="fontStyle" type="xsd:string"/>
<xsd:attribute name="bgColor" type="xsd:string"/>
<xsd:attribute name="brColor" type="xsd:string"/>
<xsd:attribute name="order" type="xsd:int"/>
<xsd:attribute name="position" type="xsd:string"/>
<xsd:attribute name="central" type="xsd:boolean"/>
<xsd:attribute name="id" type="xsd:string" use="optional"/>
<xsd:attribute name="shrink" type="xsd:boolean"/>
2009-06-07 20:59:43 +02:00
</xsd:complexType>
<xsd:complexType name="icon">
<xsd:attribute name="id" type="xsd:string"/>
<xsd:attribute name="order" type="xsd:string"/>
</xsd:complexType>
<xsd:complexType name="link">
<xsd:attribute name="url" type="xsd:string"/>
<xsd:attribute name="order" type="xsd:string"/>
</xsd:complexType>
<xsd:complexType name="note">
<xsd:attribute name="text" type="xsd:string"/>
</xsd:complexType>
<xsd:element name="relationship" type="relationshipType"/>
<xsd:complexType name="relationshipType">
<xsd:attribute name="id" type="xsd:string"/>
<xsd:attribute name="srcTopicId" type="xsd:string"/>
<xsd:attribute name="destTopicId" type="xsd:string"/>
<xsd:attribute name="lineType" type="xsd:string"/>
<xsd:attribute name="srcCtrlPoint" type="xsd:string"/>
<xsd:attribute name="destCtrlPoint" type="xsd:string"/>
<xsd:attribute name="endArrow" type="xsd:boolean"/>
</xsd:complexType>
2009-06-07 20:59:43 +02:00
</xsd:schema>