Skip to content

Commit

Permalink
Merge pull request #25 from seasidesparrow/title_note_xref.20231011
Browse files Browse the repository at this point in the history
Adds storage for title and subtitle notes separate from the title text
  • Loading branch information
seasidesparrow authored Oct 20, 2023
2 parents 980e70b + eaef5f9 commit 5e987ad
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 13 deletions.
15 changes: 2 additions & 13 deletions adsingestschema/Document.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,10 @@
}
},
"title": {
"type": "object",
"properties": {
"textEnglish": {
"type": "string"
},
"textNative": {
"type": "string"
},
"langNative": {
"type": "string"
}
}
"$ref": "./Title.json"
},
"subtitle": {
"type": "string"
"$ref": "./Title.json"
},
"abstract": {
"type": "object",
Expand Down
23 changes: 23 additions & 0 deletions adsingestschema/Title.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"title": "Title",
"description": "Holds the title data, including multiple language fields, and a list to hold any notes/xrefs provided by the publisher",
"type": "object",
"properties": {
"textEnglish": {
"type": "string"
},
"textNative": {
"type": "string"
},
"langNative": {
"type": "string"
},
"textNotes": {
"type": "array",
"description": "Footnotes and xrefs associated with title(s)",
"items": {
"type": "string"
}
}
}
}

0 comments on commit 5e987ad

Please sign in to comment.