Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 01 / in toto complete ordered artifact rule queue evaluation

Replay in-toto material/product rules including creation, deletion, modification and cross-step digest matches.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-01/in-toto-complete-ordered-artifact-rule-queue-evaluation

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": [
        "artifactRules"
      ],
      "properties": {
        "artifactRules": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "side",
                "materials",
                "products",
                "links",
                "rules"
              ],
              "properties": {
                "side": {
                  "enum": [
                    "materials",
                    "products"
                  ]
                },
                "materials": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "name",
                      "digest"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "maxLength": 120
                      },
                      "digest": {
                        "type": "string",
                        "maxLength": 140
                      }
                    }
                  },
                  "minItems": 0,
                  "maxItems": 64
                },
                "products": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "name",
                      "digest"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "maxLength": 120
                      },
                      "digest": {
                        "type": "string",
                        "maxLength": 140
                      }
                    }
                  },
                  "minItems": 0,
                  "maxItems": 64
                },
                "links": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "step",
                      "materials",
                      "products"
                    ],
                    "properties": {
                      "step": {
                        "type": "string",
                        "maxLength": 64
                      },
                      "materials": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "name",
                            "digest"
                          ],
                          "properties": {
                            "name": {
                              "type": "string",
                              "maxLength": 120
                            },
                            "digest": {
                              "type": "string",
                              "maxLength": 140
                            }
                          }
                        },
                        "minItems": 0,
                        "maxItems": 64
                      },
                      "products": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "name",
                            "digest"
                          ],
                          "properties": {
                            "name": {
                              "type": "string",
                              "maxLength": 120
                            },
                            "digest": {
                              "type": "string",
                              "maxLength": 140
                            }
                          }
                        },
                        "minItems": 0,
                        "maxItems": 64
                      }
                    }
                  },
                  "minItems": 0,
                  "maxItems": 16
                },
                "rules": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "op",
                      "pattern",
                      "step",
                      "source_prefix",
                      "destination_prefix",
                      "destination_side"
                    ],
                    "properties": {
                      "op": {
                        "enum": [
                          "ALLOW",
                          "DISALLOW",
                          "REQUIRE",
                          "CREATE",
                          "DELETE",
                          "MODIFY",
                          "MATCH"
                        ]
                      },
                      "pattern": {
                        "type": "string",
                        "maxLength": 80
                      },
                      "step": {
                        "type": "string",
                        "maxLength": 64
                      },
                      "source_prefix": {
                        "type": "string",
                        "maxLength": 80
                      },
                      "destination_prefix": {
                        "type": "string",
                        "maxLength": 80
                      },
                      "destination_side": {
                        "enum": [
                          "materials",
                          "products"
                        ]
                      }
                    }
                  },
                  "minItems": 0,
                  "maxItems": 64
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "errors",
                    "pass",
                    "trace",
                    "unconsumed"
                  ],
                  "properties": {
                    "errors": {
                      "type": "array",
                      "maxItems": 4096,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "artifact",
                          "reason",
                          "rule"
                        ],
                        "properties": {
                          "artifact": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "reason": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "rule": {
                            "type": "integer"
                          }
                        }
                      }
                    },
                    "pass": {
                      "type": "boolean"
                    },
                    "trace": {
                      "type": "array",
                      "maxItems": 4096,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "consumed",
                          "rule"
                        ],
                        "properties": {
                          "consumed": {
                            "type": "array",
                            "maxItems": 4096,
                            "items": {
                              "type": "string",
                              "maxLength": 20000
                            }
                          },
                          "rule": {
                            "type": "integer"
                          }
                        }
                      }
                    },
                    "unconsumed": {
                      "type": "array",
                      "maxItems": 4096,
                      "items": {
                        "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 →