implemented ObjectSchema domain object and unit tested