UBC Abacus Dataverse DataFile

A single file belonging to a dataset in UBC Library's Abacus Dataverse repository. Field set derived from the live OpenAPI DataFile schema.

EducationHigher EducationUniversityCanadaLibraryOpen DataResearch DataDigital Collections

Properties

Name Type Description
id integer Internal numeric database id of the file.
contentType string MIME content type of the file.
filesize integer Size of the file in bytes.
checksumType string Checksum algorithm, e.g. MD5, SHA-1, SHA-256.
checksumValue string Computed checksum value for integrity verification.
storageIdentifier string
restricted boolean Whether the file is access-restricted.
deleted boolean
markedAsDuplicate boolean
duplicateFilename string
rootDataFileId integer
previousDataFileId integer
publicationDate string
createDate string
View JSON Schema on GitHub

JSON Schema

ubc-datafile-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ubc/main/json-schema/ubc-datafile-schema.json",
  "title": "UBC Abacus Dataverse DataFile",
  "description": "A single file belonging to a dataset in UBC Library's Abacus Dataverse repository. Field set derived from the live OpenAPI DataFile schema.",
  "type": "object",
  "properties": {
    "id": { "type": "integer", "description": "Internal numeric database id of the file." },
    "contentType": { "type": "string", "description": "MIME content type of the file." },
    "filesize": { "type": "integer", "description": "Size of the file in bytes." },
    "checksumType": { "type": "string", "description": "Checksum algorithm, e.g. MD5, SHA-1, SHA-256.", "enum": ["MD5", "SHA1", "SHA256", "SHA512"] },
    "checksumValue": { "type": "string", "description": "Computed checksum value for integrity verification." },
    "storageIdentifier": { "type": "string" },
    "restricted": { "type": "boolean", "description": "Whether the file is access-restricted." },
    "deleted": { "type": "boolean" },
    "markedAsDuplicate": { "type": "boolean" },
    "duplicateFilename": { "type": "string" },
    "rootDataFileId": { "type": "integer" },
    "previousDataFileId": { "type": "integer" },
    "publicationDate": { "type": "string", "format": "date-time" },
    "createDate": { "type": "string", "format": "date-time" }
  },
  "required": ["id"],
  "additionalProperties": true
}