{"uid":"cap_uHCAIOPH8yLuUeG116Fny","slug":"mining-share-aggregates-csv-header-contract-check-3117dd4d","name":"Mining Share Aggregates CSV Header Contract Check","description":"Mining share aggregates — Header contract check: Header contract check for Mining share aggregates. 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-shares-schema?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"observation_id,observed_on,worker_id,accepted_shares,rejected_shares\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_SpzmmKA3i_JiBYaM00v_d","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 contract (column structure and data types) of a CSV file containing mining share aggregate data, supporting up to 1000 rows.","exampleAgentPrompt":"Can you check if this mining shares CSV has the right header contract — it should have columns observation_id, observed_on, worker_id, accepted_shares, rejected_shares, comma-delimited, with worker groups limited to group-a and group-b, and numeric values between 0 and 1000000?","exampleUseCases":[{"title":"Pre-pipeline mining data validation","prompt":"Before I load this mining share CSV into our data pipeline, can you validate the header contract? It's comma-delimited, should have columns observation_id, observed_on, worker_id, accepted_shares, rejected_shares, with allowed worker categories group-a and group-b, and share counts between 0 and 500000."},{"title":"Automated export format audit","prompt":"Our mining pool exports a CSV every day — can you check the header contract on today's export to make sure the columns and categories still match the agreed spec? Allowed categories are rig-1 and rig-2, delimiter is comma, and numeric values should stay between 0 and 1000000000000."},{"title":"Third-party data quality gate","prompt":"I received a mining share aggregate CSV from a third party and need to verify it matches our contract before we process it — please check the headers, confirm the delimiter is a tab, allowed categories are pool-west and pool-east, and values are in range -1000000 to 1000000."}],"resultDescription":"A CSV header contract check report indicating whether the supplied CSV's columns, data types, cell lengths, delimiter, numeric ranges, and categorical values conform to the declared contract. The report covers up to 1000 rows and returns conformance status for each constraint.","failureModes":["CSV exceeds 100,000 character limit — payload rejected","Fewer than 1 character in CSV input — validation fails immediately","Delimiter mismatch between declared and actual CSV format — false failures","Cell length exceeds max_cell_length — flagged as contract violation","Numeric values outside declared minimum/maximum bounds — reported as non-conformant","Categorical values not in allowed_categories list — flagged as violations","Malformed CSV with unmatched quotes — parsing error returned"],"whenToPreferThis":"Choose this endpoint when you need a fast, inexpensive ($0.01 USDC) structural validation of a mining share aggregate CSV before ingestion or processing. It is purpose-built for the specific schema of mining share data (observation_id, observed_on, worker_id, accepted_shares, rejected_shares) and enforces configurable numeric bounds and allowed category lists. Prefer it over generic CSV validators when your domain is cryptocurrency mining pool reporting and you need a pre-configured validation preset without external enrichment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:54:05.411Z","isFirstParty":false,"canonicalSlug":"mining-share-aggregates-csv-header-contract-check-3117dd4d"}