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

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,9 +129,14 @@ const JsonLdTypes = {
129
129
  JsonValue: "JsonLdJsonValue"
130
130
  };
131
131
 
132
+ var $schema$o = "https://json-schema.org/draft/2020-12/schema";
133
+ var $id$o = "https://schema.twindev.org/json-ld/JsonLdContainerType";
134
+ var description$o = "JSON-LD container types.";
132
135
  var type$d = "string";
133
- var description$o = "Helper Types";
134
136
  var JsonLdContainerTypeSchema = {
137
+ $schema: $schema$o,
138
+ $id: $id$o,
139
+ description: description$o,
135
140
  type: type$d,
136
141
  "enum": [
137
142
  "@language",
@@ -139,15 +144,19 @@ var JsonLdContainerTypeSchema = {
139
144
  "@id",
140
145
  "@graph",
141
146
  "@type"
142
- ],
143
- description: description$o
147
+ ]
144
148
  };
145
149
 
150
+ var $schema$n = "https://json-schema.org/draft/2020-12/schema";
151
+ var $id$n = "https://schema.twindev.org/json-ld/JsonLdContainerTypeArray";
152
+ var description$n = "JSON-LD container type array.";
146
153
  var anyOf$a = [
147
154
  {
148
155
  type: "array",
149
156
  minItems: 2,
150
- items: [
157
+ items: false,
158
+ maxItems: 2,
159
+ prefixItems: [
151
160
  {
152
161
  type: "string",
153
162
  "const": "@graph"
@@ -156,13 +165,14 @@ var anyOf$a = [
156
165
  type: "string",
157
166
  "const": "@id"
158
167
  }
159
- ],
160
- maxItems: 2
168
+ ]
161
169
  },
162
170
  {
163
171
  type: "array",
164
172
  minItems: 2,
165
- items: [
173
+ items: false,
174
+ maxItems: 2,
175
+ prefixItems: [
166
176
  {
167
177
  type: "string",
168
178
  "const": "@id"
@@ -171,13 +181,14 @@ var anyOf$a = [
171
181
  type: "string",
172
182
  "const": "@graph"
173
183
  }
174
- ],
175
- maxItems: 2
184
+ ]
176
185
  },
177
186
  {
178
187
  type: "array",
179
188
  minItems: 3,
180
- items: [
189
+ items: false,
190
+ maxItems: 3,
191
+ prefixItems: [
181
192
  {
182
193
  type: "string",
183
194
  "const": "@set"
@@ -190,13 +201,14 @@ var anyOf$a = [
190
201
  type: "string",
191
202
  "const": "@id"
192
203
  }
193
- ],
194
- maxItems: 3
204
+ ]
195
205
  },
196
206
  {
197
207
  type: "array",
198
208
  minItems: 3,
199
- items: [
209
+ items: false,
210
+ maxItems: 3,
211
+ prefixItems: [
200
212
  {
201
213
  type: "string",
202
214
  "const": "@set"
@@ -209,13 +221,14 @@ var anyOf$a = [
209
221
  type: "string",
210
222
  "const": "@graph"
211
223
  }
212
- ],
213
- maxItems: 3
224
+ ]
214
225
  },
215
226
  {
216
227
  type: "array",
217
228
  minItems: 3,
218
- items: [
229
+ items: false,
230
+ maxItems: 3,
231
+ prefixItems: [
219
232
  {
220
233
  type: "string",
221
234
  "const": "@graph"
@@ -228,13 +241,14 @@ var anyOf$a = [
228
241
  type: "string",
229
242
  "const": "@id"
230
243
  }
231
- ],
232
- maxItems: 3
244
+ ]
233
245
  },
234
246
  {
235
247
  type: "array",
236
248
  minItems: 3,
237
- items: [
249
+ items: false,
250
+ maxItems: 3,
251
+ prefixItems: [
238
252
  {
239
253
  type: "string",
240
254
  "const": "@id"
@@ -247,13 +261,14 @@ var anyOf$a = [
247
261
  type: "string",
248
262
  "const": "@graph"
249
263
  }
250
- ],
251
- maxItems: 3
264
+ ]
252
265
  },
253
266
  {
254
267
  type: "array",
255
268
  minItems: 3,
256
- items: [
269
+ items: false,
270
+ maxItems: 3,
271
+ prefixItems: [
257
272
  {
258
273
  type: "string",
259
274
  "const": "@graph"
@@ -266,13 +281,14 @@ var anyOf$a = [
266
281
  type: "string",
267
282
  "const": "@set"
268
283
  }
269
- ],
270
- maxItems: 3
284
+ ]
271
285
  },
272
286
  {
273
287
  type: "array",
274
288
  minItems: 3,
275
- items: [
289
+ items: false,
290
+ maxItems: 3,
291
+ prefixItems: [
276
292
  {
277
293
  type: "string",
278
294
  "const": "@id"
@@ -285,13 +301,14 @@ var anyOf$a = [
285
301
  type: "string",
286
302
  "const": "@set"
287
303
  }
288
- ],
289
- maxItems: 3
304
+ ]
290
305
  },
291
306
  {
292
307
  type: "array",
293
308
  minItems: 2,
294
- items: [
309
+ items: false,
310
+ maxItems: 2,
311
+ prefixItems: [
295
312
  {
296
313
  type: "string",
297
314
  "const": "@set"
@@ -299,13 +316,14 @@ var anyOf$a = [
299
316
  {
300
317
  $ref: "https://schema.twindev.org/json-ld/JsonLdContainerType"
301
318
  }
302
- ],
303
- maxItems: 2
319
+ ]
304
320
  },
305
321
  {
306
322
  type: "array",
307
323
  minItems: 2,
308
- items: [
324
+ items: false,
325
+ maxItems: 2,
326
+ prefixItems: [
309
327
  {
310
328
  $ref: "https://schema.twindev.org/json-ld/JsonLdContainerType"
311
329
  },
@@ -313,16 +331,19 @@ var anyOf$a = [
313
331
  type: "string",
314
332
  "const": "@set"
315
333
  }
316
- ],
317
- maxItems: 2
334
+ ]
318
335
  }
319
336
  ];
320
- var description$n = "Helper Types.";
321
337
  var JsonLdContainerTypeArraySchema = {
322
- anyOf: anyOf$a,
323
- description: description$n
338
+ $schema: $schema$n,
339
+ $id: $id$n,
340
+ description: description$n,
341
+ anyOf: anyOf$a
324
342
  };
325
343
 
344
+ var $schema$m = "https://json-schema.org/draft/2020-12/schema";
345
+ var $id$m = "https://schema.twindev.org/json-ld/JsonLdContextDefinition";
346
+ var description$m = "A context definition defines a local context in a node object.";
326
347
  var type$c = "object";
327
348
  var properties$5 = {
328
349
  "@base": {
@@ -394,14 +415,18 @@ var additionalProperties$a = {
394
415
  }
395
416
  ]
396
417
  };
397
- var description$m = "A context definition defines a local context in a node object.";
398
418
  var JsonLdContextDefinitionSchema = {
419
+ $schema: $schema$m,
420
+ $id: $id$m,
421
+ description: description$m,
399
422
  type: type$c,
400
423
  properties: properties$5,
401
- additionalProperties: additionalProperties$a,
402
- description: description$m
424
+ additionalProperties: additionalProperties$a
403
425
  };
404
426
 
427
+ var $schema$l = "https://json-schema.org/draft/2020-12/schema";
428
+ var $id$l = "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement";
429
+ var description$l = "A context definition element is used to define the types of a context definition.";
405
430
  var anyOf$9 = [
406
431
  {
407
432
  type: "null"
@@ -413,38 +438,52 @@ var anyOf$9 = [
413
438
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinition"
414
439
  }
415
440
  ];
416
- var description$l = "A context definition element is used to define the types of a context definition.";
417
441
  var JsonLdContextDefinitionElementSchema = {
418
- anyOf: anyOf$9,
419
- description: description$l
442
+ $schema: $schema$l,
443
+ $id: $id$l,
444
+ description: description$l,
445
+ anyOf: anyOf$9
420
446
  };
421
447
 
448
+ var $schema$k = "https://json-schema.org/draft/2020-12/schema";
449
+ var $id$k = "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot";
450
+ var description$k = "A context definition root is used to define the root of a context definition.";
422
451
  var anyOf$8 = [
423
452
  {
424
453
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
425
454
  },
426
455
  {
427
456
  type: "array",
428
- items: {
429
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
430
- }
457
+ items: false,
458
+ prefixItems: [
459
+ {
460
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
461
+ }
462
+ ]
431
463
  }
432
464
  ];
433
- var description$k = "A context definition root is used to define the root of a context definition.";
434
465
  var JsonLdContextDefinitionRootSchema = {
435
- anyOf: anyOf$8,
436
- description: description$k
466
+ $schema: $schema$k,
467
+ $id: $id$k,
468
+ description: description$k,
469
+ anyOf: anyOf$8
437
470
  };
438
471
 
472
+ var $schema$j = "https://json-schema.org/draft/2020-12/schema";
473
+ var $id$j = "https://schema.twindev.org/json-ld/JsonLdDocument";
474
+ 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.";
439
475
  var anyOf$7 = [
440
476
  {
441
477
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
442
478
  },
443
479
  {
444
480
  type: "array",
445
- items: {
446
- $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
447
- }
481
+ items: false,
482
+ prefixItems: [
483
+ {
484
+ $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
485
+ }
486
+ ]
448
487
  },
449
488
  {
450
489
  type: "object",
@@ -462,16 +501,19 @@ var anyOf$7 = [
462
501
  },
463
502
  {
464
503
  type: "array",
465
- items: {
466
- anyOf: [
467
- {
468
- $ref: "https://schema.twindev.org/json-ld/JsonLdValueObject"
469
- },
470
- {
471
- $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
472
- }
473
- ]
474
- }
504
+ items: false,
505
+ prefixItems: [
506
+ {
507
+ anyOf: [
508
+ {
509
+ $ref: "https://schema.twindev.org/json-ld/JsonLdValueObject"
510
+ },
511
+ {
512
+ $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
513
+ }
514
+ ]
515
+ }
516
+ ]
475
517
  }
476
518
  ]
477
519
  }
@@ -479,12 +521,16 @@ var anyOf$7 = [
479
521
  additionalProperties: false
480
522
  }
481
523
  ];
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
524
  var JsonLdDocumentSchema = {
484
- anyOf: anyOf$7,
485
- description: description$j
525
+ $schema: $schema$j,
526
+ $id: $id$j,
527
+ description: description$j,
528
+ anyOf: anyOf$7
486
529
  };
487
530
 
531
+ var $schema$i = "https://json-schema.org/draft/2020-12/schema";
532
+ var $id$i = "https://schema.twindev.org/json-ld/JsonLdExpandedTermDefinition";
533
+ 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.";
488
534
  var anyOf$6 = [
489
535
  {
490
536
  type: "object",
@@ -497,9 +543,12 @@ var anyOf$6 = [
497
543
  },
498
544
  {
499
545
  type: "array",
500
- items: {
501
- type: "string"
502
- }
546
+ items: false,
547
+ prefixItems: [
548
+ {
549
+ type: "string"
550
+ }
551
+ ]
503
552
  },
504
553
  {
505
554
  type: "null"
@@ -524,21 +573,24 @@ var anyOf$6 = [
524
573
  },
525
574
  {
526
575
  type: "array",
527
- items: {
528
- anyOf: [
529
- {
530
- type: "string",
531
- "const": "@list"
532
- },
533
- {
534
- type: "string",
535
- "const": "@set"
536
- },
537
- {
538
- $ref: "https://schema.twindev.org/json-ld/JsonLdContainerType"
539
- }
540
- ]
541
- }
576
+ items: false,
577
+ prefixItems: [
578
+ {
579
+ anyOf: [
580
+ {
581
+ type: "string",
582
+ "const": "@list"
583
+ },
584
+ {
585
+ type: "string",
586
+ "const": "@set"
587
+ },
588
+ {
589
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContainerType"
590
+ }
591
+ ]
592
+ }
593
+ ]
542
594
  },
543
595
  {
544
596
  $ref: "https://schema.twindev.org/json-ld/JsonLdContainerTypeArray"
@@ -616,12 +668,16 @@ var anyOf$6 = [
616
668
  ]
617
669
  }
618
670
  ];
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
671
  var JsonLdExpandedTermDefinitionSchema = {
621
- anyOf: anyOf$6,
622
- description: description$i
672
+ $schema: $schema$i,
673
+ $id: $id$i,
674
+ description: description$i,
675
+ anyOf: anyOf$6
623
676
  };
624
677
 
678
+ var $schema$h = "https://json-schema.org/draft/2020-12/schema";
679
+ var $id$h = "https://schema.twindev.org/json-ld/JsonLdGraphObject";
680
+ var description$h = "A graph object represents a named graph, which MAY include an explicit graph name.";
625
681
  var type$b = "object";
626
682
  var properties$4 = {
627
683
  "@graph": {
@@ -631,9 +687,12 @@ var properties$4 = {
631
687
  },
632
688
  {
633
689
  type: "array",
634
- items: {
635
- $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
636
- }
690
+ items: false,
691
+ prefixItems: [
692
+ {
693
+ $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
694
+ }
695
+ ]
637
696
  }
638
697
  ]
639
698
  },
@@ -647,9 +706,12 @@ var properties$4 = {
647
706
  },
648
707
  {
649
708
  type: "array",
650
- items: {
651
- type: "string"
652
- }
709
+ items: false,
710
+ prefixItems: [
711
+ {
712
+ type: "string"
713
+ }
714
+ ]
653
715
  }
654
716
  ]
655
717
  },
@@ -661,43 +723,58 @@ var required$2 = [
661
723
  "@graph"
662
724
  ];
663
725
  var additionalProperties$9 = false;
664
- var description$h = "A graph object represents a named graph, which MAY include an explicit graph name.";
665
726
  var JsonLdGraphObjectSchema = {
727
+ $schema: $schema$h,
728
+ $id: $id$h,
729
+ description: description$h,
666
730
  type: type$b,
667
731
  properties: properties$4,
668
732
  required: required$2,
669
- additionalProperties: additionalProperties$9,
670
- description: description$h
733
+ additionalProperties: additionalProperties$9
671
734
  };
672
735
 
736
+ var $schema$g = "https://json-schema.org/draft/2020-12/schema";
737
+ var $id$g = "https://schema.twindev.org/json-ld/JsonLdIdMap";
738
+ var description$g = "An id map is used to associate an IRI with a value that allows easy programmatic access.";
673
739
  var type$a = "object";
674
740
  var additionalProperties$8 = {
675
741
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
676
742
  };
677
- var description$g = "An id map is used to associate an IRI with a value that allows easy programmatic access.";
678
743
  var JsonLdIdMapSchema = {
744
+ $schema: $schema$g,
745
+ $id: $id$g,
746
+ description: description$g,
679
747
  type: type$a,
680
- additionalProperties: additionalProperties$8,
681
- description: description$g
748
+ additionalProperties: additionalProperties$8
682
749
  };
683
750
 
751
+ var $schema$f = "https://json-schema.org/draft/2020-12/schema";
752
+ var $id$f = "https://schema.twindev.org/json-ld/JsonLdIncludedBlock";
753
+ var description$f = "An included block is used to provide a set of node objects.";
684
754
  var anyOf$5 = [
685
755
  {
686
756
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
687
757
  },
688
758
  {
689
759
  type: "array",
690
- items: {
691
- $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
692
- }
760
+ items: false,
761
+ prefixItems: [
762
+ {
763
+ $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
764
+ }
765
+ ]
693
766
  }
694
767
  ];
695
- var description$f = "An included block is used to provide a set of node objects.";
696
768
  var JsonLdIncludedBlockSchema = {
697
- anyOf: anyOf$5,
698
- description: description$f
769
+ $schema: $schema$f,
770
+ $id: $id$f,
771
+ description: description$f,
772
+ anyOf: anyOf$5
699
773
  };
700
774
 
775
+ var $schema$e = "https://json-schema.org/draft/2020-12/schema";
776
+ var $id$e = "https://schema.twindev.org/json-ld/JsonLdIndexMap";
777
+ 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.";
701
778
  var type$9 = "object";
702
779
  var additionalProperties$7 = {
703
780
  anyOf: [
@@ -706,19 +783,26 @@ var additionalProperties$7 = {
706
783
  },
707
784
  {
708
785
  type: "array",
709
- items: {
710
- $ref: "https://schema.twindev.org/json-ld/JsonLdIndexMapItem"
711
- }
786
+ items: false,
787
+ prefixItems: [
788
+ {
789
+ $ref: "https://schema.twindev.org/json-ld/JsonLdIndexMapItem"
790
+ }
791
+ ]
712
792
  }
713
793
  ]
714
794
  };
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.";
716
795
  var JsonLdIndexMapSchema = {
796
+ $schema: $schema$e,
797
+ $id: $id$e,
798
+ description: description$e,
717
799
  type: type$9,
718
- additionalProperties: additionalProperties$7,
719
- description: description$e
800
+ additionalProperties: additionalProperties$7
720
801
  };
721
802
 
803
+ var $schema$d = "https://json-schema.org/draft/2020-12/schema";
804
+ var $id$d = "https://schema.twindev.org/json-ld/JsonLdIndexMapItem";
805
+ var description$d = "The items that can be stored in an index map.";
722
806
  var anyOf$4 = [
723
807
  {
724
808
  type: "null"
@@ -745,23 +829,35 @@ var anyOf$4 = [
745
829
  $ref: "https://schema.twindev.org/json-ld/JsonLdSetObject"
746
830
  }
747
831
  ];
748
- var description$d = "The items that can be stored in an index map.";
749
832
  var JsonLdIndexMapItemSchema = {
750
- anyOf: anyOf$4,
751
- description: description$d
833
+ $schema: $schema$d,
834
+ $id: $id$d,
835
+ description: description$d,
836
+ anyOf: anyOf$4
752
837
  };
753
838
 
754
- var type$8 = "array";
755
- var items = {
756
- $ref: "https://schema.twindev.org/json-ld/JsonLdJsonValue"
757
- };
839
+ var $schema$c = "https://json-schema.org/draft/2020-12/schema";
840
+ var $id$c = "https://schema.twindev.org/json-ld/JsonLdJsonArray";
758
841
  var description$c = "JSON Type for array.";
842
+ var type$8 = "array";
843
+ var items = false;
844
+ var prefixItems = [
845
+ {
846
+ $ref: "https://schema.twindev.org/json-ld/JsonLdJsonValue"
847
+ }
848
+ ];
759
849
  var JsonLdJsonArraySchema = {
850
+ $schema: $schema$c,
851
+ $id: $id$c,
852
+ description: description$c,
760
853
  type: type$8,
761
854
  items: items,
762
- description: description$c
855
+ prefixItems: prefixItems
763
856
  };
764
857
 
858
+ var $schema$b = "https://json-schema.org/draft/2020-12/schema";
859
+ var $id$b = "https://schema.twindev.org/json-ld/JsonLdJsonObject";
860
+ var description$b = "JSON Type for object.";
765
861
  var type$7 = "object";
766
862
  var additionalProperties$6 = {
767
863
  anyOf: [
@@ -774,25 +870,33 @@ var additionalProperties$6 = {
774
870
  }
775
871
  ]
776
872
  };
777
- var description$b = "JSON Type for object.";
778
873
  var JsonLdJsonObjectSchema = {
874
+ $schema: $schema$b,
875
+ $id: $id$b,
876
+ description: description$b,
779
877
  type: type$7,
780
- additionalProperties: additionalProperties$6,
781
- description: description$b
878
+ additionalProperties: additionalProperties$6
782
879
  };
783
880
 
881
+ var $schema$a = "https://json-schema.org/draft/2020-12/schema";
882
+ var $id$a = "https://schema.twindev.org/json-ld/JsonLdJsonPrimitive";
883
+ var description$a = "JSON Primitive.";
784
884
  var type$6 = [
785
885
  "string",
786
886
  "number",
787
887
  "boolean",
788
888
  "null"
789
889
  ];
790
- var description$a = "JSON Primitive.";
791
890
  var JsonLdJsonPrimitiveSchema = {
792
- type: type$6,
793
- description: description$a
891
+ $schema: $schema$a,
892
+ $id: $id$a,
893
+ description: description$a,
894
+ type: type$6
794
895
  };
795
896
 
897
+ var $schema$9 = "https://json-schema.org/draft/2020-12/schema";
898
+ var $id$9 = "https://schema.twindev.org/json-ld/JsonLdJsonValue";
899
+ var description$9 = "JSON Value.";
796
900
  var anyOf$3 = [
797
901
  {
798
902
  $ref: "https://schema.twindev.org/json-ld/JsonLdJsonPrimitive"
@@ -804,12 +908,16 @@ var anyOf$3 = [
804
908
  $ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
805
909
  }
806
910
  ];
807
- var description$9 = "JSON Value.";
808
911
  var JsonLdJsonValueSchema = {
809
- anyOf: anyOf$3,
810
- description: description$9
912
+ $schema: $schema$9,
913
+ $id: $id$9,
914
+ description: description$9,
915
+ anyOf: anyOf$3
811
916
  };
812
917
 
918
+ var $schema$8 = "https://json-schema.org/draft/2020-12/schema";
919
+ var $id$8 = "https://schema.twindev.org/json-ld/JsonLdLanguageMap";
920
+ var description$8 = "A language map is used to associate a language with a value in a way that allows easy programmatic access.";
813
921
  var type$5 = "object";
814
922
  var additionalProperties$5 = {
815
923
  anyOf: [
@@ -821,19 +929,26 @@ var additionalProperties$5 = {
821
929
  },
822
930
  {
823
931
  type: "array",
824
- items: {
825
- type: "string"
826
- }
932
+ items: false,
933
+ prefixItems: [
934
+ {
935
+ type: "string"
936
+ }
937
+ ]
827
938
  }
828
939
  ]
829
940
  };
830
- var description$8 = "A language map is used to associate a language with a value in a way that allows easy programmatic access.";
831
941
  var JsonLdLanguageMapSchema = {
942
+ $schema: $schema$8,
943
+ $id: $id$8,
944
+ description: description$8,
832
945
  type: type$5,
833
- additionalProperties: additionalProperties$5,
834
- description: description$8
946
+ additionalProperties: additionalProperties$5
835
947
  };
836
948
 
949
+ var $schema$7 = "https://json-schema.org/draft/2020-12/schema";
950
+ var $id$7 = "https://schema.twindev.org/json-ld/JsonLdListObject";
951
+ var description$7 = "A list represents an ordered set of values.";
837
952
  var type$4 = "object";
838
953
  var properties$3 = {
839
954
  "@list": {
@@ -843,9 +958,12 @@ var properties$3 = {
843
958
  },
844
959
  {
845
960
  type: "array",
846
- items: {
847
- $ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
848
- }
961
+ items: false,
962
+ prefixItems: [
963
+ {
964
+ $ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
965
+ }
966
+ ]
849
967
  }
850
968
  ]
851
969
  },
@@ -857,15 +975,19 @@ var required$1 = [
857
975
  "@list"
858
976
  ];
859
977
  var additionalProperties$4 = false;
860
- var description$7 = "A list represents an ordered set of values.";
861
978
  var JsonLdListObjectSchema = {
979
+ $schema: $schema$7,
980
+ $id: $id$7,
981
+ description: description$7,
862
982
  type: type$4,
863
983
  properties: properties$3,
864
984
  required: required$1,
865
- additionalProperties: additionalProperties$4,
866
- description: description$7
985
+ additionalProperties: additionalProperties$4
867
986
  };
868
987
 
988
+ var $schema$6 = "https://json-schema.org/draft/2020-12/schema";
989
+ var $id$6 = "https://schema.twindev.org/json-ld/JsonLdListOrSetItem";
990
+ var description$6 = "A list or set item can be a null, boolean, number, string, node object, or value object.";
869
991
  var anyOf$2 = [
870
992
  {
871
993
  type: "null"
@@ -886,12 +1008,16 @@ var anyOf$2 = [
886
1008
  $ref: "https://schema.twindev.org/json-ld/JsonLdValueObject"
887
1009
  }
888
1010
  ];
889
- var description$6 = "A list or set item can be a null, boolean, number, string, node object, or value object.";
890
1011
  var JsonLdListOrSetItemSchema = {
891
- anyOf: anyOf$2,
892
- description: description$6
1012
+ $schema: $schema$6,
1013
+ $id: $id$6,
1014
+ description: description$6,
1015
+ anyOf: anyOf$2
893
1016
  };
894
1017
 
1018
+ var $schema$5 = "https://json-schema.org/draft/2020-12/schema";
1019
+ var $id$5 = "https://schema.twindev.org/json-ld/JsonLdNodeObject";
1020
+ var description$5 = "A node object represents zero or more properties of a node in the graph serialized by the JSON-LD document.";
895
1021
  var type$3 = "object";
896
1022
  var additionalProperties$3 = {
897
1023
  anyOf: [
@@ -929,9 +1055,12 @@ var properties$2 = {
929
1055
  },
930
1056
  {
931
1057
  type: "array",
932
- items: {
933
- type: "string"
934
- }
1058
+ items: false,
1059
+ prefixItems: [
1060
+ {
1061
+ type: "string"
1062
+ }
1063
+ ]
935
1064
  }
936
1065
  ]
937
1066
  },
@@ -945,9 +1074,12 @@ var properties$2 = {
945
1074
  },
946
1075
  {
947
1076
  type: "array",
948
- items: {
949
- $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
950
- }
1077
+ items: false,
1078
+ prefixItems: [
1079
+ {
1080
+ $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
1081
+ }
1082
+ ]
951
1083
  }
952
1084
  ]
953
1085
  },
@@ -958,9 +1090,12 @@ var properties$2 = {
958
1090
  },
959
1091
  {
960
1092
  type: "array",
961
- items: {
962
- $ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
963
- }
1093
+ items: false,
1094
+ prefixItems: [
1095
+ {
1096
+ $ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
1097
+ }
1098
+ ]
964
1099
  }
965
1100
  ]
966
1101
  },
@@ -971,9 +1106,12 @@ var properties$2 = {
971
1106
  },
972
1107
  {
973
1108
  type: "array",
974
- items: {
975
- type: "string"
976
- }
1109
+ items: false,
1110
+ prefixItems: [
1111
+ {
1112
+ type: "string"
1113
+ }
1114
+ ]
977
1115
  }
978
1116
  ]
979
1117
  },
@@ -987,14 +1125,18 @@ var properties$2 = {
987
1125
  type: "string"
988
1126
  }
989
1127
  };
990
- var description$5 = "A node object represents zero or more properties of a node in the graph serialized by the JSON-LD document.";
991
1128
  var JsonLdNodeObjectSchema = {
1129
+ $schema: $schema$5,
1130
+ $id: $id$5,
1131
+ description: description$5,
992
1132
  type: type$3,
993
1133
  additionalProperties: additionalProperties$3,
994
- properties: properties$2,
995
- description: description$5
1134
+ properties: properties$2
996
1135
  };
997
1136
 
1137
+ var $schema$4 = "https://json-schema.org/draft/2020-12/schema";
1138
+ var $id$4 = "https://schema.twindev.org/json-ld/JsonLdNodePrimitive";
1139
+ var description$4 = "A node primitive is a JSON-LD value which is not one of the defined NodeObject properties.";
998
1140
  var anyOf$1 = [
999
1141
  {
1000
1142
  type: "null"
@@ -1024,12 +1166,16 @@ var anyOf$1 = [
1024
1166
  $ref: "https://schema.twindev.org/json-ld/JsonLdSetObject"
1025
1167
  }
1026
1168
  ];
1027
- var description$4 = "A node primitive is a JSON-LD value which is not one of the defined NodeObject properties.";
1028
1169
  var JsonLdNodePrimitiveSchema = {
1029
- anyOf: anyOf$1,
1030
- description: description$4
1170
+ $schema: $schema$4,
1171
+ $id: $id$4,
1172
+ description: description$4,
1173
+ anyOf: anyOf$1
1031
1174
  };
1032
1175
 
1176
+ var $schema$3 = "https://json-schema.org/draft/2020-12/schema";
1177
+ var $id$3 = "https://schema.twindev.org/json-ld/JsonLdObject";
1178
+ var description$3 = "An object represents the pre-defined properties of the node object in the graph serialized by the JSON-LD document.";
1033
1179
  var type$2 = "object";
1034
1180
  var properties$1 = {
1035
1181
  "@context": {
@@ -1042,9 +1188,12 @@ var properties$1 = {
1042
1188
  },
1043
1189
  {
1044
1190
  type: "array",
1045
- items: {
1046
- type: "string"
1047
- }
1191
+ items: false,
1192
+ prefixItems: [
1193
+ {
1194
+ type: "string"
1195
+ }
1196
+ ]
1048
1197
  }
1049
1198
  ]
1050
1199
  },
@@ -1058,9 +1207,12 @@ var properties$1 = {
1058
1207
  },
1059
1208
  {
1060
1209
  type: "array",
1061
- items: {
1062
- $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
1063
- }
1210
+ items: false,
1211
+ prefixItems: [
1212
+ {
1213
+ $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
1214
+ }
1215
+ ]
1064
1216
  }
1065
1217
  ]
1066
1218
  },
@@ -1071,9 +1223,12 @@ var properties$1 = {
1071
1223
  },
1072
1224
  {
1073
1225
  type: "array",
1074
- items: {
1075
- $ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
1076
- }
1226
+ items: false,
1227
+ prefixItems: [
1228
+ {
1229
+ $ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
1230
+ }
1231
+ ]
1077
1232
  }
1078
1233
  ]
1079
1234
  },
@@ -1084,9 +1239,12 @@ var properties$1 = {
1084
1239
  },
1085
1240
  {
1086
1241
  type: "array",
1087
- items: {
1088
- type: "string"
1089
- }
1242
+ items: false,
1243
+ prefixItems: [
1244
+ {
1245
+ type: "string"
1246
+ }
1247
+ ]
1090
1248
  }
1091
1249
  ]
1092
1250
  },
@@ -1101,14 +1259,18 @@ var properties$1 = {
1101
1259
  }
1102
1260
  };
1103
1261
  var additionalProperties$2 = false;
1104
- var description$3 = "An object represents the pre-defined properties of the node object in the graph serialized by the JSON-LD document.";
1105
1262
  var JsonLdObjectSchema = {
1263
+ $schema: $schema$3,
1264
+ $id: $id$3,
1265
+ description: description$3,
1106
1266
  type: type$2,
1107
1267
  properties: properties$1,
1108
- additionalProperties: additionalProperties$2,
1109
- description: description$3
1268
+ additionalProperties: additionalProperties$2
1110
1269
  };
1111
1270
 
1271
+ var $schema$2 = "https://json-schema.org/draft/2020-12/schema";
1272
+ var $id$2 = "https://schema.twindev.org/json-ld/JsonLdSetObject";
1273
+ var description$2 = "A set represents an unordered set of values.";
1112
1274
  var type$1 = "object";
1113
1275
  var properties = {
1114
1276
  "@set": {
@@ -1118,9 +1280,12 @@ var properties = {
1118
1280
  },
1119
1281
  {
1120
1282
  type: "array",
1121
- items: {
1122
- $ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
1123
- }
1283
+ items: false,
1284
+ prefixItems: [
1285
+ {
1286
+ $ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
1287
+ }
1288
+ ]
1124
1289
  }
1125
1290
  ]
1126
1291
  },
