University of York · JSON Structure

University Of York Oai Record Structure

JSON Structure for an OAI-PMH 2.0 record (White Rose EPrints repositories), with the oai_dc Dublin Core metadata payload.

Type: object Properties: 2 Required: 1
EducationHigher EducationUniversityUnited KingdomResearchLibraryOpen AccessOAI-PMH

OAIRecord is a JSON Structure definition published by University of York, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

header metadata

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/university-of-york/main/json-structure/university-of-york-oai-record-structure.json",
  "name": "OAIRecord",
  "description": "JSON Structure for an OAI-PMH 2.0 record (White Rose EPrints repositories), with the oai_dc Dublin Core metadata payload.",
  "type": "object",
  "properties": {
    "header": {
      "type": "object",
      "properties": {
        "identifier": { "type": "string" },
        "datestamp": { "type": "string", "format": "date-time" },
        "status": { "type": "string" },
        "setSpec": { "type": "array", "items": { "type": "string" } }
      },
      "required": ["identifier", "datestamp"]
    },
    "metadata": {
      "type": "object",
      "properties": {
        "dc": { "type": { "$ref": "#/definitions/DublinCore" } }
      }
    }
  },
  "required": ["header"],
  "definitions": {
    "DublinCore": {
      "type": "object",
      "properties": {
        "title": { "type": "array", "items": { "type": "string" } },
        "creator": { "type": "array", "items": { "type": "string" } },
        "subject": { "type": "array", "items": { "type": "string" } },
        "description": { "type": "array", "items": { "type": "string" } },
        "relation": { "type": "array", "items": { "type": "string" } },
        "date": { "type": "array", "items": { "type": "string" } },
        "type": { "type": "array", "items": { "type": "string" } },
        "identifier": { "type": "array", "items": { "type": "string" } }
      }
    }
  }
}