Dan Larsen
Dan Larsen
Aaahh... I can easily test that against Envoy - give me a couple of minutes, then I'll know.
@jeffsawatzky It seems like you're right again 👍
This seems to fail validation with the double `oneOf`s though: ```json { "name": "name", "event_number": 123 } ```
This seems to do the trick: ```json { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "event_number": { "type": "number" }, "event_string": { "type":...
It seems that the deepest `oneOf` _could_ be an `anyOf` as well... But I don't know if that's more or less confusing :)
@jeffsawatzky sorry, just saw your last comment now :)
Great! So any of the 3 combinations seems to work 👍
I think yours makes most sense 👍
Oh yeah, you're right. That would not work.
Then it would need something like: ```json { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "event_number": { "type": "number" }, "event_string": { "type":...