Database schema

How am I able to get a copy of the database schema that Piwik produces. I am looking to link Piwik to a multivariate testing solution with a table that will drive some of the segmentation on the site.

Before I start down this road I’d like a view of the schema to initiate the design work. Any suggestions?

An out of date doc is