Skip to content

@type vs type, @id vs id #62

Description

@geoffroy-noel-ddh

Here's a codemeta.json generated with the current live application today.

{
    "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
    "type": "SoftwareSourceCode",
    "author": [
        {
            "id": "https://orcid.org/1234-5678-1234-5678",
            "type": "Person",
            "familyName": "smith",
            "givenName": "bill"
        }
    ],
    "name": "mytool"
}

However codemeta/codemeta.json uses @type and @id under author; not type or id.

{
  "@context": "https://w3id.org/codemeta/3.0",
  "@type": "SoftwareSourceCode",
  "identifier": "CodeMeta",
  "description": "CodeMeta is a concept vocabulary that can be used to standardize the exchange of software metadata across repositories and organizations.",
  "name": "CodeMeta: Minimal metadata schemas for science software and code, in JSON-LD",
  "codeRepository": "https://github.com/codemeta/codemeta",
  "issueTracker": "https://github.com/codemeta/codemeta/issues",
  "license": "https://spdx.org/licenses/Apache-2.0",
  "version": "3.0",
  "author": [
    {
      "@type": "Person",
      "givenName": "Carl",
      "familyName": "Boettiger",
      "email": "cboettig@gmail.com",
      "@id": "http://orcid.org/0000-0002-1642-628X"
    },
    {
      "@type": "Person",
      "givenName": "Matthew B.",
      "familyName": "Jones",
      "email": "jones@nceas.ucsb.edu",
      "@id": "http://orcid.org/0000-0003-0077-4738"
    }
  ],

Same in https://github.com/codemeta/codemeta-generator/blob/master/codemeta.json

Is that a bug in codemeta-generator?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions