Source restructure. yaz-marcdump part of installation
[yaz-moved-to-github.git] / src / univres.asn
diff --git a/src/univres.asn b/src/univres.asn
new file mode 100644 (file)
index 0000000..f83320d
--- /dev/null
@@ -0,0 +1,23 @@
+ResourceReport-Format-Universe-1
+{Z39-50-resourceReport universe-1 (1000)} DEFINITIONS ::=
+BEGIN
+IMPORTS StringOrNumeric FROM Z39-50-APDU-1995;
+--
+
+UniverseReportHits ::= SEQUENCE {
+       database        StringOrNumeric,
+       hits    StringOrNumeric
+}
+
+UniverseReportDuplicate ::= SEQUENCE {
+       hitno StringOrNumeric
+}
+
+UniverseReport ::= SEQUENCE {
+       totalHits INTEGER,
+       report CHOICE {
+               databaseHits    [0] IMPLICIT UniverseReportHits,
+               duplicate               [1] IMPLICIT UniverseReportDuplicate
+       }
+}
+END