{"openapi":"3.1.0","info":{"title":"Delimited Record Shape","version":"1.0.0","description":"Read quoted CSV, TSV, or semicolon records and report which logical records have a different field count from the supplied or header width.","contact":{"email":"jeremy@jeremycarter.ca"}},"servers":[{"url":"https://gptenv-x402-catalog.defcronyke.workers.dev"}],"paths":{"/delimited-record-shape/v1/check":{"post":{"operationId":"delimited_record_shape","summary":"Read quoted CSV, TSV, or semicolon records and report which logical records have a different field count from the supplied or header width.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.04"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":24000},"delimiter":{"type":"string","enum":[",","\t",";"]},"expected_columns":{"type":"integer","minimum":1,"maximum":300}},"required":["content","delimiter"],"additionalProperties":false},"example":{"content":"name,note\r\nAda,\"line 1\nline 2\"\r\nLin,short,extra\r\nBob,\"a \"\"quote\"\"\"","delimiter":","}}}},"responses":{"200":{"description":"Service result","content":{"application/json":{"schema":{"type":"object"},"example":{"expected_columns":2,"records":4,"malformed":[{"record":3,"start_line":4,"columns":3}]}}}},"400":{"description":"Invalid request"},"402":{"description":"x402 exact payment required on Base"},"503":{"description":"Payment unavailable"}}}}}}