Closed jcolomb closed 3 years ago
NB: the example is better yaml formatted but the idea is the same.
Thanks for putting this together, Julien. As a general remark: I think it may be useful to also suggest and discuss which fields are optional and what possible default values could be. For example, I would suggest to let the type
attribute default to author
and string-name
to a given-names
+ surnames
and so on. Where would be a good place to list/discuss these suggestions?
One other thought: There seem to be some redundancies in the affiliation information. Do we need a country
field in addition to the ISO 3166-1 alpha-2 code in country.code
? Also would it make sense to add a field for postal address (e.g. street) so that this information can be omitted from the name?
About country fields: this is taken directly from jats4r: they probably have their reasons (?), although I like the postal adress idea.
I would keep a discussion about required fields and default values to a later point, but you are welcome to open a different issue to talk about it.
moved every comment into issue, PR could be accepted.
I worked the requirement and added a first prototype for discussion.
For simplicity, I propose to keep affilliation outside of the author entries and refer to them, in all cases. While this makes the information about one author less portable, it will facilitates the work of pandoc (@tarleb ?).
For groups, I would propose to link people to groups via a
part.of.group
entry and use the author type to deal with it: author type = author (normal), group (this is the name of a group of authors), non-byline-author (author belonging to a group), non-author-contributor (people normally ending in the aknowledgements)