veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

295
active users

#jsonschema

0 posts0 participants0 posts today
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>
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>