-
Notifications
You must be signed in to change notification settings - Fork 476
/
update-dataset-version-with-files.json
129 lines (127 loc) · 3.43 KB
/
update-dataset-version-with-files.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"metadataBlocks": {
"citation": {
"displayName": "Citation Metadata",
"fields": [
{
"typeName": "title",
"multiple": false,
"typeClass": "primitive",
"value": "Update Version with Files"
},
{
"typeName": "author",
"multiple": true,
"typeClass": "compound",
"value": [
{
"authorName": {
"typeName": "authorName",
"multiple": false,
"typeClass": "primitive",
"value": "Spruce, Sabrina"
}
}
]
},
{
"typeName": "datasetContact",
"multiple": true,
"typeClass": "compound",
"value": [
{
"datasetContactName": {
"typeName": "datasetContactName",
"multiple": false,
"typeClass": "primitive",
"value": "Spruce, Sabrina"
},
"datasetContactEmail": {
"typeName": "datasetContactEmail",
"multiple": false,
"typeClass": "primitive",
"value": "spruce@mailinator.com"
}
}
]
},
{
"typeName": "dsDescription",
"multiple": true,
"typeClass": "compound",
"value": [
{
"dsDescriptionValue": {
"typeName": "dsDescriptionValue",
"multiple": false,
"typeClass": "primitive",
"value": "test"
}
}
]
},
{
"typeName": "subject",
"multiple": true,
"typeClass": "controlledVocabulary",
"value": [
"Other"
]
},
{
"typeName": "depositor",
"multiple": false,
"typeClass": "primitive",
"value": "Spruce, Sabrina"
},
{
"typeName": "dateOfDeposit",
"multiple": false,
"typeClass": "primitive",
"value": "2017-04-19"
}
]
}
},
"files": [
{
"description": "",
"label": "yn152_4_001.img",
"directoryLabel": "data/subdir1",
"version": 1,
"datasetVersionId": 2,
"dataFile": {
"id": 424,
"filename": "yn152_4_001.img",
"contentType": "application/octet-stream",
"storageIdentifier": "data/subdir/yn152_4_001.img",
"originalFormatLabel": "UNKNOWN",
"checksum": {
"type": "MD5",
"value": "fc4ac06da6fd84785ed1b79cab9b714a73621ac7"
},
"description": ""
}
},
{
"description": "",
"label": "yn152_4_002.img",
"directoryLabel": "data/subdir2",
"version": 1,
"datasetVersionId": 2,
"categories": ["Data"],
"dataFile": {
"id": 425,
"filename": "yn152_4_002.img",
"contentType": "application/octet-stream",
"storageIdentifier": "data/subdir/yn152_4_002.img",
"originalFormatLabel": "UNKNOWN",
"checksum": {
"type": "MD5",
"value": "756c1963e34eb6dd8bb5b48333c4f20ce64a0307"
},
"description": ""
}
}
]
}