Add new keytype schema in formats.py