scala-jsonschema
scala-jsonschema copied to clipboard
Scala JSON Schema
added support for draft: https://json-schema.org/draft/2020-12/release-notes.html NOTE: I do not have extensive knowledge regarding json-schema, in relation to draft changes, i tried to identify which parts of json-schema are used in...
## About this PR 📦 Updates com.typesafe.sbt:sbt-site from `1.4.1` to `1.7.0` ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve conflicts as long as you don't change...
## About this PR 📦 Updates [com.lightbend.paradox:sbt-paradox](https://github.com/lightbend/paradox) from `0.10.6` to `0.10.7` 📜 [GitHub Release Notes](https://github.com/lightbend/paradox/releases/tag/v0.10.7) - [Version Diff](https://github.com/lightbend/paradox/compare/v0.10.6...v0.10.7) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...
**Describe the bug** use java enum in case class and using JsonFormatter.format(AsValue.schema(json, Version.Draft04())), the building error is Java enum ACTIVE is not a class . how to resolve it **To...
Takes a json snippet, runs analysis, returns a Schema instance
**Describe the bug** Usage of the library triggers compiler warnings when setting `-Xlint`. **To Reproduce** Compiling code like (based on readme examples) ``` package test import json._ object Test {...
Question: How to create json schema from a case class, and create custom schemas for specific types
Hi, First of all, thank you for the great library !! 1. I have a specific use case in which I want to create a schema for a case class...
**Describe the bug** Using a generic type, i.e. one with a type parameter, multiple times in a single class causes an invalid schema to be generated. There is only one...
> In JSON Schema, an empty object is a completely valid schema that will accept any valid JSON. > https://json-schema.org/understanding-json-schema/basics.html#id1 > You can also use `true` in place of the...