-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Workflow Run RO-crate format (#39)
Signed-off-by: fbartusch <[email protected]> Signed-off-by: Ben Sherman <[email protected]> Co-authored-by: fbartusch <[email protected]> Co-authored-by: Ben Sherman <[email protected]>
- Loading branch information
1 parent
9b5e7bb
commit 4bbf0c1
Showing
7 changed files
with
1,105 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Additional WRROC configuration | ||
|
||
*New in version 1.4.0* | ||
|
||
The `wrroc` format supports additional options to configure certain aspects of the Workflow Run RO-Crate. These fields cannot be inferred automatically from the pipeline or the run, and so must be entered through the config. | ||
|
||
The following config options are supported: | ||
|
||
- `prov.formats.wrroc.agent.contactType` | ||
- `prov.formats.wrroc.agent.email` | ||
- `prov.formats.wrroc.agent.name` | ||
- `prov.formats.wrroc.agent.orcid` | ||
- `prov.formats.wrroc.agent.phone` | ||
- `prov.formats.wrroc.agent.ror` | ||
- `prov.formats.wrroc.organization.contactType` | ||
- `prov.formats.wrroc.organization.email` | ||
- `prov.formats.wrroc.organization.name` | ||
- `prov.formats.wrroc.organization.phone` | ||
- `prov.formats.wrroc.organization.ror` | ||
- `prov.formats.wrroc.license` | ||
- `prov.formats.wrroc.publisher` | ||
|
||
Refer to the [WRROC User Guide](https://www.researchobject.org/workflow-run-crate/) for more information about the associated RO-Crate entities. | ||
|
||
Here is an example config: | ||
|
||
```groovy | ||
prov { | ||
formats { | ||
wrroc { | ||
agent { | ||
name = "John Doe" | ||
orcid = "https://orcid.org/0000-0000-0000-0000" | ||
email = "[email protected]" | ||
phone = "(0)89-99998 000" | ||
contactType = "Researcher" | ||
} | ||
organization { | ||
name = "University of XYZ" | ||
ror = "https://ror.org/000000000" | ||
} | ||
license = "https://spdx.org/licenses/MIT" | ||
publisher = "https://ror.org/000000000" | ||
} | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.