diff --git a/manifest.json b/manifest.json index 98c8c4f1..f2e187f4 100644 --- a/manifest.json +++ b/manifest.json @@ -1048,7 +1048,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -1366,6 +1366,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -2411,7 +2470,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -2729,6 +2788,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -3638,7 +3756,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -3956,6 +4074,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -6402,7 +6579,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -6720,6 +6897,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -8016,7 +8252,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -8334,6 +8570,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -9046,7 +9341,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -9364,6 +9659,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -10211,7 +10565,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -10529,6 +10883,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -10956,7 +11369,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -11274,6 +11687,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -12516,7 +12988,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -12834,6 +13306,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -14148,7 +14679,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -14466,6 +14997,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -15593,7 +16183,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -15911,6 +16501,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -16266,7 +16915,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -16584,6 +17233,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -16838,7 +17546,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -17156,6 +17864,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -17590,7 +18357,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -17908,6 +18675,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -19507,7 +20333,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -19825,6 +20651,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -20274,7 +21159,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -20592,6 +21477,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -21544,7 +22488,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -21862,6 +22806,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -22108,7 +23111,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -22426,6 +23429,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, @@ -25403,7 +26465,7 @@ "description": "List of labels of the Profile.", "type": "array", "items": { - "$ref": "#/definitions/GeneralEntitySchema" + "$ref": "#/definitions/Label" } } }, @@ -25721,6 +26783,65 @@ } } } + }, + "Label": { + "title": "Label", + "type": "object", + "properties": { + "board_key": { + "title": "Board Key", + "description": "Identification key of the Board containing the target Job.", + "type": "string" + }, + "job_key": { + "title": "Job Key", + "description": "Identification key of the Job.", + "type": "string" + }, + "job_reference": { + "title": "Job Reference", + "description": "Custom identifier of the Job.", + "type": "string" + }, + "stage": { + "title": "Stage", + "description": "Stage associated to the Profile following the action of a recruiter (yes, no, later).", + "enum": [ + "yes", + "no", + "later" + ], + "type": "string" + }, + "date_stage": { + "title": "Date Stage", + "description": "Date of the stage edit action. type: ('datetime ISO 8601')", + "type": "string" + }, + "rating": { + "title": "Rating", + "description": "Rating associated to the Profile following the action of a recruiter (from 1 to 5).", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer" + }, + "date_rating": { + "title": "Date Rating", + "description": "Date of the rating action. type: ('datetime ISO 8601')", + "type": "string" + } + }, + "required": [ + "board_key", + "job_key", + "job_reference", + "stage" + ] } } }, diff --git a/src/hrflow_connectors/connectors/hrflow/schemas.py b/src/hrflow_connectors/connectors/hrflow/schemas.py index 87b1c869..f3295f12 100644 --- a/src/hrflow_connectors/connectors/hrflow/schemas.py +++ b/src/hrflow_connectors/connectors/hrflow/schemas.py @@ -304,7 +304,7 @@ class HrFlowProfile(BaseModel): metadatas: t.Optional[t.List[GeneralEntitySchema]] = Field( None, description="List of metadatas of the Profile." ) - labels: t.Optional[t.List[GeneralEntitySchema]] = Field( + labels: t.Optional[t.List[Label]] = Field( None, description="List of labels of the Profile." )