NAME

benchmarkanything-schema - BenchmarkAnything schema cmdline tool

SYNOPSIS

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

Input formats

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

SEE ALSO

For more information about the BenchmarkAnything schema, see http://www.benchmarkanything.org/.

AUTHOR

Steffen Schwigon <ss5@renormalist.net>

COPYRIGHT AND LICENSE

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.