void () { @Language("JSON") final String schema = """ { "properties": { "size": { "type": "object", "minProperties": 2, "maxProperties": 3, "properties": { "a": { "type": "boolean" } } } } }"""; doTest(schema, """ { "size": { "a": <warning descr="Incompatible types. Required: boolean. Actual: integer.">1</warning>, "b":3, "c": 4, "a": <warning descr="Incompatible types. Required: boolean. Actual: integer.">5</warning> } }"""); doTest(schema, """ { "size": <warning descr="Number of properties is greater than 3">{ "a": true, "b":3, "c": 4, "a": false }</warning> }"""); }