We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d44da61 commit 31aa48cCopy full SHA for 31aa48c
content/03-Objects/04-Applying-Schema-to-Property-Names/code.ts
@@ -7,7 +7,7 @@ const solution = {
7
minProperties: 2,
8
propertyNames: {
9
pattern: "^[A-Z]+$",
10
- minimumLength: 3,
+ minLength: 3,
11
},
12
additionalProperties: {
13
type: ["string", "integer"],
@@ -22,6 +22,13 @@ const testCases = [
22
23
expected: true,
24
25
+ {
26
+ input: {
27
+ NAME: "JOhN DOE",
28
+ PH: "97232748274",
29
+ },
30
+ expected: false,
31
32
{
33
input: {
34
NAME: "JOhN DOE",
0 commit comments