def METHOD_NAME(petstore_dict):
    # without a type, do no validation
    category_spec = petstore_dict['definitions']['Category']
    category_spec['properties']['id'] = {}
    petstore_spec = Spec.from_dict(petstore_dict, config={'use_models': False})
    # so id can be a string...
    result = unmarshal_schema_object(
        petstore_spec,
        category_spec,
        {'id': 'blahblah', 'name': 'short-hair'},
    )
    assert result == {'id': 'blahblah', 'name': 'short-hair'}
    # ...or anything else
    result = unmarshal_schema_object(
        petstore_spec,
        category_spec,
        {'id': {'foo': 'bar'}, 'name': 'short-hair'},
    )
    assert result == {'id': {'foo': 'bar'}, 'name': 'short-hair'}