docs: function(type){
          if (type === undefined) {
              return undefined;
          }
          var getSchema = type[getSchemaSymbol];
          if(getSchema === undefined ) {
              type = type.constructor;
              getSchema = type && type[getSchemaSymbol];
          }
          return getSchema !== undefined ? getSchema.call(type) : undefined;
      }