{
  "schema_version": "2.1",
  "document_type": "anonymized_giveaway_draw_audit",
  "draw_id": "FLG-2026-09-03-130521Z",
  "legacy_work_draw_id": "FL-GW-20260824-0830-1925243-C65FCFA19A",
  "organizer": "Florganics",
  "campaign_period": {
    "start": "2026-08-24T00:00:00+02:00",
    "end": "2026-08-30T23:59:59+02:00",
    "timezone": "Europe/Berlin"
  },
  "draw_timestamp_utc": "2026-09-03T13:05:21Z",
  "draw_timestamp_local": "2026-09-03T15:05:21+02:00",
  "data_basis": {
    "source_file_name": "orders_export_1.csv",
    "source_file_sha256": "22592b2ae50ac189ad3a6124d4461c21992da15672e48986b97b042fb7e22a97",
    "participant_file_name": "Giveaway_Teilnehmer_2026-08-24_bis_2026-08-30_anonymisiert.csv",
    "participant_file_sha256": "c65fcfa19afaca2b2d8429cc0e21dee0f9346c486b9c39b07b4d5ed49199e939",
    "participant_commitment_timestamp_utc": "2026-09-03T12:59:52.774238Z",
    "ordering": "ascending by earliest qualifying order timestamp, then normalized email"
  },
  "rules": {
    "identity": "normalisierte E-Mail-Adresse",
    "spend_basis": "Shopify-Gesamtbetrag inkl. Versand und Umsatzsteuer abzüglich Erstattungen",
    "ticket_rule": "1 Los je vollem Euro nach Zusammenführung aller gültigen Bestellungen einer Person",
    "eligibility": "bezahlt, nicht storniert, positiver tatsächlich gezahlter Betrag"
  },
  "counts": {
    "orders_total": 32,
    "orders_paid": 30,
    "orders_excluded": 3,
    "participants_eligible": 29,
    "tickets_total": 3374,
    "qualifying_spend_eur": "3388.02"
  },
  "random_source": {
    "service": "NIST Randomness Beacon 2.0",
    "retrieval_endpoint": "https://beacon.nist.gov/beacon/2.0/pulse/last",
    "permanent_uri": "https://beacon.nist.gov/beacon/2.0/chain/2/pulse/1925243",
    "chain_index": 2,
    "pulse_index": 1925243,
    "timestamp_utc": "2026-09-03T12:47:00.000Z",
    "period_ms": 60000,
    "certificate_id": "528943a555f5f8ca54423be6dfb95925a35c7b552046420e7d7cd072058a14d6536ad3a8e9754b6582f164a90b0cd86a65d659f5426a2659a947595d1c816c8c",
    "status_code": 0,
    "output_value_hex": "D46A6B75969C1F851101DD8AAEEAC30F8C701F0D6E2912F1E504F30D2D1B8A08396E1C4A1B5336C11F3FDE820FA45D5DB3CCC1A202F634844B79D9DDD2309048",
    "signature_value_hex": "B1FC48EFAE26589CB4D41A1ABCF0730DA8C918DD514623001B2F715D335B467A12C4495E152A214BD1DCCD0286C025EACA626D21CBE2C4A107CDB3BAD16A099B35D40C51D6CB672A3EDDD5A4806037343311E27AD32E7703D86A5A4BFAA66E97F6A2E03ACD3DE1A52784521C5C5A4A3D1D82C05E6A29EBC6FE027DC662DE84CBEE32E63DCEEC0427CB4D094C10B43908324FF76A8E2A7A63E77FBECDEAAA9AB77D143B7D5A223E46438245E6F71BF6638D8785E2DCEA3324AFF9CEBC5550A8DC9F7E3EA4FC46EDA27B87412C106E3DE930FAA771B6873DEFA88F45AFD0B1D8A8F0CF816A05DAD81044A2A73A20588885509412D9AE7C68E66C275F9023218E54259821F0D608BA6485ABE37DACE67CB252224166BE4BB42F3B622948C0B767E009ED2720A819377A924D983EF1049864EFB555C806614117FC9614FFD0DEA23A44CCBD045CF2A342893AF66150C644580B7E1280F8974030F265C359BDE95F84D4E9507DFBEAE504F7B361B8571CE984426E93790DD218DB46A3542C14D034058331D28932582702408E43FDE1E3ED1C5547DB5A4979F682E85591EAB3DC8DDF11D3D9BA369551515599DC1D7F4B29810E77DFFA292A4A96AF5A8710E114FFF9AEAEBEBB20493419B391DBA8A048978C4E60154B80DA47307B4092D03E0D936CF0923340FEBF3945E1FF9C2CCEAF789E046C70AA7592AD56372C67F387E2F7FA"
  },
  "draw_algorithm": {
    "name": "Integer modulo mapping",
    "formula": "winning_ticket = (int(output_value_hex, 16) mod tickets_total) + 1",
    "tickets_total": 3374,
    "zero_based_remainder": 636,
    "winning_ticket": 637,
    "note": "For 512-bit beacon output and 3,374 tickets, modulo bias is negligible (below 3e-151)."
  },
  "winner": {
    "participant_id": "P002",
    "winning_ticket": 637,
    "ticket_start": 70,
    "ticket_end": 758,
    "tickets": 689
  },
  "certificate": {
    "file_name": "Auslosungszertifikat_Kunden_Giveaway_2026-08-24_bis_2026-08-30_NEU.pdf",
    "draw_id_displayed": "FLG-2026-09-03-130521Z"
  },
  "privacy": "Contains no name, email address, telephone number, postal address, or Shopify order identifier.",
  "certificate_scope": "Technical draw record; not a notarial or independent third-party certification. The legacy_work_draw_id records the original internal Work identifier for audit continuity."
}
