expose json-schema definition for content models

I noticed that dato uses a json-schema definition for validating the structure of your own API. 

I also love the ERD export of the content model.

I think a valuable feature would be to expose a json-schema definition for our sites' data models. 


reasoning: we're investigating better ways to enforce data integrity within our sites. to do this we intend to define our content models with json-schema so that we can validate the data is being returned in the proper shape. we also intend to implement a way of syncing changes to the schema back up to Dato so that our engineers can maintain the content model in code (not just through the GUI). 


it seems like you're already keen on json-schema and it's benefits, it would be great if that could trickle down to our sites' content models as well



1 person likes this idea
Login to post a comment