Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 15 / git243 reference transaction verify dereference prepare atomic commit

Replay complete Git reference transactions with symbolic-reference dereferencing, CAS checks, namespace conflicts, prepare/commit/abort and atomic failed updates.. Compare the complete typed result SHA256.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-15/git243-reference-transaction-verify-dereference-prepare-atomic-commit

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": [
        "gitRefs"
      ],
      "properties": {
        "gitRefs": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "commit_objects",
                "refs",
                "transactions"
              ],
              "properties": {
                "commit_objects": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 40,
                    "maxLength": 40,
                    "pattern": "^[0-9a-f]{40}$"
                  },
                  "minItems": 1,
                  "maxItems": 48
                },
                "refs": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "name",
                          "kind",
                          "oid"
                        ],
                        "properties": {
                          "name": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 192
                          },
                          "kind": {
                            "const": "direct"
                          },
                          "oid": {
                            "type": "string",
                            "minLength": 40,
                            "maxLength": 40,
                            "pattern": "^[0-9a-f]{40}$"
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "name",
                          "kind",
                          "target"
                        ],
                        "properties": {
                          "name": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 192
                          },
                          "kind": {
                            "const": "symbolic"
                          },
                          "target": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 192
                          }
                        }
                      }
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 48
                },
                "transactions": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "commands",
                      "ending"
                    ],
                    "properties": {
                      "commands": {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "kind",
                                "ref",
                                "no_deref",
                                "new_oid"
                              ],
                              "properties": {
                                "kind": {
                                  "const": "create"
                                },
                                "ref": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 192
                                },
                                "no_deref": {
                                  "type": "boolean"
                                },
                                "new_oid": {
                                  "type": "string",
                                  "minLength": 40,
                                  "maxLength": 40,
                                  "pattern": "^[0-9a-f]{40}$"
                                }
                              }
                            },
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "kind",
                                "ref",
                                "no_deref",
                                "new_oid",
                                "old"
                              ],
                              "properties": {
                                "kind": {
                                  "const": "update"
                                },
                                "ref": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 192
                                },
                                "no_deref": {
                                  "type": "boolean"
                                },
                                "new_oid": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "minLength": 40,
                                  "maxLength": 40,
                                  "pattern": "^[0-9a-f]{40}$"
                                },
                                "old": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "kind"
                                      ],
                                      "properties": {
                                        "kind": {
                                          "enum": [
                                            "any",
                                            "missing"
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "$ref": "#/properties/artifact/%24defs/a"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "kind",
                                "ref",
                                "no_deref",
                                "old"
                              ],
                              "properties": {
                                "kind": {
                                  "const": "delete"
                                },
                                "ref": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 192
                                },
                                "no_deref": {
                                  "type": "boolean"
                                },
                                "old": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "kind"
                                      ],
                                      "properties": {
                                        "kind": {
                                          "const": "any"
                                        }
                                      }
                                    },
                                    {
                                      "$ref": "#/properties/artifact/%24defs/a"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "kind",
                                "ref",
                                "no_deref",
                                "old"
                              ],
                              "properties": {
                                "kind": {
                                  "const": "verify"
                                },
                                "ref": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 192
                                },
                                "no_deref": {
                                  "type": "boolean"
                                },
                                "old": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "kind"
                                      ],
                                      "properties": {
                                        "kind": {
                                          "const": "missing"
                                        }
                                      }
                                    },
                                    {
                                      "$ref": "#/properties/artifact/%24defs/a"
                                    }
                                  ]
                                }
                              }
                            }
                          ]
                        },
                        "maxItems": 32
                      },
                      "ending": {
                        "enum": [
                          "commit",
                          "prepare_commit",
                          "abort",
                          "prepare_abort",
                          "close"
                        ]
                      }
                    }
                  },
                  "minItems": 1,
                  "maxItems": 8
                }
              }
            },
            "claim": {
              "type": [
                "string",
                "null"
              ],
              "minLength": 64,
              "maxLength": 64,
              "pattern": "^[0-9a-f]{64}$"
            }
          }
        }
      },
      "$defs": {
        "a": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "kind",
            "oid"
          ],
          "properties": {
            "kind": {
              "const": "oid"
            },
            "oid": {
              "type": "string",
              "minLength": 40,
              "maxLength": 40,
              "pattern": "^[0-9a-f]{40}$"
            }
          }
        }
      }
    }
  }
}

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 →