From 1d1ab6b3b873e337c2a49ecf3b9a7b824f3b3732 Mon Sep 17 00:00:00 2001 From: the-forest-tree Date: Thu, 13 Jun 2024 11:02:13 +0000 Subject: [PATCH] fix: correct hrflow profile data schema --- manifest.json | 2313 +++++++++-------- .../connectors/hrflow/schemas.py | 82 +- 2 files changed, 1335 insertions(+), 1060 deletions(-) diff --git a/manifest.json b/manifest.json index 8e67f7ebb..98c8c4f14 100644 --- a/manifest.json +++ b/manifest.json @@ -720,6 +720,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -729,7 +733,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -908,21 +913,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -939,7 +929,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -1022,14 +1027,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -1045,6 +1042,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -1069,34 +1074,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -1139,11 +1139,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -1174,6 +1173,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -1183,7 +1186,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -1219,6 +1223,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -1293,6 +1302,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -1804,7 +1818,6 @@ } }, "required": [ - "reference", "created_at", "resume", "tags", @@ -2039,7 +2052,6 @@ } }, "required": [ - "reference", "created_at", "resume", "tags", @@ -2264,21 +2276,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -2295,7 +2292,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -2378,14 +2390,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -2401,6 +2405,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -2425,34 +2437,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -2495,11 +2502,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -2530,6 +2536,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -2539,7 +2549,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -2575,6 +2586,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -2649,6 +2665,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -2892,7 +2913,6 @@ } }, "required": [ - "reference", "created_at", "resume", "tags", @@ -3290,6 +3310,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -3299,7 +3323,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -3478,21 +3503,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -3509,7 +3519,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -3592,14 +3617,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -3615,6 +3632,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -3639,34 +3664,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", - "type": "string" - }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -3709,11 +3729,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -3744,6 +3763,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -3753,7 +3776,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -3789,6 +3813,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -3863,6 +3892,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -5203,6 +5237,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -5212,7 +5250,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -6028,6 +6067,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -6037,7 +6080,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -6223,21 +6267,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -6254,7 +6283,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -6337,14 +6381,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -6360,6 +6396,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -6384,34 +6428,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -6454,11 +6493,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -6489,6 +6527,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -6498,7 +6540,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -6534,6 +6577,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -6608,6 +6656,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -7219,6 +7272,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -7228,7 +7285,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -7630,6 +7688,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -7639,7 +7701,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -7818,21 +7881,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -7849,7 +7897,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -7932,14 +7995,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -7955,6 +8010,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -7979,34 +8042,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -8049,11 +8107,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -8084,6 +8141,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -8093,7 +8154,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -8129,6 +8191,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -8203,6 +8270,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -8646,6 +8718,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -8655,7 +8731,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -8834,21 +8911,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -8865,18 +8927,33 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", "type": "string" }, - "experiences_duration": { - "title": "Experiences Duration", - "description": "Total number of years of experience.", - "type": "number" - }, - "educations_duration": { - "title": "Educations Duration", - "description": "Total number of years of education.", - "type": "number" + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", + "type": "string" + }, + "experiences_duration": { + "title": "Experiences Duration", + "description": "Total number of years of experience.", + "type": "number" + }, + "educations_duration": { + "title": "Educations Duration", + "description": "Total number of years of education.", + "type": "number" }, "experiences": { "title": "Experiences", @@ -8948,14 +9025,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -8971,6 +9040,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -8995,34 +9072,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -9065,11 +9137,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -9100,6 +9171,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -9109,7 +9184,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -9145,6 +9221,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -9219,6 +9300,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -9797,6 +9883,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -9806,7 +9896,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -9985,21 +10076,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -10016,7 +10092,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -10099,14 +10190,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -10122,6 +10205,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -10146,34 +10237,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -10216,11 +10302,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -10251,6 +10336,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -10260,7 +10349,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -10296,6 +10386,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -10370,6 +10465,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -10721,21 +10821,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -10752,7 +10837,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -10835,14 +10935,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -10858,6 +10950,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -10882,34 +10982,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -10952,12 +11047,11 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] - }, + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } + }, "picture": { "title": "Picture", "description": "Profile picture url", @@ -10987,6 +11081,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -10996,7 +11094,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -11032,6 +11131,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -11106,6 +11210,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -11644,6 +11753,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -11653,7 +11766,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -11978,7 +12092,6 @@ } }, "required": [ - "reference", "created_at", "resume", "tags", @@ -12268,21 +12381,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -12299,7 +12397,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -12382,14 +12495,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -12405,6 +12510,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -12429,34 +12542,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -12499,11 +12607,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -12534,6 +12641,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -12543,7 +12654,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -12579,6 +12691,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -12653,6 +12770,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -13148,6 +13270,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -13157,7 +13283,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -13693,6 +13820,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -13702,7 +13833,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -13881,21 +14013,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -13912,7 +14029,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -13995,14 +14127,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -14018,6 +14142,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -14042,34 +14174,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -14112,11 +14239,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -14147,6 +14273,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -14156,7 +14286,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -14192,6 +14323,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -14266,6 +14402,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -15124,6 +15265,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -15133,7 +15278,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -15312,21 +15458,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -15343,7 +15474,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -15426,14 +15572,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -15449,12 +15587,20 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } - } - }, - "definitions": { - "Location": { - "title": "Location", - "type": "object", + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } + } + }, + "definitions": { + "Location": { + "title": "Location", + "type": "object", "properties": { "text": { "title": "Text", @@ -15473,34 +15619,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -15543,11 +15684,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -15578,6 +15718,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -15587,7 +15731,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -15623,6 +15768,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -15697,6 +15847,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -15976,21 +16131,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -16007,7 +16147,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -16090,14 +16245,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -16113,6 +16260,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -16137,34 +16292,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -16207,11 +16357,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -16242,6 +16391,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -16251,7 +16404,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -16287,6 +16441,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -16361,6 +16520,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -16539,21 +16703,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -16570,7 +16719,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -16653,14 +16817,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -16676,6 +16832,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -16700,34 +16864,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -16770,11 +16929,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -16805,6 +16963,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -16814,7 +16976,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -16850,6 +17013,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -16924,6 +17092,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -17282,21 +17455,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -17313,7 +17471,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -17396,14 +17569,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -17419,6 +17584,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -17438,39 +17611,34 @@ }, "lng": { "title": "Lng", - "description": "Geocentric longitude of the Location.", - "type": "number" - } - } - }, - "InfoUrls": { - "title": "InfoUrls", - "type": "object", - "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "description": "Geocentric longitude of the Location.", + "type": "number" + } + } + }, + "InfoUrl": { + "title": "InfoUrl", + "type": "object", + "properties": { + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -17513,11 +17681,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -17548,6 +17715,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -17557,7 +17728,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -17593,6 +17765,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -17667,6 +17844,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -18317,6 +18499,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -18326,7 +18512,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -18992,6 +19179,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -19001,7 +19192,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -19180,21 +19372,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -19211,7 +19388,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -19294,14 +19486,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -19317,6 +19501,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -19341,34 +19533,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -19411,11 +19598,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -19446,6 +19632,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -19455,7 +19645,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -19491,6 +19682,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -19565,6 +19761,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -19938,21 +20139,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -19969,7 +20155,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -20052,14 +20253,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -20075,6 +20268,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -20099,34 +20300,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -20169,11 +20365,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -20204,6 +20399,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -20213,7 +20412,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -20249,6 +20449,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -20323,6 +20528,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -21199,21 +21409,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -21230,7 +21425,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -21313,14 +21523,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -21336,6 +21538,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -21360,34 +21570,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -21430,11 +21635,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -21465,6 +21669,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -21474,7 +21682,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -21510,6 +21719,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -21584,6 +21798,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -21754,21 +21973,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -21785,7 +21989,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -21868,14 +22087,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -21891,6 +22102,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -21915,34 +22134,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -21985,11 +22199,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -22020,6 +22233,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -22029,7 +22246,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -22065,6 +22283,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -22139,6 +22362,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -23553,6 +23781,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -23562,7 +23794,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -24376,6 +24609,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -24385,7 +24622,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -24876,7 +25114,6 @@ } }, "required": [ - "reference", "created_at", "resume", "tags", @@ -25031,21 +25268,6 @@ "description": "Custom identifier of the Profile.", "type": "string" }, - "archived_at": { - "title": "Archived At", - "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", - "type": "string" - }, - "updated_at": { - "title": "Updated At", - "description": "type: datetime ISO8601, Last update date of the Profile.", - "type": "string" - }, - "created_at": { - "title": "Created At", - "description": "type: datetime ISO8601, Creation date of the Profile.", - "type": "string" - }, "info": { "title": "Info", "description": "Object containing the Profile's info.", @@ -25062,7 +25284,22 @@ }, "text": { "title": "Text", - "description": "Full text of the Profile..", + "description": "Full text of the Profile.", + "type": "string" + }, + "archived_at": { + "title": "Archived At", + "description": "type: datetime ISO8601, Archive date of the Profile. The value is null for unarchived Profiles.", + "type": "string" + }, + "updated_at": { + "title": "Updated At", + "description": "type: datetime ISO8601, Last update date of the Profile.", + "type": "string" + }, + "created_at": { + "title": "Created At", + "description": "type: datetime ISO8601, Creation date of the Profile.", "type": "string" }, "experiences_duration": { @@ -25145,14 +25382,6 @@ "$ref": "#/definitions/GeneralEntitySchema" } }, - "labels": { - "title": "Labels", - "description": "List of labels of the Profile.", - "type": "array", - "items": { - "$ref": "#/definitions/GeneralEntitySchema" - } - }, "tags": { "title": "Tags", "description": "List of tags of the Profile.", @@ -25168,6 +25397,14 @@ "items": { "$ref": "#/definitions/GeneralEntitySchema" } + }, + "labels": { + "title": "Labels", + "description": "List of labels of the Profile.", + "type": "array", + "items": { + "$ref": "#/definitions/GeneralEntitySchema" + } } }, "definitions": { @@ -25192,34 +25429,29 @@ } } }, - "InfoUrls": { - "title": "InfoUrls", + "InfoUrl": { + "title": "InfoUrl", "type": "object", "properties": { - "from_resume": { - "title": "From Resume", - "type": "array", - "items": { - "type": "string" - } - }, - "linkedin": { - "title": "Linkedin", - "type": "string" - }, - "twitter": { - "title": "Twitter", - "type": "string" - }, - "facebook": { - "title": "Facebook", + "type": { + "title": "Type", + "enum": [ + "from_resume", + "linkedin", + "twitter", + "facebook", + "github" + ], "type": "string" }, - "github": { - "title": "Github", + "url": { + "title": "Url", "type": "string" } - } + }, + "required": [ + "type" + ] }, "ProfileInfo": { "title": "ProfileInfo", @@ -25262,11 +25494,10 @@ "urls": { "title": "Urls", "description": "Profile social networks and URLs", - "allOf": [ - { - "$ref": "#/definitions/InfoUrls" - } - ] + "type": "array", + "items": { + "$ref": "#/definitions/InfoUrl" + } }, "picture": { "title": "Picture", @@ -25297,6 +25528,10 @@ "type": { "title": "Type", "description": "Type of the skill. hard or soft", + "enum": [ + "hard", + "soft" + ], "type": "string" }, "value": { @@ -25306,7 +25541,8 @@ } }, "required": [ - "name" + "name", + "type" ] }, "GeneralEntitySchema": { @@ -25342,6 +25578,11 @@ "description": "Company name of the Experience.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the Company", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Experience.", @@ -25416,6 +25657,11 @@ "description": "School name of the Education.", "type": "string" }, + "logo": { + "title": "Logo", + "description": "Logo of the School", + "type": "string" + }, "title": { "title": "Title", "description": "Title of the Education.", @@ -25794,7 +26040,6 @@ } }, "required": [ - "reference", "created_at", "resume", "tags", @@ -25998,7 +26243,6 @@ } }, "required": [ - "reference", "created_at", "resume", "tags", @@ -26202,7 +26446,6 @@ } }, "required": [ - "reference", "created_at", "resume", "tags", diff --git a/src/hrflow_connectors/connectors/hrflow/schemas.py b/src/hrflow_connectors/connectors/hrflow/schemas.py index 9d6ddf077..87b1c8697 100644 --- a/src/hrflow_connectors/connectors/hrflow/schemas.py +++ b/src/hrflow_connectors/connectors/hrflow/schemas.py @@ -1,5 +1,12 @@ import typing as t +try: + t.Literal +except AttributeError: + from typing_extensions import Literal + + setattr(t, "Literal", Literal) + from pydantic import BaseModel, Field @@ -20,18 +27,46 @@ class Location(BaseModel): class GeneralEntitySchema(BaseModel): - name: str = Field(..., description="Identification name of the Object") + name: str = Field(description="Identification name of the Object") value: t.Optional[str] = Field( None, description="Value associated to the Object's name" ) class Skill(BaseModel): - name: str = Field(..., description="Identification name of the skill") - type: t.Optional[str] = Field(None, description="Type of the skill. hard or soft") + name: str = Field(description="Identification name of the skill") + type: t.Literal["hard", "soft"] = Field( + description="Type of the skill. hard or soft" + ) value: t.Optional[str] = Field(None, description="Value associated to the skill") +class Label(BaseModel): + board_key: str = Field( + description="Identification key of the Board containing the target Job." + ) + job_key: str = Field(description="Identification key of the Job.") + job_reference: str = Field(description="Custom identifier of the Job.") + stage: t.Literal["yes", "no", "later"] = Field( + description=( + "Stage associated to the Profile following the action of a recruiter (yes," + " no, later)." + ) + ) + date_stage: str = Field( + None, description="Date of the stage edit action. type: ('datetime ISO 8601')" + ) + rating: t.Optional[t.Literal[1, 2, 3, 4, 5]] = Field( + description=( + "Rating associated to the Profile following the action of a recruiter (from" + " 1 to 5)." + ) + ) + date_rating: str = Field( + None, description="Date of the rating action. type: ('datetime ISO 8601')" + ) + + # Job class Section(BaseModel): name: t.Optional[str] = Field( @@ -82,7 +117,7 @@ class HrFlowJob(BaseModel): reference: t.Optional[str] = Field( None, description="Custom identifier of the Job." ) - name: str = Field(..., description="Job title.") + name: str = Field(description="Job title.") location: Location = Field(None, description="Job location object.") sections: t.List[Section] = Field(None, description="Job custom sections.") url: t.Optional[str] = Field(None, description="Job post original URL.") @@ -130,12 +165,9 @@ class HrFlowJob(BaseModel): # Profile -class InfoUrls(BaseModel): - from_resume: t.Optional[t.List[str]] - linkedin: t.Optional[str] - twitter: t.Optional[str] - facebook: t.Optional[str] - github: t.Optional[str] +class InfoUrl(BaseModel): + type: t.Literal["from_resume", "linkedin", "twitter", "facebook", "github"] + url: t.Optional[str] class ProfileInfo(BaseModel): @@ -146,7 +178,7 @@ class ProfileInfo(BaseModel): phone: t.Optional[str] date_birth: t.Optional[str] = Field(None, description="Profile date of birth") location: t.Optional[Location] = Field(None, description="Profile location object") - urls: t.Optional[InfoUrls] = Field( + urls: t.Optional[t.List[InfoUrl]] = Field( None, description="Profile social networks and URLs" ) picture: t.Optional[str] = Field(None, description="Profile picture url") @@ -161,6 +193,7 @@ class Experience(BaseModel): company: t.Optional[str] = Field( None, description="Company name of the Experience." ) + logo: t.Optional[str] = Field(None, description="Logo of the Company") title: t.Optional[str] = Field(None, description="Title of the Experience.") description: t.Optional[str] = Field( None, description="Description of the Experience." @@ -187,6 +220,7 @@ class Education(BaseModel): None, description="Identification key of the Education." ) school: t.Optional[str] = Field(None, description="School name of the Education.") + logo: t.Optional[str] = Field(None, description="Logo of the School") title: t.Optional[str] = Field(None, description="Title of the Education.") description: t.Optional[str] = Field( None, description="Description of the Education." @@ -213,6 +247,11 @@ class HrFlowProfile(BaseModel): reference: t.Optional[str] = Field( None, description="Custom identifier of the Profile." ) + info: ProfileInfo = Field(None, description="Object containing the Profile's info.") + text_language: str = Field( + None, description="Code language of the Profile. type: string code ISO 639-1" + ) + text: str = Field(None, description="Full text of the Profile.") archived_at: t.Optional[str] = Field( None, description=( @@ -226,11 +265,6 @@ class HrFlowProfile(BaseModel): created_at: t.Optional[str] = Field( None, description="type: datetime ISO8601, Creation date of the Profile." ) - info: ProfileInfo = Field(None, description="Object containing the Profile's info.") - text_language: str = Field( - None, description="Code language of the Profile. type: string code ISO 639-1" - ) - text: str = Field(None, description="Full text of the Profile..") experiences_duration: float = Field( None, description="Total number of years of experience." ) @@ -264,15 +298,15 @@ class HrFlowProfile(BaseModel): interests: t.Optional[t.List[GeneralEntitySchema]] = Field( None, description="List of interests of the Profile." ) - labels: t.Optional[t.List[GeneralEntitySchema]] = Field( - None, description="List of labels of the Profile." - ) tags: t.Optional[t.List[GeneralEntitySchema]] = Field( None, description="List of tags of the Profile." ) metadatas: t.Optional[t.List[GeneralEntitySchema]] = Field( None, description="List of metadatas of the Profile." ) + labels: t.Optional[t.List[GeneralEntitySchema]] = Field( + None, description="List of labels of the Profile." + ) class ResumeToParse(BaseModel): @@ -281,16 +315,14 @@ class ResumeToParse(BaseModel): class HrFlowProfileParsing(BaseModel): - reference: t.Optional[str] = Field( - ..., description="Custom identifier of the Profile." - ) + reference: t.Optional[str] = Field(description="Custom identifier of the Profile.") created_at: str = Field( - ..., description="type: datetime ISO8601, Creation date of the Profile." + description="type: datetime ISO8601, Creation date of the Profile." ) resume: ResumeToParse tags: t.List[GeneralEntitySchema] = Field( - ..., description="List of tags of the Profile." + description="List of tags of the Profile." ) metadatas: t.List[GeneralEntitySchema] = Field( - ..., description="List of metadatas of the Profile." + description="List of metadatas of the Profile." )