Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 22 additions & 9 deletions schemas/input/csl-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,18 @@
"alternate": {
"title": "Alternative name, such as screen name for online item or real name of pseudonymous author.",
"description": "E.g. rendered as 'Smith, J. [@JSmith]'",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please include "examples" in the json schema, as elsewhere, @bwiernik?

"type": "string"
"type": "array",
"items": {
"$ref": "#/definitions/name-variable"
}
},
"place": {
"title": "Place associated with the name",
"description": "Can be a simple string if one location or an array of strings if multiple locations are listed (e.g. Berlin; New York)",
"type": ["string", "array"],
"items": {
"type": "string"
}
},
"parse-names": {
"type": "boolean"
Expand Down Expand Up @@ -472,6 +483,14 @@
"$ref": "#/definitions/name-variable"
}
},
"publisher": {
"title": "Publisher of the item",
"description": "e.g., [{'institution': 'Publisher', 'place': 'London, UK'}], [{'institution': 'Publisher A', 'place': 'New York, NY, US'}, {'institution': 'Publisher B', 'place': 'Berlin, Germany'}]",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here; the "e.g." stuff should go in "examples"; see the title properties, or "custom".

"type": "array",
"items": {
"$ref": "#/definitions/name-variable"
}
},
"recipient": {
"type": "array",
"items": {
Expand Down Expand Up @@ -516,7 +535,7 @@
"$ref": "#/definitions/date-variable"
},
"original-date": {
"description": "[Deprecated - Use `original` related date property instead]",
"description": "[Deprecated - Use `original` related `issued` property instead]",
"$ref": "#/definitions/date-variable"
},
"submitted": {
Expand Down Expand Up @@ -634,7 +653,7 @@
"type": "string"
},
"original-publisher-place": {
"description": "[Deprecated - Use `original` related `publisher-place` property instead]",
"description": "[Deprecated - Use `original` related `publisher` property `place` property instead]",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"description": "[Deprecated - Use `original` related `publisher` property `place` property instead]",
"description": "[Deprecated - Use `original` related `publisher` property `place` instead]",

Right?

"type": "string"
},
"original-title": {
Expand Down Expand Up @@ -662,12 +681,6 @@
"printing": {
"type": ["string", "number"]
},
"publisher": {
"type": "string"
},
"publisher-place": {
"type": "string"
},
"references": {
"type": "string"
},
Expand Down
Loading