This file is indexed.

/usr/share/zypp/schema/yum/patterns.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
83
84
85
86
87
<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns:rpm="http://linux.duke.edu/metadata/rpm" xmlns:suse="http://novell.com/package/metadata/suse/pattern" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  <include href="rpm-inc.rng"/>
  <define name="suse.uservisible">
    <element name="suse:uservisible">
      <empty/>
    </element>
  </define>
  <define name="suse.category">
    <element name="suse:category">
      <ref name="private.localizedtext"/>
    </element>
  </define>
  <define name="suse.plaincat">
    <element name="suse:category">
      <text/>
    </element>
  </define>
  <start>
    <element name="patterns">
      <optional>
        <!-- seen missing in the wild -->
        <attribute name="count">
          <data type="nonNegativeInteger"/>
        </attribute>
      </optional>
      <oneOrMore>
        <element name="suse:pattern">
          <element name="suse:name">
            <text/>
          </element>
          <optional>
            <element name="suse:arch">
              <ref name="private.archenum"/>
            </element>
          </optional>
          <optional>
            <element name="suse:version">
              <ref name="private.evr"/>
            </element>
          </optional>
          <element name="suse:summary">
            <text/>
          </element>
          <optional>
            <element name="suse:description">
              <text/>
            </element>
          </optional>
          <choice>
            <group>
              <ref name="suse.uservisible"/>
              <optional>
                <ref name="suse.category"/>
              </optional>
            </group>
            <group>
              <ref name="suse.plaincat"/>
              <optional>
                <ref name="suse.uservisible"/>
              </optional>
            </group>
          </choice>
          <optional>
            <ref name="rpm.provides"/>
          </optional>
          <optional>
            <element name="rpm:freshens">
              <oneOrMore>
                <ref name="rpm.entry"/>
              </oneOrMore>
            </element>
          </optional>
          <optional>
            <ref name="rpm.suggests"/>
          </optional>
          <optional>
            <ref name="rpm.requires"/>
          </optional>
          <optional>
            <ref name="rpm.recommends"/>
          </optional>
        </element>
      </oneOrMore>
    </element>
  </start>
</grammar>