Project

General

Profile

1
import {Author, Organization, Project} from "./searchResult";
2

    
3
export interface HostedByCollectedFrom {
4
  downloadName: string;
5
  downloadUrl: string[];
6
  collectedName: string;
7
  collectedId: string;
8
  accessMode: string[];
9
  bestAccessMode: string;
10
  type: string;
11
  year: string;
12
}
13

    
14
export interface Journal {
15
  journal?: string;
16
  issn?: string;
17
  lissn: string;
18
  eissn?: string;
19
  issue?: string;
20
  volume?: string;
21
  start_page?: string;
22
  end_page?: string;
23
}
24

    
25
export interface RelationResult {
26
  name: string;
27
  id: string;
28
  date: string;
29
  percentage: number;
30
  class: string
31
  provenanceAction?: string;
32
}
33

    
34
export class ResultLandingInfo {
35
  // PUBLICATION, DATASET, SOFTWARE, ORP
36
  record;
37
  resultType: "publication"|"dataset"|"other"|"software";
38
  
39
  // PUBLICATION, DATASET, SOFTWARE, ORP, DELETED_BY_INFERENCE
40
  title: string;
41
  accessMode: string;
42
  authors: Author[];
43
  date: string;
44
  dateofacceptance: Date;
45
  embargoEndDate: Date;
46
  types: string[];
47
  identifiers: Map<string, string[]>;     //key is the classname
48
  languages: string[];
49
  countries: string[];
50
  description: string;
51
  
52
  hostedBy_collectedFrom: HostedByCollectedFrom[];
53
  
54
  // PUBLICATION, DATASET, SOFTWARE, ORP
55
  fundedByProjects: Project[];
56
  
57
  underCurationMessage: boolean;
58
  publisher: string;
59
  journal: Journal;
60
  
61
  subjects: string[];
62
  otherSubjects: Map<string, string[]>;
63
  classifiedSubjects: Map<string, string[]>;          //<class of subject, subjects>
64
  
65
  // percentage is for trust
66
  relatedResearchResults: RelationResult[];
67
  // percentage is for similarity
68
  similarResearchResults: RelationResult[];
69
  //isSupplementedBy
70
  supplementaryResearchResults: RelationResult[];
71
  //isSupplementTo
72
  supplementedByResearchResults: RelationResult[];
73
  
74
  contexts: { "labelContext": string, "labelCategory": string, "labelConcept": string, "inline": boolean }[];
75
  
76
  deletedByInferenceIds: string[];
77
  
78
  // PUBLICATION, DATASET, ORP
79
  references: { "name": string, "url": string }[];
80
  
81
  // PUBLICATION
82
  bioentities: Map<string, Map<string, string>>;      //<site name, <>>
83
  organizations: Organization[];
84
  openCitations: { "url": string, "title": string, "year": string, "doi": string, "authors": string[] }[];
85
  
86
  // DATASET
87
  subtitle: string;
88
  
89
  // SOFTWARE
90
  programmingLanguages: string[];
91
}
(12-12/13)