{"uid":"cap_yd85Bxi2CVZo3fgO32BNW","slug":"library-loan-imports-csv-validation-summary-c738c6e7","name":"Library Loan Imports — CSV Validation Summary","description":"Library loan imports — Validation summary: Validation summary 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 validation summary report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-loans-summary?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_1bWKOxH20nKtTZpg2LTP1","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 of library loan records (up to 1000 rows) and returns a structured validation summary report covering format, value ranges, and category compliance.","exampleAgentPrompt":"Can you validate this library loan CSV for me — it uses comma delimiters, loan days and overdue days should be between 0 and 365, and branch IDs must be one of 'branch-north', 'branch-south', or 'branch-east'? Here's the data: loan_id,borrowed_on,branch_id,loan_days,overdue_days\\nL001,2026-01-10,branch-north,14,2","exampleUseCases":[{"title":"Pre-import loan data check","prompt":"Before I upload this CSV to our library system, can you validate it for me? The file uses comma delimiters, loan days should be between 1 and 60, overdue days between 0 and 30, and branch IDs must be either 'main' or 'annex'. Here's the CSV content."},{"title":"Overdue days range violation audit","prompt":"I have a library loan export CSV and I want to make sure no overdue_days values exceed 90 or go below 0. The delimiter is a comma and allowed branch categories are 'central', 'east', and 'west'. Can you run a validation summary on it?"},{"title":"Branch category compliance check","prompt":"Can you check this semicolon-delimited loan CSV and confirm all branch_id values are within the allowed list: 'lib-a', 'lib-b', 'lib-c'? Numeric values should stay between -1000000000000 and 1000000000000. I just need a summary of any issues found."}],"resultDescription":"A structured validation summary report covering the parsed CSV rows (up to 1000), including counts of valid and invalid rows, specific field-level errors (type mismatches, out-of-range numeric values, disallowed category values, cell length violations), and an overall pass/fail status for the declared contract.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 data rows — validation truncated or rejected","Invalid delimiter specified — parse errors on all rows","Cell content exceeds max_cell_length — flagged as violation","Malformed CSV (unmatched quotes, missing fields) — parse failure","Numeric values outside min/max bounds — flagged per row","Category values not in allowed_categories list — flagged per row"],"whenToPreferThis":"Choose this endpoint when you need a fast, inexpensive ($0.01 USDC) structured validation pass on a library loan CSV before importing it into a system. It is purpose-built for the library loan domain (loan_id, borrowed_on, branch_id, loan_days, overdue_days schema), supports quoted cells, and returns a summary rather than row-by-row detail. Prefer it over generic CSV validators when you need domain-aware category and numeric range checks in a single call without external enrichment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:11:47.799Z","isFirstParty":false,"canonicalSlug":"library-loan-imports-csv-validation-summary-c738c6e7"}