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