scala-jsonschema
scala-jsonschema copied to clipboard
Scala JSON Schema
**Describe the bug** None of the examples in the README that I tried to actually work as documented. Most don't even compile and the ones that do produce a different...
https://swagger.io/specification/#schemaObject
There is a number of areas where schema derivation may also be required except `json`. - Apache Avro - Google Protobuf - Apache Spark StructType - Amazon Ion - Flatbuffers...
Let say I have TagType of Object and I want to generate schema for it.
The documentation on the front page makes it difficult to pick up as a new user: ```scala import json._ val personSchema: json.Schema[Person] = Json.schema[Person] ``` isn't going to work because...
https://github.com/endpoints4s/endpoints4s see if we can replace original JsonSchema derivation with ours
I can help with the cross-compiling but would like to check if it is something you guys are not against.
First of all, thank you for such a great library and hard work! I am having issue validation json with optional fields with null values. As mentioned in https://github.com/everit-org/json-schema/issues/16 optional...
**Describe the bug** DerivedSchema doesn't work with case classes without fields and case object types **To Reproduce** ```scala abstract class WithSchema[T: DerivedSchema] { def schema: Schema[T] = implicitly[DerivedSchema[T]].schema } object...
Hello @andyglow I saw https://github.com/andyglow/scala-jsonschema#free-objects with info on how to create the schema for JsObject and now I am struggling with creating Schema for JsValue. Can you suggest the code...