Zum Inhalt
HALOWERK

Govwerk

regulatory check

Joins scalar facts by field name and evaluates explicit equals, not-equals, numeric bound, membership, contains, and existence rules. It does not retrieve law, determine which rules apply, provide legal advice, or certify regulatory compliance.

POST https://gov.halowerk.com/v1/regulatory-check

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
factsarrayJa
rulesarrayJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "facts",
    "rules"
  ],
  "additionalProperties": false,
  "properties": {
    "facts": {
      "type": "array",
      "maxItems": 10000,
      "items": {
        "type": "object",
        "required": [
          "field",
          "value"
        ],
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "value": {
            "type": [
              "string",
              "number",
              "boolean",
              "null"
            ]
          }
        }
      }
    },
    "rules": {
      "type": "array",
      "minItems": 1,
      "maxItems": 10000,
      "items": {
        "type": "object",
        "required": [
          "rule_id",
          "field",
          "operator"
        ],
        "additionalProperties": false,
        "properties": {
          "rule_id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "field": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "operator": {
            "type": "string",
            "enum": [
              "equals",
              "not_equals",
              "gte",
              "lte",
              "in",
              "contains",
              "exists"
            ]
          },
          "expected": {
            "type": [
              "string",
              "number",
              "boolean",
              "null"
            ]
          },
          "allowed_values": {
            "type": "array",
            "minItems": 1,
            "maxItems": 1000,
            "items": {
              "type": [
                "string",
                "number",
                "boolean",
                "null"
              ]
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "facts": [
    {
      "field": "reserve_ratio",
      "value": 1.15
    },
    {
      "field": "jurisdiction",
      "value": "DE"
    },
    {
      "field": "disclosure",
      "value": "Monthly treasury disclosure published"
    }
  ],
  "rules": [
    {
      "rule_id": "reserve-minimum",
      "field": "reserve_ratio",
      "operator": "gte",
      "expected": 1
    },
    {
      "rule_id": "jurisdiction-list",
      "field": "jurisdiction",
      "operator": "in",
      "allowed_values": [
        "DE",
        "FR",
        "NL"
      ]
    },
    {
      "rule_id": "disclosure-text",
      "field": "disclosure",
      "operator": "contains",
      "expected": "published"
    }
  ]
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://gov.halowerk.com/v1/regulatory-check/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

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 →