Would need to check with https://getcomposer.org/doc/03-cli.md#validate, perhaps add it to release.php commands.