I have schema, and its required to validate every new class object according it (property names and types) while using custom classname.add(inputData) method. U
classname.add(inputData)