Automatic validation methods generated based on json schema.