{"uid":"cap_csXVsurWhUBgvSBlGTWzY","slug":"maintenance-imports-invalid-row-export-366dbcfc","name":"Maintenance Imports — Invalid Row Export","description":"Maintenance imports — Invalid row export: Invalid row export 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 invalid row export report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-maintenance-invalid-rows?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_RxrrCh578r9WYw30I-H1f","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 maintenance-record CSV file and returns a report of rows that fail the declared contract (type, range, category, and format constraints).","exampleAgentPrompt":"Check my maintenance imports CSV for invalid rows — it uses comma delimiters, labour_hours and parts_cost should be between 0 and 10000, and the only allowed asset categories are 'group-a' and 'group-b'; give me a report of every row that fails.","exampleUseCases":[{"title":"Pre-import data quality check","prompt":"Before I push this maintenance_records.csv into the database, can you scan it for any rows that are out of range or use an asset category not in this list: 'site-a', 'site-b', 'site-c'? Parts cost should be between 0 and 5000 and labour hours between 0 and 100."},{"title":"Contractor data validation gate","prompt":"I received a CSV from our contractor with maintenance logs — comma-separated, up to 500 rows. Flag any row where the parts_cost or labour_hours falls outside 0 to 2500, or where the asset_id isn't one of 'fleet-1', 'fleet-2', 'fleet-3'. Export the list of bad rows so I can send it back to them."},{"title":"Automated nightly maintenance file audit","prompt":"Run a validation pass on tonight's maintenance import file — delimited by semicolons, numeric fields must be between -100 and 50000, allowed categories are 'zone-north' and 'zone-south', and no cell should exceed 500 characters. Tell me which rows are invalid."}],"resultDescription":"A structured report listing each row from the submitted CSV that violates the declared contract — including row identifiers, the specific fields that failed, and the nature of each violation (out-of-range numeric value, disallowed category, cell length exceeded, or parse error). Up to 1000 rows are evaluated per call.","failureModes":["CSV exceeds 100,000 character limit — request rejected","Delimiter mismatch causes all rows to parse as single-column — spurious invalids reported","More than 1000 rows submitted — rows beyond the limit may be silently truncated or rejected","Allowed categories list is empty — all category values flagged as invalid","Min/max bounds inverted (min > max) — unexpected validation behaviour","Malformed CSV (unclosed quotes, inconsistent column counts) — parse error returned"],"whenToPreferThis":"Choose this endpoint when you need to validate a maintenance-domain CSV file against a declared schema contract — specifically checking numeric range bounds, allowed categorical values, and cell-length limits — before ingesting the data into a system of record. It is purpose-built for maintenance import workflows and handles quoted cells, configurable delimiters, and per-field constraints in a single call at low cost ($0.01 USDC). Prefer it over generic CSV linters when you need domain-specific preset profiles for maintenance data or need to enforce an explicit allowlist of asset categories.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:53:38.921Z","isFirstParty":false,"canonicalSlug":"maintenance-imports-invalid-row-export-366dbcfc"}