Change directObject type in schema from string to object.

The type specified for directObject in the schema is incorrect, and causes the test to fail.  Changing it to 'object' resolves the test failure.