Skip to content

Commit 395228e

Browse files
authored
Update codemeta.go
affiliation and email are not required for every person or org
1 parent ec8f0fb commit 395228e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codemeta/codemeta.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ type PersonOrOrganization struct {
1818
// Given/Family are used by individual persons
1919
GivenName string `json:"givenName,omitempty"`
2020
FamilyName string `json:"familyName,omitempty"`
21-
Affiliation string `json:"affiliation"`
22-
Email string `json:"email"`
21+
Affiliation string `json:"affiliation,omitempty"`
22+
Email string `json:"email,omitempty"`
2323
}
2424

2525
type Codemeta struct {

0 commit comments

Comments
 (0)