A data collections extension declares CMS collections that Wix creates on a site when an app or a headless project is installed there. This reference is the shared contract for that extension. It covers the generated files, the builder that registers the collections, and the definition of each collection.
A Wix CLI app and a Wix-managed headless project each generate a builder file and one definition file per collection. Both import the builder from @wix/astro/builders. Self-managed apps define the same collections as JSON in the app dashboard instead of these files. See Add a Data Collections Extension in the App Dashboard.
A Studio Two site doesn't use this extension. A site creates collections directly. See Create a Collection.
extensions.dataCollections() builder fields, and the fields of each collection definition.The Data Collections Extension JSON Reference is the full schema for a collection definition, including every field type, permission role, index option, and the initial data format.
Last updated: 2 November 2026