(note: copied from https://github.com/FasterXML/jackson-databind/issues/271) --- For example : class A { public String text = "text"; } class B { public @JsonUnwrapped A a = new A(); } would serialize as : {"text":"text"} and the schema would be : {"type":"object","properties":{"a":{"type":"object","properties":{"text":{"type":"string"}}}}} but, this is not consistent with the serialized form, the schema should be this : {"type":"object","properties":{"text":{"type":"string"}}}