-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathchainlink-subsystem_1_0.xsd
54 lines (51 loc) · 2.32 KB
/
chainlink-subsystem_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
<?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"
xmlns:cls="http://machinecode.io/xml/ns/chainlink/subsystem"
targetNamespace="http://machinecode.io/xml/ns/chainlink/subsystem"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="1.0">
<xs:annotation>
<xs:documentation>
Configuration for a Chainlink Subsystem.
</xs:documentation>
</xs:annotation>
<xs:element name="subsystem" type="cls:SubSystemType"/>
<xs:complexType name="SubSystemType">
<xs:annotation>
<xs:documentation>
A Chainlink subsystem. Resources declared here will be created when the subsystem starts and will be
shared by operators in every deployment.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="cl:ScopeType">
<xs:sequence>
<xs:element name="deployment" type="cls:ContainerDeploymentType" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
</xs:sequence>
<xs:attribute name="ref" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>
An injectable reference for the SubSystemConfiguration to use to configure this subsystem.
</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="ContainerDeploymentType">
<xs:complexContent>
<xs:extension base="cl:DeploymentType">
<xs:attribute name="name" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of the deployment this configuration applies to.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>