Skip to content

Commit 10086d1

Browse files
author
JW Wesson
committed
add EducationNormalizationResponse
1 parent 8e31935 commit 10086d1

3 files changed

Lines changed: 20 additions & 3 deletions

File tree

src/main/java/com/textkernel/tx/models/api/parsing/BaseParseResponseValue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class BaseParseResponseValue {
3838
public ApiResponseInfoLite ParsingResponse;
3939

4040
/**
41-
* If profesison normalization was requested in the {@link ParseOptions#ProfessionsSettings},
41+
* If profession normalization was requested in the {@link ParseOptions#ProfessionsSettings},
4242
* the status of the profession normalization transaction will be output here
4343
*/
4444
public ApiResponseInfoLite ProfessionNormalizationResponse;

src/main/java/com/textkernel/tx/models/api/parsing/ParseResumeResponseValue.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
package com.textkernel.tx.models.api.parsing;
77

88
import com.textkernel.tx.models.api.ApiResponse;
9+
import com.textkernel.tx.models.api.ApiResponseInfoLite;
910
import com.textkernel.tx.models.resume.ParsedResume;
1011

1112
/**
@@ -27,4 +28,7 @@ public class ParseResumeResponseValue extends BaseParseResponseValue {
2728
* Information about the FlexRequests transaction, if any were provided.
2829
*/
2930
public FlexResponse FlexResponse;
31+
32+
/** Information about the status of education normalization during the parse */
33+
public ApiResponseInfoLite EducationNormalizationResponse;
3034
}

src/main/java/com/textkernel/tx/models/resume/education/Degree.java

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
package com.textkernel.tx.models.resume.education;
77

8+
import com.textkernel.tx.models.api.parsing.ParseResumeResponseValue;
89
import com.textkernel.tx.models.resume.NormalizedString;
910

1011
/**
@@ -52,9 +53,21 @@ public class Degree {
5253
@Deprecated
5354
public String Type;
5455

55-
/** The normalized code/description of the degree based on the CV locale. */
56+
/** The normalized code/description of the degree based on the CV locale.
57+
* <br><b>
58+
* NOTE: if you require this value, be sure to check the
59+
* {@link ParseResumeResponseValue#EducationNormalizationResponse}
60+
* on each response as some languages/locales are not supported
61+
* </b>
62+
*/
5663
public NormalizedDegree NormalizedLocal;
5764

58-
/** The normalized code/description of the degree based on an international standard. */
65+
/** The normalized code/description of the degree based on an international standard.
66+
* <br><b>
67+
* NOTE: if you require this value, be sure to check the
68+
* {@link ParseResumeResponseValue#EducationNormalizationResponse}
69+
* on each response as some languages/locales are not supported
70+
* </b>
71+
*/
5972
public NormalizedDegree NormalizedInternational;
6073
}

0 commit comments

Comments
 (0)