-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjson.ts
More file actions
84 lines (76 loc) · 1.57 KB
/
json.ts
File metadata and controls
84 lines (76 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
export interface CiNiiResult {
"@context": Context;
"@id": string;
"@type": string;
title: string;
description: string;
link: Link;
"dc:date": Date;
"opensearch:totalResults": number;
"opensearch:startIndex": number;
"opensearch:itemsPerPage": number;
items: Item[];
}
export interface Context {
"@vocab": string;
rdf: string;
rdfs: string;
dc: string;
prism: string;
ndl: string;
opensearch: string;
cir: string;
"@language": string;
}
export interface Item {
"@id": string;
"@type": ItemType;
title: string;
link: Link;
"rdfs:seeAlso"?: Link;
"dc:creator"?: string[];
"dc:type": DcType;
"prism:publicationName"?: string;
"prism:issn"?: string;
"prism:number"?: string;
"prism:startingPage"?: string;
"prism:endingPage"?: string;
"prism:publicationDate"?: string;
"dc:identifier": DcIdentifier[];
"prism:volume"?: string;
"dc:publisher"?: string;
description?: string;
"dc:subject"?: string[];
"dc:source"?: DcSource[];
}
export enum ItemType {
Item = "item",
}
export interface DcIdentifier {
"@type": DcIdentifierType;
"@value": string;
}
export enum DcIdentifierType {
CIRDOI = "cir:DOI",
CIRHDL = "cir:HDL",
CIRISBN = "cir:ISBN",
CIRKAKEN = "cir:KAKEN",
CIRLCCN = "cir:LCCN",
CIRNAID = "cir:NAID",
CIRNCID = "cir:NCID",
CIRNDLBIBID = "cir:NDL_BIB_ID",
CIRURI = "cir:URI",
}
export interface DcSource {
"@id": string;
"dc:title"?: string;
}
export enum DcType {
Article = "Article",
Book = "Book",
Dataset = "Dataset",
Project = "Project",
}
export interface Link {
"@id": string;
}