-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathskills-api.json
677 lines (677 loc) · 19.1 KB
/
skills-api.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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
{
"swagger" : "2.0",
"info" : {
"version" : "1.0",
"title" : "Open Skills API",
"description" : "A complete and standard data store for canonical and emerging skills, knowledge, abilities, tools, technolgies, and how they relate to jobs.",
"contact" : {
"name" : "Work Data Initiative",
"url" : "http://www.dataatwork.org"
}
},
"host" : "api.dataatwork.org",
"schemes" : [ "http" ],
"basePath" : "/v1",
"produces" : [ "application/json" ],
"consumes" : [ "application/json" ],
"paths" : {
"/jobs" : {
"get" : {
"summary" : "Job Titles and Descriptions",
"description" : "Retrieves the names, descriptions, and UUIDs of all job titles.",
"parameters" : [ {
"name" : "offset",
"in" : "query",
"description" : "Pagination offset. Default is 0.",
"type" : "integer"
}, {
"name" : "limit",
"in" : "query",
"description" : "Maximum number of items per page. Default is 20 and cannot exceed 500.",
"type" : "integer"
} ],
"responses" : {
"200" : {
"description" : "A collection of jobs",
"schema" : {
"$ref" : "#/definitions/Jobs"
}
},
"default" : {
"description" : "Unexpected error",
"schema" : {
"$ref" : "#/definitions/Error"
}
}
}
}
},
"/jobs/{id}" : {
"get" : {
"summary" : "Job Title and Description",
"description" : "Retrieves the name, description, and UUID of a job by specifying its O*NET SOC Code or UUID.",
"parameters" : [ {
"name" : "id",
"in" : "path",
"description" : "The O*NET SOC Code or UUID of the job title to retrieve",
"required" : true,
"type" : "string"
}, {
"name" : "fips",
"in" : "query",
"description" : "The FIPS Code of a Core-Based Statistical Area. Only return the job if present in this area",
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "A job",
"schema" : {
"$ref" : "#/definitions/Job"
}
},
"default" : {
"description" : "Unexpected error",
"schema" : {
"$ref" : "#/definitions/Error"
}
}
}
}
},
"/jobs/{id}/related_skills" : {
"get" : {
"summary" : "Skills Associated with a Job",
"description" : "Retrieves a collection of skills associated with a specified job.",
"parameters" : [ {
"name" : "id",
"in" : "path",
"description" : "The UUID of the job to retrieve skills for",
"required" : true,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "A job and its related skills",
"schema" : {
"$ref" : "#/definitions/JobSkills"
}
},
"default" : {
"description" : "Unexpected error",
"schema" : {
"$ref" : "#/definitions/Error"
}
}
}
}
},
"/jobs/{id}/related_jobs" : {
"get" : {
"summary" : "Jobs Associated with a Job",
"description" : "Retrieves a collection of jobs associated with a specified job.",
"parameters" : [ {
"name" : "id",
"in" : "path",
"description" : "The UUID of the job to retrieve related jobs for",
"required" : true,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "A job and its related jobs",
"schema" : {
"$ref" : "#/definitions/JobRelatedJobs"
}
},
"default" : {
"description" : "Unexpected error",
"schema" : {
"$ref" : "#/definitions/Error"
}
}
}
}
},
"/jobs/autocomplete" : {
"get" : {
"summary" : "Job Title Autocomplete",
"description" : "Retrieves the names, descriptions, and UUIDs of all job titles matching a given search criteria.",
"parameters" : [ {
"name" : "begins_with",
"in" : "query",
"description" : "Find job titles beginning with the given text fragment",
"required" : false,
"type" : "string"
}, {
"name" : "contains",
"in" : "query",
"description" : "Find job titles containing the given text fragment",
"required" : false,
"type" : "string"
}, {
"name" : "ends_with",
"in" : "query",
"description" : "Find job titles ending with the given text fragment",
"required" : false,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "A collection of jobs",
"schema" : {
"$ref" : "#/definitions/Jobs"
}
},
"default" : {
"description" : "Unexpected error",
"schema" : {
"$ref" : "#/definitions/Error"
}
}
}
}
},
"/jobs/normalize" : {
"get" : {
"summary" : "Job Title Normalization",
"description" : "Retrieves the canonical job title for a synonymous job title",
"parameters" : [ {
"name" : "job_title",
"in" : "query",
"description" : "Find the canonical job title(s) for jobs matching the given text fragment",
"required" : true,
"type" : "string"
}, {
"name" : "limit",
"in" : "query",
"description" : "Maximumn number of job title synonyms to return. Default is 1 and cannot exceed 10.",
"required" : false,
"type" : "integer"
} ],
"responses" : {
"200" : {
"description" : "A collection of normalized jobs",
"schema" : {
"$ref" : "#/definitions/NormalizedJobs"
}
}
}
}
},
"/jobs/unusual_titles" : {
"get" : {
"summary" : "Unusual Job Titles",
"description" : "Retrieves a list of unusual job titles and the UUIDs of their canonical jobs.",
"responses" : {
"200" : {
"description" : "A collection of normalized jobs",
"schema" : {
"$ref" : "#/definitions/NormalizedJobs"
}
}
}
}
},
"/skills" : {
"get" : {
"summary" : "Skill Names and Descriptions",
"description" : "Retrieve the names, descriptions, and UUIDs of all skills.",
"parameters" : [ {
"name" : "offset",
"in" : "query",
"description" : "Pagination offset. Default is 0.",
"type" : "integer"
}, {
"name" : "limit",
"in" : "query",
"description" : "Maximum number of items per page. Default is 20 and cannot exceed 500.",
"type" : "integer"
} ],
"responses" : {
"200" : {
"description" : "A collection of skills",
"schema" : {
"$ref" : "#/definitions/Skills"
}
},
"default" : {
"description" : "Unexpected error",
"schema" : {
"$ref" : "#/definitions/Error"
}
}
}
}
},
"/skills/{id}" : {
"get" : {
"summary" : "Skill Name and Description",
"description" : "Retrieves the name, description, and UUID of a job by specifying its UUID.",
"parameters" : [ {
"name" : "id",
"in" : "path",
"description" : "The UUID of the skill name to retrieve",
"required" : true,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "A skill",
"schema" : {
"$ref" : "#/definitions/Skill"
}
},
"default" : {
"description" : "Unexpected error",
"schema" : {
"$ref" : "#/definitions/Error"
}
}
}
}
},
"/skills/{id}/related_jobs" : {
"get" : {
"summary" : "Jobs Associated with a Skill",
"description" : "Retrieves a collection of jobs associated with a specified skill.",
"parameters" : [ {
"name" : "id",
"in" : "path",
"description" : "The UUID of the skill to retrieve jobs for",
"required" : true,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "A skill and its related jobs",
"schema" : {
"$ref" : "#/definitions/SkillJobs"
}
},
"default" : {
"description" : "Unexpected error",
"schema" : {
"$ref" : "#/definitions/Error"
}
}
}
}
},
"/skills/{id}/related_skills" : {
"get" : {
"summary" : "Skills Associated with a Skill",
"description" : "Retrieves a collection of skills associated with a specified skill.",
"parameters" : [ {
"name" : "id",
"in" : "path",
"description" : "The UUID of the skill to retrieve related skills for",
"required" : true,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "A skill and its related skills",
"schema" : {
"$ref" : "#/definitions/SkillRelatedSkills"
}
},
"default" : {
"description" : "Unexpected error",
"schema" : {
"$ref" : "#/definitions/Error"
}
}
}
}
},
"/skills/autocomplete" : {
"get" : {
"summary" : "Skill Name Autocomplete",
"description" : "Retrieves the names, descriptions, and UUIDs of all skills matching a given search criteria.",
"parameters" : [ {
"name" : "begins_with",
"in" : "query",
"description" : "Find skill names beginning with the given text fragment",
"required" : false,
"type" : "string"
}, {
"name" : "contains",
"in" : "query",
"description" : "Find skill names containing the given text fragment",
"required" : false,
"type" : "string"
}, {
"name" : "ends_with",
"in" : "query",
"description" : "Find skill names ending with the given text fragment",
"required" : false,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "A collection of skills",
"schema" : {
"$ref" : "#/definitions/SkillJobs"
}
},
"default" : {
"description" : "Unexpected error",
"schema" : {
"$ref" : "#/definitions/Error"
}
}
}
}
},
"/skills/normalize" : {
"get" : {
"summary" : "Skill Name Normalization",
"description" : "Retrieves the canonical skill name for a synonymous skill name",
"parameters" : [ {
"name" : "skill_name",
"in" : "query",
"description" : "Find the canonical skill name(s) for skills matching the given text fragment",
"required" : true,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "A collection of normalized skills",
"schema" : {
"$ref" : "#/definitions/NormalizedSkills"
}
}
}
}
}
},
"definitions" : {
"Jobs" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/Job"
},
"properties" : {
"links" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/PageLink"
}
}
}
},
"Job" : {
"properties" : {
"uuid" : {
"type" : "string",
"description" : "Universally Unique Identifier for the job"
},
"title" : {
"type" : "string",
"description" : "Job title"
},
"normalized_job_title" : {
"type" : "string",
"description" : "Normalized job title"
},
"parent_uuid" : {
"type" : "string",
"description" : "UUID for the job's parent job category"
}
}
},
"NormalizedJobs" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/NormalizedJob"
}
},
"JobSkills" : {
"properties" : {
"job_uuid" : {
"type" : "string",
"description" : "Universally Unique Identifier for the job"
},
"job_title" : {
"type" : "string",
"description" : "Title of the job associated with the UUID"
},
"normalized_job_title" : {
"type" : "string",
"description" : "Normalized title of the job associated with the UUID"
},
"skills" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/SkillJob"
}
}
}
},
"NormalizedJob" : {
"properties" : {
"uuid" : {
"type" : "string",
"description" : "Universally Unique Identifier for the synonymous job title"
},
"title" : {
"type" : "string",
"description" : "Job title for the synonymous job title"
},
"relevance_score" : {
"type" : "string",
"description" : "Relevance score for job title."
},
"parent_uuid" : {
"type" : "string",
"description" : "Universal Unique Identifier for the canonical job title"
}
}
},
"JobSkill" : {
"properties" : {
"job_uuid" : {
"type" : "string",
"description" : "Universally Unique Identifier for the job"
},
"job_title" : {
"type" : "string",
"description" : "Job title"
},
"normalized_job_title" : {
"type" : "string",
"description" : "Normalized job title"
},
"importance" : {
"type" : "number",
"description" : "O*NET importance score indicating how important skill is to job."
},
"level" : {
"type" : "number",
"description" : "O*NET level score indicating the skill level required for the job."
}
}
},
"JobRelatedJobs" : {
"properties" : {
"uuid" : {
"type" : "string",
"description" : "Universally Unique Identifier for the job"
},
"related_job_titles" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/JobRelatedJob"
}
}
}
},
"JobRelatedJob" : {
"properties" : {
"uuid" : {
"type" : "string",
"description" : "Universally Unique Identifier for the job"
},
"title" : {
"type" : "string",
"description" : "Job title"
},
"parent_uuid" : {
"type" : "string",
"description" : "Universally Unique Identifier for the job's canonical job title"
}
}
},
"Skills" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/Skill"
},
"properties" : {
"links" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/PageLink"
}
}
}
},
"Skill" : {
"properties" : {
"uuid" : {
"type" : "string",
"description" : "Universally Unique Identifier for the skill"
},
"name" : {
"type" : "string",
"description" : "Skill name"
},
"onet_element_id" : {
"type" : "string",
"description" : "O*NET Element Identifier"
},
"normalized_skill_name" : {
"type" : "string",
"description" : "Normalized skill name"
}
}
},
"NormalizedSkills" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/NormalizedSkill"
}
},
"NormalizedSkill" : {
"properties" : {
"uuid" : {
"type" : "string",
"description" : "Universally Unique Identifier for the canonical skill name"
},
"skill_name" : {
"type" : "string",
"description" : "Canonical skill name"
}
}
},
"SkillJobs" : {
"properties" : {
"skill_uuid" : {
"type" : "string",
"description" : "Universally Unique Identifier for the job"
},
"skill_name" : {
"type" : "string",
"description" : "Title of the job associated with the UUID"
},
"normalized_job_title" : {
"type" : "string",
"description" : "Normalized title of the job associated with the UUID"
},
"jobs" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/JobSkill"
}
}
}
},
"SkillJob" : {
"properties" : {
"skill_uuid" : {
"type" : "string",
"description" : "Universally Unique Identifier for the skill"
},
"skill_name" : {
"type" : "string",
"description" : "Name of the skill"
},
"description" : {
"type" : "string",
"description" : "Description of the skill"
},
"normalized_skill_name" : {
"type" : "string",
"description" : "Normalized skill name"
},
"importance" : {
"type" : "number",
"description" : "O*NET importance score"
},
"level" : {
"type" : "number",
"description" : "O*NET level score"
}
}
},
"SkillRelatedSkills" : {
"properties" : {
"uuid" : {
"type" : "string",
"description" : "Universally Unique Identifier for the skills"
},
"related_skill_name" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/SkillRelatedSkill"
}
}
}
},
"SkillRelatedSkill" : {
"properties" : {
"uuid" : {
"type" : "string",
"description" : "Universally Unique Identifier for the skill"
},
"skill_name" : {
"type" : "string",
"description" : "Skill name"
}
}
},
"PageLink" : {
"properties" : {
"rel" : {
"type" : "string",
"description" : "Link descriptor (e.g. self, first, prev, next, last)"
},
"href" : {
"type" : "string",
"description" : "Link URI"
}
}
},
"Error" : {
"properties" : {
"code" : {
"type" : "integer",
"format" : "int32"
},
"message" : {
"type" : "string"
}
}
}
}
}