docs: update schema.json

This commit is contained in:
sinaatalay
2024-07-23 16:09:43 +00:00
parent 7fa24b5c68
commit 431eac6dda

View File

@@ -202,16 +202,6 @@
}
]
},
"label": {
"default": null,
"description": "The label of the person.",
"title": "Label",
"oneOf": [
{
"type": "string"
}
]
},
"location": {
"default": null,
"description": "The location of the person.",
@@ -235,7 +225,7 @@
},
"phone": {
"default": null,
"description": "The phone number of the person.",
"description": "The phone number of the person, including the country code.",
"title": "Phone",
"oneOf": [
{
@@ -928,6 +918,31 @@
"additionalProperties": false,
"description": "This class is the data model of the locale catalog. The values of each field\nupdates the `locale_catalog` dictionary.",
"properties": {
"phone_number_format": {
"default": "national",
"description": "If 'national', phone numbers are formatted without the country code. If 'international', phone numbers are formatted with the country code. The default value is 'national'.",
"title": "Phone Number Format",
"oneOf": [
{
"enum": [
"national",
"international",
"E164"
],
"type": "string"
}
]
},
"date_style": {
"default": "MONTH_ABBREVIATION YEAR",
"description": "The style of the date. The following placeholder can be used:\n- FULL_MONTH_NAME: Full name of the month\n- MONTH_ABBREVIATION: Abbreviation of the month\n- MONTH: Month as a number\n- MONTH_IN_TWO_DIGITS: Month as a number in two digits\n- YEAR: Year as a number\n- YEAR_IN_TWO_DIGITS: Year as a number in two digits\nThe default value is \"MONTH_ABBREVIATION YEAR\".",
"title": "Date Style",
"oneOf": [
{
"type": "string"
}
]
},
"month": {
"default": "month",
"description": "Translation of the word \"month\" in the locale.",