adding some stuff for repomirror
This commit is contained in:
33
schema/lib/elements/repomirror.xsd
Normal file
33
schema/lib/elements/repomirror.xsd
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="unqualified">
|
||||
|
||||
<xs:include schemaLocation="../types/repomirror.xsd"/>
|
||||
<xs:include schemaLocation="../types/net.xsd"/>
|
||||
<xs:include schemaLocation="../types/unix.xsd"/>
|
||||
|
||||
<!-- Commented out; we don't bother with SSH variants. See also e_repomir_upstream -->
|
||||
<!--
|
||||
<xs:complexType name="e_repomir_sync_proto">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="t_repomir_synctype">
|
||||
<xs:attribute name="ssh" use="optional" default="false" type="xs:boolean"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
-->
|
||||
|
||||
|
||||
<xs:complexType name="e_repomir_upstream">
|
||||
<xs:all minOccurs="1">
|
||||
<!-- <xs:element name="syncType" type="e_repomir_sync_proto" minOccurs="1"/> -->
|
||||
<xs:element name="syncType" type="t_repomir_synctype" minOccurs="1"/>
|
||||
<xs:element name="domain" type="xs:token" minOccurs="1"/>
|
||||
<xs:element name="port" minOccurs="0" type="t_net_port"/>
|
||||
<xs:element name="path" minOccurs="1" type="t_unix_filepath"/>
|
||||
</xs:all>
|
||||
|
||||
</xs:complexType>
|
||||
|
||||
</xs:schema>
|
||||
Reference in New Issue
Block a user