-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjsonschema.json
More file actions
192 lines (192 loc) · 5.33 KB
/
Copy pathjsonschema.json
File metadata and controls
192 lines (192 loc) · 5.33 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [
"type",
"type@ja",
"edition",
"notation",
"label@ja",
"prefLabel@ja",
"prefLabel@en",
"indexedTerm@ja",
"note@ja",
"variantOf",
"seeAlso",
"related",
"broader",
"narrower"
],
"properties": {
"type": {
"$id": "#/properties/type",
"type": "string",
"title": "分類項目の種類(英語)",
"enum": [
"Top",
"Main",
"Division",
"Section",
"Concept",
"Variant",
"Collection"
]
},
"type@ja": {
"$id": "#/properties/type@ja",
"type": "string",
"title": "分類項目の種類(日本語)",
"enum": [
"最上位",
"類目(第1次区分)",
"綱目(第2次区分)",
"要目(第3次区分)",
"細目",
"二者択一項目",
"中間見出し・範囲項目"
]
},
"edition": {
"$id": "#/properties/edition",
"type": "string",
"title": "NDCの版次",
"enum": [
"8",
"9"
]
},
"notation": {
"$id": "#/properties/notation",
"type": "string",
"title": "分類記号",
"examples": [
"",
"0",
"1",
"11",
"111",
"111.5",
"071/077"
],
"pattern": "^(|[\\d\\./]+)$"
},
"label@ja": {
"$id": "#/properties/label@ja",
"type": [
"string",
"null"
],
"title": "文脈付き分類項目名",
"pattern": "^(.*)$"
},
"prefLabel@ja": {
"$id": "#/properties/prefLabel@ja",
"type": [
"string",
"null"
],
"title": "分類項目名(日本語)",
"pattern": "^(.*)$"
},
"prefLabel@en": {
"$id": "#/properties/prefLabel@en",
"type": [
"string",
"null"
],
"title": "分類項目名(英語)"
},
"indexedTerm@ja": {
"$id": "#/properties/indexedTerm@ja",
"type": "array",
"title": "索引語",
"items": {
"$id": "#/properties/indexedTerm@ja/items",
"type": "array",
"title": "索引語",
"items": {
"$id": "#/properties/note@ja/items/item",
"type": "string",
"title": "索引語",
"pattern": "^(.*)$"
}
}
},
"note@ja": {
"$id": "#/properties/note@ja",
"type": "array",
"title": "The Note@ja Schema",
"items": {
"$id": "#/properties/note@ja/items",
"type": "string",
"title": "注記, 関連分類項目名, 注参照",
"pattern": "^(.*)$"
}
},
"seeAlso": {
"$id": "#/properties/seeAlso",
"type": [
"string",
"null"
],
"title": "注参照の参照先"
},
"variantOf": {
"$id": "#/properties/variantOf",
"type": [
"string",
"null"
],
"title": "「を見よ」参照先"
},
"related": {
"$id": "#/properties/related",
"type": "array",
"title": "「をも見よ」参照先",
"items": {
"$id": "#/properties/related/items",
"type": "string",
"title": "分類番号",
"examples": [
"110",
"496.1_.4",
"491.376_.377",
"496.7_.8",
"110_159",
"139.4_.7",
"291_297",
"385_386",
"210_270",
"209_270",
"366.32_.33",
"538.93_.94"
],
"pattern": "^([\\d\\./_]+)$"
}
},
"broader": {
"$id": "#/properties/broader",
"type": [
"string",
"null"
],
"title": "上位分類項目",
"pattern": "^(|[\\d\\./]+)$"
},
"narrower": {
"$id": "#/properties/narrower",
"type": "array",
"title": "下位分類項目",
"items": {
"$id": "#/properties/narrower/items",
"type": "string",
"title": "The Items Schema",
"examples": [
"120_139"
],
"pattern": "^([\\d\\./_]+)$"
}
}
}
}