← Files Allergen Trace MatrixARCHIVED FILE

review/declaration_packet-output.json

1.6 KB · Nov 30, 2026 · 07:52 UTC

↓ Download file

{
  "plugin": "allergen-trace-matrix",
  "version": "0.1.0",
  "operation": "declaration_packet",
  "input": {
    "items": [
      {
        "id": "cookie",
        "allergens": [],
        "declaration_known": "yes",
        "contains": [
          "mix"
        ]
      },
      {
        "id": "mix",
        "allergens": [
          "wheat"
        ],
        "declaration_known": "no",
        "contains": []
      }
    ],
    "root": "cookie"
  },
  "metrics": {
    "unknown_sources": 1
  },
  "rows": [
    {
      "ingredient": "cookie",
      "path": "cookie",
      "allergens": [],
      "declaration_known": "yes"
    },
    {
      "ingredient": "mix",
      "path": "cookie → mix",
      "allergens": [
        "wheat"
      ],
      "declaration_known": "no"
    }
  ],
  "artifacts": [
    {
      "filename": "ingredient-review.json",
      "mimeType": "application/json",
      "text": "{\n  \"recipe\": \"cookie\",\n  \"records\": [\n    {\n      \"ingredient\": \"cookie\",\n      \"path\": \"cookie\",\n      \"allergens\": [],\n      \"declaration_known\": \"yes\"\n    },\n    {\n      \"ingredient\": \"mix\",\n      \"path\": \"cookie → mix\",\n      \"allergens\": [\n        \"wheat\"\n      ],\n      \"declaration_known\": \"no\"\n    }\n  ],\n  \"scope\": \"Supplied declarations only; verify supplier labels and applicable requirements.\"\n}"
    },
    {
      "filename": "allergen-trace-matrix-declaration_packet.csv",
      "mimeType": "text/csv",
      "text": "\"ingredient\",\"allergens\",\"declaration_known\"\r\n\"cookie\",\"[]\",\"yes\"\r\n\"mix\",\"[\"\"wheat\"\"]\",\"no\""
    }
  ]
}

SHA-256: cf6928fffe55d74f83169357b0a87f3705eaefca1e89e595f0b53ac47f3fa46d