define schema for key_phrases