code: func (js *jsonSchema) HandleAdvancedType() {
  	parent, isSingleInherit := js.T.SingleInheritance()
  	switch {
  	case js.T.IsMultipleInheritance():
  		parents, _ := js.T.MultipleInheritance()
  		js.Inherit(getParentsObjs(parents))
  	case js.T.IsAlias():
  		js.Alias = jsAlias{
  			Type:    js.T.TypeString(),
  			Builtin: js.T.IsBuiltin(),
  		}
  	case isSingleInherit:
  		js.Inherit(getParentsObjs([]string{parent}))
  	}
  }
docs: // TODO : refactor it
  // this func is ugly, it should be part of raml.JSONSchema class
  // or we inherit that class