EventInstance or Event should have information about what is required to attend the event (or the specific instance)
Various attendance requirements are, but not limited to:
- None
- Must buy a ticket (bought online or physically)
- Must be part of a group or organization
- Must fill a form (like a registration form)
- Age restrictions
The main issue is, there might be more complex logic surrounding this. How do you model something such as "to attend you must either be part of our club or fill the form and buy a ticket" -> club_member || (filled_form && bought_ticket)
We can probably achieve this in one of two ways:
I will keep this issue open in case anyone comes with a better idea, because both of these approaches seem not great
EventInstanceorEventshould have information about what is required to attend the event (or the specific instance)Various attendance requirements are, but not limited to:
The main issue is, there might be more complex logic surrounding this. How do you model something such as "to attend you must either be part of our club or fill the form and buy a ticket" ->
club_member || (filled_form && bought_ticket)We can probably achieve this in one of two ways:
Flat array of requirements + logic seperated
Nested objects
I will keep this issue open in case anyone comes with a better idea, because both of these approaches seem not great