Zum Inhalt
HALOWERK

Datenvertragswerk

scd2 validity ledger

Check a bounded corrected dimension history before a data agent publishes it. Caller-supplied pseudonyms/hashes only; no external identity claim. Conflicting selected hashes yield not_observed; missing coverage yields unknown. A schema-valid unknown is a successful result at the same fixed price. Invalid input must raise native HTTP 400 before settlement.

POST https://datenvertrag.halowerk.com/v1/scd2-validity-ledger

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
windowobjectJa
source_priorityarrayJa
recordsarrayJa
withdrawn_idsarrayNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "window": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "from": {
          "type": "integer",
          "minimum": 0,
          "maximum": 4102444800
        },
        "to": {
          "type": "integer",
          "minimum": 0,
          "maximum": 4102444800
        }
      },
      "required": [
        "from",
        "to"
      ]
    },
    "source_priority": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_-]{1,16}$"
      },
      "minItems": 1,
      "maxItems": 4
    },
    "records": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,16}$"
          },
          "entity": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,16}$"
          },
          "from": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4102444800
          },
          "to": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 4102444800
              },
              {
                "type": "null"
              }
            ]
          },
          "source": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,16}$"
          },
          "revision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          },
          "hash": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          }
        },
        "required": [
          "id",
          "entity",
          "from",
          "to",
          "source",
          "revision",
          "hash"
        ]
      },
      "minItems": 1,
      "maxItems": 24
    },
    "withdrawn_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_-]{1,16}$"
      },
      "minItems": 0,
      "maxItems": 24
    }
  },
  "required": [
    "window",
    "source_priority",
    "records"
  ]
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "window": {
    "from": 0,
    "to": 10
  },
  "source_priority": [
    "p",
    "q"
  ],
  "records": [
    {
      "id": "a",
      "entity": "E",
      "from": 0,
      "to": 4,
      "source": "p",
      "revision": 0,
      "hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
    },
    {
      "id": "b",
      "entity": "E",
      "from": 4,
      "to": null,
      "source": "p",
      "revision": 0,
      "hash": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
    }
  ],
  "withdrawn_ids": []
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-05, 03:23 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →