java-json-tools/json-schema-core

JSON Schema from POJO

heruan opened this issue · 7 comments

The README states this packages can be used to generate a JSON Schema from a POJO. Is there any sort of documentation to begin to move around this goal? Or maybe this was already done?

I think he's referring to this sample:
https://github.com/fge/json-schema-processor-examples/wiki/JJSchemaFromSource

It doesn't look like he has a project that is a basic utility that does it
like he does for schema2pojo.
On Oct 16, 2015 9:25 PM, "Giovanni Lovato" notifications@github.com wrote:

The README states this packages can be used to generate a JSON Schema
from a POJO
. Is there any sort of documentation to begin to move around
this goal? Or maybe this was already done?


Reply to this email directly or view it on GitHub
#22.

Hi @heruan / @huggsboson

Do you still require action on this?

I didn't require any. @daveclayton Are you taking over maintenance for fge's json-* projects? We have various patches we've applied / built /published in a fork that box has been maintaining of the json-patch, schema-core and validator. If you're taking over the maint, I'd love to merge those patchsets up to you and start using your builds to avoid fragmenting.

Hi @huggsboson - yup, I'm maintainer now.

Patches definitely welcome, and great to hear that development has been continuing - what have you got so far?

you can see our stuff at:
https://github.com/crate-metadata/

Super happy to have other people working on this again. One of them fixes
a pretty pernicious "memory leak" in schema validator (it was an unbounded
cache size with no evictions).

On Thu, Jul 7, 2016 at 4:01 PM, Dave Clayton notifications@github.com
wrote:

Hi @huggsboson https://github.com/huggsboson - yup, I'm maintainer now.

Patches definitely welcome, and great to hear that development has been
continuing - what have you got so far?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ADUzzIX-1s0esRDS5EyOTcTFm-YVCH4qks5qTYVFgaJpZM4GQqw9
.

Hi @daveclayton ,

I need to generate a JSON schema from a pojo and validate any json against the schema.
Is there any documentation around this? The readme suggests that this can be achieved with this library. But there seems to be no clear way on how to do it. Any help will be appreciated.

Regards