From b72ca1f4cf39ab41f5f1b55e405cdf14f41fdc4e Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Fri, 31 May 2024 19:55:37 +0300 Subject: [PATCH] docs: update schema.json --- schema.json | 1653 ++++++++++++++++++++++++++------------------------- 1 file changed, 827 insertions(+), 826 deletions(-) diff --git a/schema.json b/schema.json index af6e23d..a52f0cd 100644 --- a/schema.json +++ b/schema.json @@ -20,37 +20,14 @@ "additionalProperties": false, "description": "This class is the data model of the theme options for the `classic` theme.", "properties": { - "color": { - "default": "rgb(0,79,144)", - "description": "The primary color of the theme. \nThe color can be specified either with their name (https://www.w3.org/TR/SVG11/types.html#ColorKeywords), hexadecimal value, RGB value, or HSL value. The default value is rgb(0,79,144).", - "examples": [ - "Black", - "7fffd4", - "rgb(0,79,144)", - "hsl(270, 60%, 70%)" + "theme": { + "const": "classic", + "enum": [ + "classic" ], - "format": "color", - "title": "Primary Color", + "title": "Theme", "type": "string" }, - "disable_external_link_icons": { - "default": false, - "description": "If this option is set to true, then the external link icons will not be shown next to the links. The default value is false.", - "title": "Disable External Link Icons", - "type": "boolean" - }, - "disable_last_updated_date": { - "default": false, - "description": "If this option is set to true, then the last updated date will not be shown in the header. The default value is false.", - "title": "Disable Last Updated Date", - "type": "boolean" - }, - "disable_page_numbering": { - "default": false, - "description": "If this option is set to true, then the page numbering will not be shown. The default value is false.", - "title": "Disable Page Numbering", - "type": "boolean" - }, "font": { "default": "Source Sans 3", "description": "The font family of the CV. The default value is Source Sans 3.", @@ -75,62 +52,6 @@ "title": "Font Size", "type": "string" }, - "header_font_size": { - "default": "30 pt", - "description": "The font size of the header (the name of the person). The default value is 30 pt.", - "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", - "title": "Header Font Size", - "type": "string" - }, - "last_updated_date_style": { - "default": "Last updated in TODAY", - "description": "The style of the last updated date. The following placeholder can be used:\n- TODAY: Today's month and year (April 2024)\nThe default value is Last updated in TODAY.", - "title": "Last Updated Date Style", - "type": "string" - }, - "margins": { - "allOf": [ - { - "$ref": "#/$defs/MarginsForClassic" - } - ], - "default": { - "entry_area": { - "date_and_location_width": "4.5 cm", - "education_degree_width": "1 cm", - "left_and_right": "0.2 cm", - "vertical_between": "0.2 cm" - }, - "header": { - "bottom": "0.3 cm", - "horizontal_between_connections": "0.5 cm", - "vertical_between_name_and_connections": "0.3 cm" - }, - "highlights_area": { - "left": "0.4 cm", - "top": "0.10 cm", - "vertical_between_bullet_points": "0.10 cm" - }, - "page": { - "bottom": "2 cm", - "left": "2 cm", - "right": "2 cm", - "top": "2 cm" - }, - "section_title": { - "bottom": "0.2 cm", - "top": "0.3 cm" - } - }, - "description": "Page, section title, entry field, and highlights field margins.", - "title": "Margins" - }, - "page_numbering_style": { - "default": "NAME - Page PAGE_NUMBER of TOTAL_PAGES", - "description": "The style of the page numbering. The following placeholders can be used:\n- NAME: The name of the person\n- PAGE_NUMBER: The current page number\n- TOTAL_PAGES: The total number of pages\nThe default value is NAME - Page PAGE_NUMBER of TOTAL_PAGES.", - "title": "Page Numbering Style", - "type": "string" - }, "page_size": { "default": "letterpaper", "description": "The page size of the CV. It can be a4paper or letterpaper. The default value is letterpaper.", @@ -141,14 +62,55 @@ "title": "Page Size", "type": "string" }, - "show_timespan_in": { - "default": [], - "description": "The time span will be shown in the date and location column in these sections. The input should be a list of section titles as strings (case-sensitive). The default value is an empty list, which means the time span will not be shown in any section.", - "items": { - "type": "string" - }, - "title": "Show Time Span in These Sections", - "type": "array" + "color": { + "default": "rgb(0,79,144)", + "description": "The primary color of the theme. \nThe color can be specified either with their name (https://www.w3.org/TR/SVG11/types.html#ColorKeywords), hexadecimal value, RGB value, or HSL value. The default value is rgb(0,79,144).", + "examples": [ + "Black", + "7fffd4", + "rgb(0,79,144)", + "hsl(270, 60%, 70%)" + ], + "format": "color", + "title": "Primary Color", + "type": "string" + }, + "disable_external_link_icons": { + "default": false, + "description": "If this option is set to true, then the external link icons will not be shown next to the links. The default value is false.", + "title": "Disable External Link Icons", + "type": "boolean" + }, + "disable_page_numbering": { + "default": false, + "description": "If this option is set to true, then the page numbering will not be shown. The default value is false.", + "title": "Disable Page Numbering", + "type": "boolean" + }, + "page_numbering_style": { + "default": "NAME - Page PAGE_NUMBER of TOTAL_PAGES", + "description": "The style of the page numbering. The following placeholders can be used:\n- NAME: The name of the person\n- PAGE_NUMBER: The current page number\n- TOTAL_PAGES: The total number of pages\nThe default value is NAME - Page PAGE_NUMBER of TOTAL_PAGES.", + "title": "Page Numbering Style", + "type": "string" + }, + "disable_last_updated_date": { + "default": false, + "description": "If this option is set to true, then the last updated date will not be shown in the header. The default value is false.", + "title": "Disable Last Updated Date", + "type": "boolean" + }, + "last_updated_date_style": { + "default": "Last updated in TODAY", + "description": "The style of the last updated date. The following placeholder can be used:\n- TODAY: Today's month and year (April 2024)\nThe default value is Last updated in TODAY.", + "title": "Last Updated Date Style", + "type": "string" + }, + "header_font_size": { + "default": "30 pt", + "description": "The font size of the header (the name of the person). The default value is 30 pt.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Header Font Size", + "type": "string" }, "text_alignment": { "default": "justified", @@ -161,13 +123,51 @@ "title": "Text Alignment", "type": "string" }, - "theme": { - "const": "classic", - "enum": [ - "classic" + "margins": { + "allOf": [ + { + "$ref": "#/$defs/MarginsForClassic" + } ], - "title": "Theme", - "type": "string" + "default": { + "page": { + "bottom": "2 cm", + "left": "2 cm", + "right": "2 cm", + "top": "2 cm" + }, + "section_title": { + "bottom": "0.2 cm", + "top": "0.3 cm" + }, + "entry_area": { + "date_and_location_width": "4.5 cm", + "education_degree_width": "1 cm", + "left_and_right": "0.2 cm", + "vertical_between": "0.2 cm" + }, + "highlights_area": { + "left": "0.4 cm", + "top": "0.10 cm", + "vertical_between_bullet_points": "0.10 cm" + }, + "header": { + "bottom": "0.3 cm", + "horizontal_between_connections": "0.5 cm", + "vertical_between_name_and_connections": "0.3 cm" + } + }, + "description": "Page, section title, entry field, and highlights field margins.", + "title": "Margins" + }, + "show_timespan_in": { + "default": [], + "description": "The time span will be shown in the date and location column in these sections. The input should be a list of section titles as strings (case-sensitive). The default value is an empty list, which means the time span will not be shown in any section.", + "items": { + "type": "string" + }, + "title": "Show Time Span in These Sections", + "type": "array" } }, "required": [ @@ -180,50 +180,51 @@ "additionalProperties": false, "description": "This class is the data model of the CV.", "properties": { + "name": { + "default": null, + "description": "The name of the person.", + "title": "Name", + "oneOf": [ + { + "type": "string" + } + ] + }, + "label": { + "default": null, + "description": "The label of the person.", + "title": "Label", + "oneOf": [ + { + "type": "string" + } + ] + }, + "location": { + "default": null, + "description": "The location of the person.", + "title": "Location", + "oneOf": [ + { + "type": "string" + } + ] + }, "email": { "default": null, "description": "The email of the person.", + "title": "Email", "oneOf": [ { "format": "email", "type": "string" } - ], - "title": "Email" - }, - "label": { - "default": null, - "description": "The label of the person.", - "oneOf": [ - { - "type": "string" - } - ], - "title": "Label" - }, - "location": { - "default": null, - "description": "The location of the person.", - "oneOf": [ - { - "type": "string" - } - ], - "title": "Location" - }, - "name": { - "default": null, - "description": "The name of the person.", - "oneOf": [ - { - "type": "string" - } - ], - "title": "Name" + ] }, "phone": { "default": null, "description": "The phone number of the person.", + "title": "Phone", "oneOf": [ { "format": "phone", @@ -231,12 +232,38 @@ "minLength": 7, "type": "string" } - ], - "title": "Phone" + ] + }, + "website": { + "default": null, + "description": "The website of the person.", + "title": "Website", + "oneOf": [ + { + "format": "uri", + "maxLength": 2083, + "minLength": 1, + "type": "string" + } + ] + }, + "social_networks": { + "default": null, + "description": "The social networks of the person.", + "title": "Social Networks", + "oneOf": [ + { + "items": { + "$ref": "#/$defs/SocialNetwork" + }, + "type": "array" + } + ] }, "sections": { "default": null, "description": "The sections of the CV.", + "title": "Sections", "oneOf": [ { "additionalProperties": { @@ -269,34 +296,7 @@ }, "type": "object" } - ], - "title": "Sections" - }, - "social_networks": { - "default": null, - "description": "The social networks of the person.", - "oneOf": [ - { - "items": { - "$ref": "#/$defs/SocialNetwork" - }, - "type": "array" - } - ], - "title": "Social Networks" - }, - "website": { - "default": null, - "description": "The website of the person.", - "oneOf": [ - { - "format": "uri", - "maxLength": 2083, - "minLength": 1, - "type": "string" - } - ], - "title": "Website" + ] } }, "title": "CurriculumVitae", @@ -306,28 +306,16 @@ "additionalProperties": false, "description": "This class is the data model of `EducationEntry`.", "properties": { + "institution": { + "description": "The institution name.", + "title": "Institution", + "type": "string" + }, "area": { "description": "The area of study.", "title": "Area", "type": "string" }, - "date": { - "default": null, - "description": "The date field can be filled in YYYY-MM-DD, YYYY-MM, or YYYY formats or as an arbitrary string like \"Fall 2023\".", - "examples": [ - "2020-09-24", - "Fall 2023" - ], - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ], - "title": "Date" - }, "degree": { "default": null, "description": "The type of the degree.", @@ -337,12 +325,59 @@ "PhD", "MS" ], + "title": "Degree", "oneOf": [ { "type": "string" } + ] + }, + "date": { + "default": null, + "description": "The date field can be filled in YYYY-MM-DD, YYYY-MM, or YYYY formats or as an arbitrary string like \"Fall 2023\".", + "examples": [ + "2020-09-24", + "Fall 2023" ], - "title": "Degree" + "title": "Date", + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + }, + "location": { + "default": null, + "description": "The location of the event.", + "examples": [ + "Istanbul, Türkiye" + ], + "title": "Location", + "oneOf": [ + { + "type": "string" + } + ] + }, + "start_date": { + "default": null, + "description": "The start date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format.", + "examples": [ + "2020-09-24" + ], + "title": "Start Date", + "oneOf": [ + { + "type": "integer" + }, + { + "pattern": "\\d{4}-\\d{2}(-\\d{2})?", + "type": "string" + } + ] }, "end_date": { "default": null, @@ -351,6 +386,7 @@ "2020-09-24", "present" ], + "title": "End Date", "oneOf": [ { "const": "present", @@ -366,8 +402,7 @@ "pattern": "\\d{4}-\\d{2}(-\\d{2})?", "type": "string" } - ], - "title": "End Date" + ] }, "highlights": { "default": null, @@ -376,6 +411,7 @@ "Did this.", "Did that." ], + "title": "Highlights", "oneOf": [ { "items": { @@ -383,43 +419,7 @@ }, "type": "array" } - ], - "title": "Highlights" - }, - "institution": { - "description": "The institution name.", - "title": "Institution", - "type": "string" - }, - "location": { - "default": null, - "description": "The location of the event.", - "examples": [ - "Istanbul, Türkiye" - ], - "oneOf": [ - { - "type": "string" - } - ], - "title": "Location" - }, - "start_date": { - "default": null, - "description": "The start date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format.", - "examples": [ - "2020-09-24" - ], - "oneOf": [ - { - "type": "integer" - }, - { - "pattern": "\\d{4}-\\d{2}(-\\d{2})?", - "type": "string" - } - ], - "title": "Start Date" + ] } }, "required": [ @@ -433,37 +433,14 @@ "additionalProperties": false, "description": "This class is the data model of the theme options for the `engineeringresumes`\ntheme.", "properties": { - "color": { - "default": "rgb(0,0,0)", - "description": "The primary color of the theme. \nThe color can be specified either with their [name](https://www.w3.org/TR/SVG11/types.html#ColorKeywords), hexadecimal value, RGB value, or HSL value. The default value is rgb(0,0,0).", - "examples": [ - "Black", - "7fffd4", - "rgb(0,79,144)", - "hsl(270, 60%, 70%)" + "theme": { + "const": "engineeringresumes", + "enum": [ + "engineeringresumes" ], - "format": "color", - "title": "Primary Color", + "title": "Theme", "type": "string" }, - "disable_external_link_icons": { - "default": true, - "description": "If this option is set to true, then the external link icons will not be shown next to the links. The default value is true.", - "title": "Disable External Link Icons", - "type": "boolean" - }, - "disable_last_updated_date": { - "default": true, - "description": "If this option is set to true, then the last updated date will not be shown in the header. The default value is true.", - "title": "Disable Last Updated Date", - "type": "boolean" - }, - "disable_page_numbering": { - "default": true, - "description": "If this option is set to true, then the page numbering will not be shown. The default value is true.", - "title": "Disable Page Numbering", - "type": "boolean" - }, "font": { "default": "Charter", "description": "The font family of the CV. The default value is Charter.", @@ -488,61 +465,6 @@ "title": "Font Size", "type": "string" }, - "header_font_size": { - "default": "25 pt", - "description": "The font size of the header (the name of the person). The default value is 25 pt.", - "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", - "title": "Header Font Size", - "type": "string" - }, - "last_updated_date_style": { - "default": "Last updated in TODAY", - "description": "The style of the last updated date. The following placeholder can be used:\n- TODAY: Today's month and year (April 2024)\nThe default value is Last updated in TODAY.", - "title": "Last Updated Date Style", - "type": "string" - }, - "margins": { - "allOf": [ - { - "$ref": "#/$defs/MarginsForEngineeringresumes" - } - ], - "default": { - "entry_area": { - "date_and_location_width": "4.5 cm", - "left_and_right": "0 cm", - "vertical_between": "0.2 cm" - }, - "header": { - "bottom": "5 pt", - "horizontal_between_connections": "10 pt", - "vertical_between_name_and_connections": "5 pt" - }, - "highlights_area": { - "left": "0 cm", - "top": "0.10 cm", - "vertical_between_bullet_points": "0.10 cm" - }, - "page": { - "bottom": "2 cm", - "left": "2 cm", - "right": "2 cm", - "top": "2 cm" - }, - "section_title": { - "bottom": "0.2 cm", - "top": "0.3 cm" - } - }, - "description": "Page, section title, entry field, and highlights field margins.", - "title": "Margins" - }, - "page_numbering_style": { - "default": "NAME - Page PAGE_NUMBER of TOTAL_PAGES", - "description": "The style of the page numbering. The following placeholders can be used:\n- NAME: The name of the person\n- PAGE_NUMBER: The current page number\n- TOTAL_PAGES: The total number of pages\nThe default value is NAME - Page PAGE_NUMBER of TOTAL_PAGES.", - "title": "Page Numbering Style", - "type": "string" - }, "page_size": { "default": "letterpaper", "description": "The page size of the CV. It can be a4paper or letterpaper. The default value is letterpaper.", @@ -553,6 +475,56 @@ "title": "Page Size", "type": "string" }, + "color": { + "default": "rgb(0,0,0)", + "description": "The primary color of the theme. \nThe color can be specified either with their [name](https://www.w3.org/TR/SVG11/types.html#ColorKeywords), hexadecimal value, RGB value, or HSL value. The default value is rgb(0,0,0).", + "examples": [ + "Black", + "7fffd4", + "rgb(0,79,144)", + "hsl(270, 60%, 70%)" + ], + "format": "color", + "title": "Primary Color", + "type": "string" + }, + "disable_external_link_icons": { + "default": true, + "description": "If this option is set to true, then the external link icons will not be shown next to the links. The default value is true.", + "title": "Disable External Link Icons", + "type": "boolean" + }, + "disable_page_numbering": { + "default": true, + "description": "If this option is set to true, then the page numbering will not be shown. The default value is true.", + "title": "Disable Page Numbering", + "type": "boolean" + }, + "page_numbering_style": { + "default": "NAME - Page PAGE_NUMBER of TOTAL_PAGES", + "description": "The style of the page numbering. The following placeholders can be used:\n- NAME: The name of the person\n- PAGE_NUMBER: The current page number\n- TOTAL_PAGES: The total number of pages\nThe default value is NAME - Page PAGE_NUMBER of TOTAL_PAGES.", + "title": "Page Numbering Style", + "type": "string" + }, + "disable_last_updated_date": { + "default": true, + "description": "If this option is set to true, then the last updated date will not be shown in the header. The default value is true.", + "title": "Disable Last Updated Date", + "type": "boolean" + }, + "last_updated_date_style": { + "default": "Last updated in TODAY", + "description": "The style of the last updated date. The following placeholder can be used:\n- TODAY: Today's month and year (April 2024)\nThe default value is Last updated in TODAY.", + "title": "Last Updated Date Style", + "type": "string" + }, + "header_font_size": { + "default": "25 pt", + "description": "The font size of the header (the name of the person). The default value is 25 pt.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Header Font Size", + "type": "string" + }, "text_alignment": { "default": "left-aligned", "description": "The alignment of the text. The default value is left-aligned.", @@ -564,13 +536,41 @@ "title": "Text Alignment", "type": "string" }, - "theme": { - "const": "engineeringresumes", - "enum": [ - "engineeringresumes" + "margins": { + "allOf": [ + { + "$ref": "#/$defs/MarginsForEngineeringresumes" + } ], - "title": "Theme", - "type": "string" + "default": { + "page": { + "bottom": "2 cm", + "left": "2 cm", + "right": "2 cm", + "top": "2 cm" + }, + "section_title": { + "bottom": "0.2 cm", + "top": "0.3 cm" + }, + "entry_area": { + "date_and_location_width": "4.5 cm", + "left_and_right": "0 cm", + "vertical_between": "0.2 cm" + }, + "highlights_area": { + "left": "0 cm", + "top": "0.10 cm", + "vertical_between_bullet_points": "0.10 cm" + }, + "header": { + "bottom": "5 pt", + "horizontal_between_connections": "10 pt", + "vertical_between_name_and_connections": "5 pt" + } + }, + "description": "Page, section title, entry field, and highlights field margins.", + "title": "Margins" } }, "required": [ @@ -580,16 +580,8 @@ "type": "object" }, "EntryAreaMargins": { - "additionalProperties": false, "description": "This class is a data model for the entry area margins.", "properties": { - "date_and_location_width": { - "default": "4.5 cm", - "description": "The width of the date and location column. The default value is 4.5 cm.", - "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", - "title": "Date and Location Column Width", - "type": "string" - }, "left_and_right": { "default": "0.2 cm", "description": "The left margin of entry areas. The default value is 0.2 cm.", @@ -603,15 +595,36 @@ "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", "title": "Vertical Margin Between Entry Areas", "type": "string" + }, + "date_and_location_width": { + "default": "4.5 cm", + "description": "The width of the date and location column. The default value is 4.5 cm.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Date and Location Column Width", + "type": "string" } }, "title": "EntryAreaMargins", - "type": "object" + "type": "object", + "additionalProperties": false }, "EntryAreaMarginsForClassic": { - "additionalProperties": false, "description": "This class is a data model for the entry area margins.", "properties": { + "left_and_right": { + "default": "0.2 cm", + "description": "The left margin of entry areas. The default value is 0.2 cm.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Left Margin", + "type": "string" + }, + "vertical_between": { + "default": "0.2 cm", + "description": "The vertical margin between entry areas. The default value is 0.2 cm.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Vertical Margin Between Entry Areas", + "type": "string" + }, "date_and_location_width": { "default": "4.5 cm", "description": "The width of the date and location column. The default value is 4.5 cm.", @@ -625,36 +638,15 @@ "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", "title": "Date and Location Column Width", "type": "string" - }, - "left_and_right": { - "default": "0.2 cm", - "description": "The left margin of entry areas. The default value is 0.2 cm.", - "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", - "title": "Left Margin", - "type": "string" - }, - "vertical_between": { - "default": "0.2 cm", - "description": "The vertical margin between entry areas. The default value is 0.2 cm.", - "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", - "title": "Vertical Margin Between Entry Areas", - "type": "string" } }, "title": "EntryAreaMarginsForClassic", - "type": "object" + "type": "object", + "additionalProperties": false }, "EntryAreaMarginsForEngineeringresumes": { - "additionalProperties": false, "description": "This class is a data model for the entry area margins.", "properties": { - "date_and_location_width": { - "default": "4.5 cm", - "description": "The width of the date and location column. The default value is 4.5 cm.", - "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", - "title": "Date and Location Column Width", - "type": "string" - }, "left_and_right": { "default": "0 cm", "description": "The left margin of entry areas. The default value is 0 cm.", @@ -668,10 +660,18 @@ "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", "title": "Vertical Margin Between Entry Areas", "type": "string" + }, + "date_and_location_width": { + "default": "4.5 cm", + "description": "The width of the date and location column. The default value is 4.5 cm.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Date and Location Column Width", + "type": "string" } }, "title": "EntryAreaMarginsForEngineeringresumes", - "type": "object" + "type": "object", + "additionalProperties": false }, "ExperienceEntry": { "additionalProperties": false, @@ -682,6 +682,11 @@ "title": "Company", "type": "string" }, + "position": { + "description": "The position.", + "title": "Position", + "type": "string" + }, "date": { "default": null, "description": "The date field can be filled in YYYY-MM-DD, YYYY-MM, or YYYY formats or as an arbitrary string like \"Fall 2023\".", @@ -689,6 +694,7 @@ "2020-09-24", "Fall 2023" ], + "title": "Date", "oneOf": [ { "type": "integer" @@ -696,8 +702,37 @@ { "type": "string" } + ] + }, + "location": { + "default": null, + "description": "The location of the event.", + "examples": [ + "Istanbul, Türkiye" ], - "title": "Date" + "title": "Location", + "oneOf": [ + { + "type": "string" + } + ] + }, + "start_date": { + "default": null, + "description": "The start date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format.", + "examples": [ + "2020-09-24" + ], + "title": "Start Date", + "oneOf": [ + { + "type": "integer" + }, + { + "pattern": "\\d{4}-\\d{2}(-\\d{2})?", + "type": "string" + } + ] }, "end_date": { "default": null, @@ -706,6 +741,7 @@ "2020-09-24", "present" ], + "title": "End Date", "oneOf": [ { "const": "present", @@ -721,8 +757,7 @@ "pattern": "\\d{4}-\\d{2}(-\\d{2})?", "type": "string" } - ], - "title": "End Date" + ] }, "highlights": { "default": null, @@ -731,6 +766,7 @@ "Did this.", "Did that." ], + "title": "Highlights", "oneOf": [ { "items": { @@ -738,43 +774,7 @@ }, "type": "array" } - ], - "title": "Highlights" - }, - "location": { - "default": null, - "description": "The location of the event.", - "examples": [ - "Istanbul, Türkiye" - ], - "oneOf": [ - { - "type": "string" - } - ], - "title": "Location" - }, - "position": { - "description": "The position.", - "title": "Position", - "type": "string" - }, - "start_date": { - "default": null, - "description": "The start date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format.", - "examples": [ - "2020-09-24" - ], - "oneOf": [ - { - "type": "integer" - }, - { - "pattern": "\\d{4}-\\d{2}(-\\d{2})?", - "type": "string" - } - ], - "title": "Start Date" + ] } }, "required": [ @@ -785,9 +785,15 @@ "type": "object" }, "HeaderMargins": { - "additionalProperties": false, "description": "This class is a data model for the header margins.", "properties": { + "vertical_between_name_and_connections": { + "default": "0.3 cm", + "description": "The vertical margin between the name of the person and the connections. The default value is 0.3 cm.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Vertical Margin Between the Name and Connections", + "type": "string" + }, "bottom": { "default": "0.3 cm", "description": "The bottom margin of the header, i.e., the vertical margin between the connections and the first section title. The default value is 0.3 cm.", @@ -801,22 +807,22 @@ "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", "title": "Space Between Connections", "type": "string" - }, - "vertical_between_name_and_connections": { - "default": "0.3 cm", - "description": "The vertical margin between the name of the person and the connections. The default value is 0.3 cm.", - "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", - "title": "Vertical Margin Between the Name and Connections", - "type": "string" } }, "title": "HeaderMargins", - "type": "object" + "type": "object", + "additionalProperties": false }, "HeaderMarginsForEngineeringresumes": { - "additionalProperties": false, "description": "This class is a data model for the header margins.", "properties": { + "vertical_between_name_and_connections": { + "default": "5 pt", + "description": "The vertical margin between the name of the person and the connections. The default value is 5 pt.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Vertical Margin Between the Name and Connections", + "type": "string" + }, "bottom": { "default": "5 pt", "description": "The bottom margin of the header, i.e., the vertical margin between the connections and the first section title. The default value is 5 pt.", @@ -830,29 +836,15 @@ "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", "title": "Space Between Connections", "type": "string" - }, - "vertical_between_name_and_connections": { - "default": "5 pt", - "description": "The vertical margin between the name of the person and the connections. The default value is 5 pt.", - "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", - "title": "Vertical Margin Between the Name and Connections", - "type": "string" } }, "title": "HeaderMarginsForEngineeringresumes", - "type": "object" + "type": "object", + "additionalProperties": false }, "HighlightsAreaMargins": { - "additionalProperties": false, "description": "This class is a data model for the highlights area margins.", "properties": { - "left": { - "default": "0.4 cm", - "description": "The left margin of highlights areas. The default value is 0.4 cm.", - "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", - "title": "Left Margin", - "type": "string" - }, "top": { "default": "0.10 cm", "description": "The top margin of highlights areas. The default value is 0.10 cm.", @@ -860,6 +852,13 @@ "title": "Top Margin", "type": "string" }, + "left": { + "default": "0.4 cm", + "description": "The left margin of highlights areas. The default value is 0.4 cm.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Left Margin", + "type": "string" + }, "vertical_between_bullet_points": { "default": "0.10 cm", "description": "The vertical margin between bullet points. The default value is 0.10 cm.", @@ -869,19 +868,12 @@ } }, "title": "HighlightsAreaMargins", - "type": "object" + "type": "object", + "additionalProperties": false }, "HighlightsAreaMarginsForEngineeringresumes": { - "additionalProperties": false, "description": "This class is a data model for the highlights area margins.", "properties": { - "left": { - "default": "0 cm", - "description": "The left margin of highlights areas. The default value is 0 cm.", - "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", - "title": "Left Margin", - "type": "string" - }, "top": { "default": "0.10 cm", "description": "The top margin of highlights areas. The default value is 0.10 cm.", @@ -889,6 +881,13 @@ "title": "Top Margin", "type": "string" }, + "left": { + "default": "0 cm", + "description": "The left margin of highlights areas. The default value is 0 cm.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Left Margin", + "type": "string" + }, "vertical_between_bullet_points": { "default": "0.10 cm", "description": "The vertical margin between bullet points. The default value is 0.10 cm.", @@ -898,12 +897,73 @@ } }, "title": "HighlightsAreaMarginsForEngineeringresumes", - "type": "object" + "type": "object", + "additionalProperties": false }, "LocaleCatalog": { "additionalProperties": false, "description": "This class is the data model of the locale catalog. The values of each field\nupdates the `locale_catalog` dictionary.", "properties": { + "month": { + "default": "month", + "description": "Translation of the word \"month\" in the locale.", + "title": "Translation of \"Month\"", + "oneOf": [ + { + "type": "string" + } + ] + }, + "months": { + "default": "months", + "description": "Translation of the word \"months\" in the locale.", + "title": "Translation of \"Months\"", + "oneOf": [ + { + "type": "string" + } + ] + }, + "year": { + "default": "year", + "description": "Translation of the word \"year\" in the locale.", + "title": "Translation of \"Year\"", + "oneOf": [ + { + "type": "string" + } + ] + }, + "years": { + "default": "years", + "description": "Translation of the word \"years\" in the locale.", + "title": "Translation of \"Years\"", + "oneOf": [ + { + "type": "string" + } + ] + }, + "present": { + "default": "present", + "description": "Translation of the word \"present\" in the locale.", + "title": "Translation of \"Present\"", + "oneOf": [ + { + "type": "string" + } + ] + }, + "to": { + "default": "to", + "description": "Translation of the word \"to\" in the locale.", + "title": "Translation of \"To\"", + "oneOf": [ + { + "type": "string" + } + ] + }, "abbreviations_for_months": { "default": [ "Jan.", @@ -920,6 +980,7 @@ "Dec." ], "description": "Abbreviations of the months in the locale.", + "title": "Abbreviations of Months", "oneOf": [ { "items": { @@ -929,77 +990,43 @@ "minItems": 12, "type": "array" } - ], - "title": "Abbreviations of Months" - }, - "month": { - "default": "month", - "description": "Translation of the word \"month\" in the locale.", - "oneOf": [ - { - "type": "string" - } - ], - "title": "Translation of \"Month\"" - }, - "months": { - "default": "months", - "description": "Translation of the word \"months\" in the locale.", - "oneOf": [ - { - "type": "string" - } - ], - "title": "Translation of \"Months\"" - }, - "present": { - "default": "present", - "description": "Translation of the word \"present\" in the locale.", - "oneOf": [ - { - "type": "string" - } - ], - "title": "Translation of \"Present\"" - }, - "to": { - "default": "to", - "description": "Translation of the word \"to\" in the locale.", - "oneOf": [ - { - "type": "string" - } - ], - "title": "Translation of \"To\"" - }, - "year": { - "default": "year", - "description": "Translation of the word \"year\" in the locale.", - "oneOf": [ - { - "type": "string" - } - ], - "title": "Translation of \"Year\"" - }, - "years": { - "default": "years", - "description": "Translation of the word \"years\" in the locale.", - "oneOf": [ - { - "type": "string" - } - ], - "title": "Translation of \"Years\"" + ] } }, "title": "LocaleCatalog", "type": "object" }, "Margins": { - "additionalProperties": false, "description": "This class is a data model for the margins.", "properties": { + "page": { + "allOf": [ + { + "$ref": "#/$defs/PageMargins" + } + ], + "default": { + "top": "2 cm", + "bottom": "2 cm", + "left": "2 cm", + "right": "2 cm" + }, + "description": "Page margins.", + "title": "Page Margins" + }, + "section_title": { + "allOf": [ + { + "$ref": "#/$defs/SectionTitleMargins" + } + ], + "default": { + "top": "0.3 cm", + "bottom": "0.2 cm" + }, + "description": "Section title margins.", + "title": "Section Title Margins" + }, "entry_area": { "allOf": [ { @@ -1007,27 +1034,13 @@ } ], "default": { - "date_and_location_width": "4.5 cm", "left_and_right": "0.2 cm", - "vertical_between": "0.2 cm" + "vertical_between": "0.2 cm", + "date_and_location_width": "4.5 cm" }, "description": "Entry area margins.", "title": "Entry Area Margins" }, - "header": { - "allOf": [ - { - "$ref": "#/$defs/HeaderMargins" - } - ], - "default": { - "bottom": "0.3 cm", - "horizontal_between_connections": "0.5 cm", - "vertical_between_name_and_connections": "0.3 cm" - }, - "description": "Header margins.", - "title": "Header Margins" - }, "highlights_area": { "allOf": [ { @@ -1035,13 +1048,35 @@ } ], "default": { - "left": "0.4 cm", "top": "0.10 cm", + "left": "0.4 cm", "vertical_between_bullet_points": "0.10 cm" }, "description": "Highlights area margins.", "title": "Highlights Area Margins" }, + "header": { + "allOf": [ + { + "$ref": "#/$defs/HeaderMargins" + } + ], + "default": { + "vertical_between_name_and_connections": "0.3 cm", + "bottom": "0.3 cm", + "horizontal_between_connections": "0.5 cm" + }, + "description": "Header margins.", + "title": "Header Margins" + } + }, + "title": "Margins", + "type": "object", + "additionalProperties": false + }, + "MarginsForClassic": { + "description": "This class is a data model for the margins.", + "properties": { "page": { "allOf": [ { @@ -1049,10 +1084,10 @@ } ], "default": { + "top": "2 cm", "bottom": "2 cm", "left": "2 cm", - "right": "2 cm", - "top": "2 cm" + "right": "2 cm" }, "description": "Page margins.", "title": "Page Margins" @@ -1064,20 +1099,12 @@ } ], "default": { - "bottom": "0.2 cm", - "top": "0.3 cm" + "top": "0.3 cm", + "bottom": "0.2 cm" }, "description": "Section title margins.", "title": "Section Title Margins" - } - }, - "title": "Margins", - "type": "object" - }, - "MarginsForClassic": { - "additionalProperties": false, - "description": "This class is a data model for the margins.", - "properties": { + }, "entry_area": { "allOf": [ { @@ -1085,28 +1112,14 @@ } ], "default": { - "date_and_location_width": "4.5 cm", - "education_degree_width": "1 cm", "left_and_right": "0.2 cm", - "vertical_between": "0.2 cm" + "vertical_between": "0.2 cm", + "date_and_location_width": "4.5 cm", + "education_degree_width": "1 cm" }, "description": "Entry area margins.", "title": "Entry Area Margins" }, - "header": { - "allOf": [ - { - "$ref": "#/$defs/HeaderMargins" - } - ], - "default": { - "bottom": "0.3 cm", - "horizontal_between_connections": "0.5 cm", - "vertical_between_name_and_connections": "0.3 cm" - }, - "description": "Header margins.", - "title": "Header Margins" - }, "highlights_area": { "allOf": [ { @@ -1114,13 +1127,35 @@ } ], "default": { - "left": "0.4 cm", "top": "0.10 cm", + "left": "0.4 cm", "vertical_between_bullet_points": "0.10 cm" }, "description": "Highlights area margins.", "title": "Highlights Area Margins" }, + "header": { + "allOf": [ + { + "$ref": "#/$defs/HeaderMargins" + } + ], + "default": { + "vertical_between_name_and_connections": "0.3 cm", + "bottom": "0.3 cm", + "horizontal_between_connections": "0.5 cm" + }, + "description": "Header margins.", + "title": "Header Margins" + } + }, + "title": "MarginsForClassic", + "type": "object", + "additionalProperties": false + }, + "MarginsForEngineeringresumes": { + "description": "This class is a data model for the margins.", + "properties": { "page": { "allOf": [ { @@ -1128,10 +1163,10 @@ } ], "default": { + "top": "2 cm", "bottom": "2 cm", "left": "2 cm", - "right": "2 cm", - "top": "2 cm" + "right": "2 cm" }, "description": "Page margins.", "title": "Page Margins" @@ -1143,20 +1178,12 @@ } ], "default": { - "bottom": "0.2 cm", - "top": "0.3 cm" + "top": "0.3 cm", + "bottom": "0.2 cm" }, "description": "Section title margins.", "title": "Section Title Margins" - } - }, - "title": "MarginsForClassic", - "type": "object" - }, - "MarginsForEngineeringresumes": { - "additionalProperties": false, - "description": "This class is a data model for the margins.", - "properties": { + }, "entry_area": { "allOf": [ { @@ -1164,27 +1191,13 @@ } ], "default": { - "date_and_location_width": "4.5 cm", "left_and_right": "0 cm", - "vertical_between": "0.2 cm" + "vertical_between": "0.2 cm", + "date_and_location_width": "4.5 cm" }, "description": "Entry area margins.", "title": "Entry Area Margins" }, - "header": { - "allOf": [ - { - "$ref": "#/$defs/HeaderMarginsForEngineeringresumes" - } - ], - "default": { - "bottom": "5 pt", - "horizontal_between_connections": "10 pt", - "vertical_between_name_and_connections": "5 pt" - }, - "description": "Header margins.", - "title": "Header Margins" - }, "highlights_area": { "allOf": [ { @@ -1192,49 +1205,74 @@ } ], "default": { - "left": "0 cm", "top": "0.10 cm", + "left": "0 cm", "vertical_between_bullet_points": "0.10 cm" }, "description": "Highlights area margins.", "title": "Highlights Area Margins" }, - "page": { + "header": { "allOf": [ { - "$ref": "#/$defs/PageMargins" + "$ref": "#/$defs/HeaderMarginsForEngineeringresumes" } ], "default": { - "bottom": "2 cm", - "left": "2 cm", - "right": "2 cm", - "top": "2 cm" + "vertical_between_name_and_connections": "5 pt", + "bottom": "5 pt", + "horizontal_between_connections": "10 pt" }, - "description": "Page margins.", - "title": "Page Margins" - }, - "section_title": { - "allOf": [ - { - "$ref": "#/$defs/SectionTitleMargins" - } - ], - "default": { - "bottom": "0.2 cm", - "top": "0.3 cm" - }, - "description": "Section title margins.", - "title": "Section Title Margins" + "description": "Header margins.", + "title": "Header Margins" } }, "title": "MarginsForEngineeringresumes", - "type": "object" + "type": "object", + "additionalProperties": false }, "ModerncvThemeOptions": { "additionalProperties": false, "description": "This class is the data model of the theme options for the `moderncv` theme.", "properties": { + "theme": { + "const": "moderncv", + "enum": [ + "moderncv" + ], + "title": "Theme", + "type": "string" + }, + "font_size": { + "default": "10pt", + "description": "The font size of the CV. The default value is \"10pt\".", + "enum": [ + "10pt", + "11pt", + "12pt" + ], + "examples": [ + "10pt", + "11pt", + "12pt" + ], + "title": "Font Size", + "type": "string" + }, + "page_size": { + "default": "letterpaper", + "description": "The page size of the CV. The default value is \"letterpaper\".", + "enum": [ + "a4paper", + "letterpaper" + ], + "examples": [ + "a4paper", + "letterpaper" + ], + "title": "Page Size", + "type": "string" + }, "color": { "default": "blue", "description": "The primary color of the CV. The default value is \"blue\".", @@ -1248,6 +1286,7 @@ "purple", "red" ], + "title": "Primary Color", "oneOf": [ { "const": "blue", @@ -1305,14 +1344,7 @@ ], "type": "string" } - ], - "title": "Primary Color" - }, - "content_scale": { - "default": 0.75, - "description": "The scale of the content with respect to the page size. The default value is \"0.75\".", - "title": "Content Scale", - "type": "number" + ] }, "date_width": { "default": "3.8 cm", @@ -1321,41 +1353,11 @@ "title": "Date and Location Column Width", "type": "string" }, - "disable_page_numbers": { - "default": false, - "description": "If \"True\", the page numbers will be disabled. The default value is \"False\".", - "title": "Disable Page Numbers", - "type": "boolean" - }, - "font_size": { - "default": "10pt", - "description": "The font size of the CV. The default value is \"10pt\".", - "enum": [ - "10pt", - "11pt", - "12pt" - ], - "examples": [ - "10pt", - "11pt", - "12pt" - ], - "title": "Font Size", - "type": "string" - }, - "page_size": { - "default": "letterpaper", - "description": "The page size of the CV. The default value is \"letterpaper\".", - "enum": [ - "a4paper", - "letterpaper" - ], - "examples": [ - "a4paper", - "letterpaper" - ], - "title": "Page Size", - "type": "string" + "content_scale": { + "default": 0.75, + "description": "The scale of the content with respect to the page size. The default value is \"0.75\".", + "title": "Content Scale", + "type": "number" }, "show_only_years": { "default": false, @@ -1363,13 +1365,11 @@ "title": "Show Only Years", "type": "boolean" }, - "theme": { - "const": "moderncv", - "enum": [ - "moderncv" - ], - "title": "Theme", - "type": "string" + "disable_page_numbers": { + "default": false, + "description": "If \"True\", the page numbers will be disabled. The default value is \"False\".", + "title": "Disable Page Numbers", + "type": "boolean" } }, "required": [ @@ -1382,6 +1382,11 @@ "additionalProperties": false, "description": "This class is the data model of `NormalEntry`.", "properties": { + "name": { + "description": "The name of the NormalEntry.", + "title": "Name", + "type": "string" + }, "date": { "default": null, "description": "The date field can be filled in YYYY-MM-DD, YYYY-MM, or YYYY formats or as an arbitrary string like \"Fall 2023\".", @@ -1389,6 +1394,7 @@ "2020-09-24", "Fall 2023" ], + "title": "Date", "oneOf": [ { "type": "integer" @@ -1396,8 +1402,37 @@ { "type": "string" } + ] + }, + "location": { + "default": null, + "description": "The location of the event.", + "examples": [ + "Istanbul, Türkiye" ], - "title": "Date" + "title": "Location", + "oneOf": [ + { + "type": "string" + } + ] + }, + "start_date": { + "default": null, + "description": "The start date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format.", + "examples": [ + "2020-09-24" + ], + "title": "Start Date", + "oneOf": [ + { + "type": "integer" + }, + { + "pattern": "\\d{4}-\\d{2}(-\\d{2})?", + "type": "string" + } + ] }, "end_date": { "default": null, @@ -1406,6 +1441,7 @@ "2020-09-24", "present" ], + "title": "End Date", "oneOf": [ { "const": "present", @@ -1421,8 +1457,7 @@ "pattern": "\\d{4}-\\d{2}(-\\d{2})?", "type": "string" } - ], - "title": "End Date" + ] }, "highlights": { "default": null, @@ -1431,6 +1466,7 @@ "Did this.", "Did that." ], + "title": "Highlights", "oneOf": [ { "items": { @@ -1438,43 +1474,7 @@ }, "type": "array" } - ], - "title": "Highlights" - }, - "location": { - "default": null, - "description": "The location of the event.", - "examples": [ - "Istanbul, Türkiye" - ], - "oneOf": [ - { - "type": "string" - } - ], - "title": "Location" - }, - "name": { - "description": "The name of the NormalEntry.", - "title": "Name", - "type": "string" - }, - "start_date": { - "default": null, - "description": "The start date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format.", - "examples": [ - "2020-09-24" - ], - "oneOf": [ - { - "type": "integer" - }, - { - "pattern": "\\d{4}-\\d{2}(-\\d{2})?", - "type": "string" - } - ], - "title": "Start Date" + ] } }, "required": [ @@ -1487,15 +1487,15 @@ "additionalProperties": false, "description": "This class is the data model of `OneLineEntry`.", "properties": { - "details": { - "description": "The details of the OneLineEntry.", - "title": "Details", - "type": "string" - }, "label": { "description": "The label of the OneLineEntry.", "title": "Name", "type": "string" + }, + "details": { + "description": "The details of the OneLineEntry.", + "title": "Details", + "type": "string" } }, "required": [ @@ -1506,9 +1506,15 @@ "type": "object" }, "PageMargins": { - "additionalProperties": false, "description": "This class is a data model for the page margins.", "properties": { + "top": { + "default": "2 cm", + "description": "The top margin of the page with units. The default value is 2 cm.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Top Margin", + "type": "string" + }, "bottom": { "default": "2 cm", "description": "The bottom margin of the page with units. The default value is 2 cm.", @@ -1529,22 +1535,21 @@ "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", "title": "Right Margin", "type": "string" - }, - "top": { - "default": "2 cm", - "description": "The top margin of the page with units. The default value is 2 cm.", - "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", - "title": "Top Margin", - "type": "string" } }, "title": "PageMargins", - "type": "object" + "type": "object", + "additionalProperties": false }, "PublicationEntry": { "additionalProperties": false, "description": "This class is the data model of `PublicationEntry`.", "properties": { + "title": { + "description": "The title of the publication.", + "title": "Title of the Publication", + "type": "string" + }, "authors": { "description": "The authors of the publication in order as a list of strings.", "items": { @@ -1553,6 +1558,29 @@ "title": "Authors", "type": "array" }, + "doi": { + "default": null, + "description": "The DOI of the publication.", + "examples": [ + "10.48550/arXiv.2310.03138" + ], + "title": "DOI", + "oneOf": [ + { + "type": "string" + } + ] + }, + "journal": { + "default": null, + "description": "The journal or the conference name.", + "title": "Journal", + "oneOf": [ + { + "type": "string" + } + ] + }, "date": { "default": null, "description": "The date field can be filled in YYYY-MM-DD, YYYY-MM, or YYYY formats or as an arbitrary string like \"Fall 2023\".", @@ -1560,6 +1588,7 @@ "2020-09-24", "Fall 2023" ], + "title": "Date", "oneOf": [ { "type": "integer" @@ -1567,36 +1596,7 @@ { "type": "string" } - ], - "title": "Date" - }, - "doi": { - "default": null, - "description": "The DOI of the publication.", - "examples": [ - "10.48550/arXiv.2310.03138" - ], - "oneOf": [ - { - "type": "string" - } - ], - "title": "DOI" - }, - "journal": { - "default": null, - "description": "The journal or the conference name.", - "oneOf": [ - { - "type": "string" - } - ], - "title": "Journal" - }, - "title": { - "description": "The title of the publication.", - "title": "Title of the Publication", - "type": "string" + ] } }, "required": [ @@ -1610,37 +1610,14 @@ "additionalProperties": false, "description": "This class is the data model of the theme options for the `sb2nov` theme.", "properties": { - "color": { - "default": "rgb(0,79,144)", - "description": "The primary color of the theme. \nThe color can be specified either with their name (https://www.w3.org/TR/SVG11/types.html#ColorKeywords), hexadecimal value, RGB value, or HSL value. The default value is rgb(0,79,144).", - "examples": [ - "Black", - "7fffd4", - "rgb(0,79,144)", - "hsl(270, 60%, 70%)" + "theme": { + "const": "sb2nov", + "enum": [ + "sb2nov" ], - "format": "color", - "title": "Primary Color", + "title": "Theme", "type": "string" }, - "disable_external_link_icons": { - "default": false, - "description": "If this option is set to true, then the external link icons will not be shown next to the links. The default value is false.", - "title": "Disable External Link Icons", - "type": "boolean" - }, - "disable_last_updated_date": { - "default": false, - "description": "If this option is set to true, then the last updated date will not be shown in the header. The default value is false.", - "title": "Disable Last Updated Date", - "type": "boolean" - }, - "disable_page_numbering": { - "default": false, - "description": "If this option is set to true, then the page numbering will not be shown. The default value is false.", - "title": "Disable Page Numbering", - "type": "boolean" - }, "font": { "default": "Latin Modern Serif", "description": "The font family of the CV. The default value is Latin Modern Serif.", @@ -1665,61 +1642,6 @@ "title": "Font Size", "type": "string" }, - "header_font_size": { - "default": "24 pt", - "description": "The font size of the header (the name of the person). The default value is 24 pt. Unfortunately, sb2nov does not support font sizes bigger than 24 pt.", - "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", - "title": "Header Font Size", - "type": "string" - }, - "last_updated_date_style": { - "default": "Last updated in TODAY", - "description": "The style of the last updated date. The following placeholder can be used:\n- TODAY: Today's month and year (April 2024)\nThe default value is Last updated in TODAY.", - "title": "Last Updated Date Style", - "type": "string" - }, - "margins": { - "allOf": [ - { - "$ref": "#/$defs/Margins" - } - ], - "default": { - "entry_area": { - "date_and_location_width": "4.5 cm", - "left_and_right": "0.2 cm", - "vertical_between": "0.2 cm" - }, - "header": { - "bottom": "0.3 cm", - "horizontal_between_connections": "0.5 cm", - "vertical_between_name_and_connections": "0.3 cm" - }, - "highlights_area": { - "left": "0.4 cm", - "top": "0.10 cm", - "vertical_between_bullet_points": "0.10 cm" - }, - "page": { - "bottom": "2 cm", - "left": "2 cm", - "right": "2 cm", - "top": "2 cm" - }, - "section_title": { - "bottom": "0.2 cm", - "top": "0.3 cm" - } - }, - "description": "Page, section title, entry field, and highlights field margins.", - "title": "Margins" - }, - "page_numbering_style": { - "default": "NAME - Page PAGE_NUMBER of TOTAL_PAGES", - "description": "The style of the page numbering. The following placeholders can be used:\n- NAME: The name of the person\n- PAGE_NUMBER: The current page number\n- TOTAL_PAGES: The total number of pages\nThe default value is NAME - Page PAGE_NUMBER of TOTAL_PAGES.", - "title": "Page Numbering Style", - "type": "string" - }, "page_size": { "default": "letterpaper", "description": "The page size of the CV. It can be a4paper or letterpaper. The default value is letterpaper.", @@ -1730,6 +1652,56 @@ "title": "Page Size", "type": "string" }, + "color": { + "default": "rgb(0,79,144)", + "description": "The primary color of the theme. \nThe color can be specified either with their name (https://www.w3.org/TR/SVG11/types.html#ColorKeywords), hexadecimal value, RGB value, or HSL value. The default value is rgb(0,79,144).", + "examples": [ + "Black", + "7fffd4", + "rgb(0,79,144)", + "hsl(270, 60%, 70%)" + ], + "format": "color", + "title": "Primary Color", + "type": "string" + }, + "disable_external_link_icons": { + "default": false, + "description": "If this option is set to true, then the external link icons will not be shown next to the links. The default value is false.", + "title": "Disable External Link Icons", + "type": "boolean" + }, + "disable_page_numbering": { + "default": false, + "description": "If this option is set to true, then the page numbering will not be shown. The default value is false.", + "title": "Disable Page Numbering", + "type": "boolean" + }, + "page_numbering_style": { + "default": "NAME - Page PAGE_NUMBER of TOTAL_PAGES", + "description": "The style of the page numbering. The following placeholders can be used:\n- NAME: The name of the person\n- PAGE_NUMBER: The current page number\n- TOTAL_PAGES: The total number of pages\nThe default value is NAME - Page PAGE_NUMBER of TOTAL_PAGES.", + "title": "Page Numbering Style", + "type": "string" + }, + "disable_last_updated_date": { + "default": false, + "description": "If this option is set to true, then the last updated date will not be shown in the header. The default value is false.", + "title": "Disable Last Updated Date", + "type": "boolean" + }, + "last_updated_date_style": { + "default": "Last updated in TODAY", + "description": "The style of the last updated date. The following placeholder can be used:\n- TODAY: Today's month and year (April 2024)\nThe default value is Last updated in TODAY.", + "title": "Last Updated Date Style", + "type": "string" + }, + "header_font_size": { + "default": "24 pt", + "description": "The font size of the header (the name of the person). The default value is 24 pt. Unfortunately, sb2nov does not support font sizes bigger than 24 pt.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Header Font Size", + "type": "string" + }, "text_alignment": { "default": "justified", "description": "The alignment of the text. The default value is justified.", @@ -1741,13 +1713,41 @@ "title": "Text Alignment", "type": "string" }, - "theme": { - "const": "sb2nov", - "enum": [ - "sb2nov" + "margins": { + "allOf": [ + { + "$ref": "#/$defs/Margins" + } ], - "title": "Theme", - "type": "string" + "default": { + "page": { + "bottom": "2 cm", + "left": "2 cm", + "right": "2 cm", + "top": "2 cm" + }, + "section_title": { + "bottom": "0.2 cm", + "top": "0.3 cm" + }, + "entry_area": { + "date_and_location_width": "4.5 cm", + "left_and_right": "0.2 cm", + "vertical_between": "0.2 cm" + }, + "highlights_area": { + "left": "0.4 cm", + "top": "0.10 cm", + "vertical_between_bullet_points": "0.10 cm" + }, + "header": { + "bottom": "0.3 cm", + "horizontal_between_connections": "0.5 cm", + "vertical_between_name_and_connections": "0.3 cm" + } + }, + "description": "Page, section title, entry field, and highlights field margins.", + "title": "Margins" } }, "required": [ @@ -1757,26 +1757,26 @@ "type": "object" }, "SectionTitleMargins": { - "additionalProperties": false, "description": "This class is a data model for the section title margins.", "properties": { - "bottom": { - "default": "0.2 cm", - "description": "The bottom margin of section titles. The default value is 0.3 cm.", - "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", - "title": "Bottom Margin", - "type": "string" - }, "top": { "default": "0.3 cm", "description": "The top margin of section titles. The default value is 0.3 cm.", "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", "title": "Top Margin", "type": "string" + }, + "bottom": { + "default": "0.2 cm", + "description": "The bottom margin of section titles. The default value is 0.3 cm.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Bottom Margin", + "type": "string" } }, "title": "SectionTitleMargins", - "type": "object" + "type": "object", + "additionalProperties": false }, "SocialNetwork": { "additionalProperties": false, @@ -1789,12 +1789,13 @@ "GitHub", "GitLab", "Instagram", - "Orcid", + "ORCID", "Mastodon", "Twitter", "StackOverflow", "ResearchGate", - "YouTube" + "YouTube", + "Google Scholar" ], "title": "Social Network", "type": "string" @@ -1813,8 +1814,6 @@ "type": "object" } }, - "$id": "https://raw.githubusercontent.com/sinaatalay/rendercv/main/schema.json", - "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "description": "RenderCV data model.", "properties": { @@ -1829,14 +1828,18 @@ }, "design": { "default": { - "color": "#004f90", - "disable_external_link_icons": false, - "disable_last_updated_date": false, - "disable_page_numbering": false, + "theme": "classic", "font": "Source Sans 3", "font_size": "10pt", - "header_font_size": "30 pt", + "page_size": "letterpaper", + "color": "#004f90", + "disable_external_link_icons": false, + "disable_page_numbering": false, + "page_numbering_style": "NAME - Page PAGE_NUMBER of TOTAL_PAGES", + "disable_last_updated_date": false, "last_updated_date_style": "Last updated in TODAY", + "header_font_size": "30 pt", + "text_alignment": "justified", "margins": { "entry_area": { "date_and_location_width": "4.5 cm", @@ -1865,11 +1868,7 @@ "top": "0.3 cm" } }, - "page_numbering_style": "NAME - Page PAGE_NUMBER of TOTAL_PAGES", - "page_size": "letterpaper", - "show_timespan_in": [], - "text_alignment": "justified", - "theme": "classic" + "show_timespan_in": [] }, "description": "The design information of the CV. The default is the classic theme.", "discriminator": { @@ -1915,5 +1914,7 @@ "cv" ], "title": "RenderCV", - "type": "object" + "type": "object", + "$id": "https://raw.githubusercontent.com/sinaatalay/rendercv/main/schema.json", + "$schema": "http://json-schema.org/draft-07/schema#" } \ No newline at end of file