openaire-library/utils/entities/searchResult.ts

38 lines
1.0 KiB
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:
acronym: string;
code: string;
//funders: {"funderShortname": string, "funderName": string}[]; // not used
funderShortname: 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(){}
}