docs: function(schema, data) {
          var data_in = data,
              data_out = { results: [], meta: {} };
  
          // Convert incoming JSON strings
          if (!isObject(data)) {
              try {
                  data_in = JSON.parse(data);
              }
              catch(e) {
                  data_out.error = e;
                  return data_out;
              }
          }
  
          if (isObject(data_in) && schema) {
              // Parse results data
              data_out = SchemaJSON._parseResults.call(this, schema, data_in, data_out);
  
              // Parse meta data
              if (schema.metaFields !== undefined) {
                  data_out = SchemaJSON._parseMeta(schema.metaFields, data_in, data_out);
              }
          }
          else {
              //Y.log("JSON data could not be schema-parsed: " + Y.dump(data) + " " + Y.dump(data), "error", "dataschema-json");
              data_out.error = new Error("JSON schema parse failure");
          }
  
          return data_out;
      }