003 File Manager
Current Path:
/usr/src/contrib/libucl/tests/schema
usr
/
src
/
contrib
/
libucl
/
tests
/
schema
/
📁
..
📄
additionalItems.json
(2.23 KB)
📄
additionalProperties.json
(2.14 KB)
📄
allOf.json
(2.95 KB)
📄
anyOf.json
(1.57 KB)
📄
definitions.json
(854 B)
📄
dependencies.json
(3.07 KB)
📄
enum.json
(1.93 KB)
📄
items.json
(1.11 KB)
📄
maxItems.json
(706 B)
📄
maxLength.json
(697 B)
📄
maxProperties.json
(759 B)
📄
maximum.json
(1.04 KB)
📄
minItems.json
(693 B)
📄
minLength.json
(696 B)
📄
minProperties.json
(725 B)
📄
minimum.json
(1.04 KB)
📄
multipleOf.json
(1.49 KB)
📄
not.json
(2.21 KB)
📄
oneOf.json
(1.57 KB)
📄
pattern.json
(582 B)
📄
patternProperties.json
(3.46 KB)
📄
properties.json
(2.81 KB)
📄
ref.json
(3.81 KB)
📄
refRemote.json
(1.99 KB)
📄
required.json
(923 B)
📄
type.json
(9.09 KB)
📄
uniqueItems.json
(2.55 KB)
Editing: multipleOf.json
[ { "description": "by int", "schema": {"multipleOf": 2}, "tests": [ { "description": "int by int", "data": 10, "valid": true }, { "description": "int by int fail", "data": 7, "valid": false }, { "description": "ignores non-numbers", "data": "foo", "valid": true } ] }, { "description": "by number", "schema": {"multipleOf": 1.5}, "tests": [ { "description": "zero is multiple of anything", "data": 0, "valid": true }, { "description": "4.5 is multiple of 1.5", "data": 4.5, "valid": true }, { "description": "35 is not multiple of 1.5", "data": 35, "valid": false } ] }, { "description": "by small number", "schema": {"multipleOf": 0.0001}, "tests": [ { "description": "0.0075 is multiple of 0.0001", "data": 0.0075, "valid": true }, { "description": "0.00751 is not multiple of 0.0001", "data": 0.00751, "valid": false } ] } ]
Upload File
Create Folder