class VoteSchema(BaseSchema): rego_id = ExistingRegistrationValidator(not_empty=True)
class RegoRoomSchema(BaseSchema): rego = ExistingRegistrationValidator(not_empty=True) room = validators.String(not_empty=True) by = ExistingPersonValidator(not_empty=True)
class RegoNoteSchema(BaseSchema): rego = ExistingRegistrationValidator(not_empty=True) note = validators.String(not_empty=True) block = validators.Bool(if_empty=False) by = ExistingPersonValidator(not_empty=True)