Fix type mismatch on the conditions variable
Change directObject type in schema from string to object.
Merge pull request #5 from petergoldstein/bugfix/direct_object_type

Change directObject type in schema from string to object.
Merge pull request #4 from petergoldstein/bugfix/conditions_type

Fix type mismatch on the conditions variable