{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LanguageAbility",
  "title": "LanguageAbility",
  "type": "object",
  "description": "Ability of an individual to understand or converse in a language.",
  "properties": {
    "languageCode": {
      "type": "string",
      "description": "Language code (RFC 5646)"
    },
    "languageName": {
      "type": "string",
      "description": "Language name"
    },
    "isFavouriteLanguage": {
      "type": "boolean",
      "description": "A \u201ctrue\u201d value specifies whether the language is considered by the individual as his favourite one"
    },
    "writingProficiency": {
      "type": "string",
      "description": "Writing proficiency evaluated for this language"
    },
    "readingProficiency": {
      "type": "string",
      "description": "Reading proficiency evaluated for this language"
    },
    "speakingProficiency": {
      "type": "string",
      "description": "Speaking proficiency evaluated for this language"
    },
    "listeningProficiency": {
      "type": "string",
      "description": "Listening proficiency evaluated for this language"
    },
    "validFor": {
      "$ref": "#/components/schemas/TimePeriod"
    }
  }
}