def create_body_dict(name, schema):
    """ Create a body description from the name and the schema."""
    body_dict = {}
    if schema:
        body_dict['in'] = 'body'
        body_dict['name'] = name
        body_dict['schema'] = schema
        if 'description' in schema:
            body_dict['description'] = schema['description']
        else:
            body_dict['description'] = name + 'body object'
        # body_dict['required'] = True
    return body_dict