Created json schema for configuration and created a logical check of it