func (r Ref) Type() string {
	if _, ok := r["$ref"]; ok {
		return "object"
	}
	if refIF, ok := r["type"]; ok {
		return refIF.(string)
	}
	return ""
}
func (r Ref) Type() string {
	if _, ok := r["$ref"]; ok {
		return "object"
	}
	if refIF, ok := r["type"]; ok {
		return refIF.(string)
	}
	return ""
}
func ( r Ref ) Type ( ) string { if _ , ok := r [ " " ] ; ok { return " " } if refIF , ok := r [ " " ] ; ok { return refIF . ( string ) } return " " }
// Type gets a type for a Schema reference, if it exists
Type gets a type for a Schema reference if it exists