@@ -1132,15 +1297,19 @@ var required = [
1132
1297
  "@set"
1133
1298
  ];
1134
1299
  var additionalProperties$1 = false;
1135
- var description$2 = "A set represents an unordered set of values.";
1136
1300
  var JsonLdSetObjectSchema = {
1301
+ $schema: $schema$2,
1302
+ $id: $id$2,
1303
+ description: description$2,
1137
1304
  type: type$1,
1138
1305
  properties: properties,
1139
1306
  required: required,
1140
- additionalProperties: additionalProperties$1,
1141
- description: description$2
1307
+ additionalProperties: additionalProperties$1
1142
1308
  };
1143
1309
 
1310
+ var $schema$1 = "https://json-schema.org/draft/2020-12/schema";
1311
+ var $id$1 = "https://schema.twindev.org/json-ld/JsonLdTypeMap";
1312
+ var description$1 = "A type map is used to associate an IRI with a value that allows easy programmatic access.";
1144
1313
  var type = "object";
1145
1314
  var additionalProperties = {
1146
1315
  anyOf: [
@@ -1152,13 +1321,17 @@ var additionalProperties = {
1152
1321
  }
1153
1322
  ]
1154
1323
  };
1155
- var description$1 = "A type map is used to associate an IRI with a value that allows easy programmatic access.";
1156
1324
  var JsonLdTypeMapSchema = {
1325
+ $schema: $schema$1,
1326
+ $id: $id$1,
1327
+ description: description$1,
1157
1328
  type: type,
1158
- additionalProperties: additionalProperties,
1159
- description: description$1
1329
+ additionalProperties: additionalProperties
1160
1330
  };
1161
1331
 
1332
+ var $schema = "https://json-schema.org/draft/2020-12/schema";
1333
+ var $id = "https://schema.twindev.org/json-ld/JsonLdValueObject";
1334
+ var description = "A value object is used to explicitly associate a type or a language with a value to create a typed value or a language-tagged string and possibly associate a base direction.";
1162
1335
  var anyOf = [
1163
1336
  {
1164
1337
  type: "object",
@@ -1267,10 +1440,11 @@ var anyOf = [
1267
1440
  ]
1268
1441
  }
1269
1442
  ];
1270
- var description = "A value object is used to explicitly associate a type or a language with a value to create a typed value or a language-tagged string and possibly associate a base direction.";
1271
1443
  var JsonLdValueObjectSchema = {
1272
- anyOf: anyOf,
1273
- description: description
1444
+ $schema: $schema,
1445
+ $id: $id,
1446
+ description: description,
1447
+ anyOf: anyOf
1274
1448
  };
1275
1449
 
1276
1450
  // Copyright 2024 IOTA Stiftung.