diff --git a/schema.json b/schema.json index 4c75f36..02253e9 100644 --- a/schema.json +++ b/schema.json @@ -64,7 +64,7 @@ }, "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).", + "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", @@ -335,7 +335,7 @@ "type": "string" }, "degree": { - "default": "PhD", + "default": null, "description": "The type of the degree.", "examples": [ "BS", @@ -350,6 +350,27 @@ } ] }, + "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": "Date", + "oneOf": [ + { + "pattern": "\\d{4}-\\d{2}(-\\d{2})?", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ] + }, "location": { "default": null, "description": "The location of the event.", @@ -364,7 +385,7 @@ ] }, "start_date": { - "default": "2000-01-01", + "default": null, "description": "The start date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format.", "examples": [ "2020-09-24" @@ -375,7 +396,7 @@ "type": "integer" }, { - "pattern": "\\d{4}(-\\d{2})?(-\\d{2})?", + "pattern": "\\d{4}-\\d{2}(-\\d{2})?", "type": "string" }, { @@ -384,7 +405,7 @@ ] }, "end_date": { - "default": "2020-01-01", + "default": null, "description": "The end date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format. If the event is still ongoing, then type \"present\" or provide only the start_date.", "examples": [ "2020-09-24", @@ -403,27 +424,7 @@ "type": "integer" }, { - "pattern": "\\d{4}(-\\d{2})?(-\\d{2})?", - "type": "string" - }, - { - "type": "null" - } - ] - }, - "date": { - "default": "Custom Date or 2020-01-01", - "description": "If the event is a one-day event, then this field can be filled in YYYY-MM-DD format. Also, this field can be used if you would like to use a custom date string (like \"Fall 2020\").", - "examples": [ - "2020-09-24", - "My Custom Date" - ], - "title": "Date", - "oneOf": [ - { - "type": "integer" - }, - { + "pattern": "\\d{4}-\\d{2}(-\\d{2})?", "type": "string" }, { @@ -606,6 +607,35 @@ "title": "EngineeringresumesThemeOptions", "type": "object" }, + "EntryAreaMargins": { + "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.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Date and Location Column Width", + "type": "string" + } + }, + "title": "EntryAreaMargins", + "type": "object", + "additionalProperties": false + }, "EntryAreaMarginsForClassic": { "description": "This class is a data model for the entry area margins.", "properties": { @@ -671,42 +701,6 @@ "type": "object", "additionalProperties": false }, - "EntryAreaMarginsForSb2nov": { - "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.", - "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", - "title": "Date and Location Column Width", - "type": "string" - }, - "bullet_width": { - "default": "0.6 cm", - "description": "The width of the bullet for each entry. The default value is 0.6 cm.", - "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", - "title": "Width of the Entry Bullet", - "type": "string" - } - }, - "title": "EntryAreaMarginsForSb2nov", - "type": "object", - "additionalProperties": false - }, "ExperienceEntry": { "additionalProperties": false, "description": "This class is the data model of `ExperienceEntry`.", @@ -721,6 +715,27 @@ "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\".", + "examples": [ + "2020-09-24", + "Fall 2023" + ], + "title": "Date", + "oneOf": [ + { + "pattern": "\\d{4}-\\d{2}(-\\d{2})?", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ] + }, "location": { "default": null, "description": "The location of the event.", @@ -735,7 +750,7 @@ ] }, "start_date": { - "default": "2000-01-01", + "default": null, "description": "The start date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format.", "examples": [ "2020-09-24" @@ -746,7 +761,7 @@ "type": "integer" }, { - "pattern": "\\d{4}(-\\d{2})?(-\\d{2})?", + "pattern": "\\d{4}-\\d{2}(-\\d{2})?", "type": "string" }, { @@ -755,7 +770,7 @@ ] }, "end_date": { - "default": "2020-01-01", + "default": null, "description": "The end date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format. If the event is still ongoing, then type \"present\" or provide only the start_date.", "examples": [ "2020-09-24", @@ -774,27 +789,7 @@ "type": "integer" }, { - "pattern": "\\d{4}(-\\d{2})?(-\\d{2})?", - "type": "string" - }, - { - "type": "null" - } - ] - }, - "date": { - "default": "Custom Date or 2020-01-01", - "description": "If the event is a one-day event, then this field can be filled in YYYY-MM-DD format. Also, this field can be used if you would like to use a custom date string (like \"Fall 2020\").", - "examples": [ - "2020-09-24", - "My Custom Date" - ], - "title": "Date", - "oneOf": [ - { - "type": "integer" - }, - { + "pattern": "\\d{4}-\\d{2}(-\\d{2})?", "type": "string" }, { @@ -1026,6 +1021,84 @@ "title": "LocaleCatalog", "type": "object" }, + "Margins": { + "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": [ + { + "$ref": "#/$defs/EntryAreaMargins" + } + ], + "default": { + "left_and_right": "0.2 cm", + "vertical_between": "0.2 cm", + "date_and_location_width": "4.5 cm" + }, + "description": "Entry area margins.", + "title": "Entry Area Margins" + }, + "highlights_area": { + "allOf": [ + { + "$ref": "#/$defs/HighlightsAreaMargins" + } + ], + "default": { + "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": { @@ -1183,85 +1256,6 @@ "type": "object", "additionalProperties": false }, - "MarginsForSb2nov": { - "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": [ - { - "$ref": "#/$defs/EntryAreaMarginsForSb2nov" - } - ], - "default": { - "left_and_right": "0.2 cm", - "vertical_between": "0.2 cm", - "date_and_location_width": "4.5 cm", - "bullet_width": "0.6 cm" - }, - "description": "Entry area margins.", - "title": "Entry Area Margins" - }, - "highlights_area": { - "allOf": [ - { - "$ref": "#/$defs/HighlightsAreaMargins" - } - ], - "default": { - "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": "MarginsForSb2nov", - "type": "object", - "additionalProperties": false - }, "ModerncvThemeOptions": { "additionalProperties": false, "description": "This class is the data model of the theme options for the `moderncv` theme.", @@ -1418,6 +1412,27 @@ "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\".", + "examples": [ + "2020-09-24", + "Fall 2023" + ], + "title": "Date", + "oneOf": [ + { + "pattern": "\\d{4}-\\d{2}(-\\d{2})?", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ] + }, "location": { "default": null, "description": "The location of the event.", @@ -1432,7 +1447,7 @@ ] }, "start_date": { - "default": "2000-01-01", + "default": null, "description": "The start date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format.", "examples": [ "2020-09-24" @@ -1443,7 +1458,7 @@ "type": "integer" }, { - "pattern": "\\d{4}(-\\d{2})?(-\\d{2})?", + "pattern": "\\d{4}-\\d{2}(-\\d{2})?", "type": "string" }, { @@ -1452,7 +1467,7 @@ ] }, "end_date": { - "default": "2020-01-01", + "default": null, "description": "The end date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format. If the event is still ongoing, then type \"present\" or provide only the start_date.", "examples": [ "2020-09-24", @@ -1471,27 +1486,7 @@ "type": "integer" }, { - "pattern": "\\d{4}(-\\d{2})?(-\\d{2})?", - "type": "string" - }, - { - "type": "null" - } - ] - }, - "date": { - "default": "Custom Date or 2020-01-01", - "description": "If the event is a one-day event, then this field can be filled in YYYY-MM-DD format. Also, this field can be used if you would like to use a custom date string (like \"Fall 2020\").", - "examples": [ - "2020-09-24", - "My Custom Date" - ], - "title": "Date", - "oneOf": [ - { - "type": "integer" - }, - { + "pattern": "\\d{4}-\\d{2}(-\\d{2})?", "type": "string" }, { @@ -1585,6 +1580,27 @@ "additionalProperties": false, "description": "This class is the data model of `PublicationEntry`.", "properties": { + "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": "Date", + "oneOf": [ + { + "pattern": "\\d{4}-\\d{2}(-\\d{2})?", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ] + }, "title": { "description": "The title of the publication.", "title": "Title of the Publication", @@ -1611,21 +1627,6 @@ } ] }, - "date": { - "default": "2020-01-01", - "description": "The date of the publication in YYYY-MM-DD, YYYY-MM, or YYYY format.", - "examples": [ - "2021-10-31", - "2010" - ], - "title": "Publication Date", - "oneOf": [ - { - "pattern": "\\d{4}(-\\d{2})?(-\\d{2})?", - "type": "string" - } - ] - }, "journal": { "default": null, "description": "The journal or the conference name.", @@ -1639,8 +1640,7 @@ }, "required": [ "title", - "authors", - "date" + "authors" ], "title": "PublicationEntry", "type": "object" @@ -1693,7 +1693,7 @@ }, "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).", + "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", @@ -1755,7 +1755,7 @@ "margins": { "allOf": [ { - "$ref": "#/$defs/MarginsForSb2nov" + "$ref": "#/$defs/Margins" } ], "default": { @@ -1770,7 +1770,6 @@ "top": "0.3 cm" }, "entry_area": { - "bullet_width": "0.6 cm", "date_and_location_width": "4.5 cm", "left_and_right": "0.2 cm", "vertical_between": "0.2 cm"