openaire-library/utils/entities/searchResult.ts

35 lines
985 B
TypeScript

export class SearchResult {
title: { "name": string, "accessMode": string, "sc39": string};
id:string;
DOI:string;
//publications & datasets & organizations:
projects: {"funderShortname": string, "funderName": string, "acronym": string, "title": string, "code": string, "id": string}[];
//datasets & publications
description: string;
year: string;
embargoEndDate: string;
authors: string[];
//datasets:
publisher: string;
//dataproviders & projects:
organizations: { "name": string, "id": string}[];
//projects:
funders: {"funderShortname": string, "funderName": string}[];
startYear:number;
endYear:number;
//organizations:
country: string;
//dataproviders:
type: string;
websiteURL: string;
OAIPMHURL: string;
compatibility: string;
countries: string[];
entityType: string;
languages: string[];
types: string[];
openAccessMandate: boolean;
constructor(){}
}