{
  "type": "object",
  "description": "The language used for textual values in this record.",
  "required": [
    "code"
  ],
  "properties": {
    "code": {
      "type": "string",
      "description": "The language tag as per RFC-5646."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "description": "The untranslated name of the language."
    },
    "alternate": {
      "type": "string",
      "description": "The name of the language in another well-understood language,\nusually English."
    },
    "dir": {
      "type": "string",
      "description": "The direction for text in this language. The default, `ltr`\n(left-to-right), represents the most common situation.\nHowever, care should be taken to set the value of `dir`\nappropriately if the language direction is not `ltr`.\nOther values supported are `rtl` (right-to-left), `ttb`\n(top-to-bottom), and `btt` (bottom-to-top).",
      "enum": [
        "ltr",
        "rtl",
        "ttb",
        "btt"
      ],
      "default": "ltr"
    }
  }
}