{
    "format_version": "1.10.0",
    "animation_controllers": {
        "controller.animation.door.root": {
            "initial_state": "closed",
            "states": {
                "closed": {
                    "transitions": [
                        {
                            "opening": "query.is_sheared"
                        }
                    ]
                },
                "closing": {
                    "animations": [
                        "close"
                    ],
                    "transitions": [
                        {
                            "closed": "query.all_animations_finished"
                        }
                    ]
                },
                "opening": {
                    "animations": [
                        "open"
                    ],
                    "transitions": [
                        {
                            "closing": "!query.is_sheared && query.all_animations_finished"
                        }
                    ]
                }
            }
        }
    }
}