{"uid":"cap_27EvlBwBUOb5pGVdRRGIs","slug":"timesheet-imports-header-contract-check-ac7aca2f","name":"Timesheet Imports — Header Contract Check","description":"Timesheet imports — Header contract check: Header contract check for Timesheet 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 header contract check report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-timesheets-schema?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"entry_id,worked_on,project_id,worked_hours,hourly_rate\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_tYYWW7yvVvBBSLsvyyYUZ","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 timesheet file's header contract (column names, data types, value constraints) for up to 1000 rows and returns a structured compliance report.","exampleAgentPrompt":"Can you run a header contract check on this timesheet CSV to make sure the columns and values are all valid? The file uses comma delimiters, allowed project categories are 'group-a' and 'group-b', and I want to check up to 1000 rows with a max cell length of 1000 characters.","exampleUseCases":[{"title":"Pre-import timesheet validation for payroll","prompt":"Before I import this timesheet CSV into the payroll system, can you check that all the headers and values are correct? It's comma-delimited, the allowed project categories are 'alpha', 'beta', and 'gamma', and cells shouldn't exceed 500 characters."},{"title":"Freelancer invoice CSV compliance check","prompt":"I've got a CSV of freelancer timesheet entries with columns for entry_id, worked_on, project_id, worked_hours, and hourly_rate — can you validate the header contract and flag any rows where values fall outside a minimum of 0 and maximum of 10000?"},{"title":"Automated timesheet schema guard in data pipeline","prompt":"As part of our data pipeline, validate this timesheet CSV using the header contract check — use semicolon as the delimiter, allow project categories 'dept-1' and 'dept-2', and enforce a max cell length of 200 characters."}],"resultDescription":"A structured header contract check report indicating whether the CSV conforms to the declared schema, including details on any column name mismatches, data type violations, out-of-range numeric values, disallowed category values, and cell length breaches, 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 — must be comma, semicolon, or tab","Malformed CSV that cannot be parsed — error report returned","allowed_categories list exceeds 100 items — validation error","Cell length exceeds max_cell_length — flagged as contract violation"],"whenToPreferThis":"Choose this endpoint when you need a fast, low-cost ($0.01 USDC) validation of a timesheet CSV's structural and value contract before importing into a payroll or HR system. It is purpose-built for timesheet schemas (entry_id, worked_on, project_id, worked_hours, hourly_rate) with support for configurable delimiters, numeric bounds, allowed category lists, and cell length constraints. Prefer it over generic CSV validators when the domain is specifically timesheet or time-tracking data with known column conventions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:09:12.808Z","isFirstParty":false,"canonicalSlug":"timesheet-imports-header-contract-check-ac7aca2f"}