Create a new event contract
The input for creating a Contract
The contract's name
The contract's slug. If not specified, one will be generated.
The contract's description
What happens to events that aren't defined in the contract. One of ALLOW_EVENT or BLOCK_EVENT. Optional, defaults to ALLOW_EVENT.
The definitions for the events in the contract.
Ok
A collection of schemas that are used for validating your events.