Schema validation: Fix on 'pattern' attribute

'pattern' should only be used to validate strings.