[
  {
    "id": "evidence-hash",
    "layer": 3,
    "check": "repeat_sha256",
    "method": "POST",
    "path": "/api/v1/data/query",
    "body": {
      "indicator": "bbk_vpi_yoy_pct",
      "geo": "Deutschland",
      "from_year": 2024,
      "to_year": 2024
    },
    "expect": {
      "field": "evidence_hash",
      "algorithm": "SHA-256",
      "repeat": 2
    }
  },
  {
    "id": "spdx",
    "layer": 3,
    "check": "attribution",
    "method": "POST",
    "path": "/api/v1/data/query",
    "body": {
      "indicator": "bbk_vpi_yoy_pct",
      "geo": "Deutschland"
    },
    "expect": {
      "field": "provenance",
      "all_fields": [
        "license_spdx",
        "source_institution",
        "source_url",
        "license_url",
        "attribution_text",
        "dataset_id"
      ]
    }
  },
  {
    "id": "bis",
    "layer": 3,
    "check": "blocked",
    "method": "POST",
    "path": "/api/v1/data/query",
    "body": {
      "indicator": "bis_property",
      "geo": "Deutschland"
    },
    "expect": {
      "status": 403,
      "code": "LICENSE_FIREWALL_BLOCKED"
    }
  },
  {
    "id": "wido",
    "layer": 3,
    "check": "blocked",
    "method": "POST",
    "path": "/api/v1/data/query",
    "body": {
      "indicator": "aok_gesundheitsatlas_kreise",
      "geo": "Deutschland"
    },
    "expect": {
      "status": 403,
      "code": "LICENSE_FIREWALL_BLOCKED"
    }
  },
  {
    "id": "eu-zdr",
    "layer": 3,
    "check": "header",
    "method": "POST",
    "path": "/api/v1/data/query",
    "body": {
      "indicator": "bbk_vpi_yoy_pct",
      "geo": "Deutschland"
    },
    "expect": {
      "header": "x-fakten-execution-mode",
      "value": "deterministic-de"
    }
  },
  {
    "id": "receipt",
    "layer": 3,
    "check": "verify_hmac",
    "method": "POST",
    "path": "/api/v1/verify/document",
    "body": {
      "text": "Die Inflationsrate in Deutschland betrug 2024 2,2 Prozent.",
      "mode": "strict_local",
      "async": false
    },
    "expect": {
      "field": "audit_receipt.signature",
      "algorithm": "HMAC-SHA256"
    }
  }
]
