Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 01 / spdx external document scoped relationship target resolution

Resolve SPDX relationship endpoints through document-local aliases and checksum-bound external inventories.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-01/spdx-external-document-scoped-relationship-target-resolution

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": [
        "externalSpdxRefs"
      ],
      "properties": {
        "externalSpdxRefs": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "root_namespace",
                "documents"
              ],
              "properties": {
                "root_namespace": {
                  "type": "string",
                  "maxLength": 64
                },
                "documents": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "namespace",
                      "sha1",
                      "ids",
                      "external_refs",
                      "relationships"
                    ],
                    "properties": {
                      "namespace": {
                        "type": "string",
                        "maxLength": 64
                      },
                      "sha1": {
                        "type": "string",
                        "pattern": "^[0-9a-f]{40}$"
                      },
                      "ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 64
                        },
                        "minItems": 0,
                        "maxItems": 32
                      },
                      "external_refs": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "namespace",
                            "sha1"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "maxLength": 64
                            },
                            "namespace": {
                              "type": "string",
                              "maxLength": 64
                            },
                            "sha1": {
                              "type": "string",
                              "pattern": "^[0-9a-f]{40}$"
                            }
                          }
                        },
                        "minItems": 0,
                        "maxItems": 32
                      },
                      "relationships": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "from",
                            "to"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "maxLength": 64
                            },
                            "from": {
                              "type": "string",
                              "maxLength": 140
                            },
                            "to": {
                              "type": "string",
                              "maxLength": 140
                            }
                          }
                        },
                        "minItems": 0,
                        "maxItems": 64
                      }
                    }
                  },
                  "minItems": 1,
                  "maxItems": 16
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "resolutions"
                  ],
                  "properties": {
                    "resolutions": {
                      "type": "array",
                      "maxItems": 4096,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "element",
                          "namespace",
                          "reference",
                          "relationship",
                          "side",
                          "status"
                        ],
                        "properties": {
                          "element": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "namespace": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "reference": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "relationship": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "side": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "status": {
                            "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 →