Skip to content
HALOWERK

Data Conversion and Public Data

pg cast context breakdown

PostgreSQL type migration counts a source type’s registered outward conversions by permitted context. Use it when an agent needs an explicit catalog conversion fact.

POST https://daten.halowerk.com/v1/pg-cast-context-breakdown

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
source_typestringYes
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "source_type": {
      "type": "string",
      "minLength": 1,
      "maxLength": 150
    },
    "snapshot": {
      "enum": [
        "pg-17.7"
      ]
    }
  },
  "required": [
    "source_type"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "source_type": "int4",
  "snapshot": "pg-17.7"
}

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": {
        "implicit": {
          "type": "integer"
        },
        "assignment": {
          "type": "integer"
        },
        "explicit": {
          "type": "integer"
        }
      },
      "required": [
        "implicit",
        "assignment",
        "explicit"
      ]
    },
    "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 →