1
|
import {Author, Organization, Project, ResultTitle} from "../result-preview/result-preview";
|
2
|
|
3
|
export class SearchResult {
|
4
|
title: ResultTitle;
|
5
|
id: string;
|
6
|
relcanId: string;
|
7
|
DOIs: string[]=[];
|
8
|
identifiers: Map<string, string[]>;
|
9
|
|
10
|
//publications & datasets & orp & software & projects & dataproviders:
|
11
|
description: string;
|
12
|
|
13
|
//publications & datasets & orp & software & organizations:
|
14
|
projects: Project[];
|
15
|
|
16
|
//datasets & orp & publications & software
|
17
|
year: string;
|
18
|
embargoEndDate: Date | string;
|
19
|
authors: Author[];
|
20
|
countriesForResults: string[];
|
21
|
languages: string[];
|
22
|
|
23
|
//datasets & orp & software:
|
24
|
publisher: string;
|
25
|
|
26
|
//software
|
27
|
programmingLanguages: string[];
|
28
|
|
29
|
//dataproviders & projects:
|
30
|
organizations: Organization[];
|
31
|
|
32
|
//projects:
|
33
|
acronym: string;
|
34
|
code: string;
|
35
|
// callIdentifier?: string; // currently not parsed
|
36
|
funderShortname: string;
|
37
|
budget?: string;
|
38
|
contribution?: string;
|
39
|
currency?: string;
|
40
|
startYear: number;
|
41
|
endYear: number;
|
42
|
openAccessMandatePublications: boolean;
|
43
|
openAccessMandateDatasets: boolean;
|
44
|
|
45
|
//organizations:
|
46
|
country: string;
|
47
|
|
48
|
//dataproviders:
|
49
|
englishname: string;
|
50
|
type: string;
|
51
|
websiteURL: string;
|
52
|
OAIPMHURL: string;
|
53
|
compatibility: string;
|
54
|
compatibilityUNKNOWN: boolean;
|
55
|
countries: string[];
|
56
|
subjects: string[];
|
57
|
|
58
|
entityType: string;
|
59
|
types: string[];
|
60
|
enermapsId:string;
|
61
|
constructor() {
|
62
|
}
|
63
|
|
64
|
}
|