{"uid":"cap_ZW5octBA94GeIMFamcd53","slug":"mining-payout-imports-header-contract-check-09354cd5","name":"Mining Payout Imports — Header Contract Check","description":"Mining payout imports — Header contract check: Header contract check for Mining payout imports. Validate a declared CSV table contract, up to 1000 rows. Quoted cells supported; no external enrichment. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one CSV header contract check report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-mining-payouts-schema?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"payout_id,paid_on,pool_id,gross_btc,fee_btc\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-b,20,3","maxLength":100000,"minLength":1},"maximum":{"type":"number","default":1000000000000,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":-1000000000000,"maximum":1000000000000,"minimum":-1000000000000},"delimiter":{"enum":[",",";","\t"],"type":"string","default":","},"max_cell_length":{"type":"integer","default":1000,"maximum":5000,"minimum":1},"allowed_categories":{"type":"array","items":{"type":"string","default":"","maxLength":100,"minLength":1},"default":["group-a","group-b"],"maxItems":100,"minItems":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dkvri39NRpXnpVRZkavZw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates the header/schema contract of a mining payout CSV file (up to 1000 rows), checking column names, data types, value ranges, and category membership.","exampleAgentPrompt":"Can you check if my mining payout CSV has the right headers and column structure? It uses comma delimiters, values should be between 0 and 500000, and the pool IDs should only be from group-a or group-b — here's the data: payout_id,paid_on,pool_id,gross_btc,fee_btc\\nrecord-a,2026-01-01,group-a,10,2","exampleUseCases":[{"title":"Pre-import payout file validation","prompt":"Before I import this month's mining payout CSV into our accounting system, can you validate that the headers and column structure are correct? The file uses comma delimiters, gross BTC values should be between 0 and 1000000, and pool IDs should only be group-a, group-b, or group-c."},{"title":"Automated daily payout export check","prompt":"Every time our pool exports a payout CSV, I need to make sure the header contract is valid — columns like payout_id, paid_on, pool_id, gross_btc, and fee_btc must all be present, values between -1000000 and 1000000, and pool_id limited to pool-north or pool-south. Can you run this check on today's file?"},{"title":"Catching schema drift in payout pipelines","prompt":"Our mining software updated last week and I'm worried the payout CSV format changed. Can you check this new export against the expected header contract — comma-separated, max 1000 rows, gross_btc values between 0 and 50000, only recognized pool IDs like main-pool and backup-pool?"}],"resultDescription":"Returns a CSV header contract check report indicating whether the declared schema is valid, listing any column name mismatches, out-of-range numeric values, disallowed category entries, or cell length violations found in up to 1000 rows of the submitted CSV.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — validation may truncate or fail","Invalid delimiter specified (not comma, semicolon, or tab) — error response","Malformed CSV with unclosed quotes — parsing failure","Minimum value greater than maximum value — invalid range configuration","Empty CSV body — validation cannot proceed"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.01 USDC) schema/header contract check specifically tailored for mining payout CSV files with fields like payout_id, paid_on, pool_id, gross_btc, and fee_btc. It is ideal for pre-import pipeline validation, catching column drift, and enforcing allowed pool category lists without any external data enrichment. Prefer it over generic CSV validators when the mining payout domain schema and numeric range enforcement are the primary concern.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:47:30.910Z","isFirstParty":false,"canonicalSlug":"mining-payout-imports-header-contract-check-09354cd5"}