Skip to content
HALOWERK

Text Tools

iana language variant prefix menu

Language variant lookup returns the registered prefix sequences recommended for using the variant. Use it when an agent needs valid authoring guidance for an orthography or dialect.

POST https://text.halowerk.com/v1/iana-language-variant-prefix-menu

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
variantstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "variant": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1
    }
  },
  "required": [
    "variant"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "variant": "biske"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "prefixes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "unrestricted_by_prefix": {
          "type": "boolean"
        }
      },
      "required": [
        "prefixes",
        "unrestricted_by_prefix"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-20 UTC.

More endpoints in this hub

All endpoints in this hub →