{
  "Case": {
    "CaseName": "delfour",
    "RequestPurpose": "shopping_assist",
    "RequestAction": "odrl:use",
    "ScannerAuthAt": "2025-10-05T20:35:48.907163+00:00",
    "ScannerDutyAt": "2025-10-05T20:37:48.907163+00:00",
    "FilesWritten": 6,
    "AuditEntries": 1
  },
  "Products": [
    {
      "ID": "prod:BIS_001",
      "Name": "Classic Tea Biscuits",
      "SugarTenths": 120,
      "SugarPerServing": 12
    },
    {
      "ID": "prod:BIS_101",
      "Name": "Low-Sugar Tea Biscuits",
      "SugarTenths": 30,
      "SugarPerServing": 3
    },
    {
      "ID": "prod:CHOC_050",
      "Name": "Milk Chocolate Bar",
      "SugarTenths": 150,
      "SugarPerServing": 15
    },
    {
      "ID": "prod:CHOC_150",
      "Name": "85% Dark Chocolate",
      "SugarTenths": 60,
      "SugarPerServing": 6
    }
  ],
  "Household": {
    "Condition": "Diabetes"
  },
  "Scan": {
    "ScannedProductID": "prod:BIS_001"
  },
  "Insight": {
    "ID": "https://example.org/insight/delfour",
    "Metric": "sugar_g_per_serving",
    "ThresholdTenths": 100,
    "ThresholdDisplay": "10.0",
    "ThresholdG": 10,
    "SuggestionPolicy": "lower_metric_first_higher_price_ok",
    "ScopeDevice": "self-scanner",
    "ScopeEvent": "pick_up_scanner",
    "Retailer": "Delfour",
    "CreatedAt": "2025-10-05T20:33:48.907163+00:00",
    "ExpiresAt": "2025-10-05T22:33:48.907185+00:00",
    "SerializedLowercase": "{\"createdat\":\"2025-10-05t20:33:48.907163+00:00\",\"expiresat\":\"2025-10-05t22:33:48.907185+00:00\",\"id\":\"https://example.org/insight/delfour\",\"metric\":\"sugar_g_per_serving\",\"retailer\":\"delfour\",\"scopedevice\":\"self-scanner\",\"scopeevent\":\"pick_up_scanner\",\"suggestionpolicy\":\"lower_metric_first_higher_price_ok\",\"threshold\":10.0,\"type\":\"ins:insight\"}",
    "DerivedFromNeed": ""
  },
  "Policy": {
    "Profile": "Delfour-Insight-Policy",
    "Permission": {
      "Action": "odrl:use",
      "Target": "https://example.org/insight/delfour",
      "Constraint": {
        "LeftOperand": "odrl:purpose",
        "Operator": "odrl:eq",
        "RightOperand": "shopping_assist"
      }
    },
    "Prohibition": {
      "Action": "odrl:distribute",
      "Target": "https://example.org/insight/delfour",
      "Constraint": {
        "LeftOperand": "odrl:purpose",
        "Operator": "odrl:eq",
        "RightOperand": "marketing"
      }
    },
    "Duty": {
      "Action": "odrl:delete",
      "Constraint": {
        "LeftOperand": "odrl:dateTime",
        "Operator": "odrl:eq",
        "RightOperand": "2025-10-05T22:33:48.907185+00:00"
      }
    }
  },
  "Signature": {
    "Alg": "HMAC-SHA256",
    "KeyID": "demo-shared-secret",
    "Created": "2025-10-05T20:33:48.907163+00:00",
    "PayloadHashSHA256": "e1ad69852c98ca7697a164dbc6f0ca28f873508a6676865dba37b81faa66ebcb",
    "SignatureHMAC": "cf21e7e820feca6c09cd182c505bd0a18e433d023beda303268be2dbe1917029",
    "HMACVerificationMode": "verified-with-demo-secret",
    "Secret": "demo-shared-secret"
  },
  "ReasonText": "Household requires low-sugar guidance (diabetes in POD). A neutral Insight is scoped to device 'self-scanner', event 'pick_up_scanner', retailer 'Delfour', and expires soon; the policy confines use to shopping assistance.\n"
}
