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

It's really frustrating how in 2014 almost everybody is still writing API definitions which are only human-readable. Two worthy exceptions:

- https://github.com/balanced/balanced-api - https://helloreverb.com/developers/swagger

You can have self-describing messages without having to embed the schema in the instance. Instead you embed a reference to the schema in the message. We came up with an approach to this called self-describing JSONs: http://snowplowanalytics.com/blog/2014/05/15/introducing-sel... The Avro community do something similar.




> Instead you embed a reference to the schema in the message

AKA XML DTD




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

Search: