Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

relational / relational delta commutativity

An agent that merges concurrent export deltas needs whether unconditional inserts deletes and upserts have the same state and accepted-operation outcomes in both orders.

POST https://detect.halowerk.com/v1/relational/relational-delta-commutativity

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "initial": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "key": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -1000000000,
                    "maximum": 1000000000
                  },
                  {
                    "type": "string",
                    "minLength": 0,
                    "maxLength": 128
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -1000000000,
                    "maximum": 1000000000
                  },
                  {
                    "type": "string",
                    "minLength": 0,
                    "maxLength": 128
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "key",
              "value"
            ],
            "additionalProperties": false
          },
          "minItems": 0,
          "maxItems": 128
        },
        "first": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "const": "delete"
                  },
                  "key": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -1000000000,
                        "maximum": 1000000000
                      },
                      {
                        "type": "string",
                        "minLength": 0,
                        "maxLength": 128
                      },
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "kind",
                  "key"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "minLength": 6,
                    "maxLength": 6,
                    "enum": [
                      "insert",
                      "upsert"
                    ]
                  },
                  "key": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -1000000000,
                        "maximum": 1000000000
                      },
                      {
                        "type": "string",
                        "minLength": 0,
                        "maxLength": 128
                      },
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "value": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -1000000000,
                        "maximum": 1000000000
                      },
                      {
                        "type": "string",
                        "minLength": 0,
                        "maxLength": 128
                      },
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "kind",
                  "key",
                  "value"
                ],
                "additionalProperties": false
              }
            ]
          },
          "minItems": 0,
          "maxItems": 128
        },
        "second": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "const": "delete"
                  },
                  "key": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -1000000000,
                        "maximum": 1000000000
                      },
                      {
                        "type": "string",
                        "minLength": 0,
                        "maxLength": 128
                      },
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "kind",
                  "key"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "minLength": 6,
                    "maxLength": 6,
                    "enum": [
                      "insert",
                      "upsert"
                    ]
                  },
                  "key": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -1000000000,
                        "maximum": 1000000000
                      },
                      {
                        "type": "string",
                        "minLength": 0,
                        "maxLength": 128
                      },
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "value": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -1000000000,
                        "maximum": 1000000000
                      },
                      {
                        "type": "string",
                        "minLength": 0,
                        "maxLength": 128
                      },
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "kind",
                  "key",
                  "value"
                ],
                "additionalProperties": false
              }
            ]
          },
          "minItems": 0,
          "maxItems": 128
        }
      },
      "required": [
        "initial",
        "first",
        "second"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "initial": [],
    "first": [
      {
        "kind": "insert",
        "key": 1,
        "value": "a"
      }
    ],
    "second": [
      {
        "kind": "insert",
        "key": 2,
        "value": "b"
      }
    ]
  }
}

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 →