University of Edinburgh · Schema
Edinburgh DataShare Bitstream
A DSpace bitstream (binary file) as returned by the Edinburgh DataShare REST API /bitstreams endpoint.
EducationHigher EducationUniversityResearch DataOpen DataRepositoryOAI-PMHUnited KingdomScotland
Properties
| Name | Type | Description |
|---|---|---|
| uuid | string | |
| name | string | |
| handle | stringnull | |
| type | string | |
| expand | array | |
| bundleName | string | e.g. ORIGINAL, THUMBNAIL, CC-LICENSE. |
| description | stringnull | |
| format | string | |
| mimeType | string | |
| sizeBytes | integer | |
| parentObject | objectnull | |
| retrieveLink | string | |
| checkSum | object | |
| sequenceId | integer | |
| policies | arraynull | |
| link | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://datashare.ed.ac.uk/schema/bitstream.json",
"title": "Edinburgh DataShare Bitstream",
"description": "A DSpace bitstream (binary file) as returned by the Edinburgh DataShare REST API /bitstreams endpoint.",
"type": "object",
"properties": {
"uuid": { "type": "string", "format": "uuid" },
"name": { "type": "string" },
"handle": { "type": ["string", "null"] },
"type": { "type": "string", "const": "bitstream" },
"expand": { "type": "array", "items": { "type": "string" } },
"bundleName": { "type": "string", "description": "e.g. ORIGINAL, THUMBNAIL, CC-LICENSE." },
"description": { "type": ["string", "null"] },
"format": { "type": "string" },
"mimeType": { "type": "string" },
"sizeBytes": { "type": "integer" },
"parentObject": { "type": ["object", "null"] },
"retrieveLink": { "type": "string" },
"checkSum": {
"type": "object",
"properties": {
"value": { "type": "string" },
"checkSumAlgorithm": { "type": "string" }
}
},
"sequenceId": { "type": "integer" },
"policies": { "type": ["array", "null"] },
"link": { "type": "string" }
},
"required": ["uuid", "name", "type", "mimeType", "sizeBytes"]
}