code: func reflectTypeToJSONType(xT descLookupFunc, rt reflect.Type) string {
  	kind := rt.Kind()
  	if isNumeric(kind) {
  		return xT("json-type-numeric")
  	}
  
  	switch kind {
  	case reflect.String:
  		return xT("json-type-string")
  
  	case reflect.Bool:
  		return xT("json-type-bool")
  
  	case reflect.Array, reflect.Slice:
  		return xT("json-type-array") + reflectTypeToJSONType(xT,
  			rt.Elem())
  
  	case reflect.Struct:
  		return xT("json-type-object")
  
  	case reflect.Map:
  		return xT("json-type-object")
  	}
  
  	return xT("json-type-value")
  }
docs: // reflectTypeToJSONType returns a string that represents the JSON type
  // associated with the provided Go type.