Generating Go code from JSON Schema documents
Looking at a couple of common libraries for generating Go `struct`s from JSON Schema documents.https://fed.brid.gy/r/https://www.jvt.me/posts/2025/06/05/json-schema-go/
Generating Go code from JSON Schema documents
Looking at a couple of common libraries for generating Go `struct`s from JSON Schema documents.https://fed.brid.gy/r/https://www.jvt.me/posts/2025/06/05/json-schema-go/
🎉 The CUE project has just released v0.13.0 - the culmination of a year's worth of work to enable the new, faster, better, (stronger? harder?) evaluator by default! 🎉
https://github.com/cue-lang/cue/releases/tag/v0.13.0
The release also packs in loads of new features, such as support for absolute module packages, dozens of JSON Schema improvements, and a new experimental XML encoding.
#CUE #cuelang #JSON #YAML #TOML #DevOps #SysAdmin #DataValidation #Policy #Data #Schema #JSONSchema #OpenAPI #ProtoBuf
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.
To be clear: I consider myself proficient with JSON Schema, but this library introduces concepts I've never heard of, like "slots."
Semantic-release в GitLab: автоматизируем CHANGELOG
Привет, Хабр! На проекте была одна довольно типичная и, мягко говоря, надоедливая проблема: разработчики вручную заполняли CHANGELOG при выкатке новой версии приложения. Иногда информация туда попадала точная и соответствующая реальным изменениям, иногда – частично верная, а иногда и вовсе напрочь забытая. Решение нашлось довольно элегантное – интегрировать инструмент semantic-release в наш пайплайн CI/CD. Но оказалось, что найти полноценное руководство по его настройке, особенно с учетом корпоративного GitLab и плагина semantic-release/changelog, не так-то просто. Собирал информацию буквально по крупицам из различных источников, и вот теперь делюсь с вами проверенной пошаговой инструкцией.
https://habr.com/ru/companies/mvideo/articles/905142/
#мвидео #эльдорадо #json #jsonb #jsonp #jsonschema #json_api #json_schema_validator #json_web_token #jsonrpc
Why is it the language-agnostic formats for defining data models are either
1. Grossly over-engineered for one purpose
2. Grossly over-verbose
3. Both
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?
#Programming #Rant #Protobuf #Openapi #jsonschema #PHP #Javascript
Another quality of life improvement is that we now have a #JSONschema via @pydantic for #MultiQC configuration files 🎉
This has been added to schemastore.org so that config files in #VSCode & other IDEs automatically get integrated error checking as you type, see https://docs.seqera.io/multiqc/getting_started/config#json-schema-validation
"The `dependentRequired` keyword conditionally requires that certain properties must be present if a given property is present in an object"
https://json-schema.org/understanding-json-schema/reference/conditionals#dependentRequired
🎉🥳 NEW RELEASE 🎉🥳
Happy to present you a new release of the BESSER platform, with two exciting improvements:
1️⃣ #Feature #metamodel extension: In #BUML you can define now feature models to define structured representations of the features (functionalities or characteristics) of a system, capturing their variability and dependencies.
2️⃣ #JSONSchema #generator: This generator consumes a B-UML structural model and produces the equivalent JSON schema that can be used to validate whether given #JSON objects conform to the schema.
➕ many other improvements.
⚒️ Release notes https://github.com/BESSER-PEARL/BESSER/releases/tag/v2.3.0