Ntnu Datafile Structure

JSON Structure for a file belonging to a DataverseNO/NTNU dataset.

Type: object Properties: 14 Required: 1
EducationHigher EducationUniversityResearchOpen DataNorwayScandinavia

DataFile is a JSON Structure definition published by Norwegian University of Science and Technology, describing 14 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id contentType filesize friendlySize checksumType checksumValue restricted directoryLabel description originalFileFormat originalFileName tabularData unf displayName

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://api-evangelist.github.io/ntnu/json-structure/ntnu-datafile-structure.json",
  "name": "DataFile",
  "type": "object",
  "description": "JSON Structure for a file belonging to a DataverseNO/NTNU dataset.",
  "required": [
    "contentType"
  ],
  "properties": {
    "id": {
      "type": "int64"
    },
    "contentType": {
      "type": "string"
    },
    "filesize": {
      "type": "int64"
    },
    "friendlySize": {
      "type": "string"
    },
    "checksumType": {
      "type": "string"
    },
    "checksumValue": {
      "type": "string"
    },
    "restricted": {
      "type": "boolean"
    },
    "directoryLabel": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "originalFileFormat": {
      "type": "string"
    },
    "originalFileName": {
      "type": "string"
    },
    "tabularData": {
      "type": "boolean"
    },
    "unf": {
      "type": "string"
    },
    "displayName": {
      "type": "string"
    }
  }
}