{"uid":"cap_HKJmkOzgTWfF31POk-JLc","slug":"order-imports-csv-header-contract-check-2f9143bd","name":"Order Imports CSV Header Contract Check","description":"Order imports — Header contract check: Header contract check for Order 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-orders-schema?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"order_id,ordered_on,customer_id,gross_amount,item_count\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_QczzzZVAF8xp9mFWWhHEr","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 a CSV file's header contract for order import data, checking column names, types, and value constraints against a declared schema for up to 1000 rows.","exampleAgentPrompt":"Can you validate this orders CSV to make sure the headers and data match the expected contract — columns like order_id, ordered_on, customer_id, gross_amount, and item_count — using a comma delimiter, allowing customer categories group-a and group-b, and flagging anything outside the normal numeric range?","exampleUseCases":[{"title":"Pre-import order data quality gate","prompt":"Before I push this batch of orders into our system, can you run a header contract check on this CSV to make sure order_id, ordered_on, customer_id, gross_amount, and item_count are all present and valid? Use comma as the delimiter and only allow customer categories group-a and group-b."},{"title":"Catch bad numeric ranges in order files","prompt":"I've got an orders CSV coming from a vendor and I want to make sure gross_amount never goes below 0 or above 50000, and item_count stays reasonable. Can you validate the header contract with those numeric bounds and report any violations?"},{"title":"Validate semicolon-delimited order export","prompt":"Our European team sends order exports with semicolons as delimiters — can you do a header contract check on this CSV using semicolon delimiter and confirm the columns and data values all conform to the expected order schema?"}],"resultDescription":"A header contract check report indicating whether the CSV's headers and data conform to the declared schema, including which rows or cells violate constraints such as column presence, value ranges, cell length limits, allowed category values, and delimiter correctness — covering up to 1000 rows.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — only up to 1000 rows processed or error returned","Invalid delimiter value not in allowed enum [',', ';', tab] — validation error","Malformed CSV with unclosed quotes or inconsistent column counts — parse error","allowed_categories array exceeds 100 items — schema rejection","max_cell_length set outside 1–5000 range — parameter error","Payment not provided or insufficient — 402 payment required"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, deterministic CSV schema validation specifically for order import files with columns like order_id, ordered_on, customer_id, gross_amount, and item_count. It is ideal for pre-import quality gates, vendor file audits, or pipeline guards where you need to check header contracts and value constraints without external enrichment or full data processing. Prefer it over general-purpose CSV validators when your use case matches the orders domain and you need a per-call, pay-as-you-go model at $0.01 USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:42.943Z","isFirstParty":false,"canonicalSlug":"order-imports-csv-header-contract-check-2f9143bd"}