Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix property between Role and Person for contributors #52

Merged
merged 3 commits into from
Jul 4, 2024

Conversation

progval
Copy link
Member

@progval progval commented Jul 3, 2024

It should be:

{
    "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
    "type": "SoftwareSourceCode",
    "contributor": [
        {
            "type": "schema:Role",
            "schema:contributor": {
                "type": "Person",
                "givenName": "Jane"
            },
        }
    ]
}

instead of:

{
    "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
    "type": "SoftwareSourceCode",
    "contributor": [
        {
            "type": "schema:Role",
            "schema:author": {
                "type": "Person",
                "givenName": "Jane"
            },
        }
    ]
}

It should be:

```
{
    "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
    "type": "SoftwareSourceCode",
    "contributor": [
        {
            "type": "schema:Role",
            "schema:contributor": {
                "type": "Person",
                "givenName": "Jane"
            },
        }
    ]
}
```

instead of:

```
{
    "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
    "type": "SoftwareSourceCode",
    "contributor": [
        {
            "type": "schema:Role",
            "schema:author": {
                "type": "Person",
                "givenName": "Jane"
            },
        }
    ]
}
```
@progval progval force-pushed the contributor-role branch from 476a2d9 to 5343438 Compare July 3, 2024 20:21
@progval
Copy link
Member Author

progval commented Jul 3, 2024

@hjonin Looks good?

@hjonin
Copy link
Contributor

hjonin commented Jul 4, 2024

Thanks for this fix!

@progval progval merged commit f060ff0 into master Jul 4, 2024
2 checks passed
@progval progval deleted the contributor-role branch July 4, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants