If you specify a validity period, the rule only applies only during that period. If specified, the array must not be empty.
@JsonKey(name: r'validity') final List<TimeRange>? validity;