code: function getSchema(dir) {
    const schema = files.getYaml(path.join(dir, 'schema'));
  
    if (!schema) {
      throw new Error('Schema not found!');
    }
  
    return schema;
  }
docs: Get a single schema from a specific directory (maybe including those in node_modules??)
  @param {string} dir
  @returns {{}}
  @throws if missing file or invalid yaml