Skip to content

Commit

Permalink
schema: change affiliation definition to match property name
Browse files Browse the repository at this point in the history
  • Loading branch information
thorge authored and tmorrell committed Mar 8, 2023
1 parent bd79f99 commit 24fc2ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions datacite/schemas/datacite-v4.3.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"uniqueItems": true
},
"affiliations": {
"affiliation": {
"type": "array",
"items": {
"type": "object",
Expand Down Expand Up @@ -250,7 +250,7 @@
"givenName": {"type": "string"},
"familyName": {"type": "string"},
"nameIdentifiers": {"$ref": "#/definitions/nameIdentifiers"},
"affiliation": {"$ref": "#/definitions/affiliations"},
"affiliation": {"$ref": "#/definitions/affiliation"},
"lang": {"type": "string"}
},
"required": ["name"]
Expand Down Expand Up @@ -305,7 +305,7 @@
"givenName": {"type": "string"},
"familyName": {"type": "string"},
"nameIdentifiers": {"$ref": "#/definitions/nameIdentifiers"},
"affiliation": {"$ref": "#/definitions/affiliations"},
"affiliation": {"$ref": "#/definitions/affiliation"},
"lang": {"type": "string"}
},
"required": ["contributorType", "name"]
Expand Down

0 comments on commit 24fc2ba

Please sign in to comment.