File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ api.createTermDefinition = (
494
494
let type = value [ '@type' ] ;
495
495
if ( ! _isString ( type ) ) {
496
496
throw new JsonLdError (
497
- 'Invalid JSON-LD syntax; an @context @type values must be a string.' ,
497
+ 'Invalid JSON-LD syntax; an @context @type value must be a string.' ,
498
498
'jsonld.SyntaxError' ,
499
499
{ code : 'invalid type mapping' , context : localCtx } ) ;
500
500
}
@@ -513,7 +513,7 @@ api.createTermDefinition = (
513
513
}
514
514
if ( type . indexOf ( '_:' ) === 0 ) {
515
515
throw new JsonLdError (
516
- 'Invalid JSON-LD syntax; an @context @type values must be an IRI, ' +
516
+ 'Invalid JSON-LD syntax; an @context @type value must be an IRI, ' +
517
517
'not a blank node identifier.' ,
518
518
'jsonld.SyntaxError' ,
519
519
{ code : 'invalid type mapping' , context : localCtx } ) ;
You can’t perform that action at this time.
0 commit comments