docs: function checkImport(jsonImport, importType) {
          if (!jsonImport) {
              return 'Import should always be a valid JSON object!';
          }
  
          switch (importType) {
              case CONSTANTS.EXPORT_TYPE_PROJECT:
                  if (jsonImport._metadata && jsonImport._metadata.type) {
                      if (jsonImport._metadata.type !== CONSTANTS.EXPORT_TYPE_PROJECT) {
                          return 'Import is of type \'' + CONSTANTS.EXPORT_TYPE_LIBRARY + '\' and not of \'' +
                              CONSTANTS.EXPORT_TYPE_PROJECT + '\'!';
                      }
                  } else if (jsonImport.root && typeof jsonImport.root.path === 'string') {
                      if (jsonImport.root.path !== '') {
                          return 'Import is of type \'' + CONSTANTS.EXPORT_TYPE_LIBRARY + '\' and not of \'' +
                              CONSTANTS.EXPORT_TYPE_PROJECT + '\'!';
                      }
                  } else {
                      return 'Import data is probably incomplete and should not be used!';
                  }
                  break;
              case CONSTANTS.EXPORT_TYPE_LIBRARY:
                  if (jsonImport._metadata && jsonImport._metadata.type) {
                      if (jsonImport._metadata.type !== CONSTANTS.EXPORT_TYPE_LIBRARY) {
                          return 'Import is of type \'' + CONSTANTS.EXPORT_TYPE_PROJECT + '\' and not of \'' +
                              CONSTANTS.EXPORT_TYPE_LIBRARY + '\'!';
                      }
                  } else if (jsonImport.root && typeof jsonImport.root.path === 'string') {
                      if (jsonImport.root.path === '') {
                          return 'Import is of type \'' + CONSTANTS.EXPORT_TYPE_PROJECT + '\' and not of \'' +
                              CONSTANTS.EXPORT_TYPE_LIBRARY + '\'!';
                      }
                  } else {
                      return 'Import data is probably incomplete and should not be used!';
                  }
                  break;
              default:
                  return 'Invalid type, cannot checked!';
          }
  
          return null;
      }