Skip to content

languageSchema

type: object

a language and the user's proficiency in it

Examples
{
"name": "German"
}
{
"name": "हिन्दी",
"speak": "native",
"write": "professional_working",
"read": "professional_working"
}
{
"name": {
"id": "gu",
"name": "ગુજરાતી",
"englishName": "Gujarati"
},
"listen": "elementary"
}

name

type: union

basic information about the language name

name/0

type: string

the name of the language, either in the language itself or in English

name/1

type: object

id

type: string
optional? yes

the IETF BCP 47 language tag

name

type: string

endonym, i.e. the name of the language in the language itself

englishName

type: string
optional? yes

English exonym, i.e. the name of the language in English

speak

type: languageProficiencySchema
optional? yes
default: "no"

ability to understand text written in the language

listen

type: languageProficiencySchema
optional? yes
default: "no"

ability to understand when others speak the language

write

type: languageProficiencySchema
optional? yes
default: "no"

ability to write comfortably using the language

read

type: languageProficiencySchema
optional? yes
default: "no"

ability to speak the language