Skip to content

Commit

Permalink
Merge pull request #19 from seasidesparrow/funding_obj.20230725
Browse files Browse the repository at this point in the history
fix: update Document.funding to be array of Funder objects
  • Loading branch information
seasidesparrow authored Jul 27, 2023
2 parents c051245 + de68176 commit a5557d6
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
6 changes: 5 additions & 1 deletion adsingestschema/Document.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,11 @@
"type": "string"
},
"funding": {
"type": "string"
"type": "array",
"description": "Array of Funder.json objects",
"items": {
"$ref": "./Funder.json"
}
},
"version": {
"type": "string"
Expand Down
24 changes: 24 additions & 0 deletions adsingestschema/Funder.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"title": "Funder",
"description": "Describes a funding agency and provides fields for their name,funder ID, and award number cited in the paper",
"type": "object",
"properties": {
"agencyname": {
"type": "string"
},
"agencyid": {
"type": "object",
"properties": {
"idschema": {
"type": "string"
},
"idvalue": {
"type": "string"
}
}
},
"awardnumber": {
"type": "string"
}
}
}

0 comments on commit a5557d6

Please sign in to comment.