The code anticipates that some enumeration values in different enumerations related to Mapping could have the same identifier. For example, index and store both accept "no", although store is now a Boolean. (I will change that, in case a next version of ES defines more possibilities.)