benchmarkanything-schema - BenchmarkAnything schema cmdline tool
Validate data against BenchmarkAnything schema, see http://benchmarkanything.org/
Default data format (in and out) is JSON, other formats can be specified.
$ benchmarkanything-schema validate data.json
Use it as filter:
$ benchmarkanything-schema validate < data.json $ cat data.json | benchmarkanything-schema validate
Input is YAML:
$ benchmarkanything-schema validate -i yaml data.yaml
The following input formats are allowed, with their according modules used to convert the input into a data structure:
yaml - YAML::Any (default) json - JSON xml - XML::Simple ini - Config::INI::Serializer dumper - Data::Dumper (including the leading $VAR1 variable assignment) tap - TAP::DOM
For more information about the BenchmarkAnything schema, see http://www.benchmarkanything.org/.
Steffen Schwigon <ss5@renormalist.net>
This software is copyright (c) 2016 by Steffen Schwigon.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install BenchmarkAnything::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm BenchmarkAnything::Schema
CPAN shell
perl -MCPAN -e shell install BenchmarkAnything::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.