google / schemaorg-java

Java utilities for working with Schema.org data in JSON-LD format
Apache License 2.0
70 stars 42 forks source link

Any interest in keeping this up to date? #11

Open janknobloch opened 3 years ago

janknobloch commented 3 years ago

Hey there, since this project seems to be dead (for a while), I created my own code generator (not pretty) but it works.

If you want me to share the resulting / generated POJOs for the newest version of schema.org leave some thumbs up and i'll considering setting it up with jitpack so people can include it.

Best Jan

danbri commented 3 years ago

Does your approach require regeneration from every new schema release? If it was opensource on Github perhaps something could be done with Github Actions?

On Wed, 19 May 2021 at 14:10, Jan Knobloch @.***> wrote:

Hey there, since this project seems to be dead (for a while), I created my own code generator (not pretty) but it works.

If you want me to share the resulting / generated POJOs for the newest version of schema.org leave some thumbs up and i'll considering setting it up with jitpack so people can include it.

Best Jan

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/google/schemaorg-java/issues/11, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJSGN42MCWQJMCY2R7AU3TOO2FBANCNFSM45EUS2JQ .

janknobloch commented 3 years ago

It does indeed, while the generator is a very ugly piece of code for now (not worth sharing in its actual state), it indeed takes a schema.org definition, frames it (https://json-ld.org/spec/latest/json-ld-framing/) and uses its frame to compose all generated files needed to be used with the rest of your repo.

My generator was never intended to be released therefore is not using a proper DSL or alike but it would be worth to implement something "proper" if the interest would be high enough.