{"uid":"cap_AEJI5c5OUyiC2evbX1ZTP","slug":"brainiac-field-map-generate-9635535a","name":"BRAINIAC Field Map Generate","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/integration/field-map-generate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"file":{"type":"object","required":["mediaType","fileBase64"],"properties":{"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["application/json","text/plain"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"json":{"type":"string","maxLength":200000},"side":{"enum":["request","response"],"type":"string"},"after":{},"before":{},"schema":{},"source":{},"target":{},"example":{},"payload":{},"examples":{"type":"array","items":{},"maxItems":20},"toVersion":{"type":"string","maxLength":40,"minLength":1},"operations":{"type":"array","items":{"oneOf":[{"type":"object","required":["op","from","to"],"properties":{"op":{"type":"string","const":"rename"},"to":{"type":"string","maxLength":200,"minLength":1},"from":{"type":"string","maxLength":200,"minLength":1}},"additionalProperties":false},{"type":"object","required":["op","from","to"],"properties":{"op":{"type":"string","const":"copy"},"to":{"type":"string","maxLength":200,"minLength":1},"from":{"type":"string","maxLength":200,"minLength":1}},"additionalProperties":false},{"type":"object","required":["op","paths"],"properties":{"op":{"type":"string","const":"pick"},"paths":{"type":"array","items":{"type":"string","maxLength":200,"minLength":1},"maxItems":40,"minItems":1}},"additionalProperties":false},{"type":"object","required":["op","paths"],"properties":{"op":{"type":"string","const":"omit"},"paths":{"type":"array","items":{"type":"string","maxLength":200,"minLength":1},"maxItems":40,"minItems":1}},"additionalProperties":false},{"type":"object","required":["op","path","type"],"properties":{"op":{"type":"string","const":"cast"},"path":{"type":"string","maxLength":200,"minLength":1},"type":{"enum":["string","number","integer","boolean"],"type":"string"}},"additionalProperties":false},{"type":"object","required":["op","path","value"],"properties":{"op":{"type":"string","const":"default"},"path":{"type":"string","maxLength":200,"minLength":1},"value":{}},"additionalProperties":false}]},"maxItems":40},"fromVersion":{"type":"string","maxLength":40,"minLength":1}}},"responseSchema":{"type":"json","example":{"issues":[],"status":"mapped","mappings":[{"match":"path","compatible":true,"sourcePath":"/","sourceType":"object","targetPath":"/","targetType":"object"},{"match":"path","compatible":true,"sourcePath":"/customer","sourceType":"object","targetPath":"/customer","targetType":"object"},{"match":"name","compatible":true,"sourcePath":"/orderId","sourceType":"string","targetPath":"/order_id","targetType":"string"},{"match":"name","compatible":true,"sourcePath":"/customer/emailAddress","sourceType":"string","targetPath":"/customer/email_address","targetType":"string"}],"checkedAt":"2026-11-03T15:00:00.000Z","limitations":["No external API is called and no user-supplied code is executed.","Validation covers type, properties, required, additionalProperties, items, enum, const, length, range, and the formats email, date, and date-time. Other JSON Schema keywords are reported and not applied.","A generated schema uses only values present in the supplied examples. additionalProperties stays true.","A field mapping is proposed only when the path matches or the field name matches one field on each side.","Breaking and non-breaking labels are returned only when side is request or response.","Transforms are rename, copy, pick, omit, cast, and default. A default is written only when the path is absent."],"codeExecuted":false,"externalCall":false,"valuesCopied":false,"unmappedSource":[],"unmappedTarget":[{"path":"/note","type":"string"}],"valuesInvented":false,"schemaCompliance":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gKH07kyQ1VdPaW9Jr4JtM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a field mapping between two JSON schemas or payloads, identifying compatible paths, name matches, type compatibility, and unmapped fields.","exampleAgentPrompt":"I have a source JSON schema with fields like orderId and customer.emailAddress, and a target schema that uses order_id and customer.email_address — can you generate a field map between them so I know which fields match, which need renaming, and which are unmapped?","exampleUseCases":[{"title":"API version migration field map","prompt":"I'm upgrading our payment API from v1 to v2 and the field names have changed — can you generate a field mapping between the old response schema and the new one so I can see what needs to be renamed and what fields are missing?"},{"title":"Third-party integration schema reconciliation","prompt":"We're integrating with a new CRM and their contact schema uses snake_case but ours uses camelCase — can you map the fields between our source schema and their target schema and tell me which ones are compatible, which need renaming, and which are unmapped?"},{"title":"Breaking change detection between schema versions","prompt":"Before we ship this API change, can you compare the before and after request schemas and generate a field map that shows which fields are compatible, which are breaking, and which are new or removed?"}],"resultDescription":"Returns a list of field mappings with match type (path or name), source and target paths, type compatibility, unmapped source fields, unmapped target fields, a status (e.g. 'mapped'), any issues found, and a list of limitations applied during analysis. Also includes flags for whether code was executed, external calls were made, or values were invented.","failureModes":["Invalid or malformed JSON schema causes parsing error","Base64-encoded file exceeds size limit (12MB)","Unsupported media type for file upload","Too many examples provided (max 20)","Field path string exceeds 200 character limit","Ambiguous schema structure prevents confident mapping","x402 payment not completed — 402 response returned"],"whenToPreferThis":"Use this endpoint when you need to automatically generate a field mapping between two JSON schemas or payloads without writing custom code. It is especially useful for API migration tasks, third-party integration setup, or detecting breaking changes between schema versions. It operates without executing user code or making external calls, making it safe and deterministic. Prefer it over manual mapping when schemas are complex or when you need a structured, machine-readable mapping output with explicit unmapped fields and type compatibility signals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:37:00.043Z","isFirstParty":false,"canonicalSlug":"brainiac-field-map-generate-bde7d607"}