gfbio / bioschemas.org_interest_group

A repository for documents and files related the the bioschemas.org interest group within NFDI4Biodiversity
Mozilla Public License 2.0
3 stars 0 forks source link

[#2] Updated contributors mapping #7

Open airnst opened 1 month ago

airnst commented 1 month ago

Tickets

[#2]

Justification

Information about abcd:DataSets/DataSet/Metadata/RevisionData/Contributors must be mapped to the schema:Person type of the schema:contributor property. This information may include several persons.

Code changes

A foreach loop has been added for strings with commas that are split and added to the schema property as a list of persons. Otherwise, only one person object is added. The string information is used as the object's name.