/usr/share/obs/docs/api/pattern.rng is in obs-api 2.7.4-2.
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 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | <?xml version="1.0" encoding="UTF-8"?>
<!--
Elements:
name
arch
summary
short summary
description
detailed description
default
if present, this element indicates that the pattern should be installed
by default
uservisible
if present, this element indicates that the pattern should be presented
to user in the UI.
category
one of defined categories to which the pattern belongs
(e.g Graphical Environments, Desktop Functions)
icon
path to icon (relative to installation source URL) file representing
the pattern
script
?
dependencies
see rpm-ns.rnc
-->
<grammar ns="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="suse-primary.rng">
<start>
<ref name="element-pattern"/>
</start>
</include>
<define name="element-patterns">
<element name="patterns">
<optional>
<attribute name="count">
<data type="nonNegativeInteger"/>
</attribute>
</optional>
<oneOrMore>
<ref name="element-pattern"/>
</oneOrMore>
</element>
</define>
<define name="element-pattern">
<element name="pattern">
<ref name="pattern"/>
</element>
</define>
<define name="pattern">
<interleave>
<element name="name">
<text/>
</element>
<optional>
<element name="arch">
<text/>
</element>
</optional>
<optional>
<element name="version">
<attribute name="epoch">
<text/>
</attribute>
<attribute name="ver">
<text/>
</attribute>
<attribute name="rel">
<text/>
</attribute>
</element>
</optional>
<oneOrMore>
<element name="summary">
<ref name="localized-string"/>
</element>
</oneOrMore>
<oneOrMore>
<element name="description">
<ref name="localized-string"/>
</element>
</oneOrMore>
<optional>
<element name="default">
<empty/>
</element>
</optional>
<optional>
<element name="uservisible">
<empty/>
</element>
</optional>
<oneOrMore>
<element name="category">
<ref name="localized-string"/>
</element>
</oneOrMore>
<optional>
<element name="icon">
<text/>
</element>
</optional>
<optional>
<element name="script">
<text/>
</element>
</optional>
<ref name="dependencies"/>
</interleave>
</define>
</grammar>
|