CSAF::Schema(3pm)
π CSAF::Schema π
okay bestie, welcome to CSAF::Schema β she's a JSON::Validator wrapper and she's literally that girl. This is the perl-CSAF manual page, third section of the perl man pages (3pm), and yes we're doing the whole thing together, no skimming, periodt. π
β¨ NAME β¨
CSAF::Schema β it's giving "JSON::Validator wrapper". that's it, that's the whole name section, but she ate. π
β¨ SYNOPSIS β¨
here's how you actually use her, copy-paste ready, no cap:
use CSAF::Schema;
my $schema = CSAF::Schema->validator('strict-csaf-2.0');
my @errors = $schema->validate($data);
likeβ¦ look at that. three lines. iconic. πΈ
β¨ DESCRIPTION β¨
CSAF::Schema is a wrapper for JSON::Validator. that's the vibe. she wraps, she validates, she serves. π¦
β¨ METHODS β¨
validatorβ bestie this one loads the schema you hand her (and yes, it can be an ID, a URL, or a hash, she's flexible like that π ) and then returns you aJSON::Validatorobject. slay.
β¨ SUPPORT β¨
π Bugs / Feature Requests π
found a bug? need a feature? obsessed with making this better? please report any bugs or feature requests through the issue tracker at <https://github.com/giterlizzi/perl-CSAF/issues>. and here's the cute part: you will be notified automatically of any progress on your issue. no ghosting, we keep you in the loop fr fr. π«Ά
π Source Code π
this is open source software, bestie. the code repository is available for public review and contribution under the terms of the license. come look, come contribute, come be part of the main character energy.
<https://github.com/giterlizzi/perl-CSAF>
and if you wanna clone it (you do, obviously):
git clone https://github.com/giterlizzi/perl-CSAF.git
β¨ AUTHOR β¨
- Giuseppe Di Terlizzi
<gdt@cpan.org>
yes king, we see you, we appreciate you. π
β¨ LICENSE AND COPYRIGHT β¨
This software is copyright (c) 2023-2025 by Giuseppe Di Terlizzi.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
translation bestie: it's free, it's open, go wild, but respect the Perl 5 terms, okay? π
and that's a wrap on the CSAF::Schema page! this manual page came to you from perl v5.40.1, dated 2025-09-03, and it's the CSAF::Schema(3pm) page β go forth and validate, my love. mwah. π
β¨π
π¦ where this page comes from
- ubuntu resolute: libcsaf-perl 0.26-1 Β· Artistic-2.0
- ubuntu stonking: libcsaf-perl 0.26-1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms