JSON::...Content(3pm)
π JSON::...Content β aka JSON::Schema::Modern::Vocabulary::Content π
okay bestie, so this is the Perl docs for JSON::...Content (that's the fancy truncated title β the real one is in the NAME spot below, and yes it lives in the 3pm manual section because it's a lil Perl module). It's part of the User Contributed Perl Documentation crew. Sit down, grab a boba, we're gonna read a manpage together and it's gonna be fun. π§β¨
πΈ NAME πΈ
JSON::Schema::Modern::Vocabulary::Content β it's the implementation of the JSON Schema Content vocabulary. That's the whole vibe. π
π VERSION π
Version 0.642, bestie. β¨
Also, important lore: the version numbering is a linearly-increasing scheme. So do not presume or infer anything from the version being less than 1.0. It's giving "no meaning here", and that's on purpose. π
π DESCRIPTION π
Okay so here's the real tea. β
This is the implementation of the JSON Schema Draft 2020-12 "Content" vocabulary. You can tell a metaschema is using it because it's flagged with the URI https://json-schema.org/draft/2020-12/vocab/content, and it's formally specified over at <https://json-schema.org/draft/2020-12/json-schema-validation.html#section-8>. π
Support is also provided for these icons: π
- the equivalent Draft 2019-09 keywords, indicated in metaschemas with the URI
https://json-schema.org/draft/2019-09/vocab/contentand formally specified at <https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-02#section-8>. π¦ - the equivalent Draft 7 keywords that correspond to this vocabulary and are formally specified at <https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-8>. π
Wanna turn on assertion behaviour? You can do that by toggling the validate_content_schemas option in JSON::Schema::Modern. Simple as. β
And if you wanna cook up brand-new handlers for contentEncoding and contentMediaType, you can do that through add_encoding in JSON::Schema::Modern and add_media_type in JSON::Schema::Modern respectively. Go off, honestly. π₯
π«Ά GIVING THANKS π«Ά
If this module came through for you and you found it useful, please show your appreciation by:
- dropping a +1 on MetaCPAN at <https://metacpan.org/dist/JSON-Schema-Modern> β
- and leaving a star on GitHub at <https://github.com/karenetheridge/JSON-Schema-Modern>. π
That's it. That's the ask. It costs you nothing and it fuels the maintainer's main character energy. π₯Ή
π¦ SUPPORT π¦
Got bugs? (Not the cute kind, sadly.) You can submit them through <https://github.com/karenetheridge/JSON-Schema-Modern/issues>. π
She's also usually active on irc, under the nick 'ether' at irc.perl.org and irc.libera.chat. So you can literally just... go say hi. π
You can also find her on the JSON Schema Slack server at <https://json-schema.slack.com> and the OpenAPI Slack server at <https://open-api.slack.com> β which are also genuinely great resources for finding help. No cap. π
π§ AUTHOR π§
Karen Etheridge <ether@cpan.org> β the icon, the legend, the whole moment. π
π COPYRIGHT AND LICENCE π
This software is copyright (c) 2020 by Karen Etheridge.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Periodt. β¨
heads up bestie: some schema files have their own licence, and you'll find it in share/LICENSE. π
so yeah! that's the whole page!! πβ¨ written from the perl v5.40.1 docs, dated 2026-07-31, mwah, love that for us, go read a schema, slay πππ«Ά
π¦ where this page comes from
- ubuntu stonking: libjson-schema-modern-perl 0.642-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms