Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit 845e8cb

Browse files
committed
fix: oneOf will never work with basic any typing...
1 parent d70bf54 commit 845e8cb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

schemas/common/any.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
"title": "All",
66
"description": "Any valid JSON Logic data source.",
77

8-
"oneOf": [
9-
{ "$ref": "http://jsonlogic.com/schemas/common/all-types.json" },
10-
8+
"anyOf": [
119
{ "$ref": "http://jsonlogic.com/schemas/operators/accessor/variable.json" },
1210
{ "$ref": "http://jsonlogic.com/schemas/operators/accessor/missing.json" },
1311
{ "$ref": "http://jsonlogic.com/schemas/operators/accessor/missingSome.json" },
@@ -48,6 +46,8 @@
4846
{ "$ref": "http://jsonlogic.com/schemas/operators/numeric/min.json" },
4947

5048
{ "$ref": "http://jsonlogic.com/schemas/operators/string/cat.json" },
51-
{ "$ref": "http://jsonlogic.com/schemas/operators/string/substr.json" }
49+
{ "$ref": "http://jsonlogic.com/schemas/operators/string/substr.json" },
50+
51+
{ "$ref": "http://jsonlogic.com/schemas/common/all-types.json" }
5252
]
5353
}

0 commit comments

Comments
 (0)