Schema Registration and Management (API v2)

A Research Data Repository Service for Managing Metadata Documents based on JSON or XML.

Schema Registration and Management (API v2)

In this first section, the handling of json schema resources is explained. It all starts with creating your first json schema resource. The model of a datacite record looks like this:

   {
      "id" : "...",
      "identifier" : {
        "value" : "(:tba)",
        "identifierType" : "DOI"
      },
      "creators" : [ {
        "givenName" : "..."
      } ],
      "titles" : [ {
        "value" : "..."
      } ],
      "publisher" : "...",
      "publicationYear" : "...",
      "resourceType" : {
        "value" : "...",
        "typeGeneral" : "..."
      },
      "dates" : [ {
        "value" : "...",
        "type" : "..."
      } ],
      "relatedIdentifiers" : [ {
        "value" : "...",
        "identifierType" : "...",
        "relationType" : "..."
      }} ],
      "alternateIdentifiers" : [ {
        "value" : "...",
        "identifierType" : "..."
      } ],
      "version" : "...",
      "rights": [
        {
          "schemeId": "",
          "schemeUri": ""
        }
      ],
      "lastUpdate" : "...",
      "state" : "...",
      "acls" : [ {
        "sid" : "...",
        "permission" : "..."
      } ]
    }

At least the following elements are expected to be provided by the user:

In addition, ACL may be useful to make schema readable/editable by others. This will be of interest while accessing/updating an existing schema.(if authorization is enabled)

« PREVIOUS NEXT »