3 ms·
I actually see these concerns to be so close together that you might as well do them all at once. In fact, jayschema, the JSON schema library I've been useing l
by zachrose 12y ago
I actually see these concerns to be so close together that you might as well do them all at once. In fact, jayschema, the JSON schema library I've been useing lately, comes very close to having user-readable validation errors. Also, looking at a JSON schema with appropriate description fields is about as good as some API docs. (Sure, API docs sometimes need to tell you more than just data structures, but isn't there a quote about good data structures making the program seem obvious?)
If anything, I'm interested in knowing if Teleport schemes can be mapped to JSON schemes and vice-versa.
- alexatkeplar 12y agoActually, you're right. JSON Schema is very effective as an input validation mechanism (we use it for this at Snowplow), and if you look at Swagger, it actually uses JSON Schema-based types for modelling the entities exposed by a RESTful API. I am a huge fan of JSON Schema - I don't yet see what Teleport is bringing to the table.