pkiraly / qa-catalogue

QA catalogue – a metadata quality assessment tool for library catalogue records (MARC, PICA)
GNU General Public License v3.0
76 stars 18 forks source link

Adjust UNIMARC Schema to Avram 0.9.6 #408

Closed nichtich closed 5 months ago

nichtich commented 5 months ago

Replace several codes with flags when codes can be repeated and replace ranges such as 0-9 with patterns or explicit lists of codes. This makes the schema valid Avram 0.9.6 as tested with avram-js 0.6.6.

@gegic This requires to also extend UnimarcSchemaReader method getPositions to support:

and

By the way in qa-catalogue MARC validaton flags are internally stored like codes with an additional boolean flag repeatableContents.