Hacker News new | ask | show | jobs
by magicalhippo 1341 days ago
Tooling around JSON schema is lacking. For example, we have a fairly simple XSD which still requires the latest JSON schema version due to a choice element (IIRC), which Swagger doesn't fully support yet.
1 comments

I think the reason is that mostly people don't define schemas for their json to begin with.

Back when xml was still commonly used, xml schemas were optional as well. The notion of insisting on adding longish urls to every attribute and namespacing elements and attributes, kind of defeated the purpose of using xml. It made everything harder; including parsing, xsl transformations, xpath expressions, etc.

"adding longish urls to every attribute and namespacing elements and attributes"

Who thought this was a good idea?