XSD
Liquibase · 4.33
Liquibase changelog 4.33
Liquibase database changelogs in XML: change sets, tables, columns, constraints, rollbacks.
About
Liquibase applies the change sets of a changelog to a database in order. The XML schema defines every built-in change type and its attributes.
Good to know
- Change types from Liquibase extensions use their own namespaces and are not checked. SQL inside sql and createProcedure is not parsed.
- The example is by xmlvalid.com.
Example document
changelog.xml · 852 B · valid against this schema
In CI and from code
The same schema by its name, liquibase-4.33, through the API.
npx @xmlvalid/cli validate "**/*.xml" --schema liquibase-4.33
- uses: xmlvalid/validate-action@v1
with:
files: "**/*.xml"
schema: liquibase-4.33
api-key: ${{ secrets.XMLVALID_API_KEY }}
curl https://xmlvalid.com/api/v1/validations \
-H "Authorization: Bearer $XMLVALID_API_KEY" \
-F document={{ $schema->example ?? 'document.xml' }} -F schema=liquibase-4.33
Free accounts get 100 API validations a month. On Pro, a URL monitor can check a published document against this schema every hour and email you when it breaks. More CI setups