summaryrefslogtreecommitdiffstats
path: root/presto-utils/relaxng/presto.rnc
diff options
context:
space:
mode:
Diffstat (limited to 'presto-utils/relaxng/presto.rnc')
-rw-r--r--presto-utils/relaxng/presto.rnc20
1 files changed, 20 insertions, 0 deletions
diff --git a/presto-utils/relaxng/presto.rnc b/presto-utils/relaxng/presto.rnc
new file mode 100644
index 0000000..90a4c34
--- /dev/null
+++ b/presto-utils/relaxng/presto.rnc
@@ -0,0 +1,20 @@
+start = element prestodeltas { newpackage+ }
+newpackage = element newpackage {
+ attribute name { text },
+ attribute epoch { text }?,
+ attribute version { text },
+ attribute release { text },
+ attribute arch { text },
+ element delta {
+ attribute oldepoch { text }?,
+ attribute oldversion { text }?,
+ attribute oldrelease { text }?,
+ element filename { text },
+ element sequence { text },
+ element size { text },
+ element checksum {
+ attribute type { "sha" | "md5" },
+ text
+ }
+ }+
+}