Put enum schema in schema dict of get_object_schema