Skip to content
HALOWERK

Text Tools

localized unit range shared parts

Localized measurement range returns the range label and which parts are shared or specific to an endpoint. Use it when an agent needs to assemble accessible translated measurement ranges.

POST https://text.halowerk.com/v1/localized-unit-range-shared-parts

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
localestringYes
unitSee schemaYes
lowstringYes
highstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "maxLength": 48,
      "minLength": 1
    },
    "unit": {
      "enum": [
        "meter",
        "kilometer",
        "liter",
        "celsius",
        "kilogram"
      ]
    },
    "low": {
      "type": "string",
      "pattern": "^-?(?:0|[1-9][0-9]{0,14})(?:[.][0-9]{1,12})?$"
    },
    "high": {
      "type": "string",
      "pattern": "^-?(?:0|[1-9][0-9]{0,14})(?:[.][0-9]{1,12})?$"
    }
  },
  "required": [
    "locale",
    "unit",
    "low",
    "high"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "locale": "de-DE",
  "unit": "kilometer",
  "low": "3",
  "high": "5"
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub →