File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -75,4 +75,10 @@ export enum ERROR_CODES {
75
75
INVALID_BASE_DIRECTION = 'invalid base direction' ,
76
76
RECURSIVE_CONTEXT_INCLUSION = 'recursive context inclusion' ,
77
77
INVALID_STREAMING_KEY_ORDER = 'invalid streaming key order' ,
78
+
79
+ /**
80
+ * JSON-LD-star
81
+ */
82
+ INVALID_EMBEDDED_NODE = "invalid embedded node" ,
83
+ INVALID_ANNOTATION = "invalid annotation" ,
78
84
}
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ export class Util {
19
19
// All known valid JSON-LD keywords
20
20
// @see https://www.w3.org/TR/json-ld11/#keywords
21
21
public static readonly VALID_KEYWORDS : { [ keyword : string ] : boolean } = {
22
+ '@annotation' : true , // https://json-ld.github.io/json-ld-star/
22
23
'@base' : true ,
23
24
'@container' : true ,
24
25
'@context' : true ,
You can’t perform that action at this time.
0 commit comments