2018-05-17 10:29:22 +02:00
|
|
|
export class JsonldDocument {
|
|
|
|
title: String[];
|
|
|
|
description: String[];
|
|
|
|
identifier: Identifier[];
|
|
|
|
url: String[];
|
|
|
|
sameAs: String[];
|
2018-11-12 16:36:20 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
export class Dataset extends JsonldDocument {
|
2018-05-17 10:29:22 +02:00
|
|
|
creator: Person[];
|
|
|
|
dateCreated: String[];
|
|
|
|
dateModified: String[];
|
|
|
|
citation: Citation[];
|
|
|
|
license: License[];
|
|
|
|
keyword: String[];
|
2018-11-13 14:01:38 +01:00
|
|
|
issn:String[];
|
|
|
|
headline:String[];
|
|
|
|
alternativeHeadline:String[];
|
2018-05-17 10:29:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface Identifier {
|
|
|
|
schema?: string;
|
|
|
|
id?: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface Person {
|
|
|
|
givenName: string;
|
|
|
|
familyName: string;
|
|
|
|
name: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export class Citation {
|
|
|
|
title: string[];
|
|
|
|
identifier: Identifier[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface License {
|
|
|
|
title: string[];
|
|
|
|
identifier: Identifier[];
|
|
|
|
}
|
2018-11-12 16:36:20 +01:00
|
|
|
export class Organization extends JsonldDocument {
|
|
|
|
alumni:Person;
|
|
|
|
areaServed:string; //The geographic area where a service or offered item is provided. Supersedes serviceArea.
|
|
|
|
funder:Organization;
|
|
|
|
legalName:string;
|
|
|
|
logo:string;
|
|
|
|
}
|