Does it exist in jtd standard way to realize oneOf
behavior like in simple JSON schemas? Should I specify some custom keyword?
This code will throw error
{
"oneOf": [
{ properties: {... }},
{ properties: {... }}
]
}
Does it exist in jtd standard way to realize oneOf
behavior like in simple JSON schemas? Should I specify some custom keyword?
This code will throw error
{
"oneOf": [
{ properties: {... }},
{ properties: {... }}
]
}
Copyright © 2021 Jogjafile Inc.
I found a solution for this problem in
discriminator
form but I think is not direct alternative. Maybe, you can propose something better.