summaryrefslogtreecommitdiff
path: root/modules/xcos/etc/XcosConfiguration.xsd
blob: 90cf48671969ccc3fd08efcffbefe28d867b3e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:annotation>
		<xs:documentation>
This package contain class for managing Xcos configuration.	
	
To serialize/deserialize values, {@link javax.xml.bind.JAXB} is used.
		</xs:documentation>
	</xs:annotation>

	<xs:element name="settings" type="SettingType"/>

	<xs:complexType name="SettingType">
		<xs:annotation>
			<xs:documentation>
Global configuration.
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
		<!-- Recent document list -->
			<xs:element maxOccurs="10" minOccurs="0" name="recent" type="DocumentType"/>
        <!-- Currently opened tab -->
			<xs:element maxOccurs="unbounded" minOccurs="0" name="tab" type="DocumentType"/>
       </xs:sequence>
	</xs:complexType>

	<xs:complexType name="DocumentType">
		<xs:annotation>
			<xs:documentation>
Any document is linked to the real file with an URL.
			</xs:documentation>
		</xs:annotation>
		<xs:attribute name="url" type="xs:anyURI" use="optional"/>
		<xs:attribute name="date" type="xs:dateTime" use="optional"/>
		<xs:attribute name="path" type="xs:string" use="optional"/>
        <xs:attribute name="uuid" type="xs:string" use="optional"/>
        <xs:attribute name="viewport" type="xs:string" use="optional"/>
	</xs:complexType>
</xs:schema>