forked from beerphilipp/ro-crates-deposit
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from ResearchObject/fix-encoding-issue
Avoid file upload timeout/504 error when uploading UTF-8 encoded file
- Loading branch information
Showing
6 changed files
with
160 additions
and
18 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,76 @@ | ||
{ | ||
"access": { | ||
"record": "public", | ||
"files": "public", | ||
"embargo": { | ||
"active": false | ||
} | ||
}, | ||
"metadata": { | ||
"resource_type": { | ||
"id": "dataset" | ||
}, | ||
"creators": [ | ||
{ | ||
"person_or_org": { | ||
"type": "personal", | ||
"given_name": "Jane", | ||
"family_name": "Smith", | ||
"name": "Smith", | ||
"identifiers": [ | ||
{ | ||
"scheme": "orcid", | ||
"identifier": "0000-0000-0000-0000" | ||
} | ||
] | ||
}, | ||
"affiliations": [ | ||
{ | ||
"name": "Example University" | ||
} | ||
] | ||
} | ||
], | ||
"contributors": [ | ||
{ | ||
"person_or_org": { | ||
"type": "personal", | ||
"given_name": "Jane", | ||
"family_name": "Smith", | ||
"identifiers": [ | ||
{ | ||
"scheme": "orcid", | ||
"identifier": "0000-0000-0000-0000" | ||
} | ||
] | ||
}, | ||
"role": { | ||
"id": "editor" | ||
}, | ||
"affiliations": [ | ||
{ | ||
"name": "Example University" | ||
} | ||
] | ||
} | ||
], | ||
"title": "Demo Crate", | ||
"publication_date": "2024-03-08", | ||
"description": "a demo crate for Galaxy training", | ||
"publisher": ":unkn", | ||
"rights": [ | ||
{ | ||
"title": { | ||
"en": "CC BY-NC-SA 4.0 International" | ||
}, | ||
"description": { | ||
"en": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International" | ||
}, | ||
"link": "https://spdx.org/licenses/CC-BY-NC-SA-4.0.html" | ||
} | ||
] | ||
}, | ||
"files": { | ||
"enabled": true | ||
} | ||
} |
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,3 @@ | ||
"Date","Minimum temperature (°C)","Maximum temperature (°C)","Rainfall (mm)" | ||
2022-02-01,16.0,28.4,0.6 | ||
2022-02-02,16.3,17.2,12.4 |
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,72 @@ | ||
{ | ||
"@context": "https://w3id.org/ro/crate/1.1/context", | ||
"@graph": [ | ||
{ | ||
"@id": "ro-crate-metadata.json", | ||
"@type": "CreativeWork", | ||
"conformsTo": { | ||
"@id": "https://w3id.org/ro/crate/1.1" | ||
}, | ||
"about": { | ||
"@id": "./" | ||
} | ||
}, | ||
{ | ||
"@id": "./", | ||
"@type": [ | ||
"Dataset", | ||
"LearningResource" | ||
], | ||
"name": "Demo Crate", | ||
"description": "a demo crate for Galaxy training", | ||
"datePublished": "2024-03-08", | ||
"publisher": "https://ror.org/0abcdef00", | ||
"license": { | ||
"@id": "https://spdx.org/licenses/CC-BY-NC-SA-4.0.html", | ||
"@type": "CreativeWork", | ||
"name": "CC BY-NC-SA 4.0 International", | ||
"description": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International" | ||
}, | ||
"author": { | ||
"@id": "https://orcid.org/0000-0000-0000-0000" | ||
}, | ||
"hasPart": [ | ||
{ | ||
"@id": "data.csv" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "data.csv", | ||
"@type": "File", | ||
"name": "Rainfall Katoomba 2022-02", | ||
"description": "Rainfall data for Katoomba in NSW Australia, captured February 2022.", | ||
"encodingFormat": "text/csv", | ||
"license": { | ||
"@id": "https://creativecommons.org/licenses/by-nc-sa/4.0/" | ||
} | ||
}, | ||
{ | ||
"@id": "https://orcid.org/0000-0000-0000-0000", | ||
"@type": "Person", | ||
"givenName": "Jane", | ||
"familyName": "Smith", | ||
"affiliation": { | ||
"@id": "https://ror.org/0abcdef00" | ||
} | ||
}, | ||
{ | ||
"@id": "https://ror.org/0abcdef00", | ||
"@type": "Organization", | ||
"name": "Example University", | ||
"url": "https://www.example.org" | ||
}, | ||
{ | ||
"@id": "https://spdx.org/licenses/CC-BY-NC-SA-4.0.html", | ||
"@type": "CreativeWork", | ||
"name": "CC BY-NC-SA 4.0 International", | ||
"description": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", | ||
"identifier": "https://spdx.org/licenses/CC-BY-NC-SA-4.0.html" | ||
} | ||
] | ||
} |
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