docs: update schema.json

This commit is contained in:
Sina Atalay 2024-04-15 02:49:14 +03:00
parent abb6dbdae3
commit 175d0f6330
1 changed files with 87 additions and 18 deletions

View File

@ -22,7 +22,11 @@
"properties": { "properties": {
"theme": { "theme": {
"const": "classic", "const": "classic",
"title": "Theme" "enum": [
"classic"
],
"title": "Theme",
"type": "string"
}, },
"font_size": { "font_size": {
"default": "10pt", "default": "10pt",
@ -369,7 +373,11 @@
"title": "End Date", "title": "End Date",
"oneOf": [ "oneOf": [
{ {
"const": "present" "const": "present",
"enum": [
"present"
],
"type": "string"
}, },
{ {
"type": "integer" "type": "integer"
@ -434,7 +442,11 @@
"properties": { "properties": {
"theme": { "theme": {
"const": "engineeringresumes", "const": "engineeringresumes",
"title": "Theme" "enum": [
"engineeringresumes"
],
"title": "Theme",
"type": "string"
}, },
"font_size": { "font_size": {
"default": "10pt", "default": "10pt",
@ -530,8 +542,9 @@
"top": "0.3 cm" "top": "0.3 cm"
}, },
"entry_area": { "entry_area": {
"date_and_location_width": "4.1 cm",
"left_and_right": "0 cm", "left_and_right": "0 cm",
"vertical_between": "0.1 cm" "vertical_between": "0.15 cm"
}, },
"highlights_area": { "highlights_area": {
"left": "0 cm", "left": "0 cm",
@ -594,11 +607,18 @@
"type": "string" "type": "string"
}, },
"vertical_between": { "vertical_between": {
"default": "0.1 cm", "default": "0.15 cm",
"description": "The vertical margin between entry areas. The default value is 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)", "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)",
"title": "Vertical Margin Between Entry Areas", "title": "Vertical Margin Between Entry Areas",
"type": "string" "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", "title": "EntryAreaMarginsForEngineeringresumes",
@ -662,7 +682,11 @@
"title": "End Date", "title": "End Date",
"oneOf": [ "oneOf": [
{ {
"const": "present" "const": "present",
"enum": [
"present"
],
"type": "string"
}, },
{ {
"type": "integer" "type": "integer"
@ -925,7 +949,8 @@
], ],
"default": { "default": {
"left_and_right": "0 cm", "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.", "description": "Entry area margins.",
"title": "Entry Area Margins" "title": "Entry Area Margins"
@ -969,7 +994,11 @@
"properties": { "properties": {
"theme": { "theme": {
"const": "moderncv", "const": "moderncv",
"title": "Theme" "enum": [
"moderncv"
],
"title": "Theme",
"type": "string"
}, },
"font_size": { "font_size": {
"default": "10pt", "default": "10pt",
@ -1017,28 +1046,60 @@
"title": "Primary Color", "title": "Primary Color",
"oneOf": [ "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", "title": "End Date",
"oneOf": [ "oneOf": [
{ {
"const": "present" "const": "present",
"enum": [
"present"
],
"type": "string"
}, },
{ {
"type": "integer" "type": "integer"
@ -1312,7 +1377,11 @@
"properties": { "properties": {
"theme": { "theme": {
"const": "sb2nov", "const": "sb2nov",
"title": "Theme" "enum": [
"sb2nov"
],
"title": "Theme",
"type": "string"
}, },
"font_size": { "font_size": {
"default": "10pt", "default": "10pt",