Skip to content

Commit

Permalink
add EducationNormalizationResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
JW Wesson committed Mar 1, 2024
1 parent 8e31935 commit 10086d1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class BaseParseResponseValue {
public ApiResponseInfoLite ParsingResponse;

/**
* If profesison normalization was requested in the {@link ParseOptions#ProfessionsSettings},
* If profession normalization was requested in the {@link ParseOptions#ProfessionsSettings},
* the status of the profession normalization transaction will be output here
*/
public ApiResponseInfoLite ProfessionNormalizationResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
package com.textkernel.tx.models.api.parsing;

import com.textkernel.tx.models.api.ApiResponse;
import com.textkernel.tx.models.api.ApiResponseInfoLite;
import com.textkernel.tx.models.resume.ParsedResume;

/**
Expand All @@ -27,4 +28,7 @@ public class ParseResumeResponseValue extends BaseParseResponseValue {
* Information about the FlexRequests transaction, if any were provided.
*/
public FlexResponse FlexResponse;

/** Information about the status of education normalization during the parse */
public ApiResponseInfoLite EducationNormalizationResponse;
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

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

import com.textkernel.tx.models.api.parsing.ParseResumeResponseValue;
import com.textkernel.tx.models.resume.NormalizedString;

/**
Expand Down Expand Up @@ -52,9 +53,21 @@ public class Degree {
@Deprecated
public String Type;

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

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

0 comments on commit 10086d1

Please sign in to comment.