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 — Adobe PDF Services (receipt-backed)
**Audience:** external reviewers + operators
**Reality gate:** demo of a transformation contract, not a deployed Adobe integration.
---
## Links (HTML-first)
if.trace receipt:
https://infrafabric.io/static/trace/90V64PCa93C_WmP3TdywOA
Pack (HTML view):
https://infrafabric.io/static/pack/90V64PCa93C_WmP3TdywOA
Pack (raw Markdown):
https://infrafabric.io/static/pack/90V64PCa93C_WmP3TdywOA.md
Source bundle (tgz):
https://infrafabric.io/static/source/8fcf29f9bdb8aac15437dc41d24419479593b964118ec4e315d5a811786ba836.tgz
---
## What this proves (black/white)
This demo proves:
- a known PDF transform request can be normalized deterministically into a results envelope
- the output is bound to if.trace receipts (hash checks; signatures only where present and verifiable)
This demo does not prove:
- live Adobe API calls, credentials, or rate limits
- any shipped if.bus runtime or message broker
---
## Demo artifacts
Source bundle sha256 (tgz):
8fcf29f9bdb8aac15437dc41d24419479593b964118ec4e315d5a811786ba836
Input JSON sha256:
b88dde94c19f40c2e6b40075d7835b45754fcce523a06812208fe0908ab90444
Normalized output JSON sha256:
878de9dc5b51a3cd7b68d68d65d5334b9b46c30d54ccc1cf6909b0d41c2aacfa
---
## How to reproduce (no internal access)
```bash
curl -fsSL -o if-api-adobe-pdf-demo-source.tgz "https://infrafabric.io/static/source/8fcf29f9bdb8aac15437dc41d24419479593b964118ec4e315d5a811786ba836.tgz"
sha256sum if-api-adobe-pdf-demo-source.tgz
tar -xzf if-api-adobe-pdf-demo-source.tgz
python3 run_adobe_pdf_demo.py adobe_pdf_input.json > normalized_event.json
sha256sum normalized_event.json
```
Expected `sha256sum` (source bundle):
8fcf29f9bdb8aac15437dc41d24419479593b964118ec4e315d5a811786ba836 if-api-adobe-pdf-demo-source.tgz
Expected `sha256sum` (normalized output):
878de9dc5b51a3cd7b68d68d65d5334b9b46c30d54ccc1cf6909b0d41c2aacfa normalized_event.json
---
## Output (normalized event envelope)
```json
{
"event": "transform",
"input_sha256": "b88dde94c19f40c2e6b40075d7835b45754fcce523a06812208fe0908ab90444",
"integration": "adobe.pdf.services",
"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": [
{
"metadata": {
"language": "en",
"output_asset": "sample_ocr.pdf",
"pages": 3
},
"operation": "ocr",
"resolution_method": "synthetic-map",
"status": "simulated"
},
{
"metadata": {
"format": "docx",
"output_asset": "sample.docx"
},
"operation": "export",
"resolution_method": "synthetic-map",
"status": "simulated"
}
],
"schema_version": "demo.v1"
}
```