added missing 'pattern' field