index.md

HTML wrapper for HTML-only fetchers; content is shown verbatim.

Raw file

Links (extracted)

Clickable list for reviewers; avoids copy/paste line-wrap issues.
# if.api demo — ROR resolver (receipt-backed)

**Audience:** external reviewers + operators  
**Reality gate:** demo of a transformation contract, not a deployed ROR integration.

---

## Links (HTML-first)

if.trace receipt:
https://infrafabric.io/static/trace/BZlX4T3mBcoc-Sgubo74Mw

Pack (HTML view):
https://infrafabric.io/static/pack/BZlX4T3mBcoc-Sgubo74Mw

Pack (raw Markdown):
https://infrafabric.io/static/pack/BZlX4T3mBcoc-Sgubo74Mw.md

Source bundle (tgz):
https://infrafabric.io/static/source/387b48cebbc1451712de1abc8fd07e3079328a46d361b1f51e52a971efd57eb8.tgz

---

## What this proves (black/white)

This demo proves:
- a known ROR request can be transformed deterministically into a normalized resolution envelope
- the output is bound to if.trace receipts (hash checks; signatures only where present and verifiable)

This demo does not prove:
- live ROR lookups, org verification, or registry policies
- any shipped if.bus runtime or message broker

---

## Demo artifacts

Source bundle sha256 (tgz):

    387b48cebbc1451712de1abc8fd07e3079328a46d361b1f51e52a971efd57eb8

Input JSON sha256:

    d81dea636482fc72f91c4385eca7c6d4ccbc82228e1b2c755910726a132937f7

Normalized output JSON sha256:

    339b43be56342ef8cbbc727d445cb300e7c484a7dd477bbf1afab2e6a00f3df5

---

## How to reproduce (no internal access)

```bash
curl -fsSL -o if-api-ror-resolver-demo-source.tgz "https://infrafabric.io/static/source/387b48cebbc1451712de1abc8fd07e3079328a46d361b1f51e52a971efd57eb8.tgz"
sha256sum if-api-ror-resolver-demo-source.tgz

tar -xzf if-api-ror-resolver-demo-source.tgz
python3 resolve_ror_demo.py ror_input.json > resolved_event.json
sha256sum resolved_event.json
```

Expected `sha256sum` (source bundle):

    387b48cebbc1451712de1abc8fd07e3079328a46d361b1f51e52a971efd57eb8  if-api-ror-resolver-demo-source.tgz

Expected `sha256sum` (normalized output):

    339b43be56342ef8cbbc727d445cb300e7c484a7dd477bbf1afab2e6a00f3df5  resolved_event.json

---

## Output (normalized event envelope)

```json
{
  "event": "resolve",
  "input_sha256": "d81dea636482fc72f91c4385eca7c6d4ccbc82228e1b2c755910726a132937f7",
  "integration": "ror.resolver",
  "notes": {
    "integrity": "see if.trace receipt for output bytes",
    "live_lookup": false
  },
  "requested_at": "2026-01-07T00:00:00Z",
  "resolved_at": "2026-01-07T00:00:00Z",
  "results": [
    {
      "identifier": "https://ror.org/000000000",
      "metadata": {
        "country_code": "FR",
        "display_name": "Synthetic Research Consortium",
        "homepage": "https://example.com/synthetic-consortium",
        "type": "Education",
        "verified": false
      },
      "resolution_method": "synthetic-map",
      "scheme": "ror",
      "status": "resolved",
      "target_url": "https://ror.org/000000000"
    },
    {
      "identifier": "https://ror.org/000000001",
      "metadata": {
        "country_code": "US",
        "display_name": "Synthetic Governance Lab",
        "homepage": "https://example.com/synthetic-governance",
        "type": "Nonprofit",
        "verified": false
      },
      "resolution_method": "synthetic-map",
      "scheme": "ror",
      "status": "resolved",
      "target_url": "https://ror.org/000000001"
    }
  ],
  "schema_version": "demo.v1"
}
```