Page MenuHomePhabricator

We should reference a re-usable "user" type. The license structure should also be re-usable.
Closed, InvalidPublic

Description

Comment In includes/Rest/Handler/Helper/RevisionContentHelper.php under getResponseBodySchema

https://schema.wikimedia.org/#!//primary/jsonschema/fragment/mediawiki/state/entity/user

We like the idea of sharing the schema with the event specs!
There's a bit of a question about where and how to manage the source of truth. But we should at least try to re-use existing schemas.

The more MW is in control over what it wants to publish to extensions, downstream data consumers, etc, the better. And it makes sense that different paths of "publishing" wouldn't have different schemas