CSAF::Schema(3pm)

πŸ“¦
version 0.26 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– 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 a JSON::Validator object. 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. πŸ‘‘


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