JSON::...Content(3pm)

πŸ“¦
version 0.642 Β· 4 versions
, in ubuntu stonking

πŸ’– 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: 🌈

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:

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. πŸ‘‘


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