Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 01 / spdx package file sha1 verification code reconstruction

Reconstruct an SPDX package verification code from its file SHA1 inventory and declared exclusions.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-01/spdx-package-file-sha1-verification-code-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": [
        "packageVerification"
      ],
      "properties": {
        "packageVerification": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "files",
                "excluded"
              ],
              "properties": {
                "files": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "name",
                      "sha1"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "maxLength": 64
                      },
                      "sha1": {
                        "type": "string",
                        "pattern": "^[0-9a-f]{40}$"
                      }
                    }
                  },
                  "minItems": 0,
                  "maxItems": 128
                },
                "excluded": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 64
                  },
                  "minItems": 0,
                  "maxItems": 128
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "excluded_files",
                    "included_files",
                    "verification_code"
                  ],
                  "properties": {
                    "excluded_files": {
                      "type": "array",
                      "maxItems": 4096,
                      "items": {
                        "type": "string",
                        "maxLength": 20000
                      }
                    },
                    "included_files": {
                      "type": "array",
                      "maxItems": 4096,
                      "items": {
                        "type": "string",
                        "maxLength": 20000
                      }
                    },
                    "verification_code": {
                      "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 →