openaire-library/utils/entities/searchResult.ts

47 lines
1.2 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:
englishname: string;
type: string;
websiteURL: string;
OAIPMHURL: string;
compatibility: string;
countries: string[];
subjects: string[];
//publications & datasets & software
countriesForResults: string[];
languages: string[];
//software
programmingLanguages: string[];
entityType: string;
types: string[];
openAccessMandate: boolean;
constructor(){}
}