Make performer field optional in mediawiki/page/change/1.2.0

To do this without a major version bump, add
an exception to skip backwards compatibility check for version 1.2.0
in .jsonschema-tools.yaml.

This is needed because performer is not always set, especially in
revision suppression case.

Bug: T367923
Change-Id: I0790a902dfbbf3502b3202e9c0e52234eb894e1e
13 files changed
tree: 95fbcd7810681bfb68bd0e3ce5671b55c369ef72
  1. jsonschema/
  2. test/
  3. .gitignore
  4. .gitreview
  5. .jsonschema-tools.yaml
  6. package-lock.json
  7. package.json
  8. README.md
README.md

'Primary' event JSONSchemas for Wikimedia & MediaWiki event data.

This schema repository contains event schemas that directly affect user-facing features. These schemas are meant to represent 'tier 1' events. This repository complements the schemas/event/secondary repository.

See also:

NOTE: The only reason for having separate event schema repositories is to allow for different repository merge rights. Changes to primary schemas need to be more restricted than changes to secondary schemas.

Contributing

Most files in this repo are automatically generated by jsonschema-tools and must not be changed after their initial creation.

Follow the Event Platform Schema Guidelines when creating or updating schemas.

Prerequisites:

  • A clone of this Git repository.
  • Run npm install.

To update a schema:

  1. Edit the current.yaml file, and remember to increment the version in the $id field.
  2. Run npm run build-modified, which generates the versioned YAML and JSON files.
  3. Commit the new and changed files to Git, and submit them for code review.

To create a schema:

  1. Create a subdirectory for the schema under one of the jsonschema/ namespace directories, and draft the first version in a new current.yaml file.
  2. Run npm run build-new path/to/your/current.yaml, which generates the versioned YAML and JSON files.
  3. Commit the new files to Git, and submit them for code review.

See also