{"uid":"cap_wkWh9ZhRL3krD1iU4mSsK","slug":"library-loan-imports-invalid-row-export-b7e6714a","name":"Library Loan Imports — Invalid Row Export","description":"Library loan imports — Invalid row export: Invalid row export for Library loan 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-loans-invalid-rows?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"loan_id,borrowed_on,branch_id,loan_days,overdue_days\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_QTVywMCksaIAUWcPhD3Lj","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 of library loan records and returns a report of all rows that fail validation rules","exampleAgentPrompt":"Can you check my library loan CSV for invalid rows? It uses a comma delimiter, categories should only be group-a or group-b, and values should stay between 0 and 365. Here's the data: loan_id,borrowed_on,branch_id,loan_days,overdue_days\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-c,20,400","exampleUseCases":[{"title":"Pre-import loan data quality check","prompt":"Before I import this month's library loan batch, can you scan this CSV for any invalid rows? Use a comma delimiter, only allow branch categories group-a and group-b, and flag anything where numeric values fall outside 0 to 500."},{"title":"Branch data validation for audit","prompt":"I need to audit our loan records CSV for our quarterly review — can you identify every row that has an invalid branch category or numeric value out of range? Categories allowed are group-a, group-b, and group-c; min is 0 and max is 1000."},{"title":"Automated loan import pipeline validation","prompt":"As part of our nightly import pipeline, run this semicolon-delimited library loan CSV through validation and give me a list of all the bad rows — allowed categories are branch-north and branch-south, and no cell should be longer than 200 characters."}],"resultDescription":"A structured report listing all rows from the submitted CSV that fail validation, including the row identifiers and the specific reasons each row is invalid (e.g. disallowed category, out-of-range numeric value, cell too long). Up to 1000 rows are evaluated per call.","failureModes":["CSV exceeds 100,000 character limit — request rejected","Delimiter mismatch causes incorrect parsing — all rows may appear invalid","Allowed categories list empty or misconfigured — valid rows flagged incorrectly","Numeric min/max configured inverted (min > max) — unexpected results","Cell length limit too restrictive — many rows flagged for length alone","Malformed CSV (unmatched quotes) — parse error returned"],"whenToPreferThis":"Choose this endpoint when you need to validate library loan import CSV files specifically against a declared schema contract — checking numeric ranges, allowed category values, and cell length limits — and want a clean export of only the failing rows. Prefer this over generic CSV validators when your data model matches the library loan domain (loan_id, borrowed_on, branch_id, loan_days, overdue_days) and you need a ready-to-act invalid-row report rather than aggregate statistics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-30T06:53:18.436Z","isFirstParty":false,"canonicalSlug":"library-loan-imports-invalid-row-export-b7e6714a"}