@datafire/dataatwork
v6.0.0
Published
DataFire integration for Open Skills API
Downloads
13
Readme
@datafire/dataatwork
Client library for Open Skills API
Installation and Usage
npm install --save @datafire/dataatwork
let dataatwork = require('@datafire/dataatwork').create();
.then(data => {
console.log(data);
});
Description
A complete and standard data store for canonical and emerging skills, knowledge, abilities, tools, technolgies, and how they relate to jobs.
Actions
jobs.get
Retrieves the names, descriptions, and UUIDs of all job titles.
dataatwork.jobs.get({}, context)
Input
- input
object
- offset
integer
: Pagination offset. Default is 0. - limit
integer
: Maximum number of items per page. Default is 20 and cannot exceed 500.
- offset
Output
- output Jobs
jobs.autocomplete.get
Retrieves the names, descriptions, and UUIDs of all job titles matching a given search criteria.
dataatwork.jobs.autocomplete.get({}, context)
Input
- input
object
- begins_with
string
: Find job titles beginning with the given text fragment - contains
string
: Find job titles containing the given text fragment - ends_with
string
: Find job titles ending with the given text fragment
- begins_with
Output
- output Jobs
jobs.normalize.get
Retrieves the canonical job title for a synonymous job title
dataatwork.jobs.normalize.get({
"job_title": ""
}, context)
Input
- input
object
- job_title required
string
: Find the canonical job title(s) for jobs matching the given text fragment - limit
integer
: Maximumn number of job title synonyms to return. Default is 1 and cannot exceed 10.
- job_title required
Output
- output NormalizedJobs
jobs.unusual_titles.get
Retrieves a list of unusual job titles and the UUIDs of their canonical jobs.
dataatwork.jobs.unusual_titles.get(null, context)
Input
This action has no parameters
Output
- output NormalizedJobs
jobs.id.get
Retrieves the name, description, and UUID of a job by specifying its O*NET SOC Code or UUID.
dataatwork.jobs.id.get({
"id": ""
}, context)
Input
- input
object
- id required
string
: The O*NET SOC Code or UUID of the job title to retrieve - fips
string
: The FIPS Code of a Core-Based Statistical Area. Only return the job if present in this area
- id required
Output
- output Job
jobs.id.related_jobs.get
Retrieves a collection of jobs associated with a specified job.
dataatwork.jobs.id.related_jobs.get({
"id": ""
}, context)
Input
- input
object
- id required
string
: The UUID of the job to retrieve related jobs for
- id required
Output
- output JobRelatedJobs
jobs.id.related_skills.get
Retrieves a collection of skills associated with a specified job.
dataatwork.jobs.id.related_skills.get({
"id": ""
}, context)
Input
- input
object
- id required
string
: The UUID of the job to retrieve skills for
- id required
Output
- output JobSkills
skills.get
Retrieve the names, descriptions, and UUIDs of all skills.
dataatwork.skills.get({}, context)
Input
- input
object
- offset
integer
: Pagination offset. Default is 0. - limit
integer
: Maximum number of items per page. Default is 20 and cannot exceed 500.
- offset
Output
- output Skills
skills.autocomplete.get
Retrieves the names, descriptions, and UUIDs of all skills matching a given search criteria.
dataatwork.skills.autocomplete.get({}, context)
Input
- input
object
- begins_with
string
: Find skill names beginning with the given text fragment - contains
string
: Find skill names containing the given text fragment - ends_with
string
: Find skill names ending with the given text fragment
- begins_with
Output
- output SkillJobs
skills.normalize.get
Retrieves the canonical skill name for a synonymous skill name
dataatwork.skills.normalize.get({
"skill_name": ""
}, context)
Input
- input
object
- skill_name required
string
: Find the canonical skill name(s) for skills matching the given text fragment
- skill_name required
Output
- output NormalizedSkills
skills.id.get
Retrieves the name, description, and UUID of a job by specifying its UUID.
dataatwork.skills.id.get({
"id": ""
}, context)
Input
- input
object
- id required
string
: The UUID of the skill name to retrieve
- id required
Output
- output Skill
skills.id.related_jobs.get
Retrieves a collection of jobs associated with a specified skill.
dataatwork.skills.id.related_jobs.get({
"id": ""
}, context)
Input
- input
object
- id required
string
: The UUID of the skill to retrieve jobs for
- id required
Output
- output SkillJobs
skills.id.related_skills.get
Retrieves a collection of skills associated with a specified skill.
dataatwork.skills.id.related_skills.get({
"id": ""
}, context)
Input
- input
object
- id required
string
: The UUID of the skill to retrieve related skills for
- id required
Output
- output SkillRelatedSkills
Definitions
Error
- Error
object
- code
integer
- message
string
- code
Job
- Job
object
- normalized_job_title
string
: Normalized job title - parent_uuid
string
: UUID for the job's parent job category - title
string
: Job title - uuid
string
: Universally Unique Identifier for the job
- normalized_job_title
JobRelatedJob
- JobRelatedJob
object
- parent_uuid
string
: Universally Unique Identifier for the job's canonical job title - title
string
: Job title - uuid
string
: Universally Unique Identifier for the job
- parent_uuid
JobRelatedJobs
- JobRelatedJobs
object
- related_job_titles
array
- items JobRelatedJob
- uuid
string
: Universally Unique Identifier for the job
- related_job_titles
JobSkill
- JobSkill
object
- importance
number
: O*NET importance score indicating how important skill is to job. - job_title
string
: Job title - job_uuid
string
: Universally Unique Identifier for the job - level
number
: O*NET level score indicating the skill level required for the job. - normalized_job_title
string
: Normalized job title
- importance
JobSkills
- JobSkills
object
- job_title
string
: Title of the job associated with the UUID - job_uuid
string
: Universally Unique Identifier for the job - normalized_job_title
string
: Normalized title of the job associated with the UUID - skills
array
- items SkillJob
- job_title
Jobs
NormalizedJob
- NormalizedJob
object
- parent_uuid
string
: Universal Unique Identifier for the canonical job title - relevance_score
string
: Relevance score for job title. - title
string
: Job title for the synonymous job title - uuid
string
: Universally Unique Identifier for the synonymous job title
- parent_uuid
NormalizedJobs
- NormalizedJobs
array
- items NormalizedJob
NormalizedSkill
- NormalizedSkill
object
- skill_name
string
: Canonical skill name - uuid
string
: Universally Unique Identifier for the canonical skill name
- skill_name
NormalizedSkills
- NormalizedSkills
array
- items NormalizedSkill
PageLink
- PageLink
object
- href
string
: Link URI - rel
string
: Link descriptor (e.g. self, first, prev, next, last)
- href
Skill
- Skill
object
- name
string
: Skill name - normalized_skill_name
string
: Normalized skill name - onet_element_id
string
: O*NET Element Identifier - uuid
string
: Universally Unique Identifier for the skill
- name
SkillJob
- SkillJob
object
- description
string
: Description of the skill - importance
number
: O*NET importance score - level
number
: O*NET level score - normalized_skill_name
string
: Normalized skill name - skill_name
string
: Name of the skill - skill_uuid
string
: Universally Unique Identifier for the skill
- description
SkillJobs
- SkillJobs
object
- jobs
array
- items JobSkill
- normalized_job_title
string
: Normalized title of the job associated with the UUID - skill_name
string
: Title of the job associated with the UUID - skill_uuid
string
: Universally Unique Identifier for the job
- jobs
SkillRelatedSkill
- SkillRelatedSkill
object
- skill_name
string
: Skill name - uuid
string
: Universally Unique Identifier for the skill
- skill_name
SkillRelatedSkills
- SkillRelatedSkills
object
- related_skill_name
array
- items SkillRelatedSkill
- uuid
string
: Universally Unique Identifier for the skills
- related_skill_name