{"uid":"cap_yQ_QSaupQuXH8Q3k2YHt6","slug":"maintenance-imports-header-contract-check-2b3cd75f","name":"Maintenance Imports — Header Contract Check","description":"Maintenance imports — Header contract check: Header contract check for Maintenance 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-maintenance-schema?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"maintenance_id,performed_on,asset_id,labour_hours,parts_cost\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_0UgpjBrh1i_xMtqp_2urT","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 header contract for maintenance import data, checking column names, data types, and value constraints for up to 1000 rows.","exampleAgentPrompt":"Check if my maintenance import CSV has valid headers and data — here's the file with columns maintenance_id, performed_on, asset_id, labour_hours, and parts_cost, comma-delimited, with allowed categories group-a and group-b, and make sure no numeric value exceeds 1,000,000.","exampleUseCases":[{"title":"Pre-import maintenance data validation","prompt":"Before I upload this maintenance records CSV to our system, can you validate that the headers and data match the expected contract? It's comma-separated with columns maintenance_id, performed_on, asset_id, labour_hours, parts_cost, and the only valid asset categories are 'warehouse-a' and 'warehouse-b'."},{"title":"Catch bad categories in maintenance CSV","prompt":"I need to check whether any rows in my maintenance CSV use category values outside the allowed list — the permitted ones are 'fleet-1', 'fleet-2', and 'fleet-3'. Can you run a header contract check on it and tell me what's wrong?"},{"title":"Verify tab-delimited maintenance export","prompt":"My CMMS exported a tab-delimited maintenance file and I'm not sure the columns are in the right format. Can you validate the header contract for me? The file uses tab delimiters and I want to make sure labour_hours and parts_cost stay between 0 and 50000."}],"resultDescription":"A CSV header contract check report indicating whether the supplied CSV conforms to the declared schema, including validation of column names, delimiter correctness, cell length limits, numeric range compliance, and allowed category membership — covering up to 1000 rows.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — only first 1000 processed or error returned","Invalid delimiter value not in allowed enum [',', ';', '\\t'] — validation error","Category values not in allowed_categories list — flagged as contract violations","Numeric values outside min/max bounds — flagged as range violations","Malformed CSV with unclosed quotes — parsing error returned","Empty CSV string — rejected due to minLength constraint"],"whenToPreferThis":"Use this endpoint when you need a lightweight, low-cost ($0.01) pre-flight check of a maintenance data CSV file before ingestion into a CMMS or data pipeline. It is purpose-built for the maintenance domain schema (maintenance_id, performed_on, asset_id, labour_hours, parts_cost) and supports quoted cells, configurable delimiters, category allowlists, and numeric range bounds — making it more specific and cheaper than a generic CSV validator for this use case.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:17:57.017Z","isFirstParty":false,"canonicalSlug":"maintenance-imports-header-contract-check-2b3cd75f"}