{"then": {"additionalProperties": false, "properties": {"global": {"type": "boolean"}, "suggested_key": {"additionalProperties": false, "type": "object", "patternProperties": {"^(default|mac|windows|linux|chromeos)$": {"pattern": "^(Ctrl|Command|MacCtrl)\\+Shift\\+[0-9]", "type": "string"}}}}}, "if": {"required": ["global"], "properties": {"global": {"const": true}}}, "type": "object", "else": {"additionalProperties": false, "properties": {"global": {"type": "boolean"}, "suggested_key": {"additionalProperties": false, "type": "object", "patternProperties": {"^(default|mac|windows|linux|chromeos)$": {"pattern": "^(Ctrl|Command|MacCtrl|Alt|Option)\\+(Shift\\+)?[A-Z]", "type": "string"}}}}}}