forked from windchime-yk/bid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.json
157 lines (157 loc) · 3.96 KB
/
schema.json
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"YesOrNo": {
"title": "YesOrNo",
"enum": [
"NO",
"YES"
],
"type": "string"
},
"Wordclass": {
"title": "Wordclass",
"enum": [
"カ行五段動詞",
"ガ行五段動詞",
"サ変名詞",
"サ行五段動詞",
"ザ変名詞",
"タ行五段動詞",
"ナ行五段動詞",
"バ行五段動詞",
"マ行五段動詞",
"ラ行五段動詞",
"ワ行五段動詞",
"一段動詞",
"人名",
"人名接尾語",
"人名接頭語",
"副詞",
"名",
"固有名詞",
"地名",
"地名接尾語",
"地名接頭語",
"姓",
"形動名詞",
"形容詞",
"感動詞",
"慣用句",
"接続詞",
"数字接尾語",
"数字接頭語",
"普通名詞",
"短縮よみ",
"組織名",
"組織名接尾語",
"組織名接頭語",
"記号",
"連体詞",
"顔文字"
],
"type": "string"
},
"InputUserDictionary": {
"type": "object",
"properties": {
"type": {
"$ref": "#/definitions/Wordclass",
"description": "品詞",
"title": "type"
},
"word": {
"description": "対象文言",
"type": "string",
"title": "word"
},
"reading": {
"description": "読み方",
"type": "string",
"title": "reading"
},
"isSuppress": {
"$ref": "#/definitions/YesOrNo",
"description": "抑制単語かどうか",
"title": "isSuppress"
},
"isSuggest": {
"$ref": "#/definitions/YesOrNo",
"description": "サジェストのみに表示するかどうか",
"title": "isSuggest"
},
"description": {
"description": "対象文言についての説明",
"type": "string",
"title": "description"
}
},
"additionalProperties": false,
"required": [
"description",
"isSuggest",
"isSuppress",
"reading",
"type",
"word"
]
},
"Schema": {
"type": "object",
"properties": {
"dictionaries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"$ref": "#/definitions/Wordclass",
"description": "品詞",
"title": "type"
},
"word": {
"description": "対象文言",
"type": "string",
"title": "word"
},
"reading": {
"description": "読み方",
"type": "string",
"title": "reading"
},
"isSuppress": {
"$ref": "#/definitions/YesOrNo",
"description": "抑制単語かどうか",
"title": "isSuppress"
},
"isSuggest": {
"$ref": "#/definitions/YesOrNo",
"description": "サジェストのみに表示するかどうか",
"title": "isSuggest"
},
"description": {
"description": "対象文言についての説明",
"type": "string",
"title": "description"
}
},
"additionalProperties": false,
"required": [
"description",
"isSuggest",
"isSuppress",
"reading",
"type",
"word"
]
},
"title": "dictionaries"
}
},
"additionalProperties": false,
"required": [
"dictionaries"
]
}
}
}