void () { @Language("YAML") final String schema = """ { "properties": { "withFormat": { "type": "string", "oneOf": [ { "format":"hostname" }, { "format": "ip4" } ] } } }"""; doTestYaml(schema, "withFormat: localhost"); }