Event schema explanation

I want to build a ticketing app and found this schema, however I am not totally sure on how to use the inputs.

The schema has 3 inputs:

  • bytes32 eventId: Is this supposed to be a hash of the name of the event?
  • uint8 ticketType: I assume this could be used to make the ticket online or IRL (?)
  • uint32 ticketNum: This is the only one that made sense to me right away.

Also, what about other data like venue or date?

Any explanation will be really appreciated

I didn’t see that there are already other schemas for events:

I feel dumb for noticing before. Those schemas should be enough to make the ticketing app.

Take a look to all the schemas available!

1 Like