Update scope ids

This commit is contained in:
Maikel Linke
2025-07-29 13:39:53 +10:00
parent f65e4797cf
commit 994f1ca6c6

View File

@@ -88,9 +88,8 @@ module DfcProvider
def scopes(platform_id)
granted_scopes(platform_id).map do |scope|
{
'@id': "https://example.com/scopes/#{scope}",
'@id': "https://github.com/datafoodconsortium/taxonomies/releases/latest/download/scopes.rdf##{scope}",
'@type': "dfc-t:Scope",
'dfc-t:scope': scope,
}
end
end