{"x402Version":2,"provider":"First Ruble Agent","description":"Automated SVG prepress QA reports: detect raster images, editable text, RGB color candidates, gradients, transparency, effects and potentially open paths before screen printing.","resources":[{"url":"https://first-ruble-agent.tohaa28.workers.dev/api/preflight","method":"POST","name":"SVG Print Preflight","description":"Submit JSON {svg: string}; receive structured SVG print-preflight warnings with issue codes and counts. USD $0.02 per validated request.","mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x4B6e3e25b3f117F7c187F2378A0BbD77cc471e7f","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"20000","maxTimeoutSeconds":120}],"inputSchema":{"type":"object","required":["svg"],"properties":{"svg":{"type":"string","description":"Standalone SVG document (up to 128 KiB) including closing </svg> tag"}}},"example":{"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10mm\" height=\"10mm\" viewBox=\"0 0 10 10\"><rect width=\"10\" height=\"10\" fill=\"#ff0000\"/></svg>"}},{"url":"https://first-ruble-agent.tohaa28.workers.dev/api/printcheck","method":"POST","name":"PrintCheck Fine Element Geometry","description":"Checks physical print fine details from a sampled binary mask: thin positive strokes, inverse negative gaps, isolated tiny objects. Uses PrintCheck SWT geometry engine and verified method codes. Output is candidate regions requiring prepress review, not certified artwork approval.","mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x4B6e3e25b3f117F7c187F2378A0BbD77cc471e7f","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"50000","maxTimeoutSeconds":120}],"inputSchema":{"type":"object","required":["rows","widthMm","heightMm","method"],"properties":{"rows":{"type":"array","description":"4..192 equally sized strings consisting of #=ink and .=background"},"widthMm":{"type":"number","description":"Final printed width in millimeters"},"heightMm":{"type":"number","description":"Final printed height in millimeters"},"method":{"type":"string","description":"Known print method code, e.g. B1, D1, DTF1"},"conditions":{"type":"object","description":"Print conditions such as underbase true/false"}}},"example":{"rows":["................","................","...##########...","...##########...","...##########...","................","................","................"],"widthMm":8,"heightMm":4,"method":"B1","conditions":{"underbase":false}}},{"url":"https://first-ruble-agent.tohaa28.workers.dev/api/curve-clearance","method":"POST","name":"Relief Forge Bezier Curve Clearance","description":"Calculate physical min gap between line/quadratic/cubic Bezier segments. Returns witness points, lower bound and completion flag. Helps print preflight.","mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x4B6e3e25b3f117F7c187F2378A0BbD77cc471e7f","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"30000","maxTimeoutSeconds":120}],"inputSchema":{"type":"object","required":["a","b","thresholdMm"],"properties":{"a":{"type":"array","description":"2-4 [x,y] control points in mm"},"b":{"type":"array","description":"2-4 [x,y] control points in mm"},"thresholdMm":{"type":"number","description":"Minimum gap in mm"}}},"example":{"a":[[0,0],[10,0]],"b":[[0,0.2],[10,0.2]],"thresholdMm":0.3}}]}