Differential D6905 Diff 25084 swh/loader/package/deposit/tests/data/https_deposit.softwareheritage.org/hello_2.13.json
Changeset View
Changeset View
Standalone View
Standalone View
swh/loader/package/deposit/tests/data/https_deposit.softwareheritage.org/hello_2.13.json
- This file was copied from swh/loader/package/deposit/tests/data/https_deposit.softwareheritage.org/hello_2.12.json.
{ | { | ||||
"origin": { | "origin": { | ||||
"url": "https://hal-test.archives-ouvertes.fr/hal-123456", | "url": "https://hal-test.archives-ouvertes.fr/hal-123456", | ||||
"type": "deposit" | "type": "deposit" | ||||
}, | }, | ||||
"metadata_raw": ["<?xml version=\"1.0\"?><entry xmlns=\"http://www.w3.org/2005/Atom\" xmlns:codemeta=\"https://doi.org/10.5063/SCHEMA/CODEMETA-2.0\"><external_identifier>some-external-id</external_identifier><url>https://hal-test.archives-ouvertes.fr/some-external-id</url><codemeta:dateCreated>2017-10-07T15:17:08Z</codemeta:dateCreated><author>some awesome author</author><author>another one</author><author>no one</author></entry>", | "metadata_raw": ["<?xml version=\"1.0\"?><entry xmlns=\"http://www.w3.org/2005/Atom\" xmlns:codemeta=\"https://doi.org/10.5063/SCHEMA/CODEMETA-2.0\"><external_identifier>some-external-id</external_identifier><url>https://hal-test.archives-ouvertes.fr/some-external-id</url><codemeta:dateCreated>2017-10-07T15:17:08Z</codemeta:dateCreated><author>some awesome author</author><author>another one</author><author>no one</author></entry>", | ||||
"<?xml version=\"1.0\"?><entry xmlns=\"http://www.w3.org/2005/Atom\" xmlns:codemeta=\"https://doi.org/10.5063/SCHEMA/CODEMETA-2.0\"><author>someone</author></entry>" | "<?xml version=\"1.0\"?><entry xmlns=\"http://www.w3.org/2005/Atom\" xmlns:codemeta=\"https://doi.org/10.5063/SCHEMA/CODEMETA-2.0\"><author>someone</author>\n<codemeta:releaseNotes>This release adds this and that.</codemeta:releaseNotes></entry>" | ||||
], | ], | ||||
"metadata_dict": { | "metadata_dict": { | ||||
"author": [ | "author": [ | ||||
"some awesome author", | "some awesome author", | ||||
"another one", | "another one", | ||||
"no one" | "no one" | ||||
], | ], | ||||
"codemeta:dateCreated": "2017-10-07T15:17:08Z", | "codemeta:dateCreated": "2017-10-07T15:17:08Z", | ||||
Show All 10 Lines | "<?xml version=\"1.0\"?><entry xmlns=\"http://www.w3.org/2005/Atom\" xmlns:codemeta=\"https://doi.org/10.5063/SCHEMA/CODEMETA-2.0\"><author>someone</author>\n<codemeta:releaseNotes>This release adds this and that.</codemeta:releaseNotes></entry>" | ||||
"tool": { | "tool": { | ||||
"name": "swh-deposit", | "name": "swh-deposit", | ||||
"version": "0.0.1", | "version": "0.0.1", | ||||
"configuration": { | "configuration": { | ||||
"sword_version": "2" | "sword_version": "2" | ||||
} | } | ||||
}, | }, | ||||
"deposit": { | "deposit": { | ||||
"id": 888, | "id": 999, | ||||
"client": "hal", | "client": "hal", | ||||
"collection": "hal", | "collection": "hal", | ||||
"author": { | "author": { | ||||
"name": "Software Heritage", | "name": "Software Heritage", | ||||
"fullname": "Software Heritage", | "fullname": "Software Heritage", | ||||
"email": "robot@softwareheritage.org" | "email": "robot@softwareheritage.org" | ||||
}, | }, | ||||
"author_date": { | "author_date": { | ||||
Show All 12 Lines | "deposit": { | ||||
"committer_date": { | "committer_date": { | ||||
"timestamp": { | "timestamp": { | ||||
"seconds": 1507474800, | "seconds": 1507474800, | ||||
"microseconds": 0 | "microseconds": 0 | ||||
}, | }, | ||||
"offset": 0, | "offset": 0, | ||||
"negative_utc": false | "negative_utc": false | ||||
}, | }, | ||||
"revision_parents": [] | "revision_parents": [], | ||||
"release_notes": "This release adds this and that." | |||||
} | } | ||||
} | } |