Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Commit a80f0d8

Browse files
committed
Fixed some rules to prevent empty arrays/strings
1 parent a97ef17 commit a80f0d8

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Diff for: schema/1_0_final/single_entry.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@
5454
"items": {
5555
"type": "string",
5656
"pattern": "[0-9]{3}:[0-9]{2}"
57-
}
57+
},
58+
"minItems": 1,
59+
"uniqueItems": true
5860
},
5961
{
6062
"type": "null"
6163
}
62-
],
63-
"minItems": 1,
64-
"uniqueItems": true
64+
]
6565
},
6666
"contactPoint": {
6767
"title":"Contact Name",
@@ -384,7 +384,8 @@
384384
{
385385
"type": "array",
386386
"items": {
387-
"type": "string"
387+
"type": "string",
388+
"minLength": 1
388389
},
389390
"minItems": 1,
390391
"uniqueItems": true

0 commit comments

Comments
 (0)