{"uid":"cap_--BFrQvoNNH1YeBvAkS-Q","slug":"library-loan-imports-csv-trimmed-typed-conversion-6e432e1f","name":"Library Loan Imports CSV Trimmed Typed Conversion","description":"Library loan imports — Trimmed typed conversion: Trimmed typed conversion 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 trimmed typed conversion report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-loans-normalise?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_jgltBYMmc0ldKDn8X8z15","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 and normalizes a CSV table of library loan records (up to 1000 rows), performing trimmed typed conversion with configurable delimiters, numeric bounds, and allowed category values.","exampleAgentPrompt":"Can you validate and normalize this library loan CSV — it uses comma delimiters, columns are loan_id, borrowed_on, branch_id, loan_days, overdue_days — and check that numeric values are between 0 and 365, and branch_id is one of group-a or group-b?","exampleUseCases":[{"title":"Pre-import loan data quality check","prompt":"I have a CSV export of library loan records with columns loan_id, borrowed_on, branch_id, loan_days, and overdue_days — can you run a typed conversion check on it to make sure all numeric fields are between 0 and 500 and branch values are only group-a or group-b before I import it?"},{"title":"Detecting malformed overdue records","prompt":"Can you parse this tab-delimited library loan CSV and flag any rows where overdue_days or loan_days fall outside the range of 0 to 90, so I can clean up the bad records?"},{"title":"Validating branch category codes","prompt":"I'm importing loan data from three branches — branch-north, branch-south, and branch-east — can you validate this comma-separated CSV and make sure no branch_id values outside those three appear anywhere in the file?"}],"resultDescription":"Returns a trimmed typed conversion report for the submitted library loan CSV, including per-row type conversion results, detected cell values, trim outcomes, validation pass/fail status for numeric bounds and allowed category constraints, and any errors or anomalies found across 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 specified (not comma, semicolon, or tab) — validation error","Cell length exceeds max_cell_length setting — cell flagged or truncated","Numeric values outside min/max bounds — rows flagged as invalid","Category values not in allowed_categories list — rows flagged","Malformed quoted cells — parse error returned","Empty CSV string submitted — error due to minLength:1 constraint"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, contract-based validation and typed normalization of library loan CSV data — specifically when your data has columns like loan_id, borrowed_on, branch_id, loan_days, and overdue_days. It is ideal for pre-import data quality checks where you want to enforce numeric ranges and allowed category lists without any external enrichment or lookups. Prefer it over generic CSV parsers when you need a purpose-built loan-domain typed conversion report at minimal cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:13:52.920Z","isFirstParty":false,"canonicalSlug":"library-loan-imports-csv-trimmed-typed-conversion-6e432e1f"}