Extension:EntitySchema

This extension allows storing Shape Expressions Schemas on wiki pages (using ShExC syntax), as well as validating entities against those Schemas using the ShEx2 — Simple Online Validator. For more information on enabling this second part, see.

While the name alludes to Wikibase, and this extension is intended to be installed alongside it on Wikidata, the implementation is intentionally very decoupled from Wikibase, and does not use any of its code.

Advanced Configuration
Prerequisites for displaying the optional "check entities against this Schema" link on the Schema page:


 * In your LocalSettings.php, set  to a non-empty string which represents the external verification tool to use (e.g. https://tools.wmflabs.org/shex-simple/wikidata/doc/shex-simple.html).
 * The link is only displayed on pages where the Schema text is not empty