University of Edinburgh · JSON Structure

University Of Edinburgh Item Structure

JSON Structure for an Edinburgh DataShare DSpace item.

Type: object Properties: 8 Required: 3
EducationHigher EducationUniversityResearch DataOpen DataRepositoryOAI-PMHUnited KingdomScotland

DataShareItem is a JSON Structure definition published by University of Edinburgh, describing 8 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

uuid name handle type lastModified metadata bitstreams link

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://datashare.ed.ac.uk/structure/item.json",
  "name": "DataShareItem",
  "type": "object",
  "description": "JSON Structure for an Edinburgh DataShare DSpace item.",
  "properties": {
    "uuid": { "type": "string" },
    "name": { "type": "string" },
    "handle": { "type": ["string", "null"] },
    "type": { "type": "string" },
    "lastModified": { "type": "string" },
    "metadata": {
      "type": "array",
      "items": {
        "type": "object",
        "name": "MetadataEntry",
        "properties": {
          "key": { "type": "string" },
          "value": { "type": "string" },
          "language": { "type": ["string", "null"] },
          "schema": { "type": "string" },
          "element": { "type": "string" },
          "qualifier": { "type": ["string", "null"] }
        }
      }
    },
    "bitstreams": {
      "type": "array",
      "items": {
        "type": "object",
        "name": "Bitstream",
        "properties": {
          "uuid": { "type": "string" },
          "name": { "type": "string" },
          "bundleName": { "type": "string" },
          "format": { "type": "string" },
          "mimeType": { "type": "string" },
          "sizeBytes": { "type": "int64" },
          "retrieveLink": { "type": "string" },
          "sequenceId": { "type": "int32" }
        }
      }
    },
    "link": { "type": "string" }
  },
  "required": ["uuid", "name", "type"]
}