{"uid":"cap_j6__CipEBY4UPE76yy1Rq","slug":"brainiac-soap-contracts-schema-dependency-tree-analyzer-eaadbf26","name":"BRAINIAC SOAP Contracts Schema Dependency Tree Analyzer","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/soap-contracts/schema-dependency-tree?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"documents":{"type":"array","items":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string","maxLength":80,"minLength":1},"content":{"type":"string","maxLength":100000,"minLength":1}},"additionalProperties":false},"maxItems":10,"minItems":1}}},"responseSchema":{"type":"json","example":{"dependency_tree_json":[{"types":["Account"],"imports":["other.xsd"],"document":"types.xsd","references":["Account"]},{"types":["Note"],"imports":["types.xsd"],"document":"other.xsd","references":[]}],"schema_complexity_score":55,"circular_dependency_detected":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DOoNlI86Yey9JCX6rt61U","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a set of SOAP/XSD schema documents to produce a dependency tree, complexity score, and circular dependency detection","exampleAgentPrompt":"Can you analyze these two XSD schema files and tell me how they depend on each other — specifically which types are imported where, whether there are any circular dependencies, and how complex the overall schema structure is?","exampleUseCases":[{"title":"Circular dependency detection before deployment","prompt":"I have three XSD files that make up our SOAP service contract — types.xsd, common.xsd, and messages.xsd. Can you check if there are any circular dependencies between them before we push to production?"},{"title":"Schema complexity audit for legacy SOAP service","prompt":"We're inheriting a legacy SOAP service with a pile of XSD files. Can you analyze all of them together and give me a complexity score plus a full dependency tree so we know what we're dealing with?"},{"title":"Mapping import chains across XSD documents","prompt":"I need to understand which of our XSD schemas import which others and what types each one defines or references — can you build me a dependency map from these schema documents?"}],"resultDescription":"Returns a JSON object containing a dependency_tree_json array (each entry listing the document name, types it defines, files it imports, and types it references), a schema_complexity_score integer, and a circular_dependency_detected boolean flag.","failureModes":["Malformed or invalid XML/XSD content causes parsing failure","Document references in imports that are not included in the submitted set may produce incomplete trees","Exceeding 10 documents or 100,000 characters per document triggers input validation errors","Very deeply nested or highly interconnected schemas may produce high complexity scores that are hard to interpret without context","Missing required 'name' or 'content' fields in any document object returns a validation error"],"whenToPreferThis":"Use this endpoint when you need to programmatically analyze the structure of SOAP/XSD schema files — especially to detect circular dependencies, understand import chains, or score schema complexity — without needing to set up a local XML toolchain. Ideal for agents auditing legacy SOAP services, performing pre-deployment checks, or generating documentation about schema relationships. Prefer this over generic XML parsers when you specifically need dependency graph output with complexity scoring in a single pay-per-call API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-13T18:46:28.756Z","isFirstParty":false,"canonicalSlug":"brainiac-soap-contracts-schema-dependency-tree-analyzer-eaadbf26"}