{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Record representing a single language proficiency.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "Client-declared timestamp when this record was originally created.",
            "format": "datetime",
            "type": "string"
          },
          "name": {
            "description": "Language name (e.g., 'English', 'Nederlands', 'Deutsch').",
            "maxGraphemes": 64,
            "maxLength": 640,
            "minLength": 1,
            "type": "string"
          },
          "proficiency": {
            "description": "Proficiency level. Uses LinkedIn-compatible five-level scale.",
            "knownValues": [
              "id.sifa.defs#elementary",
              "id.sifa.defs#limitedWorking",
              "id.sifa.defs#professionalWorking",
              "id.sifa.defs#fullProfessional",
              "id.sifa.defs#native"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record",
      "x-skos:exactMatch": [
        "schema:knowsLanguage"
      ]
    }
  },
  "description": "A language spoken by the user with proficiency level.",
  "id": "id.sifa.profile.language",
  "lexicon": 1
}
