Fix the FacetTerm.
[yaz-moved-to-github.git] / src / facet.asn
1 UserInfoFormat-facet-1
2 {Z39-50-userInfoFormat facet-1 (1)} DEFINITIONS ::=
3 BEGIN
4 IMPORTS AttributeList, Term FROM Z39-50-APDU-1995;
5 FacetList ::= SEQUENCE OF FacetField;
6
7 FacetField ::= SEQUENCE {
8   -- attributes will specify:
9   --   1=use (field name)
10   --   2=sortorder 0=most frequent, 1=least frequent, ..
11   --   3=limit (integer)
12   attributes [1] IMPLICIT AttributeList,
13   terms      [2] IMPLICIT SEQUENCE OF FacetTerm OPTIONAL
14 }
15
16 FacetTerm ::= SEQUENCE {
17   term  Term,
18   count INTEGER
19 }
20
21 END