[BUGFIX] Adjust YAML schema to recent changes
This is a follow-up to the "Make custom Doctrine mapping types
configurable" feature (Iab0f14117b30a4924a7947af44b9516c241912da)
adjusting the YAML schema.
This also tweaks the existing schema rules according to our CGL.
Releases: master, 3.0