{"id":"oci-layout-integrity-verify","version":"1.0.0","description":"Verify an in-memory OCI image layout, index, and reachable blob closure.","supported_operations":["verify an OCI image layout","audit in-memory OCI layout","check OCI layout blob closure","validate oci-layout and index json","find orphan OCI blobs","inspect OCI layout integrity"],"unsupported_operations":["filesystem, tar, or registry operations","signature or supply-chain policy verification"],"semantics":["Implements OCI Image Specification v1.1.1: Descriptor, Digests, Image Manifest, Image Index; OCI Image Layout Specification v1.1.1.","The layout marker must be 1.0.0 and index is canonical padded base64 UTF-8 JSON.","All supplied blob keys, reachable descriptors, closure, and orphan status are verified offline.","Security-sensitive verification: callers must supply trusted expected descriptors and apply their own authenticity and policy controls."],"limits":{"max_blobs":256,"max_content_bytes":1048576,"max_depth":32,"max_reachable_nodes":256},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["oci_layout","index","blobs"],"properties":{"oci_layout":{"type":"object","additionalProperties":false,"required":["image_layout_version"],"properties":{"image_layout_version":{"type":"string"}}},"index":{"type":"string","maxLength":1398104},"blobs":{"type":"array","maxItems":256,"items":{"type":"object","additionalProperties":false,"required":["digest","content"],"properties":{"digest":{"type":"string","pattern":"^(sha256:[0-9a-f]{64}|sha512:[0-9a-f]{128})$"},"content":{"type":"string","maxLength":1398104}}}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["valid","reasons","reachable","orphaned","standard","reference"],"properties":{"valid":{"type":"boolean"},"reasons":{"type":"array","items":{"type":"string"},"maxItems":1024},"reachable":{"type":"array","items":{"type":"string"},"maxItems":256},"orphaned":{"type":"array","items":{"type":"string"},"maxItems":256},"standard":{"type":"string","const":"OCI Image and Image Layout Specifications v1.1.1"},"reference":{"type":"string","const":"OCI Image Specification v1.1.1: Descriptor, Digests, Image Manifest, Image Index; OCI Image Layout Specification v1.1.1"}}},"examples":[{"input":{"oci_layout":{"image_layout_version":"1.0.0"},"index":"eyJzY2hlbWFWZXJzaW9uIjoyLCJtYW5pZmVzdHMiOltdfQ==","blobs":[]},"output":{"valid":true,"reasons":[],"reachable":[],"orphaned":[],"standard":"OCI Image and Image Layout Specifications v1.1.1","reference":"OCI Image Specification v1.1.1: Descriptor, Digests, Image Manifest, Image Index; OCI Image Layout Specification v1.1.1"}},{"input":{"oci_layout":{"image_layout_version":"2.0.0"},"index":"eyJzY2hlbWFWZXJzaW9uIjoyLCJtYW5pZmVzdHMiOltdfQ==","blobs":[]},"output":{"valid":false,"reasons":["unsupported_layout_version"],"reachable":[],"orphaned":[],"standard":"OCI Image and Image Layout Specifications v1.1.1","reference":"OCI Image Specification v1.1.1: Descriptor, Digests, Image Manifest, Image Index; OCI Image Layout Specification v1.1.1"}}],"execute_url":"/v1/tools/oci-layout-integrity-verify/versions/1.0.0/execute"}