/usr/share/zypp/schema/yum/repomd.rng is in libzypp-common 15.3.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | <?xml version="1.0" encoding="UTF-8"?>
<grammar ns="http://linux.duke.edu/metadata/repo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<include href="common-inc.rng"/>
<define name="repomd.location">
<element name="location">
<attribute name="href">
<data type="anyURI"/>
</attribute>
</element>
</define>
<define name="repomd.meta">
<element name="checksum">
<ref name="private.checksum"/>
</element>
<!-- Oddity in the wild: a timestamp wiht a decimal -->
<element name="timestamp">
<choice>
<ref name="private.unixts"/>
<data type="decimal"/>
</choice>
</element>
<optional>
<element name="size">
<ref name="private.positive"/>
</element>
</optional>
<optional>
<element name="open-size">
<ref name="private.positive"/>
</element>
</optional>
<element name="open-checksum">
<ref name="private.checksum"/>
</element>
</define>
<start>
<element name="repomd">
<optional>
<element name="revision">
<ref name="private.unixts"/>
</element>
</optional>
<optional>
<element name="tags">
<element name="repo">
<data type="anyURI"/>
</element>
</element>
</optional>
<zeroOrMore>
<element name="data">
<attribute name="type">
<choice>
<value>deltainfo</value>
<value>filelists</value>
<value>other</value>
<value>primary</value>
<value>susedata</value>
<value>suseinfo</value>
<value>updateinfo</value>
<value>patches</value>
<value>products</value>
<value>product</value>
<value>patterns</value>
<value>pattern</value>
</choice>
</attribute>
<choice>
<group>
<ref name="repomd.meta"/>
<ref name="repomd.location"/>
</group>
<group>
<ref name="repomd.location"/>
<ref name="repomd.meta"/>
</group>
</choice>
</element>
</zeroOrMore>
</element>
</start>
</grammar>
|