Skip to content

Commit fbffb16

Browse files
author
JW Wesson
committed
forgot these new response values
1 parent 295f3e3 commit fbffb16

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

src/main/java/com/sovren/models/api/dataenrichment/ontology/response/SuggestProfessionsResponseValue.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@
1212
public class SuggestProfessionsResponseValue {
1313
/** A list of professions most relevant to the given skills. */
1414
public List<SuggestedProfession> SuggestedProfessions;
15+
/** Any warnings when attempting to suggest professions from the given skills. */
16+
public SuggestedProfessionsWarnings Warnings;
1517
}

src/main/java/com/sovren/models/api/dataenrichment/ontology/response/SuggestedProfession.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ public class SuggestedProfession {
1616
public float Score;
1717
/** The code ID of the profession in the <a href="https://sovren.com/technical-specs/latest/rest-api/data-enrichment/overview/#professions-taxonomies">Professions Taxonomy</a>. */
1818
public int CodeId;
19+
/** The description of the profession in the Professions Taxonomy. */
20+
public String Description;
1921
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Copyright © 2020 Sovren Group, Inc. All rights reserved.
2+
// This file is provided for use by, or on behalf of, Sovren licensees
3+
// within the terms of their license of Sovren products or Sovren customers
4+
// within the Terms of Service pertaining to the Sovren SaaS products.
5+
6+
package com.sovren.models.api.dataenrichment.ontology.response;
7+
import java.util.List;
8+
9+
/** Warnings when trying to suggest professions from skills. */
10+
public class SuggestedProfessionsWarnings {
11+
/** A list of warnings about provided skills that do not have a profession relation. */
12+
public List<String> SkillsWithoutProfessionRelation;
13+
/** A list of warnings about provided skills that are invalid. */
14+
public List<String> InvalidSkills;
15+
}

0 commit comments

Comments
 (0)