normalize-sah-schema - Normalize Sah schema
This document describes version 0.468 of normalize-sah-schema (from Perl distribution App-SahUtils), released on 2019-10-24.
% normalize-sah-schema '"int"' ["int", {}, {}] % normalize-sah-schema '["int", min=>1]' ["int", { min => 1 }, {}]
This script can be used to quickly produce/see the normalized form of a Sah schema. Both input and output are in the form of Perl code.
Please visit the project's homepage at https://metacpan.org/release/App-SahUtils.
Source repository is at https://github.com/perlancar/perl-App-SahUtils.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-SahUtils
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
validate-with-sah can also show normalized schema using the --show-schema option.
--show-schema
perlancar <perlancar@cpan.org>
This software is copyright (c) 2019, 2018, 2017, 2016, 2015 by perlancar@cpan.org.
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 App::SahUtils, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::SahUtils
CPAN shell
perl -MCPAN -e shell install App::SahUtils
For more information on module installation, please visit the detailed CPAN module installation guide.