Check PowerPoint bytes for structural defects without modifying them.
Use describe("pptx.validate") when your code needs the complete live JSON Schemas.
At a glance
| Property | Value |
|---|---|
| Package | @runstamp/pptx |
| Domain / verb | pptx / validate |
| Customer jobs | validate |
| Deterministic | Yes |
| Side effects | none |
Availability
| Local | SDK | CLI | MCP | Managed API |
|---|---|---|---|---|
| public ga | public ga | public ga | public ga | public ga |
Managed API route: POST /api/v2/operations/pptx/validate. Managed execution requires a free-trial workspace or an active Platform or Enterprise workspace, and an environment-bound API key.
Input and result
| Schema | Required fields | Optional fields |
|---|---|---|
| Input | none | none |
| Options | none | deterministic, deterministicSeed, timeoutMs, locale, lossPolicy, limits |
| Result value | valid, summary | none |
Every success also carries losses, diagnostics, and a hash-bound receipt.
Defaults, limits, and format constraints
Defaults
| Path | Default |
|---|---|
$.deterministic | default=true |
$.lossPolicy | default="collect" |
Formats and profiles
No separate format selector is declared. Accepted artifacts are bounded by the exact input schema.
Other limits
| Path | Constraint |
|---|---|
$.timeoutMs | minimum=1 |
$.limits.maxInputBytes | minimum=1maximum=9007199254740991 |
$.limits.maxOutputBytes | minimum=1maximum=9007199254740991 |
$.limits.maxPages | minimum=1maximum=9007199254740991 |
$.limits.maxElements | minimum=1maximum=9007199254740991 |
$.limits.maxArchiveEntries | minimum=1maximum=9007199254740991 |
$.limits.maxExpansionRatio | minimum=1 |
$.limits.maxDurationMs | exclusiveMinimum=0maximum=2147483647 |
Invoke
const input = await fetch("https://runstamp.com/demo-evidence/operation-evidence/pptx/pptx.validate/input.json").then((response) => response.json());
const result = await runstamp.run("pptx.validate", input);
if (!result.ok) throw new Error(`${result.error.code}: ${result.error.remediation}`);
console.log(result.value, result.losses, result.diagnostics, result.receipt);curl -fsS https://runstamp.com/demo-evidence/operation-evidence/pptx/pptx.validate/input.json -o input.json
npx -p @runstamp/sdk runstamp ops invoke pptx.validate --input input.json{
"tool": "runstamp_invoke_operation",
"arguments": {
"operation": "pptx.validate",
"input": "<JSON from https://runstamp.com/demo-evidence/operation-evidence/pptx/pptx.validate/input.json>",
"execution_mode": "local"
}
}Errors and losses
Declared errors (7)
common/SCHEMA_REJECTEDcommon/CONTRACT_VIOLATIONcommon/OPERATION_CANCELLEDcommon/OPERATION_TIMEOUTcommon/RESOURCE_LIMIT_EXCEEDEDcommon/INPUT_CORRUPTpptx/LOSS_POLICY_VIOLATED
Declared losses (0)
- None.
SDK AbortSignal, CLI exit 130, and MCP cancellation return the typed common/OPERATION_CANCELLED failure envelope.
Verified example and exact contract
- Fixture:
icp-workflow(PPTX rendered from the board strategy source). - Example input — SHA-256
e380c170777b63bbf58086f530970a611d19831f6bd2e665d35540f1298c7373. - Example result — SHA-256
057b399724fca18a1cedcea8d9d477c4470c1dd163a3dcfde940f4e407d11231. - Verified result SHA-256:
3c4315175c39293afecfd04bd28f3c67ea71945e6d15783cf025718bc2ba0305. - Qualification lane:
10-pptx-docx.
Contract fingerprints
- Descriptor:
d34507d040ef47675f96fdf390e4d84e93f3c5aa621b2c7369fb838647fa45ac. - Input schema:
be5aae615354773b0213ceb142a132705f5f8b3c7172c6e440c1addcb489901f. - Options schema:
d7d9fd7e334e31e4f886caf027a388e38de73b52b6028150896e2a03d28e2122. - Result value schema:
ca67e683571de242946f3a3158f377feb56a0b86fdea4ece6b6a8598c5c5af7f.
The machine-readable operation reference publishes the complete schemas, qualification results, and evidence bindings for every operation.