1
|
export class JsonldDocument {
|
2
|
id: string;
|
3
|
title: String[];
|
4
|
description: String[];
|
5
|
identifier: Identifier[];
|
6
|
url: String[];
|
7
|
sameAs: String[];
|
8
|
|
9
|
}
|
10
|
|
11
|
export class Dataset extends JsonldDocument {
|
12
|
creator: Person[];
|
13
|
dateCreated: String[];
|
14
|
dateModified: String[];
|
15
|
citation: Citation[];
|
16
|
license: License[];
|
17
|
keyword: String[];
|
18
|
issn:String[];
|
19
|
headline:String[];
|
20
|
alternativeHeadline:String[];
|
21
|
}
|
22
|
|
23
|
export interface Identifier {
|
24
|
schema?: string;
|
25
|
id?: string;
|
26
|
}
|
27
|
|
28
|
export interface Person {
|
29
|
givenName: string;
|
30
|
familyName: string;
|
31
|
name: string;
|
32
|
}
|
33
|
|
34
|
export class Citation {
|
35
|
title: string[];
|
36
|
identifier: Identifier[];
|
37
|
}
|
38
|
|
39
|
export interface License {
|
40
|
title: string[];
|
41
|
identifier: Identifier[];
|
42
|
}
|
43
|
export class Organization extends JsonldDocument {
|
44
|
alumni:Person;
|
45
|
areaServed:string; //The geographic area where a service or offered item is provided. Supersedes serviceArea.
|
46
|
funder:Organization;
|
47
|
legalName:string;
|
48
|
logo:string;
|
49
|
}
|