patternRestrictions

Builds the pattern restrictions of a schema, given its validations.