@twin.org/data-json-ld 0.0.1-next.34 → 0.0.1-next.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -129,10 +129,10 @@ const JsonLdTypes = {
129
129
  JsonValue: "JsonLdJsonValue"
130
130
  };
131
131
 
132
- var type$e = "string";
133
- var description$p = "Helper Types";
132
+ var type$d = "string";
133
+ var description$o = "Helper Types";
134
134
  var JsonLdContainerTypeSchema = {
135
- type: type$e,
135
+ type: type$d,
136
136
  "enum": [
137
137
  "@language",
138
138
  "@index",
@@ -140,7 +140,7 @@ var JsonLdContainerTypeSchema = {
140
140
  "@graph",
141
141
  "@type"
142
142
  ],
143
- description: description$p
143
+ description: description$o
144
144
  };
145
145
 
146
146
  var anyOf$a = [
@@ -317,14 +317,14 @@ var anyOf$a = [
317
317
  maxItems: 2
318
318
  }
319
319
  ];
320
- var description$o = "Helper Types.";
320
+ var description$n = "Helper Types.";
321
321
  var JsonLdContainerTypeArraySchema = {
322
322
  anyOf: anyOf$a,
323
- description: description$o
323
+ description: description$n
324
324
  };
325
325
 
326
- var type$d = "object";
327
- var properties$6 = {
326
+ var type$c = "object";
327
+ var properties$5 = {
328
328
  "@base": {
329
329
  type: [
330
330
  "string",
@@ -381,7 +381,7 @@ var properties$6 = {
381
381
  ]
382
382
  }
383
383
  };
384
- var additionalProperties$b = {
384
+ var additionalProperties$a = {
385
385
  anyOf: [
386
386
  {
387
387
  type: "null"
@@ -394,12 +394,12 @@ var additionalProperties$b = {
394
394
  }
395
395
  ]
396
396
  };
397
- var description$n = "A context definition defines a local context in a node object.";
397
+ var description$m = "A context definition defines a local context in a node object.";
398
398
  var JsonLdContextDefinitionSchema = {
399
- type: type$d,
400
- properties: properties$6,
401
- additionalProperties: additionalProperties$b,
402
- description: description$n
399
+ type: type$c,
400
+ properties: properties$5,
401
+ additionalProperties: additionalProperties$a,
402
+ description: description$m
403
403
  };
404
404
 
405
405
  var anyOf$9 = [
@@ -413,10 +413,10 @@ var anyOf$9 = [
413
413
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinition"
414
414
  }
415
415
  ];
416
- var description$m = "A context definition element is used to define the types of a context definition.";
416
+ var description$l = "A context definition element is used to define the types of a context definition.";
417
417
  var JsonLdContextDefinitionElementSchema = {
418
418
  anyOf: anyOf$9,
419
- description: description$m
419
+ description: description$l
420
420
  };
421
421
 
422
422
  var anyOf$8 = [
@@ -430,10 +430,10 @@ var anyOf$8 = [
430
430
  }
431
431
  }
432
432
  ];
433
- var description$l = "A context definition root is used to define the root of a context definition.";
433
+ var description$k = "A context definition root is used to define the root of a context definition.";
434
434
  var JsonLdContextDefinitionRootSchema = {
435
435
  anyOf: anyOf$8,
436
- description: description$l
436
+ description: description$k
437
437
  };
438
438
 
439
439
  var anyOf$7 = [
@@ -479,10 +479,10 @@ var anyOf$7 = [
479
479
  additionalProperties: false
480
480
  }
481
481
  ];
482
- var description$k = "A JSON-LD document MUST be valid JSON text as described in [RFC8259], or some format that can be represented in the JSON-LD internal representation that is equivalent to valid JSON text.";
482
+ var description$j = "A JSON-LD document MUST be valid JSON text as described in [RFC8259], or some format that can be represented in the JSON-LD internal representation that is equivalent to valid JSON text.";
483
483
  var JsonLdDocumentSchema = {
484
484
  anyOf: anyOf$7,
485
- description: description$k
485
+ description: description$j
486
486
  };
487
487
 
488
488
  var anyOf$6 = [
@@ -616,14 +616,14 @@ var anyOf$6 = [
616
616
  ]
617
617
  }
618
618
  ];
619
- var description$j = "An expanded term definition is used to describe the mapping between a term and its expanded identifier, as well as other properties of the value associated with the term when it is used as key in a node object.";
619
+ var description$i = "An expanded term definition is used to describe the mapping between a term and its expanded identifier, as well as other properties of the value associated with the term when it is used as key in a node object.";
620
620
  var JsonLdExpandedTermDefinitionSchema = {
621
621
  anyOf: anyOf$6,
622
- description: description$j
622
+ description: description$i
623
623
  };
624
624
 
625
- var type$c = "object";
626
- var properties$5 = {
625
+ var type$b = "object";
626
+ var properties$4 = {
627
627
  "@graph": {
628
628
  anyOf: [
629
629
  {
@@ -638,37 +638,47 @@ var properties$5 = {
638
638
  ]
639
639
  },
640
640
  "@index": {
641
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
641
+ type: "string"
642
642
  },
643
643
  "@id": {
644
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
644
+ anyOf: [
645
+ {
646
+ type: "string"
647
+ },
648
+ {
649
+ type: "array",
650
+ items: {
651
+ type: "string"
652
+ }
653
+ }
654
+ ]
645
655
  },
646
656
  "@context": {
647
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
657
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
648
658
  }
649
659
  };
650
- var required$3 = [
660
+ var required$2 = [
651
661
  "@graph"
652
662
  ];
653
- var additionalProperties$a = false;
654
- var description$i = "A graph object represents a named graph, which MAY include an explicit graph name.";
663
+ var additionalProperties$9 = false;
664
+ var description$h = "A graph object represents a named graph, which MAY include an explicit graph name.";
655
665
  var JsonLdGraphObjectSchema = {
656
- type: type$c,
657
- properties: properties$5,
658
- required: required$3,
659
- additionalProperties: additionalProperties$a,
660
- description: description$i
666
+ type: type$b,
667
+ properties: properties$4,
668
+ required: required$2,
669
+ additionalProperties: additionalProperties$9,
670
+ description: description$h
661
671
  };
662
672
 
663
- var type$b = "object";
664
- var additionalProperties$9 = {
673
+ var type$a = "object";
674
+ var additionalProperties$8 = {
665
675
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
666
676
  };
667
- var description$h = "An id map is used to associate an IRI with a value that allows easy programmatic access.";
677
+ var description$g = "An id map is used to associate an IRI with a value that allows easy programmatic access.";
668
678
  var JsonLdIdMapSchema = {
669
- type: type$b,
670
- additionalProperties: additionalProperties$9,
671
- description: description$h
679
+ type: type$a,
680
+ additionalProperties: additionalProperties$8,
681
+ description: description$g
672
682
  };
673
683
 
674
684
  var anyOf$5 = [
@@ -682,14 +692,14 @@ var anyOf$5 = [
682
692
  }
683
693
  }
684
694
  ];
685
- var description$g = "An included block is used to provide a set of node objects.";
695
+ var description$f = "An included block is used to provide a set of node objects.";
686
696
  var JsonLdIncludedBlockSchema = {
687
697
  anyOf: anyOf$5,
688
- description: description$g
698
+ description: description$f
689
699
  };
690
700
 
691
- var type$a = "object";
692
- var additionalProperties$8 = {
701
+ var type$9 = "object";
702
+ var additionalProperties$7 = {
693
703
  anyOf: [
694
704
  {
695
705
  $ref: "https://schema.twindev.org/json-ld/JsonLdIndexMapItem"
@@ -702,11 +712,11 @@ var additionalProperties$8 = {
702
712
  }
703
713
  ]
704
714
  };
705
- var description$f = "An index map allows keys that have no semantic meaning, but should be preserved regardless, to be used in JSON-LD documents.";
715
+ var description$e = "An index map allows keys that have no semantic meaning, but should be preserved regardless, to be used in JSON-LD documents.";
706
716
  var JsonLdIndexMapSchema = {
707
- type: type$a,
708
- additionalProperties: additionalProperties$8,
709
- description: description$f
717
+ type: type$9,
718
+ additionalProperties: additionalProperties$7,
719
+ description: description$e
710
720
  };
711
721
 
712
722
  var anyOf$4 = [
@@ -735,25 +745,25 @@ var anyOf$4 = [
735
745
  $ref: "https://schema.twindev.org/json-ld/JsonLdSetObject"
736
746
  }
737
747
  ];
738
- var description$e = "The items that can be stored in an index map.";
748
+ var description$d = "The items that can be stored in an index map.";
739
749
  var JsonLdIndexMapItemSchema = {
740
750
  anyOf: anyOf$4,
741
- description: description$e
751
+ description: description$d
742
752
  };
743
753
 
744
- var type$9 = "array";
754
+ var type$8 = "array";
745
755
  var items = {
746
756
  $ref: "https://schema.twindev.org/json-ld/JsonLdJsonValue"
747
757
  };
748
- var description$d = "JSON Type for array.";
758
+ var description$c = "JSON Type for array.";
749
759
  var JsonLdJsonArraySchema = {
750
- type: type$9,
760
+ type: type$8,
751
761
  items: items,
752
- description: description$d
762
+ description: description$c
753
763
  };
754
764
 
755
- var type$8 = "object";
756
- var additionalProperties$7 = {
765
+ var type$7 = "object";
766
+ var additionalProperties$6 = {
757
767
  anyOf: [
758
768
  {
759
769
  $ref: "https://schema.twindev.org/json-ld/JsonLdJsonValue"
@@ -764,23 +774,23 @@ var additionalProperties$7 = {
764
774
  }
765
775
  ]
766
776
  };
767
- var description$c = "JSON Type for object.";
777
+ var description$b = "JSON Type for object.";
768
778
  var JsonLdJsonObjectSchema = {
769
- type: type$8,
770
- additionalProperties: additionalProperties$7,
771
- description: description$c
779
+ type: type$7,
780
+ additionalProperties: additionalProperties$6,
781
+ description: description$b
772
782
  };
773
783
 
774
- var type$7 = [
784
+ var type$6 = [
775
785
  "string",
776
786
  "number",
777
787
  "boolean",
778
788
  "null"
779
789
  ];
780
- var description$b = "JSON Primitive.";
790
+ var description$a = "JSON Primitive.";
781
791
  var JsonLdJsonPrimitiveSchema = {
782
- type: type$7,
783
- description: description$b
792
+ type: type$6,
793
+ description: description$a
784
794
  };
785
795
 
786
796
  var anyOf$3 = [
@@ -794,224 +804,9 @@ var anyOf$3 = [
794
804
  $ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
795
805
  }
796
806
  ];
797
- var description$a = "JSON Value.";
807
+ var description$9 = "JSON Value.";
798
808
  var JsonLdJsonValueSchema = {
799
809
  anyOf: anyOf$3,
800
- description: description$a
801
- };
802
-
803
- var type$6 = "object";
804
- var properties$4 = {
805
- "@base": {
806
- type: [
807
- "string",
808
- "null"
809
- ]
810
- },
811
- "@container": {
812
- anyOf: [
813
- {
814
- type: "string",
815
- "const": "@list"
816
- },
817
- {
818
- type: "string",
819
- "const": "@set"
820
- },
821
- {
822
- $ref: "https://schema.twindev.org/json-ld/JsonLdContainerType"
823
- },
824
- {
825
- type: "array",
826
- items: {
827
- anyOf: [
828
- {
829
- type: "string",
830
- "const": "@list"
831
- },
832
- {
833
- type: "string",
834
- "const": "@set"
835
- },
836
- {
837
- $ref: "https://schema.twindev.org/json-ld/JsonLdContainerType"
838
- }
839
- ]
840
- }
841
- },
842
- {
843
- $ref: "https://schema.twindev.org/json-ld/JsonLdContainerTypeArray"
844
- },
845
- {
846
- type: "null"
847
- }
848
- ]
849
- },
850
- "@context": {
851
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
852
- },
853
- "@direction": {
854
- type: [
855
- "string",
856
- "null"
857
- ],
858
- "enum": [
859
- "ltr",
860
- "rtl",
861
- null
862
- ]
863
- },
864
- "@graph": {
865
- anyOf: [
866
- {
867
- $ref: "https://schema.twindev.org/json-ld/JsonLdValueObject"
868
- },
869
- {
870
- $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
871
- },
872
- {
873
- type: "array",
874
- items: {
875
- anyOf: [
876
- {
877
- $ref: "https://schema.twindev.org/json-ld/JsonLdValueObject"
878
- },
879
- {
880
- $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
881
- }
882
- ]
883
- }
884
- }
885
- ]
886
- },
887
- "@id": {
888
- anyOf: [
889
- {
890
- type: "string"
891
- },
892
- {
893
- type: "array",
894
- items: {
895
- type: "string"
896
- }
897
- }
898
- ]
899
- },
900
- "@import": {
901
- type: "string"
902
- },
903
- "@included": {
904
- $ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
905
- },
906
- "@index": {
907
- type: "string"
908
- },
909
- "@json": {
910
- type: "string",
911
- "const": "@json"
912
- },
913
- "@language": {
914
- type: "string"
915
- },
916
- "@list": {
917
- anyOf: [
918
- {
919
- $ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
920
- },
921
- {
922
- type: "array",
923
- items: {
924
- $ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
925
- }
926
- }
927
- ]
928
- },
929
- "@nest": {
930
- type: "object"
931
- },
932
- "@none": {
933
- type: "string",
934
- "const": "@none"
935
- },
936
- "@prefix": {
937
- type: "boolean"
938
- },
939
- "@propagate": {
940
- type: "boolean"
941
- },
942
- "@protected": {
943
- type: "boolean"
944
- },
945
- "@reverse": {
946
- type: "string"
947
- },
948
- "@set": {
949
- anyOf: [
950
- {
951
- $ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
952
- },
953
- {
954
- type: "array",
955
- items: {
956
- $ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
957
- }
958
- }
959
- ]
960
- },
961
- "@type": {
962
- type: "string"
963
- },
964
- "@value": {
965
- type: [
966
- "null",
967
- "boolean",
968
- "number",
969
- "string"
970
- ]
971
- },
972
- "@version": {
973
- type: "string",
974
- "const": "1.1"
975
- },
976
- "@vocab": {
977
- type: [
978
- "string",
979
- "null"
980
- ]
981
- }
982
- };
983
- var required$2 = [
984
- "@base",
985
- "@container",
986
- "@context",
987
- "@direction",
988
- "@graph",
989
- "@id",
990
- "@import",
991
- "@included",
992
- "@index",
993
- "@json",
994
- "@language",
995
- "@list",
996
- "@nest",
997
- "@none",
998
- "@prefix",
999
- "@propagate",
1000
- "@protected",
1001
- "@reverse",
1002
- "@set",
1003
- "@type",
1004
- "@value",
1005
- "@version",
1006
- "@vocab"
1007
- ];
1008
- var additionalProperties$6 = false;
1009
- var description$9 = "A list of keywords and their types. Only used for internal reference; not an actual interface. Not for export.";
1010
- var JsonLdKeywordSchema = {
1011
- type: type$6,
1012
- properties: properties$4,
1013
- required: required$2,
1014
- additionalProperties: additionalProperties$6,
1015
810
  description: description$9
1016
811
  };
1017
812
 
@@ -1042,10 +837,20 @@ var JsonLdLanguageMapSchema = {
1042
837
  var type$4 = "object";
1043
838
  var properties$3 = {
1044
839
  "@list": {
1045
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
840
+ anyOf: [
841
+ {
842
+ $ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
843
+ },
844
+ {
845
+ type: "array",
846
+ items: {
847
+ $ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
848
+ }
849
+ }
850
+ ]
1046
851
  },
1047
852
  "@index": {
1048
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
853
+ type: "string"
1049
854
  }
1050
855
  };
1051
856
  var required$1 = [
@@ -1115,13 +920,23 @@ var additionalProperties$3 = {
1115
920
  };
1116
921
  var properties$2 = {
1117
922
  "@context": {
1118
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
923
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
1119
924
  },
1120
925
  "@id": {
1121
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
926
+ anyOf: [
927
+ {
928
+ type: "string"
929
+ },
930
+ {
931
+ type: "array",
932
+ items: {
933
+ type: "string"
934
+ }
935
+ }
936
+ ]
1122
937
  },
1123
938
  "@included": {
1124
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
939
+ $ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
1125
940
  },
1126
941
  "@graph": {
1127
942
  anyOf: [
@@ -1152,12 +967,12 @@ var properties$2 = {
1152
967
  "@type": {
1153
968
  anyOf: [
1154
969
  {
1155
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
970
+ type: "string"
1156
971
  },
1157
972
  {
1158
973
  type: "array",
1159
974
  items: {
1160
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
975
+ type: "string"
1161
976
  }
1162
977
  }
1163
978
  ]
@@ -1165,11 +980,11 @@ var properties$2 = {
1165
980
  "@reverse": {
1166
981
  type: "object",
1167
982
  additionalProperties: {
1168
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
983
+ type: "string"
1169
984
  }
1170
985
  },
1171
986
  "@index": {
1172
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
987
+ type: "string"
1173
988
  }
1174
989
  };
1175
990
  var description$5 = "A node object represents zero or more properties of a node in the graph serialized by the JSON-LD document.";
@@ -1218,13 +1033,23 @@ var JsonLdNodePrimitiveSchema = {
1218
1033
  var type$2 = "object";
1219
1034
  var properties$1 = {
1220
1035
  "@context": {
1221
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1036
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
1222
1037
  },
1223
1038
  "@id": {
1224
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1039
+ anyOf: [
1040
+ {
1041
+ type: "string"
1042
+ },
1043
+ {
1044
+ type: "array",
1045
+ items: {
1046
+ type: "string"
1047
+ }
1048
+ }
1049
+ ]
1225
1050
  },
1226
1051
  "@included": {
1227
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1052
+ $ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
1228
1053
  },
1229
1054
  "@graph": {
1230
1055
  anyOf: [
@@ -1255,12 +1080,12 @@ var properties$1 = {
1255
1080
  "@type": {
1256
1081
  anyOf: [
1257
1082
  {
1258
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1083
+ type: "string"
1259
1084
  },
1260
1085
  {
1261
1086
  type: "array",
1262
1087
  items: {
1263
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1088
+ type: "string"
1264
1089
  }
1265
1090
  }
1266
1091
  ]
@@ -1268,11 +1093,11 @@ var properties$1 = {
1268
1093
  "@reverse": {
1269
1094
  type: "object",
1270
1095
  additionalProperties: {
1271
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1096
+ type: "string"
1272
1097
  }
1273
1098
  },
1274
1099
  "@index": {
1275
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1100
+ type: "string"
1276
1101
  }
1277
1102
  };
1278
1103
  var additionalProperties$2 = false;
@@ -1287,10 +1112,20 @@ var JsonLdObjectSchema = {
1287
1112
  var type$1 = "object";
1288
1113
  var properties = {
1289
1114
  "@set": {
1290
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1115
+ anyOf: [
1116
+ {
1117
+ $ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
1118
+ },
1119
+ {
1120
+ type: "array",
1121
+ items: {
1122
+ $ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
1123
+ }
1124
+ }
1125
+ ]
1291
1126
  },
1292
1127
  "@index": {
1293
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1128
+ type: "string"
1294
1129
  }
1295
1130
  };
1296
1131
  var required = [
@@ -1330,19 +1165,32 @@ var anyOf = [
1330
1165
  additionalProperties: false,
1331
1166
  properties: {
1332
1167
  "@value": {
1333
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1168
+ type: [
1169
+ "null",
1170
+ "boolean",
1171
+ "number",
1172
+ "string"
1173
+ ]
1334
1174
  },
1335
1175
  "@language": {
1336
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1176
+ type: "string"
1337
1177
  },
1338
1178
  "@direction": {
1339
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1179
+ type: [
1180
+ "string",
1181
+ "null"
1182
+ ],
1183
+ "enum": [
1184
+ "ltr",
1185
+ "rtl",
1186
+ null
1187
+ ]
1340
1188
  },
1341
1189
  "@index": {
1342
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1190
+ type: "string"
1343
1191
  },
1344
1192
  "@context": {
1345
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1193
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
1346
1194
  }
1347
1195
  },
1348
1196
  required: [
@@ -1354,16 +1202,21 @@ var anyOf = [
1354
1202
  additionalProperties: false,
1355
1203
  properties: {
1356
1204
  "@value": {
1357
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1205
+ type: [
1206
+ "null",
1207
+ "boolean",
1208
+ "number",
1209
+ "string"
1210
+ ]
1358
1211
  },
1359
1212
  "@type": {
1360
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1213
+ type: "string"
1361
1214
  },
1362
1215
  "@index": {
1363
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1216
+ type: "string"
1364
1217
  },
1365
1218
  "@context": {
1366
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1219
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
1367
1220
  }
1368
1221
  },
1369
1222
  required: [
@@ -1378,7 +1231,16 @@ var anyOf = [
1378
1231
  "@value": {
1379
1232
  anyOf: [
1380
1233
  {
1381
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1234
+ type: "null"
1235
+ },
1236
+ {
1237
+ type: "boolean"
1238
+ },
1239
+ {
1240
+ type: "number"
1241
+ },
1242
+ {
1243
+ type: "string"
1382
1244
  },
1383
1245
  {
1384
1246
  $ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
@@ -1393,10 +1255,10 @@ var anyOf = [
1393
1255
  "const": "@json"
1394
1256
  },
1395
1257
  "@index": {
1396
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1258
+ type: "string"
1397
1259
  },
1398
1260
  "@context": {
1399
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
1261
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
1400
1262
  }
1401
1263
  },
1402
1264
  required: [
@@ -1516,11 +1378,6 @@ class JsonLdDataTypes {
1516
1378
  type: JsonLdTypes.ExpandedTermDefinition,
1517
1379
  jsonSchema: async () => JsonLdExpandedTermDefinitionSchema
1518
1380
  }));
1519
- DataTypeHandlerFactory.register(`${JsonLdContexts.ContextRoot}${JsonLdTypes.Keyword}`, () => ({
1520
- context: JsonLdContexts.ContextRoot,
1521
- type: JsonLdTypes.Keyword,
1522
- jsonSchema: async () => JsonLdKeywordSchema
1523
- }));
1524
1381
  DataTypeHandlerFactory.register(`${JsonLdContexts.ContextRoot}${JsonLdTypes.ListOrSetItem}`, () => ({
1525
1382
  context: JsonLdContexts.ContextRoot,
1526
1383
  type: JsonLdTypes.ListOrSetItem,