created schema for validating key-pin violations