returned the keys and schemas.