product-roadmap icon indicating copy to clipboard operation
product-roadmap copied to clipboard

Import/export JSON schema for models

Open stefanoverna opened this issue 6 years ago • 3 comments

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


Originally posted by [email protected]

stefanoverna avatar May 13 '18 15:05 stefanoverna

We are going to implement an import/export functionality for the model schema

matjack1 avatar Jan 15 '19 14:01 matjack1

Any news on this? :)

mmintel avatar Jun 17 '19 07:06 mmintel

This feature request has been moved to https://community.datocms.com/t/358

matjack1 avatar Sep 18 '19 15:09 matjack1