functions.xsd
1.87 KB
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
41
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="functions">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="function">
<xs:complexType>
<xs:all>
<xs:element name="prompts" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="prompt" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="type" type="xs:string" use="optional"/>
<xs:attribute name="subtype" type="xs:string" use="optional"/>
<xs:attribute name="default" type="xs:string" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prompt_param" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="default_args" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="info_brief" type="xs:string"/>
<xs:element name="new_kernel" type="xs:string"/>
</xs:all>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="args" type="xs:int"/>
<xs:attribute name="kind" type="xs:string"/>
<xs:attribute name="group" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:ID" use="required" />
</xs:complexType>
</xs:element>
</xs:schema>