code: func Validate(schema *Schema, typename string, data interface{}) Validation {
  	v := getValidator(schema)
  	return validateWithValidator(v, typename, data)
  }
docs: // Validate tests the provided generic data against a type in the specified schema. If the typename is empty,
  // an attempt to guess the type is made, otherwise the check is done against the single type.