49 lines
919 B
TypeScript
49 lines
919 B
TypeScript
export class JsonldDocument {
|
|
title: String[];
|
|
description: String[];
|
|
identifier: Identifier[];
|
|
url: String[];
|
|
sameAs: String[];
|
|
|
|
}
|
|
|
|
export class Dataset extends JsonldDocument {
|
|
creator: Person[];
|
|
dateCreated: String[];
|
|
dateModified: String[];
|
|
citation: Citation[];
|
|
license: License[];
|
|
keyword: String[];
|
|
issn:String[];
|
|
headline:String[];
|
|
alternativeHeadline:String[];
|
|
}
|
|
|
|
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[];
|
|
}
|
|
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;
|
|
}
|