{
    "profiles": [
        {
            "complex_modifications": {
                "rules": [
                    {
                        "description": "dual purpose modifiers",
                        "manipulators": [
                            {
                                "from": {
                                    "key_code": "spacebar",
                                    "modifiers": { "optional": ["any"] }
                                },
                                "to": [
                                    {
                                        "key_code": "left_shift",
                                        "lazy": true
                                    }
                                ],
                                "to_if_alone": [{ "key_code": "spacebar" }],
                                "type": "basic"
                            },
                            {
                                "from": {
                                    "key_code": "caps_lock",
                                    "modifiers": { "optional": ["any"] }
                                },
                                "to": [
                                    {
                                        "key_code": "left_control",
                                        "lazy": true
                                    }
                                ],
                                "to_if_alone": [{ "key_code": "escape" }],
                                "type": "basic"
                            }
                        ]
                    }
                ]
            },
            "devices": [
                {
                    "identifiers": {
                        "is_keyboard": true,
                        "product_id": 21042,
                        "vendor_id": 1155
                    },
                    "simple_modifications": [
                        {
                            "from": { "key_code": "grave_accent_and_tilde" },
                            "to": [{ "key_code": "non_us_backslash" }]
                        }
                    ]
                }
            ],
            "name": "KarabinerTS",
            "selected": true,
            "virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
        },
        {
            "name": "Default profile",
            "virtual_hid_keyboard": {
                "country_code": 0,
                "keyboard_type_v2": "ansi"
            }
        },
        {
            "complex_modifications": {
                "rules": [
                    {
                        "description": "Caps Lock to ESC on tap/Left control on hold",
                        "manipulators": [
                            {
                                "from": {
                                    "key_code": "caps_lock",
                                    "modifiers": { "optional": ["any"] }
                                },
                                "to": [
                                    {
                                        "key_code": "left_control",
                                        "lazy": true
                                    }
                                ],
                                "to_if_alone": [{ "key_code": "escape" }],
                                "type": "basic"
                            }
                        ]
                    },
                    {
                        "description": "Space to shift on hold",
                        "manipulators": [
                            {
                                "from": {
                                    "key_code": "spacebar",
                                    "modifiers": { "optional": ["any"] }
                                },
                                "to": [
                                    {
                                        "key_code": "left_shift",
                                        "lazy": true
                                    }
                                ],
                                "to_if_alone": [{ "key_code": "spacebar" }],
                                "type": "basic"
                            }
                        ]
                    }
                ]
            },
            "name": "Modified profile",
            "virtual_hid_keyboard": {
                "country_code": 0,
                "keyboard_type_v2": "iso"
            }
        }
    ]
}