From 175d0f6330972cf20a2d3a464d50bcad7b8e979e Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Mon, 15 Apr 2024 02:49:14 +0300 Subject: [PATCH] docs: update schema.json --- schema.json | 105 +++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 87 insertions(+), 18 deletions(-) diff --git a/schema.json b/schema.json index 346de8f..7699951 100644 --- a/schema.json +++ b/schema.json @@ -22,7 +22,11 @@ "properties": { "theme": { "const": "classic", - "title": "Theme" + "enum": [ + "classic" + ], + "title": "Theme", + "type": "string" }, "font_size": { "default": "10pt", @@ -369,7 +373,11 @@ "title": "End Date", "oneOf": [ { - "const": "present" + "const": "present", + "enum": [ + "present" + ], + "type": "string" }, { "type": "integer" @@ -434,7 +442,11 @@ "properties": { "theme": { "const": "engineeringresumes", - "title": "Theme" + "enum": [ + "engineeringresumes" + ], + "title": "Theme", + "type": "string" }, "font_size": { "default": "10pt", @@ -530,8 +542,9 @@ "top": "0.3 cm" }, "entry_area": { + "date_and_location_width": "4.1 cm", "left_and_right": "0 cm", - "vertical_between": "0.1 cm" + "vertical_between": "0.15 cm" }, "highlights_area": { "left": "0 cm", @@ -594,11 +607,18 @@ "type": "string" }, "vertical_between": { - "default": "0.1 cm", + "default": "0.15 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" + }, + "date_and_location_width": { + "default": "4.1 cm", + "description": "The width of the date and location column. The default value is 4.1 cm.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Date and Location Column Width", + "type": "string" } }, "title": "EntryAreaMarginsForEngineeringresumes", @@ -662,7 +682,11 @@ "title": "End Date", "oneOf": [ { - "const": "present" + "const": "present", + "enum": [ + "present" + ], + "type": "string" }, { "type": "integer" @@ -925,7 +949,8 @@ ], "default": { "left_and_right": "0 cm", - "vertical_between": "0.1 cm" + "vertical_between": "0.15 cm", + "date_and_location_width": "4.1 cm" }, "description": "Entry area margins.", "title": "Entry Area Margins" @@ -969,7 +994,11 @@ "properties": { "theme": { "const": "moderncv", - "title": "Theme" + "enum": [ + "moderncv" + ], + "title": "Theme", + "type": "string" }, "font_size": { "default": "10pt", @@ -1017,28 +1046,60 @@ "title": "Primary Color", "oneOf": [ { - "const": "blue" + "const": "blue", + "enum": [ + "blue" + ], + "type": "string" }, { - "const": "black" + "const": "black", + "enum": [ + "black" + ], + "type": "string" }, { - "const": "burgundy" + "const": "burgundy", + "enum": [ + "burgundy" + ], + "type": "string" }, { - "const": "green" + "const": "green", + "enum": [ + "green" + ], + "type": "string" }, { - "const": "grey" + "const": "grey", + "enum": [ + "grey" + ], + "type": "string" }, { - "const": "orange" + "const": "orange", + "enum": [ + "orange" + ], + "type": "string" }, { - "const": "purple" + "const": "purple", + "enum": [ + "purple" + ], + "type": "string" }, { - "const": "red" + "const": "red", + "enum": [ + "red" + ], + "type": "string" } ] }, @@ -1126,7 +1187,11 @@ "title": "End Date", "oneOf": [ { - "const": "present" + "const": "present", + "enum": [ + "present" + ], + "type": "string" }, { "type": "integer" @@ -1312,7 +1377,11 @@ "properties": { "theme": { "const": "sb2nov", - "title": "Theme" + "enum": [ + "sb2nov" + ], + "title": "Theme", + "type": "string" }, "font_size": { "default": "10pt",