use enum for required fields - closes #5

Signed-off-by: Jiri Moskovcak <jmoskovc@redhat.com>
Merge pull request #7 from mozeq/gh5

use enum for required fields - closes #5