refactored json schemas for variable types