From 6a4ab1be5e59fae1d2f3a0682387aec5bd76e384 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Tue, 30 Apr 2024 23:46:15 +0300 Subject: [PATCH] docs: update schema.json --- schema.json | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/schema.json b/schema.json index 55a8442..4c75f36 100644 --- a/schema.json +++ b/schema.json @@ -943,6 +943,89 @@ "type": "object", "additionalProperties": false }, + "LocaleCatalog": { + "additionalProperties": false, + "description": "This class is the data model of the locale catalog. The values of each field\nupdates the `locale_catalog` dictionary.", + "properties": { + "month": { + "default": null, + "description": "Translation of the word \"month\" in the locale.", + "title": "Translation of \"Month\"", + "oneOf": [ + { + "type": "string" + } + ] + }, + "months": { + "default": null, + "description": "Translation of the word \"months\" in the locale.", + "title": "Translation of \"Months\"", + "oneOf": [ + { + "type": "string" + } + ] + }, + "year": { + "default": null, + "description": "Translation of the word \"year\" in the locale.", + "title": "Translation of \"Year\"", + "oneOf": [ + { + "type": "string" + } + ] + }, + "years": { + "default": null, + "description": "Translation of the word \"years\" in the locale.", + "title": "Translation of \"Years\"", + "oneOf": [ + { + "type": "string" + } + ] + }, + "present": { + "default": null, + "description": "Translation of the word \"present\" in the locale.", + "title": "Translation of \"Present\"", + "oneOf": [ + { + "type": "string" + } + ] + }, + "to": { + "default": null, + "description": "Translation of the word \"to\" in the locale.", + "title": "Translation of \"To\"", + "oneOf": [ + { + "type": "string" + } + ] + }, + "abbreviations_for_months": { + "default": null, + "description": "Abbreviations of the months in the locale.", + "title": "Abbreviations of Months", + "oneOf": [ + { + "items": { + "type": "string" + }, + "maxItems": 12, + "minItems": 12, + "type": "array" + } + ] + } + }, + "title": "LocaleCatalog", + "type": "object" + }, "MarginsForClassic": { "description": "This class is a data model for the margins.", "properties": { @@ -1847,6 +1930,19 @@ } ], "title": "Design" + }, + "locale_catalog": { + "anyOf": [ + { + "$ref": "#/$defs/LocaleCatalog" + }, + { + "type": "null" + } + ], + "default": null, + "description": "The locale catalog of the CV to allow the support of multiple languages.", + "title": "Locale Catalog" } }, "required": [