json-schema-org.github.io icon indicating copy to clipboard operation
json-schema-org.github.io copied to clipboard

implementation: jschemer

Open dwhieb opened this issue 5 years ago • 5 comments

I've written a library which generates documentation for JSON schemas:

https://github.com/dwhieb/jschemer

Currently supports draft-04 through draft-07. I plan to bring it up to date with draft 2019 soon, and update / clean up the library generally.

Can this be added to the list of implementations?

dwhieb avatar Mar 04 '20 14:03 dwhieb

Please do make a PR! =D

Relequestual avatar Mar 04 '20 15:03 Relequestual

The demo link doesn't go to a demo btw. Would love to play with this!

Relequestual avatar Mar 04 '20 15:03 Relequestual

Will do! I'll fix the demo link too. In the meantime, here's a working version:

https://format.digitallinguistics.io

dwhieb avatar Mar 04 '20 15:03 dwhieb

pokes around

"i-klingon" huh? Please feel free to join the JSON Schema slack via the website! =]

Relequestual avatar Mar 04 '20 15:03 Relequestual

haha yes, Klingon got into the ISO 639 spec during its first iteration because of its popularity at the time, and so it got grandfathered into later versions and now requires special handling. The 639 standard includes codes for constructed languages, which is actually pretty useful if you're making a web page with text from constructed languages on it - you can treat text in that language like any other via the lang attribute on HTML elements. The ISO 639-3 code for Klingon is now officially tlh, because the autonym / endonym for the language is tlhIngan Hol.

https://en.wikipedia.org/wiki/Codes_for_constructed_languages http://www.klingonwiki.net/En/ISO639

dwhieb avatar Mar 04 '20 15:03 dwhieb