```json { "key1": "value1", "key2": "value2", "key3": { "subKey1": "subValue1", "subKey2": "subValue2" } } ```模式(Schema)为了……Adk模式(Schema)

Converts a decoded JSON Schema map to an ADK Schema, resolving $ref/$defs, splitting type unions into anyOf, narrowing required, and bounding recursion. Exposed so an adapter that receives a tool schema as JSON (for example the Spring AI tool bridge) reuses this one converter rather than forking it.