RO-Crate Profile Template

This document provides a template for an RO-Crate profile, including some questions to think about when writing a profile. The document itself is a work in progress - comments and suggestions for improvement are welcome.

It is NOT mandatory to follow this template! It is a guide only.

Overview

A summary of the intended uses of the RO-Crate and any background information that helps to understand the profile. Aim to answer the questions:

Inheritance

A profile may inherit or build upon the requirements of another profile, or even of multiple profiles. For example, Workflow Run Crate inherits all the requirements of both Process Run Crate and Workflow RO-Crate.

Clearly state if the profile inherits any requirements from other profiles.

Diagram

Optional: include a diagram that can help to describe the profile. For example, this could show how data types and terms used within the crate are related to each other (as in Workflow Run Crate), or demonstrate the file structure that should be followed.

Example Metadata Document (ro-crate-metadata.json)

Include a code block or link to a full example of an RO-Crate Metadata Document that follows the profile. Ensure that it follows all the best practices that the profile recommends, not just the minimum requirements, as people following the profile are likely to use this as an example!

Ideally, also include a link to an ro-crate-preview.html file, which renders the example as a user friendly HTML page. These can be generated using the ro-crate-html JavaScript package on NPM.

Full Specification

Here you should flesh out the description of the specification in natural language. This should complement the requirements table below by describing the motivation for the requirements (if relevant) and making connections between classes that aren’t made obvious in the table.

In particular, you should include any requirements for the file structure of the RO-Crate here, as those are not necessarily captured in the RO-Crate metadata (and therefore may not appear in the requirements table). File structure requirements include things like “folder foo/ must be present in the RO-Crate root.”

You can also give examples of specific patterns that are common in RO-Crates following this profile, or ensure frequently asked questions are answered.

The sections you put here are highly dependent on the design of your own profile. For inspiration you could look at the structure of the Process Run Crate profile, which has sections describing how to handle adding particular types of information to the crate.

See also the website guidance on Making an RO-Crate profile.

Some questions to think about:

Requirements Table

Including this table helps people using the profile understand quickly if they have met all of the requirements. Group the requirements by the class that they apply to.

Class type Foo

Property Required Description
name MUST MUST match the name of this entity in Some Other Database
hasPart SHOULD Referenced entities SHOULD be of type Bar

Class type Bar

Property Required Description
name MUST MUST match the name of this entity in Some Other Database