Skip to content

Commit

Permalink
(input): Change date-parts to edtf string
Browse files Browse the repository at this point in the history
  • Loading branch information
bdarcus committed Jun 28, 2020
1 parent c982ed4 commit cb76bd8
Showing 1 changed file with 10 additions and 21 deletions.
31 changes: 10 additions & 21 deletions schemas/input/csl-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -422,9 +422,14 @@
"title": "Custom key-value pairs.",
"type": "object",
"description": "Used to store additional information that does not have a designated CSL JSON field. The note field can also store additional information, but custom is preferred for storing key-value pairs.",
"examples" : [
{"short_id": "xyz", "other-ids": ["alternative-id"]},
{"metadata-double-checked": true}
"examples": [
{
"short_id": "xyz",
"other-ids": ["alternative-id"]
},
{
"metadata-double-checked": true
}
]
}
},
Expand Down Expand Up @@ -472,24 +477,8 @@
"anyOf": [
{
"properties": {
"date-parts": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": ["string", "number"]
},
"minItems": 1,
"maxItems": 3
},
"minItems": 1,
"maxItems": 2
},
"season": {
"type": ["string", "number"]
},
"circa": {
"type": ["string", "number", "boolean"]
"edtf": {
"type": "string"
},
"literal": {
"type": "string"
Expand Down

0 comments on commit cb76bd8

Please sign in to comment.