SQL Server DacFx Serialization Schema
April 2014Description
This XML Schema covers the serialization schema of the SQL Server 2012 Data-Tier Application package for .dacpac and .bacpac. It covers the schema of several different streams within the package:
- DacMetadata.xml
This stream contains the user-defined metadata associated with the DAC package. This information, contained under the DacType root node, includes the Application Name, the Version, and the Description of the DAC package. - Origin.xml
This stream contains information regarding the original database from which the DACPAC or BACPAC was created and is contained in the DacOrigin root element. This information includes properties of the actual package as well as the platform/version of the source server and a summary of object counts in the source database. This stream also contains the checksum of the Model.xml file which represents the full declarative schema definition of the database. - Model.xml
This is the primary stream inside the package and contains the schema information that defines the database that the package represents. Under the DataSchemaModel root node is the Model definition which includes the set of Database Options and all of the other annotations, properties and objects that define the database schema as well as dependencies within the database schema itself.
Schema for SQL Server DacFx Serialization Schema
Current version: dacpac.xsd