mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

642
comptes actifs

#jsonschema

0 message0 participant0 message aujourd’hui
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 noreferrer" 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 noreferrer" target="_blank">#<span>PHP</span></a> <a href="https://phpc.social/tags/JSONSchema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSONSchema</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 noreferrer" 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 noreferrer" target="_blank">@<span>pydantic</span></a></span> for <a href="https://mstdn.science/tags/MultiQC" class="mention hashtag" rel="nofollow noopener noreferrer" 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 noreferrer" 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 noreferrer" 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>
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 noreferrer" target="_blank">#<span>codeGenerator</span></a> that properly handles <a href="https://101010.pl/tags/jsonSchema" class="mention hashtag" rel="nofollow noopener noreferrer" 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 noreferrer" 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 noreferrer" target="_blank">#<span>pythonLapidary</span></a> <a href="https://101010.pl/tags/openAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>openAPI</span></a> <a href="https://101010.pl/tags/openAPI3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>openAPI3</span></a> <a href="https://101010.pl/tags/openAPI30" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>openAPI30</span></a> <a href="https://101010.pl/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://101010.pl/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://101010.pl/tags/webAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webAPI</span></a></p>
Matthew Adams<p>We've just shipped Preview 10 of Corvus.JsonSchema, our low-allocation, high performance code generator and validator for <a href="https://dotnet.social/tags/json" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>json</span></a> and <a href="https://dotnet.social/tags/jsonschema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jsonschema</span></a> on <a href="https://dotnet.social/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> and <a href="https://dotnet.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a>.</p><p>This preview is preparing for the .NET 9.0 wave, and takes a dependency on the RC1 preview System.Text.Json libraries. Don't worry, it still supports netstandard2.0 and net8.0!</p><p>If you run on .NET 8 we get a 13% perf improvement on our "typical usage" benchmark.</p><p>.NET 9 has a whopping 32% perf uplift.</p><p><a href="https://www.nuget.org/packages/Corvus.Json.JsonSchema.TypeGeneratorTool#versions-body-tab" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">nuget.org/packages/Corvus.Json</span><span class="invisible">.JsonSchema.TypeGeneratorTool#versions-body-tab</span></a></p>
:mastodon: Mike Amundsen<p>Introducing Structured Outputs in the API</p><p><a href="https://openai.com/index/introducing-structured-outputs-in-the-api/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">openai.com/index/introducing-s</span><span class="invisible">tructured-outputs-in-the-api/</span></a></p><p>"We are introducing Structured Outputs in the API—model outputs now reliably adhere to developer-supplied JSON Schemas." -- <a href="https://mastodon.social/tags/openAI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>openAI</span></a></p><p><a href="https://mastodon.social/tags/LLMs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LLMs</span></a> <a href="https://mastodon.social/tags/genAI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>genAI</span></a> <a href="https://mastodon.social/tags/JSONSchema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSONSchema</span></a></p>
Julian Berman<p>Will keep this brief!</p><p>(Everything here, as always, are thoughts and opinions only on my own behalf.)</p><p>As you may have seen elsewhere, my tenure working on <a href="https://mastodon.social/tags/jsonschema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jsonschema</span></a> at Postman is ending, as it has for the rest of the JSON Schema &amp; <a href="https://mastodon.social/tags/AsyncAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AsyncAPI</span></a> teams.</p><p>I have nothing but positive things to say about the opportunity to work full-time on open source software &amp; will continue to encourage more companies to do so for the projects they rely on.</p><p>1/</p>
:mastodon: Mike Amundsen<p>The Diff Between What JSON Schema and Spectral Provide When Mapping the API Landscape</p><p><a href="https://apievangelist.com/2024/05/07/the-diff-between-what-json-schema-and-spectral-provide-when-mapping-the-api-landscape/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">apievangelist.com/2024/05/07/t</span><span class="invisible">he-diff-between-what-json-schema-and-spectral-provide-when-mapping-the-api-landscape/</span></a></p><p>"While JSON Schema is broadly applied across any “JSON schema”, Spectral is very focused on OpenAPI and AsyncAPI. I would like to leave all that baggage at the door, and zoom out to think just about APIs.json, and governing the landscape it maps using JSON Schema and Spectral." -- <a href="https://mastodon.social/tags/KinLane" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>KinLane</span></a> <a href="https://mastodon.social/tags/apiEvangelist" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>apiEvangelist</span></a></p><p><a href="https://mastodon.social/tags/api360" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>api360</span></a> <a href="https://mastodon.social/tags/jsonSchema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jsonSchema</span></a> <a href="https://mastodon.social/tags/spectral" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>spectral</span></a></p>
Matthew Adams<p>We've just published a series of 17 (!) posts on common patterns in JSON Schema; lots of these have been culled from questions asked in the JSON-Schema Slack channel.<br> <br>They are written from the perspective of .NET developers who are used to JSON serialization as a code-first exercise, and want to migrate towards schema-first (with generated code examples from&nbsp;Corvus.JsonSchema).</p><p><a href="https://endjin.com/blog/2024/05/json-schema-patterns-dotnet-data-object" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">endjin.com/blog/2024/05/json-s</span><span class="invisible">chema-patterns-dotnet-data-object</span></a><br> <br><a href="https://dotnet.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://dotnet.social/tags/json" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>json</span></a> <a href="https://dotnet.social/tags/jsonSchema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jsonSchema</span></a></p>
Matthew Adams<p>Some new features in Corvus.JsonSchema - our low-allocation, high-performance <a href="https://dotnet.social/tags/JsonSchema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JsonSchema</span></a> serialization &amp; validation library for <a href="https://dotnet.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a>.</p><p>V3.0.10 brings support for arrays of rank &gt;= 1, including C#12 collection expression initializers, and the ability to set values deep within an array of rank &gt; 1.</p><p>We detect fixed-size numeric arrays of any rank, and allow you to convert to- and from-Span&lt;T&gt; for use in vectorized APIs such as System.Numerics.TensorPrimitives.</p><p><a href="https://github.com/corvus-dotnet/corvus.jsonschema" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/corvus-dotnet/corvu</span><span class="invisible">s.jsonschema</span></a></p>
gregsdennis<p>I'm deprecating JsonSchema.​Net.CodeGeneration. An attempt was made ⭐, but there's something better.</p><p><a href="https://blog.json-everything.net/posts/dropping-codegen/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.json-everything.net/posts</span><span class="invisible">/dropping-codegen/</span></a></p><p><a href="https://dotnet.social/tags/jsonschema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jsonschema</span></a> <a href="https://dotnet.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://dotnet.social/tags/codegen" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>codegen</span></a></p>
gregsdennis<p>Updates for JsonSchema​.Net and vocab extensions.</p><p>Exposed all JSON serializers for public types. This was required to support JSON source generation in client code. No functionality updates, though, so if you're not using source gen, you can skip this one!</p><p><a href="https://dotnet.social/tags/jsonschema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jsonschema</span></a> <a href="https://dotnet.social/tags/dotnetconf" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnetconf</span></a></p>
gregsdennis<p>Calling all JsonSchema​.Net (and other json-everything) users! What .Net version are you using?</p><p>There are a lot of good reasons to update to newer versions of .Net (i.e. 6).</p><p>If doing this would break you or cause you pain, I want to hear about it.</p><p><a href="https://github.com/gregsdennis/json-everything/issues/390" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/gregsdennis/json-ev</span><span class="invisible">erything/issues/390</span></a></p><p><a href="https://dotnet.social/tags/jsonschema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jsonschema</span></a> <a href="https://dotnet.social/tags/jsonpath" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jsonpath</span></a> <a href="https://dotnet.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a></p>
tea 🌺<p>Found a cool project "quicktype" converts json data structure to how you'd represent the plain object in other languages, it's like a rosetta stone but for json data structure: <a href="https://github.com/glideapps/quicktype" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/glideapps/quicktype</span><span class="invisible"></span></a></p><p><a href="https://indieweb.social/tags/json" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>json</span></a> <a href="https://indieweb.social/tags/Ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ruby</span></a> <a href="https://indieweb.social/tags/JavaScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JavaScript</span></a> <a href="https://indieweb.social/tags/Flow" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Flow</span></a> <a href="https://indieweb.social/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a> <a href="https://indieweb.social/tags/Kotlin" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Kotlin</span></a> <a href="https://indieweb.social/tags/Dart" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Dart</span></a> <a href="https://indieweb.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://indieweb.social/tags/CSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSharp</span></a> <a href="https://indieweb.social/tags/Go" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Go</span></a> <a href="https://indieweb.social/tags/CPlusPlus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CPlusPlus</span></a> <a href="https://indieweb.social/tags/Java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java</span></a> <a href="https://indieweb.social/tags/Scala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Scala</span></a> <a href="https://indieweb.social/tags/TypeScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TypeScript</span></a> <a href="https://indieweb.social/tags/Swift" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Swift</span></a> <a href="https://indieweb.social/tags/ObjectiveC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ObjectiveC</span></a> <a href="https://indieweb.social/tags/Elm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Elm</span></a> <a href="https://indieweb.social/tags/JSONSchema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSONSchema</span></a> <a href="https://indieweb.social/tags/Pike" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Pike</span></a> <a href="https://indieweb.social/tags/PropTypes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PropTypes</span></a> <a href="https://indieweb.social/tags/Haskell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Haskell</span></a> <a href="https://indieweb.social/tags/PHP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHP</span></a></p>
Matthew Adams<p>We've shipped a new version of Corvus <a href="https://dotnet.social/tags/jsonSchema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jsonSchema</span></a> <a href="https://github.com/corvus-dotnet/Corvus.JsonSchema" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/corvus-dotnet/Corvu</span><span class="invisible">s.JsonSchema</span></a></p><p>This has a number of updates, the most significant of which is stable ordering of property names in e.g. Create() methods.</p><p>While this is not technically a breaking change, because the ordering was unstable before, it is more-or-less guaranteed to break your code if you relied on property ordering rather than naming.</p><p>Recommendation: explicitly specify your parameter names on calls to Create() before you regenerate.</p>
David Wheeler<p>Video's up for the talk I gave PGCon a couple weeks ago:</p><p>CiperhDoc: A Pattern for a Searchable, Encrypted JSON Document Service</p><p>I'm pretty happy with the design for this service and how it came together.</p><p><a href="https://www.youtube.com/watch?v=SUyHnjpr-0Q" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=SUyHnjpr-0</span><span class="invisible">Q</span></a></p><p><a href="https://xoxo.zone/tags/Encryption" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Encryption</span></a> <a href="https://xoxo.zone/tags/Privacy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Privacy</span></a> <a href="https://xoxo.zone/tags/personalData" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>personalData</span></a> <a href="https://xoxo.zone/tags/PGCon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PGCon</span></a> <a href="https://xoxo.zone/tags/JSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSON</span></a> <a href="https://xoxo.zone/tags/JSONPath" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSONPath</span></a> <a href="https://xoxo.zone/tags/JSONSchema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSONSchema</span></a> <a href="https://xoxo.zone/tags/PostgreSQL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PostgreSQL</span></a> <a href="https://xoxo.zone/tags/Go" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Go</span></a></p>
Anders Eknert<p>Eventful week last one! I turned 40, and <a href="https://hachyderm.io/tags/OPA" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OPA</span></a> turned v0.50.0! Lots of good stuff in this release, like new built-in functions for JSON schema verification, a new shorthand syntax for fetching remote bundles, performance improvements, and more. Check it out!</p><p><a href="https://hachyderm.io/tags/OpenPolicyAgent" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenPolicyAgent</span></a> <a href="https://hachyderm.io/tags/JSONSchema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSONSchema</span></a> <a href="https://hachyderm.io/tags/Rego" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rego</span></a> </p><p><a href="https://github.com/open-policy-agent/opa/releases/tag/v0.50.0" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/open-policy-agent/o</span><span class="invisible">pa/releases/tag/v0.50.0</span></a></p>
gregsdennis<p><span class="h-card"><a href="https://fosstodon.org/@thepracticaldev" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>thepracticaldev</span></a></span> neat! Have you looked into using a <a href="https://fosstodon.org/tags/jsonschema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jsonschema</span></a> for that data?</p>
gregsdennis<p>The <a href="https://fosstodon.org/tags/jsonschema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jsonschema</span></a> org is looking into publishing our weekly calls on YouTube. Thoughts from the wider <a href="https://fosstodon.org/tags/foss" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>foss</span></a> community would be appreciated (experience, ideas, etc.).</p><p><a href="https://github.com/json-schema-org/community/issues/303" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/json-schema-org/com</span><span class="invisible">munity/issues/303</span></a></p><p>Please boost for visibility.</p>
sankakujin :verified::vegan::fedi:genjsonschema - a Simple jsonschema generator<br><br><a href="https://github.com/holgerjh/genjsonschema" rel="nofollow noopener noreferrer" target="_blank">https://github.com/holgerjh/genjsonschema</a><br><br>Go read some fresh, Apache licensed go code.<br><a class="hashtag" href="https://social.ppmx.org/tag/foss" rel="nofollow noopener noreferrer" target="_blank">#Foss</a> <a class="hashtag" href="https://social.ppmx.org/tag/go" rel="nofollow noopener noreferrer" target="_blank">#go</a> <a class="hashtag" href="https://social.ppmx.org/tag/json" rel="nofollow noopener noreferrer" target="_blank">#json</a> <a class="hashtag" href="https://social.ppmx.org/tag/schema" rel="nofollow noopener noreferrer" target="_blank">#schema</a> <a class="hashtag" href="https://social.ppmx.org/tag/jsonschema" rel="nofollow noopener noreferrer" target="_blank">#jsonschema</a>