code: function register(metamodel) {
          var name, metaType;
  
          // Registering MetaTypes to global.meta
          for (name in metamodel) {
              if (metamodel.hasOwnProperty(name)) {
                  metaType = metamodel[name];
                  metaType.name = name;
  
                  // Check duplicated MetaType
                  if (_global.meta[name]) {
                      delete metamodel[name];
                      console.error("[MetaModelManager] MetaType '" + name + "' is already exists.");
                  } else {
                      _global.meta[name] = metaType;
                  }
              }
          }
  
          // Validate MetaTypes
          for (name in metamodel) {
              if (metamodel.hasOwnProperty(name)) {
                  metaType = metamodel[name];
                  try {
                      validateMetaType(name, metaType);
                  } catch (err) {
                      console.error(err);
                  }
              }
          }
      }
docs: Register Metamodel by Object
  @param {Object} metamodel