{"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 API of Master Data - 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 breach of compatibility with version 1.\n\nHere are some of the features that version 2.0 of 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 (ex .: agencies that sell 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 setting will be performed 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 (ex: age between 18 and 25).\n- Validation of objects and object arrays.\n- String can be a regex.\n- String size can be configured as desired by the store.\n\nSee the documentation for the new features in the [VTEX Help article](/en/tutorial/master-data-v2)."}