-
Notifications
You must be signed in to change notification settings - Fork 1
/
chainlink_1_0.xsd
115 lines (107 loc) · 4.93 KB
/
chainlink_1_0.xsd
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:cl="http://machinecode.io/xml/ns/chainlink"
targetNamespace="http://machinecode.io/xml/ns/chainlink"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="1.0">
<xs:annotation>
<xs:documentation>
Configuration for a Chainlink deployment.
</xs:documentation>
</xs:annotation>
<xs:element name="chainlink" type="cl:DeploymentType"/>
<xs:complexType name="ScopeType" abstract="true">
<xs:annotation>
<xs:documentation>
A Chainlink scope.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="job-operator" type="cl:JobOperatorType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="property" type="cl:PropertyType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DeploymentType">
<xs:annotation>
<xs:documentation>
A Chainlink deployment. Resources declared here will be created for each deployment and will be shared
by any operators in that deployment.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="cl:ScopeType">
<xs:attribute name="ref" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
An injectable reference for the DeploymentConfiguration to use to configure this deployment.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="configuration-loaders" type="cl:ListType" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="JobOperatorType">
<xs:annotation>
<xs:documentation>
A JobOperator.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="cl:NamedType">
<xs:sequence>
<xs:element name="property" type="cl:PropertyType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="ref" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
An injectable reference for the JobOperatorConfiguration to use to configure this job operator.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="class-loader" type="xs:string" use="optional"/>
<xs:attribute name="transaction-manager" type="xs:string" use="optional"/>
<xs:attribute name="marshalling" type="xs:string" use="optional"/>
<xs:attribute name="mbean-server" type="xs:string" use="optional"/>
<xs:attribute name="repository" type="xs:string" use="optional"/>
<xs:attribute name="registry" type="xs:string" use="optional"/>
<xs:attribute name="transport" type="xs:string" use="optional"/>
<xs:attribute name="executor" type="xs:string" use="optional"/>
<xs:attribute name="job-loaders" type="cl:ListType" use="optional"/>
<xs:attribute name="artifact-loaders" type="cl:ListType" use="optional"/>
<xs:attribute name="securities" type="cl:ListType" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="NamedType">
<xs:attribute name="name" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>
The name this element may referred to by other elements using this attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="DeclarationType">
<xs:annotation>
<xs:documentation>
A resource that may be used by a JobOperator.
</xs:documentation>
</xs:annotation>
<xs:attribute name="ref" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>
An injectable reference for either a factory or an artifact.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="PropertyType">
<xs:attribute name="name" use="required" type="xs:string" />
<xs:attribute name="value" use="required" type="xs:string" />
</xs:complexType>
<xs:simpleType name="ListType">
<xs:list itemType="xs:string"/>
</xs:simpleType>
</xs:schema>