Skip to content

Commit 02f6756

Browse files
authored
Remove codemeta:type (#77)
No such term exists
1 parent 504eca0 commit 02f6756

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

js/validation/things.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111

1212
function getDocumentType(doc) {
1313
// TODO: check there is at most one.
14-
// FIXME: is the last variant allowed?
15-
return doc["type"] || doc["@type"] || doc["codemeta:type"]
14+
return doc["type"] || doc["@type"];
1615
}
1716

1817
function getDocumentId(doc) {

0 commit comments

Comments
 (0)