Remove invalid id attribute from DFC offer

This one is a bit confusing. The attribute changes throughout the
different versions of the ontology and the DFC examples are not in line
with the specification. WIP I guess.

The previous nil attribute failed JSON-LD validation and DFC examples
just contain the reference as I did it now. But I think that we will
need to update it again vor DFC-v1.7.
This commit is contained in:
Maikel Linke
2022-11-08 15:18:35 +11:00
committed by David Cook
parent ee3ec15bc4
commit 63c1cd7bff

View File

@@ -20,8 +20,7 @@ module DfcProvider
def offers_to
{
'@type' => '@id',
'@id' => nil
'@type' => '@id'
}
end