Skip to content
HALOWERK

Text Tools

iana language migration collisions

Language code migration identifies distinct input codes that collapse onto the same registered preferred value. Use it when an agent needs collisions before consolidating translation memory.

POST https://text.halowerk.com/v1/iana-language-migration-collisions

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
codesarrayYes
typeSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "codes": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 16,
        "minLength": 1
      },
      "maxItems": 40,
      "minItems": 2
    },
    "type": {
      "enum": [
        "language",
        "region",
        "script",
        "variant",
        "extlang",
        "grandfathered",
        "redundant"
      ]
    }
  },
  "required": [
    "codes"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "codes": [
    "iw",
    "he"
  ]
}

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": {
        "collision_groups": {
          "type": "integer"
        },
        "groups": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "preferred": {
                "type": "string"
              },
              "inputs": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "preferred",
              "inputs"
            ]
          }
        }
      },
      "required": [
        "collision_groups",
        "groups"
      ]
    },
    "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 →