{"uid":"cap_aa68cUZUf9_hRtF-m4wer","slug":"opentype-colrv1-paint-dag-materializer-verifier-6573a10d","name":"OpenType COLRv1 Paint DAG Materializer & Verifier","description":"Materialize complete COLRv1 color-glyph paint DAGs with palette, transform, clip, layer/composite order and exact variation facts; not generic SVG filters or font outline decode.. Compare the complete typed result SHA256.","url":"https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-17-DOCS/opentype191-colrv1-paint-graph-palette-transform-clip-composition?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"artifact":{"type":"object","$defs":{"a":{"not":{"type":"string","pattern":"[\\r\\n  ]"},"type":"string","pattern":"^[A-Za-z][A-Za-z0-9_-]*$","maxLength":24,"minLength":1}},"required":["colrPaint"],"properties":{"colrPaint":{"type":"object","required":["data","claim"],"properties":{"data":{"type":"object","required":["paints","glyphs","root","palette","foreground"],"properties":{"root":{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/a"},"glyphs":{"type":"array","items":{"type":"object","required":["id","paint","clip"],"properties":{"id":{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/a"},"clip":{"type":["array","null"],"items":{"type":"number","maximum":1000000,"minimum":-1000000},"maxItems":4,"minItems":4},"paint":{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/a"}},"additionalProperties":false},"maxItems":16,"minItems":1},"paints":{"type":"array","items":{"type":"object","required":["id","format","children","glyph","palette","alpha","params","stops","extend","mode"],"properties":{"id":{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/a"},"mode":{"type":"integer","maximum":27,"minimum":0},"alpha":{"type":"number","maximum":2,"minimum":0},"glyph":{"anyOf":[{"type":"null"},{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/a"}]},"stops":{"type":"array","items":{"type":"object","required":["offset","palette","alpha"],"properties":{"alpha":{"type":"number","maximum":2,"minimum":0},"offset":{"type":"number","maximum":16,"minimum":-16},"palette":{"type":"integer","maximum":65535,"minimum":0}},"additionalProperties":false},"maxItems":16},"extend":{"enum":["pad","repeat","reflect"]},"format":{"type":"integer","maximum":32,"minimum":1},"params":{"type":"array","items":{"type":"number","maximum":1000000,"minimum":-1000000},"maxItems":8},"palette":{"type":"integer","maximum":65535,"minimum":0},"children":{"type":"array","items":{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/a"},"maxItems":16}},"additionalProperties":false},"maxItems":64,"minItems":1},"palette":{"type":"array","items":{"type":"array","items":{"type":"integer","maximum":255,"minimum":0},"maxItems":4,"minItems":4},"maxItems":32},"foreground":{"type":"array","items":{"type":"integer","maximum":255,"minimum":0},"maxItems":4,"minItems":4}},"additionalProperties":false},"claim":{"type":["string","null"],"pattern":"^[0-9a-f]{64}$","maxLength":64,"minLength":64}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_klTLmqnCoEbCUde_liCHw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Materializes and verifies complete COLRv1 color-glyph paint directed acyclic graphs including palette, transforms, clip regions, layer/composite order, and variation facts, then compares a SHA256 hash of the typed result.","exampleAgentPrompt":"I have a COLRv1 color font paint graph with palette indices, clip rectangles, gradient stops, and composite modes — can you materialize the full paint DAG and verify its SHA256 hash against my claim?","exampleUseCases":[{"title":"Color font paint graph audit","prompt":"I built a COLRv1 color glyph with 3 glyphs, 8 paint nodes using formats 1 through 10, palette index 0, gradient stops at offsets 0 and 1, composite mode 3, and a clip rect of [0,0,1000,1000] — please materialize the full paint DAG and tell me if its SHA256 matches my expected hash."},{"title":"Variable color font variation check","prompt":"My OpenType COLRv1 variable color font has paint nodes with variation params and I need to verify that the complete paint DAG with transforms, palette mappings, and layer order is correct — can you reconstruct it and compare the SHA256 of the result to my claimed hash?"},{"title":"Font rendering pipeline validation","prompt":"I'm building a font renderer and need to confirm that the COLRv1 paint tree for a glyph — including clip regions, gradient extends set to 'reflect', alpha values, and composite order — is correctly materialized; please verify the full graph and check the SHA256 digest."}],"resultDescription":"A fully materialized COLRv1 paint DAG with all palette mappings, transform data, clip regions, layer/composite ordering, and variation facts, plus a SHA256 hash of the typed result compared against the submitted claim — returning pass/fail on the hash comparison along with the computed digest.","failureModes":["Invalid paint format integer outside range 1-32 returns validation error","Composite mode value outside 0-27 is rejected","Glyph array exceeding 16 items or gradient stops exceeding 16 items are rejected","Malformed paint ID not matching the identifier pattern causes schema rejection","SHA256 claim mismatch returns a failed verification with the actual computed hash","Missing required fields (paints, glyphs, root, palette, foreground) result in 400 error","Circular paint DAG references may cause processing failure","Alpha values outside 0-2 range are rejected"],"whenToPreferThis":"Use this endpoint when you need authoritative, deterministic verification of a COLRv1 color-glyph paint directed acyclic graph — including exact palette, transform, clip, layer/composite order, and variation facts — and want to confirm a SHA256 hash of the result. Prefer this over generic SVG filter tools or font outline decoders; it is specifically scoped to the OpenType COLRv1 paint graph model, not rasterization or glyph outline decoding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:40:04.922Z","isFirstParty":false,"canonicalSlug":"opentype-colrv1-paint-dag-materializer-verifier-6573a10d"}