{"version":"1.0","type":"rich","title":"Gist fd0201fe95dfb4390a53","description":"This visualization shows the parent-event relationships in a hierarchical data model, where each event must resolve to exactly one of four possible parent types: booking, stock change, repair, or missing. It demonstrates validation logic that raises exceptions when zero or multiple parents are found, ensuring data integrity in the event structure. The code uses Python’s `raise Exception` for error handling and list comprehensions to filter `None` values from the candidate parent list. The rendering approach is not visible in this snippet, which focuses solely on the data validation logic rather than visual output.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-fd0201fe95dfb4390a53?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}