docs: update schema.json

This commit is contained in:
Sina Atalay 2024-04-16 14:16:06 +03:00
parent 33d92d2ea0
commit 5ae62c3d2d
1 changed files with 183 additions and 38 deletions

View File

@ -62,9 +62,15 @@
"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 be disabled. The default value is 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"
},
@ -74,10 +80,10 @@
"title": "Page Numbering Style",
"type": "string"
},
"show_last_updated_date": {
"default": true,
"description": "If this option is set to true, then the last updated date will be shown in the header. The default value is true.",
"title": "Show Last Updated Date",
"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": {
@ -107,7 +113,7 @@
"margins": {
"allOf": [
{
"$ref": "#/$defs/Margins"
"$ref": "#/$defs/MarginsForClassic"
}
],
"default": {
@ -122,7 +128,8 @@
"top": "0.3 cm"
},
"entry_area": {
"date_and_location_width": "4.1 cm",
"date_and_location_width": "4.5 cm",
"education_degree_width": "1 cm",
"left_and_right": "0.2 cm",
"vertical_between": "0.2 cm"
},
@ -482,9 +489,15 @@
"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 be disabled. The default value is 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"
},
@ -494,10 +507,10 @@
"title": "Page Numbering Style",
"type": "string"
},
"show_last_updated_date": {
"default": false,
"description": "If this option is set to true, then the last updated date will be shown in the header. The default value is false.",
"title": "Show Last Updated Date",
"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": {
@ -542,9 +555,9 @@
"top": "0.3 cm"
},
"entry_area": {
"date_and_location_width": "4.1 cm",
"date_and_location_width": "4.5 cm",
"left_and_right": "0 cm",
"vertical_between": "0.15 cm"
"vertical_between": "0.2 cm"
},
"highlights_area": {
"left": "0 cm",
@ -567,7 +580,7 @@
"title": "EngineeringresumesThemeOptions",
"type": "object"
},
"EntryAreaMargins": {
"EntryAreaMarginsForClassic": {
"description": "This class is a data model for the entry area margins.",
"properties": {
"left_and_right": {
@ -585,14 +598,21 @@
"type": "string"
},
"date_and_location_width": {
"default": "4.1 cm",
"description": "The width of the date and location column. The default value is 4.1 cm.",
"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"
},
"education_degree_width": {
"default": "1 cm",
"description": "The width of the degree column in EducationEntry. The default value is 1 cm.",
"pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)",
"title": "Date and Location Column Width",
"type": "string"
}
},
"title": "EntryAreaMargins",
"title": "EntryAreaMarginsForClassic",
"type": "object",
"additionalProperties": false
},
@ -607,15 +627,15 @@
"type": "string"
},
"vertical_between": {
"default": "0.15 cm",
"description": "The vertical margin between entry areas. The default value is 0.1 cm.",
"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.1 cm",
"description": "The width of the date and location column. The default value is 4.1 cm.",
"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"
@ -625,6 +645,42 @@
"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`.",
@ -832,7 +888,7 @@
"type": "object",
"additionalProperties": false
},
"Margins": {
"MarginsForClassic": {
"description": "This class is a data model for the margins.",
"properties": {
"page": {
@ -866,13 +922,14 @@
"entry_area": {
"allOf": [
{
"$ref": "#/$defs/EntryAreaMargins"
"$ref": "#/$defs/EntryAreaMarginsForClassic"
}
],
"default": {
"left_and_right": "0.2 cm",
"vertical_between": "0.2 cm",
"date_and_location_width": "4.1 cm"
"date_and_location_width": "4.5 cm",
"education_degree_width": "1 cm"
},
"description": "Entry area margins.",
"title": "Entry Area Margins"
@ -906,7 +963,7 @@
"title": "Header Margins"
}
},
"title": "Margins",
"title": "MarginsForClassic",
"type": "object",
"additionalProperties": false
},
@ -949,8 +1006,8 @@
],
"default": {
"left_and_right": "0 cm",
"vertical_between": "0.15 cm",
"date_and_location_width": "4.1 cm"
"vertical_between": "0.2 cm",
"date_and_location_width": "4.5 cm"
},
"description": "Entry area margins.",
"title": "Entry Area Margins"
@ -988,6 +1045,85 @@
"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.",
@ -1373,7 +1509,7 @@
},
"Sb2novThemeOptions": {
"additionalProperties": false,
"description": "This class is the data model of the theme options for the sb2nov theme.",
"description": "This class is the data model of the theme options for the `sb2nov` theme.",
"properties": {
"theme": {
"const": "sb2nov",
@ -1417,9 +1553,15 @@
"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 be disabled. The default value is 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"
},
@ -1429,10 +1571,10 @@
"title": "Page Numbering Style",
"type": "string"
},
"show_last_updated_date": {
"default": true,
"description": "If this option is set to true, then the last updated date will be shown in the header. The default value is true.",
"title": "Show Last Updated Date",
"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": {
@ -1462,7 +1604,7 @@
"margins": {
"allOf": [
{
"$ref": "#/$defs/Margins"
"$ref": "#/$defs/MarginsForSb2nov"
}
],
"default": {
@ -1477,7 +1619,8 @@
"top": "0.3 cm"
},
"entry_area": {
"date_and_location_width": "4.1 cm",
"bullet_width": "0.6 cm",
"date_and_location_width": "4.5 cm",
"left_and_right": "0.2 cm",
"vertical_between": "0.2 cm"
},
@ -1573,15 +1716,17 @@
"font_size": "10pt",
"page_size": "letterpaper",
"color": "#004f90",
"disable_external_link_icons": false,
"disable_page_numbering": false,
"page_numbering_style": "NAME - Page PAGE_NUMBER of TOTAL_PAGES",
"show_last_updated_date": true,
"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.1 cm",
"date_and_location_width": "4.5 cm",
"education_degree_width": "1 cm",
"left_and_right": "0.2 cm",
"vertical_between": "0.2 cm"
},