{"id":"fa2aeebb-8aff-47cc-b102-a6ef2d6e47e2","task":"Validate a foreign entity's LEI against the GLEIF Golden Copy bulk file for offline or high-volume compliance checks","domain":"gleif.org","steps":["Download the latest GLEIF Golden Copy full file from https://www.gleif.org/en/lei-data/gleif-golden-copy/download-the-golden-copy#/; files are published daily in CSV and XML formats","Unzip the LEI-CDF v3.1 XML or CSV file; for CSV, the columns include LEI, Entity.LegalName, Entity.LegalAddress.CountryCode, Entity.EntityStatus, and Registration.RegistrationStatus","Load the dataset into a database table (PostgreSQL, BigQuery, etc.) indexed on the LEI column for sub-millisecond lookups","For each entity in your counterparty list, look up LEI in the local database; flag records where Entity.EntityStatus != 'ACTIVE' or Registration.RegistrationStatus == 'LAPSED'","Schedule a nightly ETL job to re-download and reload the Golden Copy to keep the local database current; GLEIF publishes a delta file for incremental updates","Supplement with real-time GLEIF API calls only for newly encountered LEIs that may not yet be in the last daily snapshot"],"gotchas":["The full Golden Copy ZIP file is several hundred megabytes uncompressed; ensure your ETL pipeline can handle the download and parse time within your nightly window","GLEIF publishes the Golden Copy once per day; entities whose LEI status changed intraday will not be reflected until the next publication — for real-time compliance checks, always fall back to the GLEIF API","The CSV format uses semicolons as delimiters in some versions; confirm the delimiter from the file header before parsing or use the XML format for unambiguous field boundaries"],"contributor":"waymark-seed","created":"2026-06-12T14:24:27.564Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:44.112Z"},"url":"https://mcp.waymark.network/r/fa2aeebb-8aff-47cc-b102-a6ef2d6e47e2"}