fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.6K
active users

#jsonschema

0 posts0 participants0 posts today
Jamie Tanna<p><strong>Generating Go code from JSON Schema documents</strong></p> Looking at a couple of common libraries for generating Go `struct`s from JSON Schema documents. <p><a href="https://fed.brid.gy/r/https://www.jvt.me/posts/2025/06/05/json-schema-go/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">fed.brid.gy/r/https://www.jvt.</span><span class="invisible">me/posts/2025/06/05/json-schema-go/</span></a></p>
N-gated Hacker News<p>🚀✨ Behold, mortals! After a century (or just a year) of "active development," Zod 4 finally emerges, faster and slimmer, like a tech-savvy fairy godmother sprinkling TypeScript efficiency. 🎩🪄 Thank you, Clerk, for heroically enduring this marathon of delay—who knew making a JSON schema could take longer than a Tolkien saga? 📜🕰️<br><a href="https://zod.dev/v4" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">zod.dev/v4</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/Zod4" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Zod4</span></a> <a href="https://mastodon.social/tags/ZodTypeScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ZodTypeScript</span></a> <a href="https://mastodon.social/tags/JSONSchema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JSONSchema</span></a> <a href="https://mastodon.social/tags/TechNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TechNews</span></a> <a href="https://mastodon.social/tags/DeveloperCommunity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DeveloperCommunity</span></a> <a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/ngated" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ngated</span></a></p>
Ben Ramsey<p>Does anyone know any practical guides for using opis/json-schema? The library appears to do what I need (with full support for draft 2020-12 of JSON Schema), but while the documentation is pretty, it assumes a level of familiarity with terms I don't know, and its examples seem incomplete.</p><p>To be clear: I consider myself proficient with JSON Schema, but this library introduces concepts I've never heard of, like "slots."</p><p><a href="https://opis.io/json-schema" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">opis.io/json-schema</span><span class="invisible"></span></a></p><p><a href="https://phpc.social/tags/PHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP</span></a> <a href="https://phpc.social/tags/JSONSchema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JSONSchema</span></a></p>
Habr<p>Semantic-release в GitLab: автоматизируем CHANGELOG</p><p>Привет, Хабр! На проекте была одна довольно типичная и, мягко говоря, надоедливая проблема: разработчики вручную заполняли CHANGELOG при выкатке новой версии приложения. Иногда информация туда попадала точная и соответствующая реальным изменениям, иногда – частично верная, а иногда и вовсе напрочь забытая. Решение нашлось довольно элегантное – интегрировать инструмент semantic-release в наш пайплайн CI/CD. Но оказалось, что найти полноценное руководство по его настройке, особенно с учетом корпоративного GitLab и плагина semantic-release/changelog, не так-то просто. Собирал информацию буквально по крупицам из различных источников, и вот теперь делюсь с вами проверенной пошаговой инструкцией.</p><p><a href="https://habr.com/ru/companies/mvideo/articles/905142/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">habr.com/ru/companies/mvideo/a</span><span class="invisible">rticles/905142/</span></a></p><p><a href="https://zhub.link/tags/%D0%BC%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>мвидео</span></a> <a href="https://zhub.link/tags/%D1%8D%D0%BB%D1%8C%D0%B4%D0%BE%D1%80%D0%B0%D0%B4%D0%BE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>эльдорадо</span></a> <a href="https://zhub.link/tags/json" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>json</span></a> <a href="https://zhub.link/tags/jsonb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jsonb</span></a> <a href="https://zhub.link/tags/jsonp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jsonp</span></a> <a href="https://zhub.link/tags/jsonschema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jsonschema</span></a> <a href="https://zhub.link/tags/json_api" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>json_api</span></a> <a href="https://zhub.link/tags/json_schema_validator" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>json_schema_validator</span></a> <a href="https://zhub.link/tags/json_web_token" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>json_web_token</span></a> <a href="https://zhub.link/tags/jsonrpc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jsonrpc</span></a></p>
N-gated Hacker News<p>🚀🤡 Behold, the Zod 4 beta: the latest and greatest in the ancient art of making JSON schema <a href="https://mastodon.social/tags/validation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>validation</span></a> sound like the discovery of fire. 🔥 After a year of mysterious "active development," it's finally here - now with more buzzwords and endless promises! Just install with pnpm, cross your fingers, and pray Clerk's "generosity" doesn't run out. 🙏<br><a href="https://v4.zod.dev/v4" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">v4.zod.dev/v4</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/Zod4Beta" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Zod4Beta</span></a> <a href="https://mastodon.social/tags/JSONSchema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JSONSchema</span></a> <a href="https://mastodon.social/tags/SoftwareDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SoftwareDevelopment</span></a> <a href="https://mastodon.social/tags/TechBuzz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TechBuzz</span></a> <a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/ngated" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ngated</span></a></p>
Larry Garfield<p>Why is it the language-agnostic formats for defining data models are either</p><p>1. Grossly over-engineered for one purpose<br>2. Grossly over-verbose<br>3. Both</p><p>Where's my clean, easy syntax for defining data classes that can be generated into *simple* PHP, JS, Kotlin, etc? Where's my DTO-maker format?</p><p><a href="https://phpc.social/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://phpc.social/tags/Rant" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rant</span></a> <a href="https://phpc.social/tags/Protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Protobuf</span></a> <a href="https://phpc.social/tags/Openapi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Openapi</span></a> <a href="https://phpc.social/tags/jsonschema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jsonschema</span></a> <a href="https://phpc.social/tags/PHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP</span></a> <a href="https://phpc.social/tags/Javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Javascript</span></a></p>
MultiQC<p>Another quality of life improvement is that we now have a <a href="https://mstdn.science/tags/JSONschema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JSONschema</span></a> via <span class="h-card" translate="no"><a href="https://fosstodon.org/@pydantic" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>pydantic</span></a></span> for <a href="https://mstdn.science/tags/MultiQC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MultiQC</span></a> configuration files 🎉</p><p>This has been added to schemastore.org so that config files in <a href="https://mstdn.science/tags/VSCode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VSCode</span></a> &amp; other IDEs automatically get integrated error checking as you type, see <a href="https://docs.seqera.io/multiqc/getting_started/config#json-schema-validation" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">docs.seqera.io/multiqc/getting</span><span class="invisible">_started/config#json-schema-validation</span></a></p>
Andreas Haller<p>"The `dependentRequired` keyword conditionally requires that certain properties must be present if a given property is present in an object"</p><p><a href="https://json-schema.org/understanding-json-schema/reference/conditionals#dependentRequired" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">json-schema.org/understanding-</span><span class="invisible">json-schema/reference/conditionals#dependentRequired</span></a></p><p><a href="https://ruby.social/tags/jsonschema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jsonschema</span></a></p>
Jordi Cabot<p>🎉🥳 NEW RELEASE 🎉🥳 </p><p>Happy to present you a new release of the BESSER platform, with two exciting improvements:</p><p>1️⃣ <a href="https://fediscience.org/tags/Feature" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Feature</span></a> <a href="https://fediscience.org/tags/metamodel" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>metamodel</span></a> extension: In <a href="https://fediscience.org/tags/BUML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BUML</span></a> you can define now feature models to define structured representations of the features (functionalities or characteristics) of a system, capturing their variability and dependencies.</p><p>2️⃣ <a href="https://fediscience.org/tags/JSONSchema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JSONSchema</span></a> <a href="https://fediscience.org/tags/generator" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>generator</span></a>: This generator consumes a B-UML structural model and produces the equivalent JSON schema that can be used to validate whether given <a href="https://fediscience.org/tags/JSON" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JSON</span></a> objects conform to the schema.</p><p>➕ many other improvements. </p><p>⚒️ Release notes <a href="https://github.com/BESSER-PEARL/BESSER/releases/tag/v2.3.0" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/BESSER-PEARL/BESSER</span><span class="invisible">/releases/tag/v2.3.0</span></a></p><p><a href="https://fediscience.org/tags/release" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>release</span></a> <a href="https://fediscience.org/tags/lowcode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lowcode</span></a> <a href="https://fediscience.org/tags/opensource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opensource</span></a></p>
Zło To<p>Lapidary-render 0.12.0 is now released. </p><p>To the best of my knowledge it's the only <a href="https://101010.pl/tags/codeGenerator" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codeGenerator</span></a> that properly handles <a href="https://101010.pl/tags/jsonSchema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jsonSchema</span></a> anyOf and allOf. <br>Also has support for oneOf, but not per the specs.</p><p><a href="https://github.com/python-lapidary/lapidary-render/releases/tag/v0.12.0" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/python-lapidary/lap</span><span class="invisible">idary-render/releases/tag/v0.12.0</span></a></p><p><a href="https://101010.pl/tags/pythonLapidary" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pythonLapidary</span></a> <a href="https://101010.pl/tags/openAPI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>openAPI</span></a> <a href="https://101010.pl/tags/openAPI3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>openAPI3</span></a> <a href="https://101010.pl/tags/openAPI30" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>openAPI30</span></a> <a href="https://101010.pl/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://101010.pl/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://101010.pl/tags/webAPI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webAPI</span></a></p>
Habr<p>Как сделать красивое резюме используя JSON</p><p>Я устал от постоянного редактирования дизайна резюме и решил действовать по-своему. В статье я рассказываю, как мне удалось создать инструмент, который позволяет хранить все сведения о моем опыте в одном месте и обновлять их без лишних хлопот. Если вам знакомо чувство, когда форматирование отнимает время у самой сути пути – читайте мой опыт разработки решения, которое избавляет от постоянных правок и помогает сосредоточиться на самом главном. Буду рад услышать ваши идеи в комментариях к статье</p><p><a href="https://habr.com/ru/articles/883858/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">habr.com/ru/articles/883858/</span><span class="invisible"></span></a></p><p><a href="https://zhub.link/tags/resume" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>resume</span></a> <a href="https://zhub.link/tags/json" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>json</span></a> <a href="https://zhub.link/tags/jsonschema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jsonschema</span></a> <a href="https://zhub.link/tags/hr" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hr</span></a> <a href="https://zhub.link/tags/hr%D0%BF%D1%80%D0%BE%D1%86%D0%B5%D1%81%D1%81" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hrпроцесс</span></a> <a href="https://zhub.link/tags/cv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cv</span></a></p>
Habr<p>Магический метод работы с формами</p><p>Видеоаналитика в СИБУРе — это сложный и многогранный продукт, который внедряется на разных производствах. Несмотря на то, что это один продукт, его конфигурация может сильно отличаться: используются различные камеры, детекторы и параметры, а также интеграции с разнообразными сторонними системами. В таких условиях инженеру не всегда понятно, что именно надо дописать, а валидация происходит только после окончания редактирования файла и перезапуска сервиса. Логичное решение — предоставить инженерам удобный интерфейс, где они смогут заполнять форму и сразу видеть ошибки. Меня зовут Владимир Кирилкин, я техлид в Цифровом СИБУРе, в команде Индустрии 4.0. Мы разрабатываем продукт «Видеоаналитика на производстве», и о наших задачах уже писали на Хабре ( habr.com/ru/companies/sibur_official/articles/700634/ ). Мы подошли к задаче нестандартно: вместо заранее заданных форм на фронте реализовали их автоматическую генерацию с использованием JSON-схем и немного ✨магии✨. Наши сервисы построены на Python и React, но предложенный подход можно адаптировать и для других технологий — правда, с чуть меньшим количеством ✨магии✨.</p><p><a href="https://habr.com/ru/companies/sibur_official/articles/875372/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">habr.com/ru/companies/sibur_of</span><span class="invisible">ficial/articles/875372/</span></a></p><p><a href="https://zhub.link/tags/%D1%84%D0%BE%D1%80%D0%BC%D1%8B" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>формы</span></a> <a href="https://zhub.link/tags/jsonschema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jsonschema</span></a> <a href="https://zhub.link/tags/pydantic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pydantic</span></a> <a href="https://zhub.link/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://zhub.link/tags/react" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>react</span></a> <a href="https://zhub.link/tags/backend_driven_ui" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>backend_driven_ui</span></a> <a href="https://zhub.link/tags/%D1%81%D0%B8%D0%B1%D1%83%D1%80_%D1%86%D0%B8%D1%84%D1%80%D0%BE%D0%B2%D0%BE%D0%B9" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>сибур_цифровой</span></a> <a href="https://zhub.link/tags/heavy_digital" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>heavy_digital</span></a> <a href="https://zhub.link/tags/%D0%BF%D1%80%D0%BE%D0%BC%D1%8B%D1%88%D0%BB%D0%B5%D0%BD%D0%BD%D0%BE%D1%81%D1%82%D1%8C" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>промышленность</span></a> <a href="https://zhub.link/tags/%D0%BF%D1%80%D0%BE%D0%BC%D1%8B%D1%88%D0%BB%D0%B5%D0%BD%D0%BD%D0%BE%D0%B5_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>промышленное_программирование</span></a></p>
michabbb<p>• 🔄 Convert seamlessly between data formats for easier sharing and collaboration <a href="https://social.vivaldi.net/tags/datavisualization" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>datavisualization</span></a><br>• ⚙️ Format, validate, and generate <a href="https://social.vivaldi.net/tags/TypeScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TypeScript</span></a> interfaces, <a href="https://social.vivaldi.net/tags/Golang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Golang</span></a> structs, and <a href="https://social.vivaldi.net/tags/JSONSchema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JSONSchema</span></a> from your data</p>
Andreas Haller<p>I still feel uncertain about how to describe file uploads in <a href="https://ruby.social/tags/openapi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>openapi</span></a> . Do you just use multipart/form-data with a „type: string, format: binary“ field or „contentMediaType“? How do you solve that?</p><p><a href="https://ruby.social/tags/apis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>apis</span></a> <a href="https://ruby.social/tags/openapi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>openapi</span></a> <a href="https://ruby.social/tags/jsonschema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jsonschema</span></a></p>
Brandon Bennett<p>If I really hated someone I would make them edit JSON Schema docs by hand. </p><p><a href="https://hachyderm.io/tags/jsonschema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jsonschema</span></a></p>
$(cat /dev/urandom)<p><a href="https://fosstodon.org/tags/JSONSchema" class="mention hashtag" rel="tag">#<span>JSONSchema</span></a> in <a href="https://fosstodon.org/tags/OpenAPI30x" class="mention hashtag" rel="tag">#<span>OpenAPI30x</span></a> was just lovely. Consider this schema:</p><p>anyOf:<br />- type: object<br />- type: integer<br /> maximum: 20<br /> nullable: true</p><p>Does null value validate? No.<br />Value must validate against at least one leg of anyOf *and* against the parent. Other than anyOf, the parent is empty which means any value will validate against it ...except for null.</p><p>How to write a schema for nullable union (two types plus null)? You can&#39;t.</p><p>Why so many projects still use it 🤦</p><p><a href="https://fosstodon.org/tags/openAPI" class="mention hashtag" rel="tag">#<span>openAPI</span></a> <a href="https://fosstodon.org/tags/openAPI3" class="mention hashtag" rel="tag">#<span>openAPI3</span></a> <a href="https://fosstodon.org/tags/programming" class="mention hashtag" rel="tag">#<span>programming</span></a></p>
ohmrun<p>Turning things into quick Cuelang types looks, for me, like running a data structure through jet to .edn, then using malli to provide a schema for the data, output that as a json schema and pull it back into cue.</p><p>I should point out that malli will automatically derive a schema for any data you feed it.</p><p><a href="https://hachyderm.io/tags/Cuelang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cuelang</span></a> <a href="https://hachyderm.io/tags/Cue" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cue</span></a> <a href="https://hachyderm.io/tags/Edn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Edn</span></a> <a href="https://hachyderm.io/tags/Malli" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Malli</span></a> <a href="https://hachyderm.io/tags/JsonSchema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JsonSchema</span></a> <a href="https://hachyderm.io/tags/Babashka" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Babashka</span></a></p>
gregsdennis<p>Just got a huge contribution from <a href="https://github.com/cptjazz" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/cptjazz</span><span class="invisible"></span></a>!</p><p>He spent two weeks digging in JsonPointer.Net to cut parsing time and memory usage in half!</p><p>What's really cool is the fall-on effect this has for JsonSchema.Net, which makes heavy use of pointers!</p><p><a href="https://dotnet.social/tags/jsonpointer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jsonpointer</span></a> <a href="https://dotnet.social/tags/jsonschema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jsonschema</span></a> <a href="https://dotnet.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotnet</span></a> <a href="https://dotnet.social/tags/opensource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opensource</span></a></p>
gregsdennis<p>Do you find yourself on the edge of your seat wondering what could be next for the <a href="https://dotnet.social/tags/jsonschema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jsonschema</span></a> specification? Well worry not: I wrote a blog post just for you!</p><p>A new spec is coming, and we're focusing on stability between releases with a new publication process.</p><p><a href="https://json-schema.org/blog/posts/stable-json-schema" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">json-schema.org/blog/posts/sta</span><span class="invisible">ble-json-schema</span></a></p>
Timothée Mazzucotelli :python:<p>How do you generate JSON schemas of your dataclasses&#39; **inputs**? Any third-party library (something else than stdlib&#39;s dataclasses) allowing one to do that?</p><p>For example, input type is `int | str`, but final/output type is always `int` (coerced). I want to document the input type, not the output type.</p><p><a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="tag">#<span>python</span></a> <a href="https://fosstodon.org/tags/pydantic" class="mention hashtag" rel="tag">#<span>pydantic</span></a> <a href="https://fosstodon.org/tags/dataclass" class="mention hashtag" rel="tag">#<span>dataclass</span></a> <a href="https://fosstodon.org/tags/attrs" class="mention hashtag" rel="tag">#<span>attrs</span></a> <a href="https://fosstodon.org/tags/jsonschema" class="mention hashtag" rel="tag">#<span>jsonschema</span></a></p>