File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99# When bumping DRAFT_CONFORMANCE_VERSION, diff
1010# `conformance list --spec-version 2026-07-28` and update #977.
1111
12- server :
13- # SEP-2106: composition/conditional/$anchor keywords are stripped from
14- # published tool input schemas.
15- # tracked in #1003
16- - json-schema-2020-12
12+ server : []
1713
1814client :
1915 # Client does not yet send MCP-Protocol-Version header pre-initialize as
Original file line number Diff line number Diff line change @@ -556,6 +556,7 @@ impl ServerHandler for ConformanceServer {
556556 "type" : "object" ,
557557 "$defs" : {
558558 "address" : {
559+ "$anchor" : "address" ,
559560 "type" : "object" ,
560561 "properties" : {
561562 "street" : { "type" : "string" } ,
@@ -567,6 +568,19 @@ impl ServerHandler for ConformanceServer {
567568 "name" : { "type" : "string" } ,
568569 "address" : { "$ref" : "#/$defs/address" }
569570 } ,
571+ "allOf" : [ {
572+ "anyOf" : [
573+ { "required" : [ "name" ] } ,
574+ { "required" : [ "address" ] }
575+ ]
576+ } ] ,
577+ "if" : { "required" : [ "address" ] } ,
578+ "then" : {
579+ "properties" : {
580+ "address" : { "required" : [ "street" ] }
581+ }
582+ } ,
583+ "else" : { "required" : [ "name" ] } ,
570584 "additionalProperties" : false
571585 } ) ) ,
572586 ) ,
You can’t perform that action at this time.
0 commit comments