Skip to content

OAI_ORE exporter media type should be application/ld+json #11580

Description

@pdurbin

From https://dataverse.harvard.edu/api/info/exportFormats it's hard to tell which formats are based on JSON-LD. Only one of three (schema.org) is clearly application/ld+json:

{
  "status": "OK",
  "data": {
    "OAI_ORE": {
      "displayName": "OAI_ORE",
      "mediaType": "application/json",
      "isHarvestable": false,
      "isVisibleInUserInterface": true
    },
...
    "schema.org": {
      "displayName": "Schema.org JSON-LD",
      "mediaType": "application/ld+json",
      "isHarvestable": false,
      "isVisibleInUserInterface": true
    },
...
    "croissant": {
      "displayName": "Croissant",
      "mediaType": "application/json",
      "isHarvestable": false,
      "isVisibleInUserInterface": true
    },
...
}

For croissant I opened this pull request (it also adds a profile, like this: application/ld+json; profile="http://mlcommons.org/croissant/1.0"):

Should we make a similar change for OAI_ORE? The spec at https://www.openarchives.org/ore/0.9/jsonld seems to prefer application/ld+json:

Image

As a side note, it might be interesting to show which formats are based on Schema.org.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions