Activity.types should have "any" cardinality (zero or more), but currently has "optional" cardinality (zero or one).
Fixing this should be approached with caution, as it will change the type of the Activity.types property from str to list[str], which could break some code that has come to depend on this bug.