-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathschema.json
More file actions
103 lines (103 loc) · 2.41 KB
/
schema.json
File metadata and controls
103 lines (103 loc) · 2.41 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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Wordclass": {
"description": "Tsuduriで利用可能な品詞名",
"enum": [
"カ行五段動詞",
"ガ行五段動詞",
"サ変名詞",
"サ行五段動詞",
"ザ変名詞",
"タ行五段動詞",
"ナ行五段動詞",
"バ行五段動詞",
"マ行五段動詞",
"ラ行五段動詞",
"ワ行五段動詞",
"一段動詞",
"人名",
"人名接尾語",
"人名接頭語",
"副詞",
"名",
"固有名詞",
"地名",
"地名接尾語",
"地名接頭語",
"姓",
"形動名詞",
"形容詞",
"感動詞",
"慣用句",
"接続詞",
"数字接尾語",
"数字接頭語",
"普通名詞",
"短縮よみ",
"組織名",
"組織名接尾語",
"組織名接頭語",
"記号",
"連体詞",
"顔文字"
],
"type": "string"
},
"YesOrNo": {
"description": "YESかNOか",
"enum": [
"NO",
"YES"
],
"type": "string"
}
},
"properties": {
"dictionaries": {
"items": {
"description": "入力されるユーザー辞書の型定義",
"properties": {
"description": {
"description": "対象文言についての説明",
"type": "string"
},
"isSuggest": {
"$ref": "#/definitions/YesOrNo",
"description": "サジェストのみに表示するかどうか"
},
"isSuppress": {
"$ref": "#/definitions/YesOrNo",
"description": "抑制単語かどうか"
},
"reading": {
"description": "読み方",
"type": "string"
},
"type": {
"$ref": "#/definitions/Wordclass",
"description": "品詞"
},
"word": {
"description": "対象文言",
"type": "string"
}
},
"required": [
"description",
"isSuggest",
"isSuppress",
"reading",
"type",
"word"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"dictionaries"
],
"type": "object"
}