Skip to content

Commit

Permalink
Merge pull request #12 from seasidesparrow/main
Browse files Browse the repository at this point in the history
 	new file:   adsingestschema/IsbnType.json
  • Loading branch information
seasidesparrow authored Apr 22, 2022
2 parents 5932465 + 2a7af3a commit c60e9c9
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
13 changes: 13 additions & 0 deletions adsingestschema/IsbnType.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"title": "IsbnType",
"description": "Holds an individual ISBN, with its type (e.g. epub, ppub)",
"type": "object",
"properties": {
"pubtype": {
"type": "string"
},
"issnString": {
"type": "string"
}
}
}
5 changes: 4 additions & 1 deletion adsingestschema/PersistentID.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"type": "string"
},
"ISBN": {
"type": "string"
"type": "array",
"items": {
"$ref": "./IsbnType.json"
}
},
"DOI": {
"$comment": "Borrowed from arxiv spec https://github.com/arXiv/arxiv-canonical/blob/develop/schema-extended/arxiv-extended.json",
Expand Down
14 changes: 14 additions & 0 deletions adsingestschema/Publication.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,20 @@
"pubYear": {
"type": "string"
},
"bookSeries": {
"type": "object",
"properties": {
"seriesName": {
"type": "string"
},
"seriesID": {
"type": "string"
},
"seriesDescription": {
"type": "string"
}
}
},
"ISSN": {
"type": "array",
"items": {
Expand Down

0 comments on commit c60e9c9

Please sign in to comment.