Hacker News new | past | comments | ask | show | jobs | submit login

SOAP (and XSD) were amazingly expressive and capable. They just didn't do enough to balance verboseness, simplicity, and conciseness.

Amazing how much work and progress was lost when it was all thrown away for REST/JSON.

JSON Schema is great but never reached the level that XSD did.




I maintain a project that converts from a specific API mostly documented in XSD to JSON schema.

For the specific API I'm interested in XSD and JSON Schema are mostly equivalent. Quite probably it isn't true in the general case.

Check out some of the test cases in this directory to get an idea how XSD can be translated into JSON Schema https://github.com/ccouzens/vcloud-rest-openapi/blob/main/tr...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: