You want to pass a complex object type to a module, but you need to ensure specific attributes are present. How do you define this in the variable block?
The object type constraint enforces both the presence and the type of specific attributes.
Why this answer
The 'object' type constraint allows you to define a schema with specific attributes and their corresponding types.