func (c oneOfValuesChecker) Coerce(v interface{}, path []string) (interface{}, error) {
	v, err := c.checker.Coerce(v, path)
	if err != nil {
		return v, err
	}
	for _, allow := range c.vals {
		if allow == v {
			return v, nil
		}
	}
	return nil, fmt.Errorf("%sexpected one of %v, got %#v", pathPrefix(path), c.vals, v)
}
// Coerce implements schema.Checker.Coerce.
Coerce implements schema.Checker.Coerce.
// Coerce implements schema . Checker . Coerce .
func (c oneOfValuesChecker) Coerce(v interface{}, path []string) (interface{}, error) {
	v, err := c.checker.Coerce(v, path)
	if err != nil {
		return v, err
	}
	for _, allow := range c.vals {
		if allow == v {
			return v, nil
		}
	}
	return nil, fmt.Errorf("%sexpected one of %v, got %#v", pathPrefix(path), c.vals, v)
}
func ( c oneOfValuesChecker ) Coerce ( v interface { } , path [ ] string ) ( interface { } , error ) { v , err := c . checker . Coerce ( v , path ) if err != nil { return v , err } for _ , allow := range c . vals { if allow == v { return v , nil } } return nil , fmt . Errorf ( " " , pathPrefix ( path ) , c . vals , v ) }
Coerce implements schema.Checker.Coerce.
Coerce implements schema . Checker . Coerce .