pica-validate - parse and validate PICA+ data
pica-validate [--from TYPE] [--schema FILE] [--to [TYPE]] {OPTIONS} [FILE]
Parse, validate and/or serialize PICA+ data from the command line, e.g.:
pica-validate pica.xml -s schema.json # validate against Avram schema pica-validate pica.dat -t xml # convert binary to XML pica-validate -c -f plain < pica.plain # parse and count records pica-validate -p 003@ pica.xml -t # extract field 003@
PICA serialization type (plain, plus, binary, XML, ppxml) with XML as default. Guessed from input filename unless specified. See format documentation at http://format.gbv.de/pica
PICA serialization type to enable writing parsed PICA data.
Count number of records, holdings, items, and fields.
Avram Schema to validate against.
Report unknown fields and subfields when validating (disabled by default).
Limit the record to fields specified by a simple PICA Path expression.
See Catmandu::PICA for more elaborated command line processing of PICA+ data.
To install PICA::Data, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PICA::Data
CPAN shell
perl -MCPAN -e shell install PICA::Data
For more information on module installation, please visit the detailed CPAN module installation guide.