docs: update schema.json

This commit is contained in:
Sina Atalay 2024-05-25 15:53:28 +03:00
parent 517ee3b1af
commit 75aad6c4f2
1 changed files with 34 additions and 17 deletions

View File

@ -360,10 +360,10 @@
"title": "Date", "title": "Date",
"oneOf": [ "oneOf": [
{ {
"type": "string" "type": "integer"
}, },
{ {
"type": "integer" "type": "string"
}, },
{ {
"type": "null" "type": "null"
@ -724,10 +724,10 @@
"title": "Date", "title": "Date",
"oneOf": [ "oneOf": [
{ {
"type": "string" "type": "integer"
}, },
{ {
"type": "integer" "type": "string"
}, },
{ {
"type": "null" "type": "null"
@ -941,7 +941,7 @@
"description": "This class is the data model of the locale catalog. The values of each field\nupdates the `locale_catalog` dictionary.", "description": "This class is the data model of the locale catalog. The values of each field\nupdates the `locale_catalog` dictionary.",
"properties": { "properties": {
"month": { "month": {
"default": null, "default": "month",
"description": "Translation of the word \"month\" in the locale.", "description": "Translation of the word \"month\" in the locale.",
"title": "Translation of \"Month\"", "title": "Translation of \"Month\"",
"oneOf": [ "oneOf": [
@ -951,7 +951,7 @@
] ]
}, },
"months": { "months": {
"default": null, "default": "months",
"description": "Translation of the word \"months\" in the locale.", "description": "Translation of the word \"months\" in the locale.",
"title": "Translation of \"Months\"", "title": "Translation of \"Months\"",
"oneOf": [ "oneOf": [
@ -961,7 +961,7 @@
] ]
}, },
"year": { "year": {
"default": null, "default": "year",
"description": "Translation of the word \"year\" in the locale.", "description": "Translation of the word \"year\" in the locale.",
"title": "Translation of \"Year\"", "title": "Translation of \"Year\"",
"oneOf": [ "oneOf": [
@ -971,7 +971,7 @@
] ]
}, },
"years": { "years": {
"default": null, "default": "years",
"description": "Translation of the word \"years\" in the locale.", "description": "Translation of the word \"years\" in the locale.",
"title": "Translation of \"Years\"", "title": "Translation of \"Years\"",
"oneOf": [ "oneOf": [
@ -981,7 +981,7 @@
] ]
}, },
"present": { "present": {
"default": null, "default": "present",
"description": "Translation of the word \"present\" in the locale.", "description": "Translation of the word \"present\" in the locale.",
"title": "Translation of \"Present\"", "title": "Translation of \"Present\"",
"oneOf": [ "oneOf": [
@ -991,7 +991,7 @@
] ]
}, },
"to": { "to": {
"default": null, "default": "to",
"description": "Translation of the word \"to\" in the locale.", "description": "Translation of the word \"to\" in the locale.",
"title": "Translation of \"To\"", "title": "Translation of \"To\"",
"oneOf": [ "oneOf": [
@ -1001,7 +1001,20 @@
] ]
}, },
"abbreviations_for_months": { "abbreviations_for_months": {
"default": null, "default": [
"Jan.",
"Feb.",
"Mar.",
"Apr.",
"May",
"June",
"July",
"Aug.",
"Sept.",
"Oct.",
"Nov.",
"Dec."
],
"description": "Abbreviations of the months in the locale.", "description": "Abbreviations of the months in the locale.",
"title": "Abbreviations of Months", "title": "Abbreviations of Months",
"oneOf": [ "oneOf": [
@ -1420,10 +1433,10 @@
"title": "Date", "title": "Date",
"oneOf": [ "oneOf": [
{ {
"type": "string" "type": "integer"
}, },
{ {
"type": "integer" "type": "string"
}, },
{ {
"type": "null" "type": "null"
@ -1623,10 +1636,10 @@
"title": "Date", "title": "Date",
"oneOf": [ "oneOf": [
{ {
"type": "string" "type": "integer"
}, },
{ {
"type": "integer" "type": "string"
}, },
{ {
"type": "null" "type": "null"
@ -1818,14 +1831,18 @@
"description": "This class is the data model of a social network.", "description": "This class is the data model of a social network.",
"properties": { "properties": {
"network": { "network": {
"description": "The social network name.", "description": "Name of the social network.",
"enum": [ "enum": [
"LinkedIn", "LinkedIn",
"GitHub", "GitHub",
"GitLab",
"Instagram", "Instagram",
"Orcid", "Orcid",
"Mastodon", "Mastodon",
"Twitter" "Twitter",
"StackOverflow",
"ResearchGate",
"YouTube"
], ],
"title": "Social Network", "title": "Social Network",
"type": "string" "type": "string"