Lanes
- Schema
- LISP Example
- JS Example
{
"type": "object",
"properties": {
"id": { "type": "string" },
"name": { "type": "string" },
"rule": {
"oneOf": [
{
"type": "object",
"properties": {
"$js": { "type": "string" }
}
},
{
"type": "array"
}
]
}
}
}
{
"id": "true",
"name": "Opened to anyone, LISP style",
"rule": ["fn", ["&", "args"], true]
}
{
"id": "true",
"name": "Opened to anyone, js style",
"rule": {
"$js": "() => { return true }"
}
}