50 lines
1.8 KiB
XML
50 lines
1.8 KiB
XML
<?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"/>
|
|
|
|
<xs:complexType name="e_repomir_owner">
|
|
<xs:sequence minOccurs="1">
|
|
<xs:choice minOccurs="1" maxOccurs="2">
|
|
<xs:element name="user" type="t_unix_posixUserGroup" maxOccurs="1"/>
|
|
<xs:element name="group" type="t_unix_posixUserGroup" maxOccurs="1"/>
|
|
</xs:choice>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<!-- 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_tstmp_file">
|
|
<xs:simpleContent>
|
|
<xs:extension base="t_unix_filepath">
|
|
<xs:attribute name="timeFormat" type="xs:string" use="optional" default="UNIX_EPOCH"/>
|
|
</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:element name="bwlimit" minOccurs="0" type="xs:positiveInteger"/>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
</xs:schema>
|