docs: update schema.json

This commit is contained in:
Sina Atalay 2024-05-17 16:02:20 +03:00
parent 96e1a15260
commit b7c8eb0858
1 changed files with 208 additions and 209 deletions

View File

@ -64,7 +64,7 @@
}, },
"color": { "color": {
"default": "rgb(0,79,144)", "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": [ "examples": [
"Black", "Black",
"7fffd4", "7fffd4",
@ -335,7 +335,7 @@
"type": "string" "type": "string"
}, },
"degree": { "degree": {
"default": "PhD", "default": null,
"description": "The type of the degree.", "description": "The type of the degree.",
"examples": [ "examples": [
"BS", "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": { "location": {
"default": null, "default": null,
"description": "The location of the event.", "description": "The location of the event.",
@ -364,7 +385,7 @@
] ]
}, },
"start_date": { "start_date": {
"default": "2000-01-01", "default": null,
"description": "The start date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format.", "description": "The start date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format.",
"examples": [ "examples": [
"2020-09-24" "2020-09-24"
@ -375,7 +396,7 @@
"type": "integer" "type": "integer"
}, },
{ {
"pattern": "\\d{4}(-\\d{2})?(-\\d{2})?", "pattern": "\\d{4}-\\d{2}(-\\d{2})?",
"type": "string" "type": "string"
}, },
{ {
@ -384,7 +405,7 @@
] ]
}, },
"end_date": { "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.", "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": [ "examples": [
"2020-09-24", "2020-09-24",
@ -403,27 +424,7 @@
"type": "integer" "type": "integer"
}, },
{ {
"pattern": "\\d{4}(-\\d{2})?(-\\d{2})?", "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"
},
{
"type": "string" "type": "string"
}, },
{ {
@ -606,6 +607,35 @@
"title": "EngineeringresumesThemeOptions", "title": "EngineeringresumesThemeOptions",
"type": "object" "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": { "EntryAreaMarginsForClassic": {
"description": "This class is a data model for the entry area margins.", "description": "This class is a data model for the entry area margins.",
"properties": { "properties": {
@ -671,42 +701,6 @@
"type": "object", "type": "object",
"additionalProperties": false "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": { "ExperienceEntry": {
"additionalProperties": false, "additionalProperties": false,
"description": "This class is the data model of `ExperienceEntry`.", "description": "This class is the data model of `ExperienceEntry`.",
@ -721,6 +715,27 @@
"title": "Position", "title": "Position",
"type": "string" "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": { "location": {
"default": null, "default": null,
"description": "The location of the event.", "description": "The location of the event.",
@ -735,7 +750,7 @@
] ]
}, },
"start_date": { "start_date": {
"default": "2000-01-01", "default": null,
"description": "The start date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format.", "description": "The start date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format.",
"examples": [ "examples": [
"2020-09-24" "2020-09-24"
@ -746,7 +761,7 @@
"type": "integer" "type": "integer"
}, },
{ {
"pattern": "\\d{4}(-\\d{2})?(-\\d{2})?", "pattern": "\\d{4}-\\d{2}(-\\d{2})?",
"type": "string" "type": "string"
}, },
{ {
@ -755,7 +770,7 @@
] ]
}, },
"end_date": { "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.", "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": [ "examples": [
"2020-09-24", "2020-09-24",
@ -774,27 +789,7 @@
"type": "integer" "type": "integer"
}, },
{ {
"pattern": "\\d{4}(-\\d{2})?(-\\d{2})?", "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"
},
{
"type": "string" "type": "string"
}, },
{ {
@ -1026,6 +1021,84 @@
"title": "LocaleCatalog", "title": "LocaleCatalog",
"type": "object" "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": { "MarginsForClassic": {
"description": "This class is a data model for the margins.", "description": "This class is a data model for the margins.",
"properties": { "properties": {
@ -1183,85 +1256,6 @@
"type": "object", "type": "object",
"additionalProperties": false "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": { "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.",
@ -1418,6 +1412,27 @@
"title": "Name", "title": "Name",
"type": "string" "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": { "location": {
"default": null, "default": null,
"description": "The location of the event.", "description": "The location of the event.",
@ -1432,7 +1447,7 @@
] ]
}, },
"start_date": { "start_date": {
"default": "2000-01-01", "default": null,
"description": "The start date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format.", "description": "The start date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format.",
"examples": [ "examples": [
"2020-09-24" "2020-09-24"
@ -1443,7 +1458,7 @@
"type": "integer" "type": "integer"
}, },
{ {
"pattern": "\\d{4}(-\\d{2})?(-\\d{2})?", "pattern": "\\d{4}-\\d{2}(-\\d{2})?",
"type": "string" "type": "string"
}, },
{ {
@ -1452,7 +1467,7 @@
] ]
}, },
"end_date": { "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.", "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": [ "examples": [
"2020-09-24", "2020-09-24",
@ -1471,27 +1486,7 @@
"type": "integer" "type": "integer"
}, },
{ {
"pattern": "\\d{4}(-\\d{2})?(-\\d{2})?", "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"
},
{
"type": "string" "type": "string"
}, },
{ {
@ -1585,6 +1580,27 @@
"additionalProperties": false, "additionalProperties": false,
"description": "This class is the data model of `PublicationEntry`.", "description": "This class is the data model of `PublicationEntry`.",
"properties": { "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": { "title": {
"description": "The title of the publication.", "description": "The title of the publication.",
"title": "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": { "journal": {
"default": null, "default": null,
"description": "The journal or the conference name.", "description": "The journal or the conference name.",
@ -1639,8 +1640,7 @@
}, },
"required": [ "required": [
"title", "title",
"authors", "authors"
"date"
], ],
"title": "PublicationEntry", "title": "PublicationEntry",
"type": "object" "type": "object"
@ -1693,7 +1693,7 @@
}, },
"color": { "color": {
"default": "rgb(0,79,144)", "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": [ "examples": [
"Black", "Black",
"7fffd4", "7fffd4",
@ -1755,7 +1755,7 @@
"margins": { "margins": {
"allOf": [ "allOf": [
{ {
"$ref": "#/$defs/MarginsForSb2nov" "$ref": "#/$defs/Margins"
} }
], ],
"default": { "default": {
@ -1770,7 +1770,6 @@
"top": "0.3 cm" "top": "0.3 cm"
}, },
"entry_area": { "entry_area": {
"bullet_width": "0.6 cm",
"date_and_location_width": "4.5 cm", "date_and_location_width": "4.5 cm",
"left_and_right": "0.2 cm", "left_and_right": "0.2 cm",
"vertical_between": "0.2 cm" "vertical_between": "0.2 cm"