{"section":"announcements","requestedLocale":"en","requestedSlug":"2017-12-22-new-master-data-api-increases-configuration-flexibility","locale":"en","slug":"2017-12-22-new-master-data-api-increases-configuration-flexibility","path":"docs/en/announcements/2017/december/2017-12-22-new-master-data-api-increases-configuration-flexibility.md","branch":"main","content":"We have released version 2.0 of the Master Data API - the dynamic, flexible and scalable VTEX data repository.\n\nThis new release brings features that allow more configuration flexibility of structures stored in Master Data: entities, triggers and indexes.\n\nAnd it is backward compatible with the previous version. That is, there's no break in compatibility with version 1.\n\n## What has changed?\n\nHere are some of the features that version 2.0 of the Master Data API brings:\n- Now you can save complex JSONs.\n- The store can automate the replication process of the structures in the setup of its products that use Master Data via API (e.g., agencies that implement Contact Us and Wish List).\n- Entity names can be longer than 2 characters.\n- A setup phase is no longer required to start using the API. Just send the request and the configuration will be applied automatically.\n- Filters now support objects and object arrays (up to the second level).\n- The default cache can now be disabled.\n\nAlso, the API now supports complex validations using JSON Schema. For each entity, there can be up to 10 validations, with the following characteristics:\n- Validation by range (e.g., age between 18 and 25).\n- Validation of objects and object arrays.\n- A string can be a regex.\n- The string size can be configured as the store prefers.\n\n## What needs to be done?\n\nSee the documentation for the new features in the [VTEX Help article](/en/tutorial/master-data-v2)."}