function validate(/*Any*/ instance, /*Object*/ schema) {
          // Summary:
          //  	To use the validator call JSONSchema.validate with an instance object and an optional schema object.
          // 		If a schema is provided, it will be used to validate. If the instance object refers to a schema (self-validating),
          // 		that schema will be used to validate and the schema parameter is not necessary (if both exist,
          // 		both validations will occur).
          // 		The validate method will return an object with two properties:
          // 			valid: A boolean indicating if the instance is valid by the schema
          // 			errors: An array of validation errors. If there are no errors, then an
          // 					empty list will be returned. A validation error will have two properties:
          // 						property: which indicates which property had the error
          // 						message: which indicates what the error was
          //
          return validate(instance, schema, {changing: false}) //, coerce: false, existingOnly: false});
        }
Escape special characters in the given string.

@param  {String} `str` Glob pattern
@return {String}