Skip to content
HALOWERK

Calculators and Rule Checks

markup type lateral distance

Taxonomy distance computes the shortest undirected class path, including intervening parent or child types. Use it when an agent needs a reproducible relationship between web entity types.

POST https://rechen.halowerk.com/v1/markup-type-lateral-distance

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
typestringYes
peer_typestringYes
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "minLength": 1,
      "maxLength": 320
    },
    "peer_type": {
      "type": "string",
      "minLength": 1,
      "maxLength": 320
    },
    "snapshot": {
      "enum": [
        "30.1"
      ]
    }
  },
  "required": [
    "type",
    "peer_type"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "type": "NewsArticle",
  "peer_type": "TechArticle",
  "snapshot": "30.1"
}

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": {
        "connected": {
          "type": "boolean"
        },
        "edges": {
          "type": "integer"
        },
        "path": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "connected",
        "edges",
        "path"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub →