Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

events / profile

An agent that validates an offline event workflow needs state reachability, retry-window bounds, replay timing, correlation lineage and sequence continuity in one supplied artifact.

POST https://detect.halowerk.com/v1/events/profile

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "initial": {
          "type": "string",
          "maxLength": 16384
        },
        "terminal": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 16384
          },
          "maxItems": 2048
        },
        "transitions": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 16384
            },
            "maxItems": 2048
          },
          "maxItems": 2048
        },
        "policy": {
          "type": "object",
          "properties": {
            "attempts": {
              "type": "number"
            },
            "base_ms": {
              "type": "number"
            },
            "factor": {
              "type": "number"
            },
            "max_interval_ms": {
              "type": "number"
            },
            "retention_ms": {
              "type": "number"
            }
          },
          "required": [
            "attempts",
            "base_ms",
            "factor",
            "max_interval_ms",
            "retention_ms"
          ],
          "additionalProperties": true
        },
        "now_ms": {
          "type": "number"
        },
        "window_ms": {
          "type": "number"
        },
        "events": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 16384
              },
              "signed_ms": {
                "type": "number"
              },
              "parent": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "correlation": {
                "type": "string",
                "maxLength": 16384
              }
            },
            "required": [
              "id",
              "signed_ms",
              "parent",
              "correlation"
            ],
            "additionalProperties": true
          },
          "maxItems": 2048
        },
        "first": {
          "type": "number"
        },
        "last": {
          "type": "number"
        },
        "sequence": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "maxItems": 2048
        }
      },
      "required": [
        "initial",
        "terminal",
        "transitions",
        "policy",
        "now_ms",
        "window_ms",
        "events",
        "first",
        "last",
        "sequence"
      ],
      "additionalProperties": true
    }
  },
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "initial": "queued",
    "terminal": [
      "done"
    ],
    "transitions": [
      [
        "queued",
        "running"
      ],
      [
        "running",
        "done"
      ]
    ],
    "policy": {
      "attempts": 3,
      "base_ms": 10,
      "factor": 2,
      "max_interval_ms": 100,
      "retention_ms": 20
    },
    "now_ms": 110,
    "window_ms": 30,
    "events": [
      {
        "id": "synthetic-a",
        "signed_ms": 100,
        "parent": null,
        "correlation": "synthetic-group"
      },
      {
        "id": "synthetic-b",
        "signed_ms": 110,
        "parent": "synthetic-a",
        "correlation": "synthetic-group"
      }
    ],
    "first": 1,
    "last": 3,
    "sequence": [
      1,
      3
    ]
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →