-
Notifications
You must be signed in to change notification settings - Fork 14
/
spec-v1.schema.json
216 lines (216 loc) · 5.58 KB
/
spec-v1.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
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://switchboard.clarin.eu/tool-spec-v1.json",
"title": "JSON Schema for the Switchboard tool specification",
"type": "object",
"items": null,
"definitions": {},
"required": [
"task",
"deployment",
"name",
"description",
"logo",
"homepage",
"location",
"creators",
"contact",
"authentication",
"licence",
"mimetypes",
"languages",
"langEncoding",
"parameters",
"url"
],
"properties": {
"task": {
"$id": "#/properties/task",
"type": "string",
"title": "Task description",
"enum": [
"Constituency Parsing",
"Coreference Resolution",
"Data Conversion",
"Dependency Parsing",
"Distant Reading",
"Extraction of Polish terminology",
"Grapheme to Phoneme Conversion",
"Handwritten Text Recognition",
"Inclusion detection",
"Keyword Extractor",
"Lemmatization",
"Lookup Tools",
"Machine Translation",
"Metadata Processing",
"Morpho-syntactic tagger",
"Morphological Analysis",
"N-Gramming",
"Named Entity Recognition",
"Named Entity Relation Detection",
"NLP suite for Dutch",
"Optical Character Recognition",
"Part-Of-Speech Tagging",
"Relation between name entities detection",
"Sentiment Analysis",
"Shallow Parsing",
"Spatial expression detection",
"Speech Recognition",
"Spelling correction",
"Stylometry",
"Text Analytics",
"Text Enhancement",
"Text Normalisation",
"Text Summarization",
"TF, IDF, TF-IDF calculation",
"Tokenisation",
"Topic Modelling",
"Transliteration",
"Visualisation of 3D models",
"Visualisation of Geographic Data",
"Word sense disambiguation"
]
},
"deployment": {
"$id": "#/properties/deployment",
"type": "string",
"title": "Deployment type",
"default": "development",
"enum": ["production", "development"]
},
"name": {
"$id": "#/properties/name",
"title": "Tool name",
"type": "string"
},
"logo": {
"$id": "#/properties/logo",
"type": "string",
"title": "The tool's logo file name",
"examples": ["mylogo.jpg"]
},
"homepage": {
"$id": "#/properties/homepage",
"type": "string",
"format": "uri",
"title": "Homepage",
"examples": ["https://example.com"]
},
"location": {
"$id": "#/properties/location",
"type": "string",
"title": "Geographical location",
"examples": ["Tuebingen, Germany"]
},
"creators": {
"$id": "#/properties/creators",
"type": "string",
"title": "Tool's creators"
},
"contact": {
"$id": "#/properties/contact",
"type": "object",
"title": "The Contact Schema",
"required": [
"person",
"email"
],
"properties": {
"person": {
"$id": "#/properties/contact/properties/person",
"type": "string",
"title": "Person name"
},
"email": {
"$id": "#/properties/contact/properties/email",
"type": "string",
"format": "email",
"title": "Email"
}
}
},
"version": {
"$id": "#/properties/version",
"type": ["string", "null"],
"title": "Tool's version",
"default": null,
"examples": ["v1.0"]
},
"authentication": {
"$id": "#/properties/authentication",
"type": ["string", "null"],
"title": "Authentication mechanism description, or null",
"default": null
},
"licence": {
"$id": "#/properties/licence",
"type": ["string", "null"],
"title": "Tool's licence",
"default": null
},
"description": {
"$id": "#/properties/description",
"type": "string",
"title": "Tool's description"
},
"languages": {
"$id": "#/properties/languages",
"type": "array",
"title": "Languages that the tool can work with",
"items": {
"$id": "#/properties/languages/items",
"type": "string",
"title": "Language Identifier, ISO 693-3",
"default": "eng",
"examples": ["eng", "deu"],
"pattern": "^(.{3})|(generic)$"
}
},
"langEncoding": {
"$id": "#/properties/langEncoding",
"type": "string",
"title": "The language encoding that the tool requires",
"default": "639-3",
"enum": ["639-1", "639-3"]
},
"mimetypes": {
"$id": "#/properties/mimetypes",
"type": "array",
"title": "Accepted mimetypes",
"items": {
"$id": "#/properties/mimetypes/items",
"type": "string",
"title": "Mediatype",
"examples": [
"text/plain",
"text/rtf",
"application/pdf",
"application/msword"
]
}
},
"output": {
"$id": "#/properties/output",
"type": "array",
"title": "Tool's output mediatypes",
"items": {
"$id": "#/properties/output/items",
"type": "string",
"title": "Mediatype",
"examples": ["application/xml"]
}
},
"url": {
"$id": "#/properties/url",
"type": "string",
"format": "uri",
"title": "Tool's URL",
"examples": ["https://weblicht.sfs.uni-tuebingen.de/weblicht/"]
},
"parameters": {
"$id": "#/properties/parameters",
"type": "object",
"title": "Tool parameters"
}
}
}