Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 01 / spdx snippet inclusive byte range line and digest binding

Bind an SPDX snippet byte range to exact supplied bytes, line coordinates and a SHA256 digest.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-01/spdx-snippet-inclusive-byte-range-line-and-digest-binding

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": [
        "snippetCoordinates"
      ],
      "properties": {
        "snippetCoordinates": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "content_base64",
                "start",
                "end"
              ],
              "properties": {
                "content_base64": {
                  "type": "string",
                  "maxLength": 16000
                },
                "start": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 16000
                },
                "end": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 16000
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "byte_length",
                    "end_line",
                    "snippet_base64",
                    "snippet_sha256",
                    "start_line"
                  ],
                  "properties": {
                    "byte_length": {
                      "type": "integer"
                    },
                    "end_line": {
                      "type": "integer"
                    },
                    "snippet_base64": {
                      "type": "string",
                      "maxLength": 20000
                    },
                    "snippet_sha256": {
                      "type": "string",
                      "maxLength": 20000
                    },
                    "start_line": {
                      "type": "integer"
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}

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 →