-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CSL JSON: date-parts set minItems to 1
Currently, the JSON Schema allows empty arrays in date-parts, which can cause downstream citeproc utilities to crash. See manubot/manubot#66 Set minItems to 1 for the date-parts array as well as the nested arrays with year, month, day info.
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -206,8 +206,10 @@ | |
"number" | ||
] | ||
}, | ||
"minItems": 1, | ||
"maxItems": 3 | ||
}, | ||
"minItems": 1, | ||
"maxItems": 2 | ||
}, | ||
"season": { | ||
|
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