NAME

normalize-sah-schema - Normalize Sah schema

VERSION

This document describes version 0.479 of normalize-sah-schema (from Perl distribution App-SahUtils), released on 2021-07-29.

SYNOPSIS

 % normalize-sah-schema '"int"'
 ["int", {}, {}]

 % normalize-sah-schema '["int", min=>1]'
 ["int", { min => 1 }, {}]

DESCRIPTION

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.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/App-SahUtils.

SOURCE

Source repository is at https://github.com/perlancar/perl-App-SahUtils.

BUGS

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.

SEE ALSO

validate-with-sah can also show normalized schema using the --show-schema option.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2021, 2020, 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.