{"uid":"cap_tCc3-Sz0z8WCEcHh9a84p","slug":"machine-utilisation-imports-header-contract-check-8dc38086","name":"Machine Utilisation Imports — Header Contract Check","description":"Machine utilisation imports — Header contract check: Header contract check for Machine utilisation 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-machines-schema?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"observation_id,observed_on,machine_id,running_hours,scheduled_hours\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_vjTm98rGaYgCQkJKyMRAB","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 the CSV header contract for machine utilisation import files, checking column names, types, and categorical constraints against a declared schema for up to 1000 rows.","exampleAgentPrompt":"Can you check the header contract on my machine utilisation CSV — it has columns observation_id, observed_on, machine_id, running_hours, scheduled_hours — and make sure the machine_id values are limited to 'group-a' and 'group-b', with numeric values between 0 and 10000?","exampleUseCases":[{"title":"Pre-import CSV header validation","prompt":"Before I import this machine utilisation file, can you validate its CSV headers against the expected contract? The file uses comma delimiters and machine_id should only be 'line-1', 'line-2', or 'line-3'."},{"title":"Catch bad category values in shift data","prompt":"I've got a machine utilisation CSV with running_hours and scheduled_hours columns — please check the header contract and flag any machine_id values that aren't in my allowed list: 'press-a', 'press-b', 'press-c'."},{"title":"Validate OEE data before pipeline ingestion","prompt":"Run a header contract check on this machine utilisation CSV — columns are observation_id, observed_on, machine_id, running_hours, scheduled_hours — and make sure all numeric values stay between 0 and 24 hours."}],"resultDescription":"Returns a header contract check report indicating whether the CSV conforms to the declared schema: column presence, order, naming, allowed category values, numeric range compliance, cell length limits, and any violations found across up to 1000 rows.","failureModes":["CSV exceeds 1000 rows — only first 1000 are validated","Delimiter mismatch causes all columns to be read as one","Allowed categories list empty — no category validation performed","CSV exceeds 100,000 character limit — request rejected","Cell length exceeds max_cell_length — flagged as violation","Missing required columns — contract check fails with column not found error","Malformed quoted cells may cause parse errors"],"whenToPreferThis":"Use this endpoint when you need a lightweight, schema-aware pre-import validation of machine utilisation CSV files specifically, without triggering any data storage or enrichment. It is ideal for CI/CD data pipelines, ETL pre-checks, and agent-driven data ingestion workflows where you want to catch header and category contract violations before committing data downstream. Prefer this over generic CSV validators when you need domain-specific column expectations for machine utilisation data (observation_id, machine_id, running_hours, scheduled_hours).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:39:28.662Z","isFirstParty":false,"canonicalSlug":"machine-utilisation-imports-header-contract-check-8dc38086"}