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 = (
494494 let type = value [ '@type' ] ;
495495 if ( ! _isString ( type ) ) {
496496 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.' ,
498498 'jsonld.SyntaxError' ,
499499 { code : 'invalid type mapping' , context : localCtx } ) ;
500500 }
@@ -513,7 +513,7 @@ api.createTermDefinition = (
513513 }
514514 if ( type . indexOf ( '_:' ) === 0 ) {
515515 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, ' +
517517 'not a blank node identifier.' ,
518518 'jsonld.SyntaxError' ,
519519 { code : 'invalid type mapping' , context : localCtx } ) ;
You can’t perform that action at this time.
0 commit comments