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