Score schema dependency weight API
Read import, include, and complexType names from the supplied XML. A document cycle, or a complex type that references itself, sets the circular flag. The score counts types, imports, and non-builtin references. schemaLocation values are not downloaded.
The Score schema dependency weight operation is part of the WSDL XSD Dependency Audit API on BRAINIAC.software. Read import, include, and complexType names from the supplied XML. A document cycle, or a complex type that references itself, sets the circular flag. The score counts types, imports, and non-builtin references. schemaLocation values are not downloaded. It is exposed as POST /api/v1/soap-contracts/schema-dependency-tree and priced at $0.04 USDC on Base. Payment uses the x402 exact scheme: an unpaid call returns HTTP 402 with payment requirements; after paying the exact USDC amount, retry the same request with a payment-signature header and Idempotency-Key. No account and no API key are required. Data sources for this product: Caller-supplied WSDL and XSD documents processed locally Limitations: Documents are the XML strings in the request. Imports, includes, and redefines are not downloaded. A schema difference is syntactic. It is not proof that a SOAP client fails at runtime. Names are compared as a namespace plus a local name. Only WSDL 1.1 and XML Schema are read. schema-dependency-tree reads import locations and complex types in the supplied XML. A schemaLocation is not downloaded. Outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Related operations in this group include Audit WSDL and XSD dependencies. Open the group documentation for the full request schema, field notes, and response examples before integrating.
/api/v1/soap-contracts/schema-dependency-treeExample request
curl -i -X POST "https://www.brainiac.software/api/v1/soap-contracts/schema-dependency-tree" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"documents": [
{
"name": "types.xsd",
"content": "<?xml version=\"1.0\"?>\n<xsd:schema xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\n <xsd:import schemaLocation=\"other.xsd\"/>\n <xsd:complexType name=\"Account\"><xsd:sequence><xsd:element name=\"owner\" type=\"tns:Account\"/></xsd:sequence></xsd:complexType>\n</xsd:schema>"
},
{
"name": "other.xsd",
"content": "<?xml version=\"1.0\"?>\n<xsd:schema xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\n <xsd:import schemaLocation=\"types.xsd\"/>\n <xsd:complexType name=\"Note\"><xsd:sequence><xsd:element name=\"text\" type=\"xsd:string\"/></xsd:sequence></xsd:complexType>\n</xsd:schema>"
}
]
}
JSONAn unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
FAQ
- Do I need an API key? No. Pay the listed USDC amount with x402.
- What network? Base (eip155:8453), USDC.
- Is this an official determination? No. Results are for human review against the cited sources.
Related operations
- Audit WSDL and XSD dependencies — $0.05 USDC