Skip to content

Commit

Permalink
add a string option to the title-variable (which claimed to have that…
Browse files Browse the repository at this point in the history
… already)
  • Loading branch information
cormacrelf authored and bdarcus committed May 31, 2022
1 parent 929a9a6 commit c7cc717
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions schemas/input/csl-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@
"definitions": {
"title-variable": {
"title": "Title variable",
"description": "Titles are represented as an object.",
"$ref": "#/definitions/title-object"
"description": "Titles are represented as a string or as an object.",
"anyOf": [
{ "$ref": "#/definitions/rich-text-string" },
{ "$ref": "#/definitions/title-object" }
]
},
"title-object": {
"title": "Title Object",
Expand Down Expand Up @@ -73,11 +76,6 @@
"description": "A string that may include sub-string formatting for bold, italic, subscript, superscript, math, etc. The accompanying `csl-rich-text.yaml` schema defines experimental support for this in CSL JSON input.",
"type": "string"
},
"title-string": {
"title": "Title String",
"description": "Titles are a primary example of rich text strings in CSL.",
"$ref": "#/definitions/rich-text-string"
},
"edtf-string": {
"title": "EDTF date string",
"description": "CSL input supports EDTF, levels 0 and 1.",
Expand Down

0 comments on commit c7cc717

Please sign in to comment.