Closed R2ZER0 closed 5 months ago
This PR adds License info to each Grant in the Public API's GrantsReceviedView and GrantsMadeView.
For each grant, alongside data, an extra data_license field is added, e.g.:
data
data_license
"data": { /* ... */ }, "data_license": { "url": "http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "name": "Open Government Licence 3.0 (United Kingdom)" },
where the license info is pulled from the related SourceFile.
This PR adds License info to each Grant in the Public API's GrantsReceviedView and GrantsMadeView.
For each grant, alongside
data
, an extradata_license
field is added, e.g.:where the license info is pulled from the related SourceFile.