Giter VIP home page Giter VIP logo

snd-sweden / data-storage-information-interface Goto Github PK

View Code? Open in Web Editor NEW
3.0 7.0 0.0 1.08 MB

Ro-crate json-schema and documentation for file description metadata to SND DORIS

Home Page: https://snd-sweden.github.io/data-storage-information-interface

C# 18.32% JavaScript 23.66% Java 23.63% PHP 34.39%
json-schema data-storage-information file-metadata json-ld ro-crate dataset metadata

data-storage-information-interface's Introduction

About the storage manifest

The purpose of this manifest is to integrate a local research storage with SND DORIS so that the researchers can easily describe, refer to and publish data without data having to leave the organisation's own storage.

The goal is to have as few required fields as possible and focus on using a RO-Crate manifest to describe a set of files connected to an organisation (e.g. a university) and a list of researchers (identified by Swamid/eduGAIN identifiers).

The manifest for describing the storage manifest and files is based on RO-Crate 1.1.

JSON schema for the manifest

JSON schema - documentation

Example implementations

Node.js command line tool

C# command line tool

Java command line tool

PHP Nextcloud extension example

Properties overview

This is an overview of the properties supported by SND's RO-Crate profile.

Example manifest

Simple manifest with two files

Note: RO-Crate manifests must be expressed as a JSON-LD flattened graph, nested properties are not allowed. This means references must be expressed with local id:s, for example Person.identifier to PropertyValue to reference the value for eduPersonPrincipalName (see example manifest and example scripts).

Example for posting a manifest

To get access to the staging environment for handling the server contact SND.

  1. Generate ro-crate-metadata.json or use ro-crate-metadata.example.json
  2. curl -X POST https://example-index-server.se/ro-crate -H 'Content-Type: application/json' -d @'ro-crate-metadata.json'
  3. For updates post the updated manifest (the identifier in the manifest needs to be identical)
  4. Your files should be listed in DORIS (staging)

data-storage-information-interface's People

Contributors

borsna avatar fabani avatar jfihn avatar stefanjakobsson avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

data-storage-information-interface's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.