NAME

Langertha::Manifest::Validation - Internal validation rules shared by the provider manifest value objects

VERSION

version 0.503

SYNOPSIS

package Langertha::Manifest::Endpoint;
use Moose;
with 'Langertha::Manifest::Validation';

DESCRIPTION

The rules every part of a Langertha::Manifest shares: the explicit rejection of command-, code-, secret- and prompt-shaped fields, the rejection of unknown fields, and the value checks for ids, tokens, URLs, numbers and booleans. Composed by Langertha::Manifest, Langertha::Manifest::Endpoint, Langertha::Manifest::Auth and Langertha::Manifest::Model.

Internal. Every method of this role is private (underscore-prefixed) and not part of the public API of the classes that compose it; it lives outside Langertha::Role:: on purpose, because it is not an engine capability.

Validation errors are thrown as "Langertha::Manifest: <reason>\n" (no source location); the public entry points (from_hash, from_json, the Builder) re-raise them with croak, so the reported location is the caller's.

SEE ALSO

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha/issues.

IRC

Join #langertha on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.