void () { doTest(""" { "oneOf": [ { "properties": { "type": { "enum": ["library"], "pattern": ".*" } }, "required": ["type", "name", "description"] }, { "properties": { "type": { "not": { "enum": ["library"] } } } } ] }""", """ { "type": "project", "name": "asd", "description": "asdasdqwdqw" }"""); }