code: function getSchema(key) {
  	var matches = key.match(/^\[(.*)\]$/); // key in [] is optional
  	if (matches) return [matches[1], exports[matches[1]].optional().allow(null)];
  	return [key, exports[key]];
  }
docs: Private helper functions. //