The ShardType representation of the shard catalog metadata has extra unused code and does not do validation correctly.