2
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
3 |
<xsd:element name="template">
|
|
4 |
<xsd:complexType>
|
|
5 |
<xsd:sequence>
|
|
6 |
<xsd:element maxOccurs="unbounded" minOccurs="0" name="wizardPage">
|
|
7 |
<xsd:complexType>
|
|
8 |
<xsd:sequence maxOccurs="1" minOccurs="1">
|
|
9 |
<xsd:choice maxOccurs="unbounded" minOccurs="0">
|
|
10 |
<xsd:element ref="uidField"/>
|
|
11 |
<xsd:element ref="textField"/>
|
|
12 |
<xsd:element ref="filenameField"/>
|
|
13 |
</xsd:choice>
|
|
14 |
<xsd:element minOccurs="0" name="description" type="xsd:string"/>
|
|
15 |
</xsd:sequence>
|
|
16 |
<xsd:attribute name="id" type="xsd:string" use="required"/>
|
|
17 |
<xsd:attribute name="label" type="xsd:string" use="required"/>
|
|
18 |
<xsd:attribute name="help" type="xsd:string"/>
|
|
19 |
</xsd:complexType>
|
|
20 |
</xsd:element>
|
|
21 |
<xsd:element maxOccurs="unbounded" minOccurs="0" name="process">
|
|
22 |
<xsd:complexType>
|
|
23 |
<xsd:sequence>
|
|
24 |
<xsd:element maxOccurs="unbounded" minOccurs="0" name="parameter">
|
|
25 |
<xsd:complexType>
|
|
26 |
<xsd:attribute name="name"/>
|
|
27 |
<xsd:anyAttribute processContents="lax"/>
|
|
28 |
</xsd:complexType>
|
|
29 |
</xsd:element>
|
|
30 |
</xsd:sequence>
|
|
31 |
<xsd:attribute name="name" type="xsd:string" use="optional"/>
|
|
32 |
<xsd:attribute name="class" type="xsd:string" use="optional"/>
|
|
33 |
<xsd:attribute name="bundle" type="xsd:string" use="optional"/>
|
|
34 |
</xsd:complexType>
|
|
35 |
</xsd:element>
|
|
36 |
<xsd:element maxOccurs="1" minOccurs="0" name="description" type="xsd:string"/>
|
|
37 |
<xsd:element maxOccurs="unbounded" minOccurs="0" name="metadata">
|
|
38 |
<xsd:complexType>
|
|
39 |
<xsd:simpleContent>
|
|
40 |
<xsd:extension base="xsd:string">
|
|
41 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
42 |
<xsd:attribute name="value" type="xsd:string" use="optional">
|
|
43 |
<xsd:annotation><xsd:documentation>
|
|
44 |
The value of a metadata element.
|
|
45 |
</xsd:documentation></xsd:annotation>
|
|
46 |
</xsd:attribute>
|
|
47 |
</xsd:extension>
|
|
48 |
</xsd:simpleContent>
|
|
49 |
</xsd:complexType>
|
|
50 |
</xsd:element>
|
|
51 |
</xsd:sequence>
|
|
52 |
|
|
53 |
<xsd:attribute name="version" type="xsd:string" use="required"/>
|
|
54 |
<xsd:attribute name="label" type="xsd:string" use="required"/>
|
|
55 |
<xsd:attribute name="help" type="xsd:string"/>
|
|
56 |
<xsd:attribute name="copyright" type="xsd:string" use="optional"/>
|
|
57 |
<xsd:attribute name="author" type="xsd:string" use="optional"/>
|
|
58 |
</xsd:complexType>
|
|
59 |
</xsd:element>
|
|
60 |
<xsd:element abstract="true" name="baseField" type="baseFieldType"/>
|
|
61 |
|
|
62 |
<xsd:complexType name="baseFieldType">
|
|
63 |
<xsd:sequence>
|
|
64 |
<xsd:element name="description" type="xsd:string"/>
|
|
65 |
</xsd:sequence>
|
|
66 |
<xsd:attribute name="id" type="xsd:string" use="required"/>
|
|
67 |
<xsd:attribute name="label" type="xsd:string" use="required"/>
|
|
68 |
<xsd:attribute default="false" name="persist" type="xsd:boolean"/>
|
|
69 |
<xsd:attribute default="false" name="mandatory" type="xsd:boolean"/>
|
|
70 |
</xsd:complexType>
|
|
71 |
<xsd:element name="textField">
|
|
72 |
<xsd:complexType>
|
|
73 |
<xsd:complexContent>
|
|
74 |
<xsd:extension base="baseFieldType">
|
|
75 |
<xsd:attribute name="default" type="xsd:string"/>
|
|
76 |
<xsd:attribute name="pattern" type="xsd:string"/>
|
|
77 |
<xsd:attribute default="false" name="multiline" type="xsd:boolean"/>
|
|
78 |
</xsd:extension>
|
|
79 |
</xsd:complexContent>
|
|
80 |
</xsd:complexType>
|
|
81 |
</xsd:element>
|
|
82 |
<xsd:element name="uidField">
|
|
83 |
<xsd:complexType>
|
|
84 |
<xsd:complexContent>
|
|
85 |
<xsd:extension base="baseFieldType">
|
|
86 |
<xsd:attribute name="min" type="xsd:string"/>
|
|
87 |
<xsd:attribute name="max" type="xsd:string"/>
|
|
88 |
</xsd:extension>
|
|
89 |
</xsd:complexContent>
|
|
90 |
</xsd:complexType>
|
|
91 |
</xsd:element>
|
|
92 |
<xsd:element name="filenameField">
|
|
93 |
<xsd:complexType>
|
|
94 |
<xsd:complexContent>
|
|
95 |
<xsd:extension base="baseFieldType">
|
|
96 |
<xsd:attribute name="default" type="xsd:string"/>
|
|
97 |
</xsd:extension>
|
|
98 |
</xsd:complexContent>
|
|
99 |
</xsd:complexType>
|
|
100 |
</xsd:element>
|
|
101 |
</xsd:schema>
|