Skip to content

Commit

Permalink
CSL JSON: date-parts set minItems to 1
Browse files Browse the repository at this point in the history
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
dhimmel committed Oct 30, 2018
1 parent 24d1dc2 commit c6c2927
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions csl-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,10 @@
"number"
]
},
"minItems": 1,
"maxItems": 3
},
"minItems": 1,
"maxItems": 2
},
"season": {
Expand Down

0 comments on commit c6c2927

Please sign in to comment.