Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update data and activate test validating finished projects #161

Merged
merged 3 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 50 additions & 1 deletion data/json/incunabula.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
"text": "Basel"
}
],
"howToCite": "Die Bilderfolgen der Basler Frühdrucke: Spätmittelalterliche Didaxe als Bild-Text-Lektüre (2012) DaSCH. ark.dasch.swiss/ark:/72163/1/0803",
"status": "finished"
},
"datasets": [
Expand Down Expand Up @@ -148,7 +149,34 @@
}
],
"status": "Finished",
"title": "Die Bilderfolgen der Basler Frühdrucke: Spätmittelalterliche Didaxe als Bild-Text-Lektüre"
"title": "Die Bilderfolgen der Basler Frühdrucke: Spätmittelalterliche Didaxe als Bild-Text-Lektüre",
"howToCite": "Die Bilderfolgen der Basler Frühdrucke: Spätmittelalterliche Didaxe als Bild-Text-Lektüre (2012). [Dataset]. DaSCH. ark.dasch.swiss/ark:/72163/1/0803",
"typeOfData": [
"Image"
],
"licenses": [
{
"__type": "License",
"date": "2012-08-31",
"license": {
"__type": "URL",
"type": "Creative Commons",
"url": "https://creativecommons.org/licenses/by/4.0/",
"text": "CC BY 4.0"
}
}
],
"accessConditions": "open",
"languages": [
{
"en": "German",
"de": "Deutsch"
},
{
"en": "Latin",
"de": "Latein"
}
]
}
],
"persons": [
Expand All @@ -165,6 +193,9 @@
],
"affiliation": [
"http://ns.dasch.swiss/repository#dsp-0803-organization-001"
],
"jobTitles": [
"Project Leader"
]
},
{
Expand All @@ -180,6 +211,9 @@
],
"affiliation": [
"http://ns.dasch.swiss/repository#dsp-0803-organization-002"
],
"jobTitles": [
"Project Leader"
]
},
{
Expand All @@ -195,6 +229,9 @@
],
"affiliation": [
"http://ns.dasch.swiss/repository#dsp-0803-organization-003"
],
"jobTitles": [
"Project Leader"
]
},
{
Expand All @@ -207,6 +244,12 @@
],
"givenNames": [
"Lothar"
],
"jobTitles": [
"Data Collector"
],
"affiliation": [
"http://ns.dasch.swiss/repository#dsp-0803-organization-001"
]
},
{
Expand All @@ -219,6 +262,12 @@
],
"givenNames": [
"Katrin"
],
"jobTitles": [
"Data Collector"
],
"affiliation": [
"http://ns.dasch.swiss/repository#dsp-0803-organization-001"
]
}
],
Expand Down
6 changes: 6 additions & 0 deletions data/json/participation-social.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@
"text": "Modern"
}
],
"url": {
"__type": "URL",
"type": "URL",
"url": "https://ark.dasch.swiss/ark:/72163/1/083D",
"text": "Discover Project Metadata"
},
"status": "finished"
},
"datasets": [
Expand Down
30 changes: 30 additions & 0 deletions data/json/postkarten.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@
"url": "https://data.dasch.swiss/postcards/",
"text": "Project Website"
},
"funders": [
"http://ns.dasch.swiss/repository#dsp-0811-organization-000"
],
"status": "finished"
},
"datasets": [
Expand Down Expand Up @@ -100,6 +103,15 @@
"title": "Postkarten aus dem Russländischen Reich: Die Sammlung Radzievsky",
"typeOfData": [
"Image"
],
"attributions": [
{
"__type": "Attribution",
"agent": "http://ns.dasch.swiss/repository#dsp-0811-person-001",
"roles": [
"Data Collector"
]
}
]
}
],
Expand All @@ -123,6 +135,24 @@
"affiliation": [
"http://ns.dasch.swiss/repository#dsp-0811-organization-000"
]
},
{
"__id": "http://ns.dasch.swiss/repository#dsp-0811-person-001",
"__type": "Person",
"__createdAt": "1652361078368442000",
"__createdBy": "dsp-metadata-gui",
"familyNames": [
"Würsch"
],
"givenNames": [
"Helen"
],
"jobTitles": [
"Student"
],
"affiliation": [
"http://ns.dasch.swiss/repository#dsp-0811-organization-000"
]
}
],
"organizations": [
Expand Down
1 change: 0 additions & 1 deletion dsp-meta/tests/draft_schema_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ fn test_all_json_validate_with_draft_json_schema() {
assert_eq!(results.len(), nr_files);
}

#[ignore]
#[test]
fn test_finished_json_validate_with_final_json_schema() {
let path_bufs = load_json_file_paths(&data_dir());
Expand Down