Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 01 / git sha1 tree binary entry order object id reconstruction

Reconstruct a Git SHA1 tree object ID from decoded entries, exact modes and child object IDs.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-01/git-sha1-tree-binary-entry-order-object-id-reconstruction

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": [
        "gitTree"
      ],
      "properties": {
        "gitTree": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "entries"
              ],
              "properties": {
                "entries": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "mode",
                      "name",
                      "oid"
                    ],
                    "properties": {
                      "mode": {
                        "enum": [
                          "100644",
                          "100755",
                          "120000",
                          "160000",
                          "40000"
                        ]
                      },
                      "name": {
                        "type": "string",
                        "maxLength": 128
                      },
                      "oid": {
                        "type": "string",
                        "pattern": "^[0-9a-f]{40}$"
                      }
                    }
                  },
                  "minItems": 0,
                  "maxItems": 64
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "byte_size",
                    "entry_order",
                    "tree_oid"
                  ],
                  "properties": {
                    "byte_size": {
                      "type": "integer"
                    },
                    "entry_order": {
                      "type": "array",
                      "maxItems": 4096,
                      "items": {
                        "type": "string",
                        "maxLength": 20000
                      }
                    },
                    "tree_oid": {
                      "type": "string",
                      "maxLength": 20000
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}

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 →