2023-12-20 22:55:00 +01:00
|
|
|
import {
|
|
|
|
Author,
|
|
|
|
HostedByCollectedFrom,
|
|
|
|
Journal,
|
|
|
|
OARoutes,
|
|
|
|
Organization,
|
|
|
|
Project,
|
|
|
|
ResultTitle
|
|
|
|
} from "../result-preview/result-preview";
|
2023-02-17 18:40:05 +01:00
|
|
|
import {Measure, Metric} from "./resultLandingInfo";
|
2017-12-19 13:53:46 +01:00
|
|
|
|
2020-02-07 14:05:07 +01:00
|
|
|
export class SearchResult {
|
|
|
|
title: ResultTitle;
|
|
|
|
id: string;
|
2021-02-20 10:22:25 +01:00
|
|
|
relcanId: string;
|
2022-11-07 11:55:55 +01:00
|
|
|
objId: string;
|
2023-02-16 15:33:40 +01:00
|
|
|
DOIs: string[] = [];
|
2021-01-13 19:30:25 +01:00
|
|
|
identifiers: Map<string, string[]>;
|
2023-02-16 15:33:40 +01:00
|
|
|
measure: Measure;
|
2023-04-21 12:37:19 +02:00
|
|
|
date: string;
|
|
|
|
dateofacceptance: Date;
|
|
|
|
journal: Journal;
|
2020-03-12 11:44:51 +01:00
|
|
|
|
|
|
|
//publications & datasets & orp & software & projects & dataproviders:
|
|
|
|
description: string;
|
|
|
|
|
2020-02-07 14:05:07 +01:00
|
|
|
//publications & datasets & orp & software & organizations:
|
|
|
|
projects: Project[];
|
2023-02-16 15:33:40 +01:00
|
|
|
|
2020-02-07 14:05:07 +01:00
|
|
|
//datasets & orp & publications & software
|
|
|
|
year: string;
|
|
|
|
embargoEndDate: Date | string;
|
|
|
|
authors: Author[];
|
|
|
|
countriesForResults: string[];
|
|
|
|
languages: string[];
|
2023-03-16 12:57:33 +01:00
|
|
|
hostedBy_collectedFrom: HostedByCollectedFrom[];
|
2023-02-16 15:33:40 +01:00
|
|
|
|
2020-02-07 14:05:07 +01:00
|
|
|
//datasets & orp & software:
|
|
|
|
publisher: string;
|
2023-02-16 15:33:40 +01:00
|
|
|
|
2020-02-07 14:05:07 +01:00
|
|
|
//software
|
|
|
|
programmingLanguages: string[];
|
2023-02-16 15:33:40 +01:00
|
|
|
|
2020-02-07 14:05:07 +01:00
|
|
|
//dataproviders & projects:
|
|
|
|
organizations: Organization[];
|
2023-02-16 15:33:40 +01:00
|
|
|
|
2020-02-07 14:05:07 +01:00
|
|
|
//projects:
|
|
|
|
acronym: string;
|
|
|
|
code: string;
|
2021-01-13 19:30:25 +01:00
|
|
|
// callIdentifier?: string; // currently not parsed
|
2020-02-07 14:05:07 +01:00
|
|
|
funderShortname: string;
|
2020-03-12 14:49:10 +01:00
|
|
|
budget?: string;
|
|
|
|
contribution?: string;
|
|
|
|
currency?: string;
|
2020-02-07 14:05:07 +01:00
|
|
|
startYear: number;
|
|
|
|
endYear: number;
|
|
|
|
openAccessMandatePublications: boolean;
|
|
|
|
openAccessMandateDatasets: boolean;
|
2023-03-16 12:57:33 +01:00
|
|
|
|
2020-02-07 14:05:07 +01:00
|
|
|
//organizations:
|
|
|
|
country: string;
|
2023-02-16 15:33:40 +01:00
|
|
|
|
2020-02-07 14:05:07 +01:00
|
|
|
//dataproviders:
|
|
|
|
englishname: string;
|
|
|
|
type: string;
|
|
|
|
websiteURL: string;
|
|
|
|
OAIPMHURL: string;
|
|
|
|
compatibility: string;
|
|
|
|
compatibilityUNKNOWN: boolean;
|
|
|
|
countries: string[];
|
|
|
|
subjects: string[];
|
2024-01-07 12:20:17 +01:00
|
|
|
originalId: string;
|
2023-02-16 15:33:40 +01:00
|
|
|
|
2020-02-07 14:05:07 +01:00
|
|
|
entityType: string;
|
|
|
|
types: string[];
|
2023-02-16 15:33:40 +01:00
|
|
|
enermapsId: string;
|
|
|
|
|
2023-12-20 22:55:00 +01:00
|
|
|
oaRoutes: OARoutes;
|
|
|
|
publiclyFunded: boolean;
|
|
|
|
|
2020-02-07 14:05:07 +01:00
|
|
|
constructor() {
|
|
|
|
}
|
2023-02-16 15:33:40 +01:00
|
|
|
|
2017-12-19 13:53:46 +01:00
|
|
|
}
|