Use `patternProperties` in more places with supported formats.