-
-
Save ksuarz/d5caa6fc8a9fb003e22cf92eb78596a4 to your computer and use it in GitHub Desktop.
E2BIG
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
validator = { | |
$jsonSchema: { | |
properties: { | |
a: { | |
type: "object", | |
properties: { | |
b: { | |
type: "object", | |
properties: { | |
c: { | |
type: "object", | |
properties: { | |
d: { | |
type: "object", | |
properties: { | |
e: { | |
type: "object", | |
properties: { | |
f: { | |
type: "object", | |
properties: { | |
g: { | |
type: "object", | |
properties: { | |
h: { | |
type: "object", | |
properties: { | |
i: { | |
type: "object", | |
properties: { | |
j: { | |
type: "object", | |
properties: { | |
k: { | |
type: "object", | |
properties: { | |
l: { | |
type: "object", | |
properties: { | |
m: { | |
type: "object", | |
properties: { | |
n: { | |
type: "object", | |
properties: { | |
o: { | |
type: "object", | |
properties: { | |
p: { | |
type: "object", | |
properties: { | |
q: { | |
type: "object", | |
properties: { | |
r: { | |
type: "object", | |
properties: { | |
s: { | |
type: "object", | |
properties: { | |
t: { | |
type: "object", | |
properties: { | |
u: { | |
type: "object", | |
properties: { | |
v: { | |
type: "object", | |
properties: { | |
w: { | |
type: "object", | |
properties: { | |
x: { | |
type: "object", | |
properties: { | |
y: { | |
type: "object", | |
properties: { | |
z: { | |
type: "object", | |
properties: { | |
aa: { | |
type: "object", | |
properties: { | |
ab: { | |
type: "object", | |
properties: { | |
ac: { | |
type: "object", | |
properties: { | |
ad: { | |
type: "object", | |
properties: { | |
sku: {type: "number"}, | |
price: { | |
type: "number", | |
minimum: 0, | |
maximum: 10.0 | |
}, | |
country: {enum: ["fr", "es"]}, | |
stock: { | |
type: "number", | |
minimum: 0, | |
multipleOf: 1 | |
}, | |
name: { | |
type: "string" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment