docs: function getSchemaValidations(appInfo, resources) {
      if (!appInfo.includeSchemas) { return null; }
  
      // if resources not passed in, then get from pancakes
      resources = resources || this.pancakes.cook('resources', null);
  
      var validations = {};
      _.each(resources, function (resource) {
          _.each(resource.fields, function (fieldDef, fieldName) {
              if (fieldDef.ui) {
                  validations[resource.name] = validations[resource.name] || {};
  
  
                  validations[resource.name][fieldName] = fieldDef;
              }
          });
      });
  
      return validations;
  }