use enum for required fields - closes #5

Signed-off-by: Jiri Moskovcak <jmoskovc@redhat.com>