refactor(core): rename notNullValidator to requiredValidator
chore(demo): add demo for Required validator