Closed seitenbau-govdata closed 6 years ago
Fixes #2.
Introduces a new property access_url for resources.
access_url
When parsing a dataset from RDF, the resource's url is set to downloadURL if present, with fallback to accessURL.
url
downloadURL
accessURL
For serialization, access_url is used if available, and otherwise the old behavior is preserved (only add accessURL if it differs from downloadURL).
Thanks @seitenbau-govdata! and sorry about taking a bit to merge
Thank's for your work and time @amercader !
Fixes #2.
Introduces a new property
access_url
for resources.When parsing a dataset from RDF, the resource's
url
is set todownloadURL
if present, with fallback toaccessURL
.For serialization,
access_url
is used if available, and otherwise the old behavior is preserved (only addaccessURL
if it differs fromdownloadURL
).