cleverdevil / microformats2

Validate Microformats2 JSON with JSON Schema, and perform Post Type Discovery
8 stars 0 forks source link

Make the schema available as JSON #2

Closed grantcodes closed 6 years ago

grantcodes commented 6 years ago

I don't understand the intricacies of it, but is it possible to generate the actual schema as JSON and make that available?

That way people can use it in other languages

cleverdevil commented 6 years ago

Yeah it’s really easy to do. I’ll take care of it this weekend and post an update!

There is also a code snippet in the README that shows how to print out the schema, for now.

On May 25, 2018, at 6:08 PM, Grant Richmond notifications@github.com wrote:

I don't understand the intricacies of it, but is it possible to generate the actual schema as JSON and make that available?

That way people can use it in other languages

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

cleverdevil commented 6 years ago

Done in: https://github.com/cleverdevil/microformats2/commit/ed1e5efe04ec48d2be45855d9918485e13bc6c7b