xml/schema/projects/repomirror.xsd

41 lines
2.0 KiB
XML
Raw Normal View History

2020-06-13 03:46:57 -04:00
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema targetNamespace="https://git.square-r00t.net/RepoMirror/"
xmlns="https://git.square-r00t.net/RepoMirror/"
xmlns:tunnel="https://git.square-r00t.net/RepoMirror/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:include schemaLocation="../lib/types/net.xsd"/>
<xs:include schemaLocation="../lib/types/repomirror.xsd"/>
<xs:include schemaLocation="../lib/types/std.xsd"/>
<xs:include schemaLocation="../lib/elements/repomirror.xsd"/>
<!-- ROOT -->
<xs:element name="mirror">
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="unbounded">
<xs:element name="distro">
<xs:complexType>
<xs:sequence minOccurs="1">
<xs:choice minOccurs="1" maxOccurs="unbounded">
2020-06-14 00:53:19 -04:00
<xs:element name="upstream" type="e_repomir_upstream" minOccurs="1" maxOccurs="unbounded"/>
2020-06-19 02:43:38 -04:00
<xs:element name="dest" type="t_unix_dirpath" minOccurs="1" maxOccurs="1"/>
2020-06-14 00:53:19 -04:00
<xs:element name="lastLocalCheck" type="e_repomir_tstmp_file" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="lastLocalSync" type="e_repomir_tstmp_file" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="lastRemoteUpdate" type="e_repomir_tstmp_file" minOccurs="0" maxOccurs="1"/>
<xs:element name="lastRemoteSync" type="e_repomir_tstmp_file" minOccurs="0" maxOccurs="1"/>
<xs:element name="mountCheck" type="t_unix_dirpath" minOccurs="1"/>
<xs:element name="owner" type="e_repomir_owner" minOccurs="0"/>
<xs:element name="rsyncArgs" minOccurs="0" maxOccurs="1" type="t_unix_args"/>
2020-06-13 03:46:57 -04:00
</xs:choice>
</xs:sequence>
<xs:attribute name="name" type="xs:ID" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>