For the [[ https://www.mediawiki.org/wiki/Community_configuration_2.0 | CommunityConfiguration 2.0 ]] project growth team is considering //opis/json-schema// library as a strong candidate for building the validation of configuration definitions. Currently the CommunityConfiguration extension ([[ https://gitlab.wikimedia.org/repos/growth/community-configuration | gitlab ]]) is using version 2.3, the only reason being to use the latest version because we're building something we ideally would like to see to last for some time. Since WikiLambda uses version 1.1 the setup with both extensions in Wikimedia production wouldn't be possible due to PHP single package limitation.
This task is to asses the feasibility and some rough estimation of the cost of upgrading to version 2.3. There would be code changes to make since it's a major update but the same schemas should work. Opis has a [[ https://opis.io/json-schema/2.x/php-migration.html | migration guide ]] but the work associated to it should be estimated before the decision is made. See also it's counter part to asses the usage of version 1.1 for CommunityConfiguration project: T-TBD