getRecords(patterns): Couldn't load schema for 'patterns'!