def METHOD_NAME(self, obj):
    """Resolve refs in deposit schema."""
    schema = current_jsonschemas.get_schema(
        obj.deposit_path, with_refs=True, resolved=True
    )
    return copy.deepcopy(schema)  # so all the JSONRefs get resoved