summaryrefslogtreecommitdiffstats
path: root/schemas/services.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'schemas/services.xsd')
-rw-r--r--schemas/services.xsd34
1 files changed, 9 insertions, 25 deletions
diff --git a/schemas/services.xsd b/schemas/services.xsd
index 14964c955..828959e82 100644
--- a/schemas/services.xsd
+++ b/schemas/services.xsd
@@ -8,43 +8,27 @@
</xsd:documentation>
</xsd:annotation>
- <xsd:complexType name='ServiceType'>
- <xsd:choice minOccurs='0' maxOccurs='unbounded'>
- <xsd:element name='User'>
- <xsd:complexType>
- <xsd:attribute name='address' type='xsd:string' use='required'/>
- <xsd:attribute name='mask' type='xsd:string' use='required'/>
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- <xsd:attribute name='name' type='xsd:string' use='required'/>
- <xsd:attribute name='status' type='xsd:string' use='required'/>
- <xsd:attribute name='port' type='xsd:string'/>
- <xsd:attribute name='protocol' type='xsd:string'/>
- <xsd:attribute name='reload' type='xsd:string'/>
- <xsd:attribute name='FMRI' type='xsd:string'/>
- <xsd:attribute name='type' type='xsd:string'/>
- </xsd:complexType>
+ <xsd:include schemaLocation="servicetype.xsd"/>
- <xsd:complexType name='ContainerType'>
+ <xsd:complexType name='ServiceContainerType'>
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
<xsd:element name='Service' type='ServiceType'/>
- <xsd:element name='Group' type='ContainerType'/>
- <xsd:element name='Client' type='ContainerType'/>
+ <xsd:element name='Group' type='ServiceContainerType'/>
+ <xsd:element name='Client' type='ServiceContainerType'/>
</xsd:choice>
<xsd:attribute name='name' type='xsd:string'/>
<xsd:attribute name='negate' type='xsd:string'/>
</xsd:complexType>
-
+
<xsd:element name='Services'>
<xsd:complexType>
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
- <xsd:element name='Service' type='ServiceType'/>
- <xsd:element name='Group' type='ContainerType'/>
- <xsd:element name='Client' type='ContainerType'/>
+ <xsd:element name='Service' type='ServiceType'/>
+ <xsd:element name='Group' type='ServiceContainerType'/>
+ <xsd:element name='Client' type='ServiceContainerType'/>
</xsd:choice>
<xsd:attribute name='priority' type='xsd:integer'/>
</xsd:complexType>
</xsd:element>
-</xsd:schema> \ No newline at end of file
+</xsd:schema>