We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df16127 commit 8390b62Copy full SHA for 8390b62
1 file changed
meta_creator/validate_jsonLD.py
@@ -11,14 +11,8 @@ def validate_codemeta(json):
11
print("Not a JSON-LD file")
12
return False
13
14
- # if context == "https://doi.org/10.5063/schema/codemeta-2.0":
15
if context == "https://w3id.org/codemeta/3.0":
16
- # Temp replacement for https resolution issues for schema.org
17
- # context = "https://raw.githubusercontent.com/caltechlibrary/convert_codemeta/main/codemeta.jsonld"
18
- context = "https://raw.githubusercontent.com/codemeta/codemeta/3.0/codemeta.jsonld"
19
json["@context"] = context
20
-
21
- if context == "https://w3id.org/codemeta/3.0":
22
cp = copy.deepcopy(json)
23
# Expand and contract to check mapping
24
cp = jsonld.expand(cp)
0 commit comments