code: function load(schema) {
    var obj;
    if (typeof schema == 'string' && schema !== 'null') {
      try {
        obj = JSON.parse(schema);
      } catch (err) {
        // No file loading here.
      }
    }
    if (obj === undefined) {
      obj = schema;
    }
    return obj;
  }
docs: Schema loader, without file-system access.