{"slug":"vme5zb7fll-execute-api-us-east-1-amazonaws-com-v1-accept-com-e4ff55","title":"Validate a fixed JSON CSV column specification before assigning extraction or ch","host":"vme5zb7fll.execute-api.us-east-1.amazonaws.com","method":"POST","resource":"https://vme5zb7fll.execute-api.us-east-1.amazonaws.com/v1/accept/compile","category":"code","description":"Validate a fixed JSON CSV column specification before assigning extraction or checking deliveries. Send typed column settings in requirements; returns the validated spec for /v1/accept/csv. Rejects unknown fields and unsupported settings. This checks the specification itself, not CSV data. No custom","price_listed":null,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"requirements":{"columns":[{"name":"id","required":true,"type":"string","unique":true},{"max":"100","min":"0","name":"amount","required":true,"type":"decimal"}],"min_rows":1}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"requirements":{"additionalProperties":false,"properties":{"allow_extra_columns":{"default":false,"description":"If false, reject CSV headers not named in columns.","type":"boolean"},"columns":{"description":"Fixed built-in checks. Every named column must exist, even when required is false.","items":{"additionalProperties":false,"properties":{"enum":{"description":"Exact allowed cell strings, compared without trimming or normalization.","items":{"maxLength":1000,"type":"string"},"maxItems":100,"minItems":1,"type":"array"},"max":{"description":"Inclusive numeric bound; allowed only for integer or decimal columns.","oneOf":[{"type":"number"},{"type":"string"}]},"min":{"description":"Inclusive numeric bound; allowed only for integer or decimal columns.","oneOf":[{"type":"number"},{"type":"string"}]},"name":{"maxLength":100,"minLength":1,"type":"string"},"required":{"default":false,"description":"Reject empty cells. Whitespace is not trimmed.","type":"boolean"},"type":{"description":"string: literal text; integer: base-10, no plus sign or leading zeros; decimal: plain decimal, no exponent; boolean: lowercase true/false; date: valid YYYY-MM-DD.","enum":["string","integer","decimal","boolean","date"],"type":"string"},"unique":{"default":false,"description":"Reject repeated nonempty values within this column; numeric values compare numerically.","type":"boolean"}},"required":["name","type"],"type":"object"},"maxItems":50,"minItems":1,"type":"array"},"max_rows":{"default":2000,"maximum":2000,"minimum":0,"type":"integer"},"min_rows":{"default":0,"maximum":2000,"minimum":0,"type":"integer"}},"required":["columns"],"type":"object"}},"required":["requirements"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"boundary":{"type":"string"},"schema_version":{"enum":[1],"type":"integer"},"spec":{"additionalProperties":false,"properties":{"allow_extra_columns":{"default":false,"type":"boolean"},"columns":{"items":{"additionalProperties":false,"properties":{"enum":{"items":{"maxLength":1000,"type":"string"},"maxItems":100,"minItems":1,"type":"array"},"max":{"oneOf":[{"type":"number"},{"type":"string"}]},"min":{"oneOf":[{"type":"number"},{"type":"string"}]},"name":{"maxLength":100,"minLength":1,"type":"string"},"required":{"default":false,"type":"boolean"},"type":{"enum":["string","integer","decimal","boolean","date"],"type":"string"},"unique":{"default":false,"type":"boolean"}},"required":["name","type"],"type":"object"},"maxItems":50,"minItems":1,"type":"array"},"max_rows":{"default":2000,"maximum":2000,"minimum":0,"type":"integer"},"min_rows":{"default":0,"maximum":2000,"minimum":0,"type":"integer"}},"required":["columns"],"type":"object"},"unsupported":{"items":{"type":"string"},"maxItems":0,"type":"array"}},"required":["schema_version","spec","unsupported","boundary"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Validate a fixed JSON CSV column specification before assigning extraction or checking deliveries. Send typed column settings in requirements; returns the validated spec for /v1/accept/csv. Rejects unknown fields and unsupported settings. This checks the specification itself, not CSV data. No custom expressions, cross-column rules or prose-to-rule conversion. Schemas/examples attached; full contract: /openapi.json.","last_updated":"2026-09-28T23:07:28.094Z","schemes":["exact"]}