Schema Registration and Management

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

Schema Registration and Management

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 metadata schema record looks like this:

{
  "schemaId" : "...",
  "schemaVersion" : 1,
  "mimeType" : "...",
  "type" : "...",
  "createdAt" : "...",
  "lastUpdate" : "...",
  "acl" : [ {
    "id" : 1,
    "sid" : "...",
    "permission" : "..."
  } ],
  "schemaDocumentUri" : "...",
  "schemaHash" : "...",
  "locked" : false
}

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

In addition, ACL may be useful to make schema editable by others. (This will be of interest while updating an existing schema)

« PREVIOUS NEXT »