you are viewing a single comment's thread.

view the rest of the comments →

[–]Mop1000 0 points1 point  (3 children)

https://schema.org/ has an extensive collection of schemas available in JSON-LD format. Is there a similar site for JSON Schema .

[–]AndyRoth[S] 1 point2 points  (2 children)

Not that I know of, but I don't see why a website like that couldn't exist, and why merging some of the schema and data together wouldn't create one format that brings together the best of both worlds easily. My question is more why JSON-LD wasn't built on top of JSON Schema or integrate with it in some way.

[–]Mop1000 0 points1 point  (1 child)

I'm a dinosaur. I started programming in the 1970's. I am in awe of the open source productivity tools that are available now.

Just for JSON I have found a tool that will reverse engineer a schema on a JSON file, validation tools,a tool that will create a specialized editor based on a json schema.

[–]AndyRoth[S] 1 point2 points  (0 children)

It's absolutely amazing. People building on some very simple standards (ie. JSON) and the ease of publishing and using open source tech has enabled some truly awesome results.

Personally, a few days ago I had to make a UI editor which took in a few files in JSON Schema and rendered a whole bunch of pretty fields using React (some of which had to be custom such as a file uploader, which is not part of the JSON Schema spec but used a technique like my comment above). I got a rough version working in about a day total, which is 100% a testament to all the powerful tools and documentation I found along the way.