docs: update schema.json

This commit is contained in:
Sina Atalay 2024-04-07 17:44:17 +00:00 committed by GitHub
parent ef3601c00f
commit 5ac622c9e6
1 changed files with 221 additions and 134 deletions

View File

@ -18,7 +18,7 @@
}, },
"ClassicThemeOptions": { "ClassicThemeOptions": {
"additionalProperties": false, "additionalProperties": false,
"description": "This class is the data model of the theme options for the classic theme.", "description": "This class is the data model of the theme options for the `classic` theme.",
"properties": { "properties": {
"theme": { "theme": {
"const": "classic", "const": "classic",
@ -97,7 +97,7 @@
"margins": { "margins": {
"allOf": [ "allOf": [
{ {
"$ref": "#/$defs/rendercv__themes__Margins" "$ref": "#/$defs/Margins"
} }
], ],
"default": { "default": {
@ -424,7 +424,7 @@
}, },
"EngineeringresumesThemeOptions": { "EngineeringresumesThemeOptions": {
"additionalProperties": false, "additionalProperties": false,
"description": "This class is the data model of the theme options for the engineeringresumes\ntheme.", "description": "This class is the data model of the theme options for the `engineeringresumes`\ntheme.",
"properties": { "properties": {
"theme": { "theme": {
"const": "engineeringresumes", "const": "engineeringresumes",
@ -503,7 +503,7 @@
"margins": { "margins": {
"allOf": [ "allOf": [
{ {
"$ref": "#/$defs/rendercv__themes__engineeringresumes__Margins" "$ref": "#/$defs/MarginsForEngineeringresumes"
} }
], ],
"default": { "default": {
@ -517,6 +517,15 @@
"bottom": "0.2 cm", "bottom": "0.2 cm",
"top": "0.3 cm" "top": "0.3 cm"
}, },
"entry_area": {
"left_and_right": "0 cm",
"vertical_between": "0.1 cm"
},
"highlights_area": {
"left": "0 cm",
"top": "0.10 cm",
"vertical_between_bullet_points": "0.10 cm"
},
"header": { "header": {
"bottom": "0.3 cm", "bottom": "0.3 cm",
"horizontal_between_connections": "0.5 cm", "horizontal_between_connections": "0.5 cm",
@ -562,6 +571,28 @@
"type": "object", "type": "object",
"additionalProperties": false "additionalProperties": false
}, },
"EntryAreaMarginsForEngineeringresumes": {
"description": "This class is a data model for the entry area margins.",
"properties": {
"left_and_right": {
"default": "0 cm",
"description": "The left margin of entry areas. The default value is 0 cm.",
"pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)",
"title": "Left Margin",
"type": "string"
},
"vertical_between": {
"default": "0.1 cm",
"description": "The vertical margin between entry areas. The default value is 0.1 cm.",
"pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)",
"title": "Vertical Margin Between Entry Areas",
"type": "string"
}
},
"title": "EntryAreaMarginsForEngineeringresumes",
"type": "object",
"additionalProperties": false
},
"ExperienceEntry": { "ExperienceEntry": {
"additionalProperties": false, "additionalProperties": false,
"description": "This class is the data model of `ExperienceEntry`.", "description": "This class is the data model of `ExperienceEntry`.",
@ -736,9 +767,193 @@
"type": "object", "type": "object",
"additionalProperties": false "additionalProperties": false
}, },
"HighlightsAreaMarginsForEngineeringresumes": {
"description": "This class is a data model for the highlights area margins.",
"properties": {
"top": {
"default": "0.10 cm",
"description": "The top margin of highlights areas. The default value is 0.10 cm.",
"pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)",
"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.",
"pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)",
"title": "Vertical Margin Between Bullet Points",
"type": "string"
}
},
"title": "HighlightsAreaMarginsForEngineeringresumes",
"type": "object",
"additionalProperties": false
},
"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.1 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
},
"MarginsForEngineeringresumes": {
"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/EntryAreaMarginsForEngineeringresumes"
}
],
"default": {
"left_and_right": "0 cm",
"vertical_between": "0.1 cm"
},
"description": "Entry area margins.",
"title": "Entry Area Margins"
},
"highlights_area": {
"allOf": [
{
"$ref": "#/$defs/HighlightsAreaMarginsForEngineeringresumes"
}
],
"default": {
"top": "0.10 cm",
"left": "0 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": "MarginsForEngineeringresumes",
"type": "object",
"additionalProperties": false
},
"ModerncvThemeOptions": { "ModerncvThemeOptions": {
"additionalProperties": false, "additionalProperties": false,
"description": "This class is the data model of the theme options for the moderncv theme.", "description": "This class is the data model of the theme options for the `moderncv` theme.",
"properties": { "properties": {
"theme": { "theme": {
"const": "moderncv", "const": "moderncv",
@ -1160,7 +1375,7 @@
"margins": { "margins": {
"allOf": [ "allOf": [
{ {
"$ref": "#/$defs/rendercv__themes__Margins" "$ref": "#/$defs/Margins"
} }
], ],
"default": { "default": {
@ -1251,134 +1466,6 @@
], ],
"title": "SocialNetwork", "title": "SocialNetwork",
"type": "object" "type": "object"
},
"rendercv__themes__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.1 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
},
"rendercv__themes__engineeringresumes__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"
},
"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
} }
}, },
"additionalProperties": false, "additionalProperties": false,