Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions conformance/expected-failures-2026-07-28.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@
# When bumping DRAFT_CONFORMANCE_VERSION, diff
# `conformance list --spec-version 2026-07-28` and update #977.

server:
# SEP-2106: composition/conditional/$anchor keywords are stripped from
# published tool input schemas.
# tracked in #1003
- json-schema-2020-12
server: []

client:
# Client does not yet send MCP-Protocol-Version header pre-initialize as
Expand Down
14 changes: 14 additions & 0 deletions conformance/src/bin/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@ impl ServerHandler for ConformanceServer {
"type": "object",
"$defs": {
"address": {
"$anchor": "address",
"type": "object",
"properties": {
"street": { "type": "string" },
Expand All @@ -567,6 +568,19 @@ impl ServerHandler for ConformanceServer {
"name": { "type": "string" },
"address": { "$ref": "#/$defs/address" }
},
"allOf": [{
"anyOf": [
{ "required": ["name"] },
{ "required": ["address"] }
]
}],
"if": { "required": ["address"] },
"then": {
"properties": {
"address": { "required": ["street"] }
}
},
"else": { "required": ["name"] },
"additionalProperties": false
})),
),
Expand Down