wiki.techinc.nl/docs/abstract-schema-changes.schema.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
689 B
JSON
Raw Normal View History

{
"$schema": "https://json-schema.org/schema#",
"description": "MediaWiki abstract database schema schema",
"type": "object",
"additionalProperties": false,
"properties": {
"comment": {
"type": "string",
"description": "Comment describing the schema change"
},
"before": {
"oneOf": [
{
"type": "object",
"description": "Emtpy object signifying table creation",
"maxProperties": 0
},
{
"type": "object",
"description": "Schema before the change",
"$ref": "abstract-schema-table.json"
}
]
},
"after": {
"type": "object",
"description": "Schema after the change",
"$ref": "abstract-schema-table.json"
}
}
}