-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
In jsonschema we have not keyword, but how can I use it in Lua?
For example, We have jsonschema:
"dependencies": {
"field_2": { "not": { "required": ["field_3"] } },
"field_3": { "not": { "required": ["field_2"] } }
}
How do we represent it in Lua, I try like below but it doesn't work:
dependencies = {
field_2 = {
["not"] = {
required = {
"field_3"
}
}
},
field_3 = {
["not"] = {
required = {
"field_2"
}
}
},
}
Can someone help me?
Metadata
Metadata
Assignees
Labels
No labels