{"type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "required": ["name", "code", "active", "fromFY"], "x-unique": ["code"], "properties": {"code": {"type": "string"}, "name": {"type": "string"}, "active": {"type": "boolean", "default": true}, "fromFY": {"type": "string", "pattern": "^\\d\\d\\d\\d-\\d\\d$"}, "exemption": {"type": "object", "required": ["rate"], "properties": {"rate": {"type": ["number", "null"]}, "maxAmount": {"type": ["number", "null"]}, "flatAmount": {"type": ["number", "null"]}}, "additionalProperties": false}}, "additionalProperties": false}