Skip to content

Commit a457c51

Browse files
committed
Fix MIME type URL case sensitivity in CDI exporter
Changed mediaType profile URL from Specification/DDI-CDI to specification/ddi-cdi (lowercase) - Dataverse performs case-sensitive MIME type matching for external tools - Lowercase specification/ddi-cdi is required for CDI previewer to trigger - Ensures exported files match the previewer registration
1 parent d540480 commit a457c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/cdi-exporter/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"formatName": "cdi",
33
"harvestable": true,
44
"availableToUsers": true,
5-
"mediaType": "application/ld+json; profile=\"http://www.w3.org/ns/json-ld#flattened http://www.w3.org/ns/json-ld#compacted https://ddialliance.org/Specification/DDI-CDI/1.0\"",
5+
"mediaType": "application/ld+json; profile=\"http://www.w3.org/ns/json-ld#flattened http://www.w3.org/ns/json-ld#compacted https://ddialliance.org/specification/ddi-cdi/1.0\"",
66
"displayName": "DDI-CDI (Cross Domain Integration)"
77
}

0 commit comments

Comments
 (0)