Module:SchemaDiagram/doc

Parameters

 * : (Optional) Some wikitext to render above the diagram in a yellow caption.
 * : (Required) JSON structure that describes the database table groups (see below).
 * : (Required) SQL "CREATE TABLE" syntax, e.g. a copy of the maintenance/tables.sql file from MediaWiki core.

Layout
The  JSON structure is an array of objects, where each object describes a group of one or more database tables.

Each group object requires the following properties:
 * : Name of the group to display.
 * : CSS color value, to use as background color (using light pastel colors is the convention).
 * : An array of arrays of table names. The first level are columns.