File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ export class Distribution {
1616 "@type" : string ;
1717 title ?: string ;
1818 format : string ;
19+ license : string ;
1920 mediaType : string ;
2021 accessURL : string ;
2122}
@@ -24,7 +25,6 @@ export class Dataset {
2425 @Expose ( { name : "@type" } )
2526 "@type" : string ;
2627 identifier : string ;
27- license : string ;
2828 landingPage : string ;
2929 title : string ;
3030 description : string ;
Original file line number Diff line number Diff line change @@ -149,7 +149,6 @@ export class OpenDataDkSharingService {
149149 ds . accessLevel = "public" ;
150150
151151 ds . identifier = this . generateUrl ( organization , dataset ) ;
152- ds . license = dataset . license ;
153152 ds . landingPage = undefined ;
154153 ds . title = dataset . name ;
155154 ds . description = dataset . description ;
@@ -174,6 +173,7 @@ export class OpenDataDkSharingService {
174173 distribution [ "@type" ] = "dcat:Distribution" ;
175174 distribution . mediaType = "application/json" ;
176175 distribution . format = "JSON" ;
176+ distribution . license = dataset . license ;
177177
178178 distribution . accessURL = this . generateUrl ( organization , dataset ) ;
179179 distribution . title = dataset . resourceTitle ;
You can’t perform that action at this time.
0 commit comments