Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 09 / xquery update10 original snapshot pending list conflict and application

Apply a resolved XQuery pending-update list against the original node snapshot. Reconstruct the fully typed result and compare its complete canonical SHA256 claim.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-09/xquery-update10-original-snapshot-pending-list-conflict-and-application

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "xqueryUpdates"
      ],
      "properties": {
        "xqueryUpdates": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "root",
                "nodes",
                "operations"
              ],
              "properties": {
                "root": {
                  "$ref": "#/properties/artifact/%24defs/s0"
                },
                "nodes": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "id",
                      "kind",
                      "name",
                      "text",
                      "children"
                    ],
                    "properties": {
                      "id": {
                        "$ref": "#/properties/artifact/%24defs/s0"
                      },
                      "kind": {
                        "enum": [
                          "element",
                          "text"
                        ]
                      },
                      "name": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "$ref": "#/properties/artifact/%24defs/s0"
                          }
                        ]
                      },
                      "text": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string",
                            "minLength": 0,
                            "maxLength": 1024
                          }
                        ]
                      },
                      "children": {
                        "type": "array",
                        "items": {
                          "$ref": "#/properties/artifact/%24defs/s0"
                        },
                        "minItems": 0,
                        "maxItems": 32
                      }
                    }
                  },
                  "minItems": 1,
                  "maxItems": 64
                },
                "operations": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "kind",
                          "target",
                          "name"
                        ],
                        "properties": {
                          "kind": {
                            "enum": [
                              "rename"
                            ]
                          },
                          "target": {
                            "$ref": "#/properties/artifact/%24defs/s0"
                          },
                          "name": {
                            "$ref": "#/properties/artifact/%24defs/s0"
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "kind",
                          "target",
                          "value"
                        ],
                        "properties": {
                          "kind": {
                            "enum": [
                              "replace_value"
                            ]
                          },
                          "target": {
                            "$ref": "#/properties/artifact/%24defs/s0"
                          },
                          "value": {
                            "type": "string",
                            "minLength": 0,
                            "maxLength": 1024
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "kind",
                          "target"
                        ],
                        "properties": {
                          "kind": {
                            "enum": [
                              "delete"
                            ]
                          },
                          "target": {
                            "$ref": "#/properties/artifact/%24defs/s0"
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "kind",
                          "target",
                          "content"
                        ],
                        "properties": {
                          "kind": {
                            "enum": [
                              "insert_first",
                              "insert_last",
                              "insert_before",
                              "insert_after",
                              "replace_node"
                            ]
                          },
                          "target": {
                            "$ref": "#/properties/artifact/%24defs/s0"
                          },
                          "content": {
                            "type": "array",
                            "items": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "name",
                                    "value"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "enum": [
                                        "element"
                                      ]
                                    },
                                    "name": {
                                      "$ref": "#/properties/artifact/%24defs/s0"
                                    },
                                    "value": {
                                      "type": "string",
                                      "minLength": 0,
                                      "maxLength": 1024
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "name",
                                    "value"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "enum": [
                                        "text"
                                      ]
                                    },
                                    "name": {
                                      "type": "null"
                                    },
                                    "value": {
                                      "type": "string",
                                      "minLength": 0,
                                      "maxLength": 1024
                                    }
                                  }
                                }
                              ]
                            },
                            "minItems": 0,
                            "maxItems": 16
                          }
                        }
                      }
                    ]
                  },
                  "minItems": 0,
                  "maxItems": 32
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "string",
                  "minLength": 64,
                  "maxLength": 64,
                  "pattern": "^[0-9a-f]{64}$"
                }
              ]
            }
          }
        }
      },
      "$defs": {
        "s0": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64,
          "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
        }
      }
    }
  }
}

Originalschema öffnen

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 →