/
template.json
84 lines (84 loc) · 2.34 KB
/
template.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"templateId": "ro-crate",
"organizationId": "dsw",
"version": "0.1.0",
"name": "RO-Crate",
"description": "RO-Crate export from DSW projects",
"license": "Apache-2.0",
"metamodelVersion": 11,
"allowedPackages": [
{
"orgId": "dsw",
"kmId": "root",
"minVersion": null,
"maxVersion": null
},
{
"orgId": "dsw",
"kmId": "lifesciences",
"minVersion": null,
"maxVersion": null
}
],
"formats": [
{
"uuid": "b3c42edb-c858-4073-853e-751e75d8ee01",
"name": "Metadata (JSON)",
"icon": "fas fa-share-alt",
"steps": [
{
"name": "jinja",
"options": {
"template": "src/template.json.j2",
"content-type": "application/json",
"extension": "json"
}
}
]
},
{
"uuid": "b3c42edb-c858-4073-853e-751e75d8ee11",
"name": "Preview (HTML)",
"icon": "fas fa-share-alt",
"steps": [
{
"name": "jinja",
"options": {
"template": "src/template.html.j2",
"content-type": "text/html",
"extension": "html"
}
}
]
},
{
"uuid": "b3c42edb-c858-4073-853e-751e75d8ee02",
"name": "Package (ZIP)",
"icon": "fas fa-file-archive",
"steps": [
{
"name": "jinja",
"options": {
"template": "src/template.json.j2",
"content-type": "application/json",
"extension": "json"
}
},
{
"name":"archive",
"options": {
"type": "zip",
"inputFileDst": "ro-crate-metadata.json"
}
}
]
}
],
"_tdk": {
"version": "3.20.0",
"readmeFile": "README.md",
"files": [
"src/**/*"
]
}
}