@twin.org/data-json-ld 0.0.1-next.35 → 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.
- package/dist/cjs/index.cjs +386 -432
- package/dist/esm/index.mjs +386 -432
- package/dist/types/index.d.ts +0 -1
- package/dist/types/models/IJsonLdContainerType.d.ts +1 -1
- package/dist/types/models/IJsonLdContainerTypeArray.d.ts +1 -1
- package/dist/types/models/IJsonLdContextDefinition.d.ts +9 -10
- package/dist/types/models/IJsonLdDocument.d.ts +4 -3
- package/dist/types/models/IJsonLdExpandedTermDefinition.d.ts +10 -9
- package/dist/types/models/IJsonLdGraphObject.d.ts +4 -4
- package/dist/types/models/IJsonLdListObject.d.ts +3 -3
- package/dist/types/models/IJsonLdObject.d.ts +8 -7
- package/dist/types/models/IJsonLdSetObject.d.ts +3 -3
- package/dist/types/models/IJsonLdValueObject.d.ts +9 -9
- package/docs/changelog.md +28 -0
- package/docs/reference/index.md +0 -1
- package/docs/reference/interfaces/IJsonLdContextDefinition.md +1 -1
- package/docs/reference/interfaces/IJsonLdNodeObject.md +1 -1
- package/docs/reference/type-aliases/IJsonLdContainerType.md +1 -1
- package/docs/reference/type-aliases/IJsonLdContainerTypeArray.md +1 -1
- package/docs/reference/type-aliases/IJsonLdDocument.md +1 -1
- package/docs/reference/type-aliases/IJsonLdExpandedTermDefinition.md +6 -6
- package/docs/reference/type-aliases/IJsonLdValueObject.md +3 -3
- package/package.json +2 -3
- package/dist/types/models/IJsonLdKeyword.d.ts +0 -42
- package/docs/reference/type-aliases/IJsonLdKeyword.md +0 -149
package/dist/cjs/index.cjs
CHANGED
|
@@ -131,25 +131,34 @@ const JsonLdTypes = {
|
|
|
131
131
|
JsonValue: "JsonLdJsonValue"
|
|
132
132
|
};
|
|
133
133
|
|
|
134
|
-
var
|
|
135
|
-
var
|
|
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.";
|
|
137
|
+
var type$d = "string";
|
|
136
138
|
var JsonLdContainerTypeSchema = {
|
|
137
|
-
|
|
139
|
+
$schema: $schema$o,
|
|
140
|
+
$id: $id$o,
|
|
141
|
+
description: description$o,
|
|
142
|
+
type: type$d,
|
|
138
143
|
"enum": [
|
|
139
144
|
"@language",
|
|
140
145
|
"@index",
|
|
141
146
|
"@id",
|
|
142
147
|
"@graph",
|
|
143
148
|
"@type"
|
|
144
|
-
]
|
|
145
|
-
description: description$p
|
|
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,18 +333,21 @@ 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$o = "Helper Types.";
|
|
323
339
|
var JsonLdContainerTypeArraySchema = {
|
|
324
|
-
|
|
325
|
-
|
|
340
|
+
$schema: $schema$n,
|
|
341
|
+
$id: $id$n,
|
|
342
|
+
description: description$n,
|
|
343
|
+
anyOf: anyOf$a
|
|
326
344
|
};
|
|
327
345
|
|
|
328
|
-
var
|
|
329
|
-
var
|
|
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.";
|
|
349
|
+
var type$c = "object";
|
|
350
|
+
var properties$5 = {
|
|
330
351
|
"@base": {
|
|
331
352
|
type: [
|
|
332
353
|
"string",
|
|
@@ -383,7 +404,7 @@ var properties$6 = {
|
|
|
383
404
|
]
|
|
384
405
|
}
|
|
385
406
|
};
|
|
386
|
-
var additionalProperties$
|
|
407
|
+
var additionalProperties$a = {
|
|
387
408
|
anyOf: [
|
|
388
409
|
{
|
|
389
410
|
type: "null"
|
|
@@ -396,14 +417,18 @@ var additionalProperties$b = {
|
|
|
396
417
|
}
|
|
397
418
|
]
|
|
398
419
|
};
|
|
399
|
-
var description$n = "A context definition defines a local context in a node object.";
|
|
400
420
|
var JsonLdContextDefinitionSchema = {
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
421
|
+
$schema: $schema$m,
|
|
422
|
+
$id: $id$m,
|
|
423
|
+
description: description$m,
|
|
424
|
+
type: type$c,
|
|
425
|
+
properties: properties$5,
|
|
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$m = "A context definition element is used to define the types of a context definition.";
|
|
419
443
|
var JsonLdContextDefinitionElementSchema = {
|
|
420
|
-
|
|
421
|
-
|
|
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
|
-
|
|
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$l = "A context definition root is used to define the root of a context definition.";
|
|
436
467
|
var JsonLdContextDefinitionRootSchema = {
|
|
437
|
-
|
|
438
|
-
|
|
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
|
-
|
|
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
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
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$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.";
|
|
485
526
|
var JsonLdDocumentSchema = {
|
|
486
|
-
|
|
487
|
-
|
|
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
|
-
|
|
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
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
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,14 +670,18 @@ var anyOf$6 = [
|
|
|
618
670
|
]
|
|
619
671
|
}
|
|
620
672
|
];
|
|
621
|
-
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.";
|
|
622
673
|
var JsonLdExpandedTermDefinitionSchema = {
|
|
623
|
-
|
|
624
|
-
|
|
674
|
+
$schema: $schema$i,
|
|
675
|
+
$id: $id$i,
|
|
676
|
+
description: description$i,
|
|
677
|
+
anyOf: anyOf$6
|
|
625
678
|
};
|
|
626
679
|
|
|
627
|
-
var
|
|
628
|
-
var
|
|
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.";
|
|
683
|
+
var type$b = "object";
|
|
684
|
+
var properties$4 = {
|
|
629
685
|
"@graph": {
|
|
630
686
|
anyOf: [
|
|
631
687
|
{
|
|
@@ -633,9 +689,12 @@ var properties$5 = {
|
|
|
633
689
|
},
|
|
634
690
|
{
|
|
635
691
|
type: "array",
|
|
636
|
-
items:
|
|
637
|
-
|
|
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$5 = {
|
|
|
649
708
|
},
|
|
650
709
|
{
|
|
651
710
|
type: "array",
|
|
652
|
-
items:
|
|
653
|
-
|
|
654
|
-
|
|
711
|
+
items: false,
|
|
712
|
+
prefixItems: [
|
|
713
|
+
{
|
|
714
|
+
type: "string"
|
|
715
|
+
}
|
|
716
|
+
]
|
|
655
717
|
}
|
|
656
718
|
]
|
|
657
719
|
},
|
|
@@ -659,68 +721,90 @@ var properties$5 = {
|
|
|
659
721
|
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
|
|
660
722
|
}
|
|
661
723
|
};
|
|
662
|
-
var required$
|
|
724
|
+
var required$2 = [
|
|
663
725
|
"@graph"
|
|
664
726
|
];
|
|
665
|
-
var additionalProperties$
|
|
666
|
-
var description$i = "A graph object represents a named graph, which MAY include an explicit graph name.";
|
|
727
|
+
var additionalProperties$9 = false;
|
|
667
728
|
var JsonLdGraphObjectSchema = {
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
729
|
+
$schema: $schema$h,
|
|
730
|
+
$id: $id$h,
|
|
731
|
+
description: description$h,
|
|
732
|
+
type: type$b,
|
|
733
|
+
properties: properties$4,
|
|
734
|
+
required: required$2,
|
|
735
|
+
additionalProperties: additionalProperties$9
|
|
673
736
|
};
|
|
674
737
|
|
|
675
|
-
var
|
|
676
|
-
var
|
|
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.";
|
|
741
|
+
var type$a = "object";
|
|
742
|
+
var additionalProperties$8 = {
|
|
677
743
|
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
678
744
|
};
|
|
679
|
-
var description$h = "An id map is used to associate an IRI with a value that allows easy programmatic access.";
|
|
680
745
|
var JsonLdIdMapSchema = {
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
description: description$
|
|
746
|
+
$schema: $schema$g,
|
|
747
|
+
$id: $id$g,
|
|
748
|
+
description: description$g,
|
|
749
|
+
type: type$a,
|
|
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
|
-
|
|
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$g = "An included block is used to provide a set of node objects.";
|
|
698
770
|
var JsonLdIncludedBlockSchema = {
|
|
699
|
-
|
|
700
|
-
|
|
771
|
+
$schema: $schema$f,
|
|
772
|
+
$id: $id$f,
|
|
773
|
+
description: description$f,
|
|
774
|
+
anyOf: anyOf$5
|
|
701
775
|
};
|
|
702
776
|
|
|
703
|
-
var
|
|
704
|
-
var
|
|
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.";
|
|
780
|
+
var type$9 = "object";
|
|
781
|
+
var additionalProperties$7 = {
|
|
705
782
|
anyOf: [
|
|
706
783
|
{
|
|
707
784
|
$ref: "https://schema.twindev.org/json-ld/JsonLdIndexMapItem"
|
|
708
785
|
},
|
|
709
786
|
{
|
|
710
787
|
type: "array",
|
|
711
|
-
items:
|
|
712
|
-
|
|
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$f = "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 = {
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
description: description$
|
|
798
|
+
$schema: $schema$e,
|
|
799
|
+
$id: $id$e,
|
|
800
|
+
description: description$e,
|
|
801
|
+
type: type$9,
|
|
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,25 +831,37 @@ var anyOf$4 = [
|
|
|
747
831
|
$ref: "https://schema.twindev.org/json-ld/JsonLdSetObject"
|
|
748
832
|
}
|
|
749
833
|
];
|
|
750
|
-
var description$e = "The items that can be stored in an index map.";
|
|
751
834
|
var JsonLdIndexMapItemSchema = {
|
|
752
|
-
|
|
753
|
-
|
|
835
|
+
$schema: $schema$d,
|
|
836
|
+
$id: $id$d,
|
|
837
|
+
description: description$d,
|
|
838
|
+
anyOf: anyOf$4
|
|
754
839
|
};
|
|
755
840
|
|
|
756
|
-
var
|
|
757
|
-
var
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
var
|
|
841
|
+
var $schema$c = "https://json-schema.org/draft/2020-12/schema";
|
|
842
|
+
var $id$c = "https://schema.twindev.org/json-ld/JsonLdJsonArray";
|
|
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 = {
|
|
762
|
-
|
|
852
|
+
$schema: $schema$c,
|
|
853
|
+
$id: $id$c,
|
|
854
|
+
description: description$c,
|
|
855
|
+
type: type$8,
|
|
763
856
|
items: items,
|
|
764
|
-
|
|
857
|
+
prefixItems: prefixItems
|
|
765
858
|
};
|
|
766
859
|
|
|
767
|
-
var
|
|
768
|
-
var
|
|
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.";
|
|
863
|
+
var type$7 = "object";
|
|
864
|
+
var additionalProperties$6 = {
|
|
769
865
|
anyOf: [
|
|
770
866
|
{
|
|
771
867
|
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonValue"
|
|
@@ -776,25 +872,33 @@ var additionalProperties$7 = {
|
|
|
776
872
|
}
|
|
777
873
|
]
|
|
778
874
|
};
|
|
779
|
-
var description$c = "JSON Type for object.";
|
|
780
875
|
var JsonLdJsonObjectSchema = {
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
description: description$
|
|
876
|
+
$schema: $schema$b,
|
|
877
|
+
$id: $id$b,
|
|
878
|
+
description: description$b,
|
|
879
|
+
type: type$7,
|
|
880
|
+
additionalProperties: additionalProperties$6
|
|
784
881
|
};
|
|
785
882
|
|
|
786
|
-
var
|
|
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.";
|
|
886
|
+
var type$6 = [
|
|
787
887
|
"string",
|
|
788
888
|
"number",
|
|
789
889
|
"boolean",
|
|
790
890
|
"null"
|
|
791
891
|
];
|
|
792
|
-
var description$b = "JSON Primitive.";
|
|
793
892
|
var JsonLdJsonPrimitiveSchema = {
|
|
794
|
-
|
|
795
|
-
|
|
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,227 +910,16 @@ var anyOf$3 = [
|
|
|
806
910
|
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
807
911
|
}
|
|
808
912
|
];
|
|
809
|
-
var description$a = "JSON Value.";
|
|
810
913
|
var JsonLdJsonValueSchema = {
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
var type$6 = "object";
|
|
816
|
-
var properties$4 = {
|
|
817
|
-
"@base": {
|
|
818
|
-
type: [
|
|
819
|
-
"string",
|
|
820
|
-
"null"
|
|
821
|
-
]
|
|
822
|
-
},
|
|
823
|
-
"@container": {
|
|
824
|
-
anyOf: [
|
|
825
|
-
{
|
|
826
|
-
type: "string",
|
|
827
|
-
"const": "@list"
|
|
828
|
-
},
|
|
829
|
-
{
|
|
830
|
-
type: "string",
|
|
831
|
-
"const": "@set"
|
|
832
|
-
},
|
|
833
|
-
{
|
|
834
|
-
$ref: "https://schema.twindev.org/json-ld/JsonLdContainerType"
|
|
835
|
-
},
|
|
836
|
-
{
|
|
837
|
-
type: "array",
|
|
838
|
-
items: {
|
|
839
|
-
anyOf: [
|
|
840
|
-
{
|
|
841
|
-
type: "string",
|
|
842
|
-
"const": "@list"
|
|
843
|
-
},
|
|
844
|
-
{
|
|
845
|
-
type: "string",
|
|
846
|
-
"const": "@set"
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
$ref: "https://schema.twindev.org/json-ld/JsonLdContainerType"
|
|
850
|
-
}
|
|
851
|
-
]
|
|
852
|
-
}
|
|
853
|
-
},
|
|
854
|
-
{
|
|
855
|
-
$ref: "https://schema.twindev.org/json-ld/JsonLdContainerTypeArray"
|
|
856
|
-
},
|
|
857
|
-
{
|
|
858
|
-
type: "null"
|
|
859
|
-
}
|
|
860
|
-
]
|
|
861
|
-
},
|
|
862
|
-
"@context": {
|
|
863
|
-
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
|
|
864
|
-
},
|
|
865
|
-
"@direction": {
|
|
866
|
-
type: [
|
|
867
|
-
"string",
|
|
868
|
-
"null"
|
|
869
|
-
],
|
|
870
|
-
"enum": [
|
|
871
|
-
"ltr",
|
|
872
|
-
"rtl",
|
|
873
|
-
null
|
|
874
|
-
]
|
|
875
|
-
},
|
|
876
|
-
"@graph": {
|
|
877
|
-
anyOf: [
|
|
878
|
-
{
|
|
879
|
-
$ref: "https://schema.twindev.org/json-ld/JsonLdValueObject"
|
|
880
|
-
},
|
|
881
|
-
{
|
|
882
|
-
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
type: "array",
|
|
886
|
-
items: {
|
|
887
|
-
anyOf: [
|
|
888
|
-
{
|
|
889
|
-
$ref: "https://schema.twindev.org/json-ld/JsonLdValueObject"
|
|
890
|
-
},
|
|
891
|
-
{
|
|
892
|
-
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
893
|
-
}
|
|
894
|
-
]
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
]
|
|
898
|
-
},
|
|
899
|
-
"@id": {
|
|
900
|
-
anyOf: [
|
|
901
|
-
{
|
|
902
|
-
type: "string"
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
type: "array",
|
|
906
|
-
items: {
|
|
907
|
-
type: "string"
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
]
|
|
911
|
-
},
|
|
912
|
-
"@import": {
|
|
913
|
-
type: "string"
|
|
914
|
-
},
|
|
915
|
-
"@included": {
|
|
916
|
-
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
917
|
-
},
|
|
918
|
-
"@index": {
|
|
919
|
-
type: "string"
|
|
920
|
-
},
|
|
921
|
-
"@json": {
|
|
922
|
-
type: "string",
|
|
923
|
-
"const": "@json"
|
|
924
|
-
},
|
|
925
|
-
"@language": {
|
|
926
|
-
type: "string"
|
|
927
|
-
},
|
|
928
|
-
"@list": {
|
|
929
|
-
anyOf: [
|
|
930
|
-
{
|
|
931
|
-
$ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
|
|
932
|
-
},
|
|
933
|
-
{
|
|
934
|
-
type: "array",
|
|
935
|
-
items: {
|
|
936
|
-
$ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
]
|
|
940
|
-
},
|
|
941
|
-
"@nest": {
|
|
942
|
-
type: "object"
|
|
943
|
-
},
|
|
944
|
-
"@none": {
|
|
945
|
-
type: "string",
|
|
946
|
-
"const": "@none"
|
|
947
|
-
},
|
|
948
|
-
"@prefix": {
|
|
949
|
-
type: "boolean"
|
|
950
|
-
},
|
|
951
|
-
"@propagate": {
|
|
952
|
-
type: "boolean"
|
|
953
|
-
},
|
|
954
|
-
"@protected": {
|
|
955
|
-
type: "boolean"
|
|
956
|
-
},
|
|
957
|
-
"@reverse": {
|
|
958
|
-
type: "string"
|
|
959
|
-
},
|
|
960
|
-
"@set": {
|
|
961
|
-
anyOf: [
|
|
962
|
-
{
|
|
963
|
-
$ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
|
|
964
|
-
},
|
|
965
|
-
{
|
|
966
|
-
type: "array",
|
|
967
|
-
items: {
|
|
968
|
-
$ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
|
|
969
|
-
}
|
|
970
|
-
}
|
|
971
|
-
]
|
|
972
|
-
},
|
|
973
|
-
"@type": {
|
|
974
|
-
type: "string"
|
|
975
|
-
},
|
|
976
|
-
"@value": {
|
|
977
|
-
type: [
|
|
978
|
-
"null",
|
|
979
|
-
"boolean",
|
|
980
|
-
"number",
|
|
981
|
-
"string"
|
|
982
|
-
]
|
|
983
|
-
},
|
|
984
|
-
"@version": {
|
|
985
|
-
type: "string",
|
|
986
|
-
"const": "1.1"
|
|
987
|
-
},
|
|
988
|
-
"@vocab": {
|
|
989
|
-
type: [
|
|
990
|
-
"string",
|
|
991
|
-
"null"
|
|
992
|
-
]
|
|
993
|
-
}
|
|
994
|
-
};
|
|
995
|
-
var required$2 = [
|
|
996
|
-
"@base",
|
|
997
|
-
"@container",
|
|
998
|
-
"@context",
|
|
999
|
-
"@direction",
|
|
1000
|
-
"@graph",
|
|
1001
|
-
"@id",
|
|
1002
|
-
"@import",
|
|
1003
|
-
"@included",
|
|
1004
|
-
"@index",
|
|
1005
|
-
"@json",
|
|
1006
|
-
"@language",
|
|
1007
|
-
"@list",
|
|
1008
|
-
"@nest",
|
|
1009
|
-
"@none",
|
|
1010
|
-
"@prefix",
|
|
1011
|
-
"@propagate",
|
|
1012
|
-
"@protected",
|
|
1013
|
-
"@reverse",
|
|
1014
|
-
"@set",
|
|
1015
|
-
"@type",
|
|
1016
|
-
"@value",
|
|
1017
|
-
"@version",
|
|
1018
|
-
"@vocab"
|
|
1019
|
-
];
|
|
1020
|
-
var additionalProperties$6 = false;
|
|
1021
|
-
var description$9 = "A list of keywords and their types. Only used for internal reference; not an actual interface. Not for export.";
|
|
1022
|
-
var JsonLdKeywordSchema = {
|
|
1023
|
-
type: type$6,
|
|
1024
|
-
properties: properties$4,
|
|
1025
|
-
required: required$2,
|
|
1026
|
-
additionalProperties: additionalProperties$6,
|
|
1027
|
-
description: description$9
|
|
914
|
+
$schema: $schema$9,
|
|
915
|
+
$id: $id$9,
|
|
916
|
+
description: description$9,
|
|
917
|
+
anyOf: anyOf$3
|
|
1028
918
|
};
|
|
1029
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.";
|
|
1030
923
|
var type$5 = "object";
|
|
1031
924
|
var additionalProperties$5 = {
|
|
1032
925
|
anyOf: [
|
|
@@ -1038,19 +931,26 @@ var additionalProperties$5 = {
|
|
|
1038
931
|
},
|
|
1039
932
|
{
|
|
1040
933
|
type: "array",
|
|
1041
|
-
items:
|
|
1042
|
-
|
|
1043
|
-
|
|
934
|
+
items: false,
|
|
935
|
+
prefixItems: [
|
|
936
|
+
{
|
|
937
|
+
type: "string"
|
|
938
|
+
}
|
|
939
|
+
]
|
|
1044
940
|
}
|
|
1045
941
|
]
|
|
1046
942
|
};
|
|
1047
|
-
var description$8 = "A language map is used to associate a language with a value in a way that allows easy programmatic access.";
|
|
1048
943
|
var JsonLdLanguageMapSchema = {
|
|
944
|
+
$schema: $schema$8,
|
|
945
|
+
$id: $id$8,
|
|
946
|
+
description: description$8,
|
|
1049
947
|
type: type$5,
|
|
1050
|
-
additionalProperties: additionalProperties$5
|
|
1051
|
-
description: description$8
|
|
948
|
+
additionalProperties: additionalProperties$5
|
|
1052
949
|
};
|
|
1053
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.";
|
|
1054
954
|
var type$4 = "object";
|
|
1055
955
|
var properties$3 = {
|
|
1056
956
|
"@list": {
|
|
@@ -1060,9 +960,12 @@ var properties$3 = {
|
|
|
1060
960
|
},
|
|
1061
961
|
{
|
|
1062
962
|
type: "array",
|
|
1063
|
-
items:
|
|
1064
|
-
|
|
1065
|
-
|
|
963
|
+
items: false,
|
|
964
|
+
prefixItems: [
|
|
965
|
+
{
|
|
966
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
|
|
967
|
+
}
|
|
968
|
+
]
|
|
1066
969
|
}
|
|
1067
970
|
]
|
|
1068
971
|
},
|
|
@@ -1074,15 +977,19 @@ var required$1 = [
|
|
|
1074
977
|
"@list"
|
|
1075
978
|
];
|
|
1076
979
|
var additionalProperties$4 = false;
|
|
1077
|
-
var description$7 = "A list represents an ordered set of values.";
|
|
1078
980
|
var JsonLdListObjectSchema = {
|
|
981
|
+
$schema: $schema$7,
|
|
982
|
+
$id: $id$7,
|
|
983
|
+
description: description$7,
|
|
1079
984
|
type: type$4,
|
|
1080
985
|
properties: properties$3,
|
|
1081
986
|
required: required$1,
|
|
1082
|
-
additionalProperties: additionalProperties$4
|
|
1083
|
-
description: description$7
|
|
987
|
+
additionalProperties: additionalProperties$4
|
|
1084
988
|
};
|
|
1085
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.";
|
|
1086
993
|
var anyOf$2 = [
|
|
1087
994
|
{
|
|
1088
995
|
type: "null"
|
|
@@ -1103,12 +1010,16 @@ var anyOf$2 = [
|
|
|
1103
1010
|
$ref: "https://schema.twindev.org/json-ld/JsonLdValueObject"
|
|
1104
1011
|
}
|
|
1105
1012
|
];
|
|
1106
|
-
var description$6 = "A list or set item can be a null, boolean, number, string, node object, or value object.";
|
|
1107
1013
|
var JsonLdListOrSetItemSchema = {
|
|
1108
|
-
|
|
1109
|
-
|
|
1014
|
+
$schema: $schema$6,
|
|
1015
|
+
$id: $id$6,
|
|
1016
|
+
description: description$6,
|
|
1017
|
+
anyOf: anyOf$2
|
|
1110
1018
|
};
|
|
1111
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.";
|
|
1112
1023
|
var type$3 = "object";
|
|
1113
1024
|
var additionalProperties$3 = {
|
|
1114
1025
|
anyOf: [
|
|
@@ -1146,9 +1057,12 @@ var properties$2 = {
|
|
|
1146
1057
|
},
|
|
1147
1058
|
{
|
|
1148
1059
|
type: "array",
|
|
1149
|
-
items:
|
|
1150
|
-
|
|
1151
|
-
|
|
1060
|
+
items: false,
|
|
1061
|
+
prefixItems: [
|
|
1062
|
+
{
|
|
1063
|
+
type: "string"
|
|
1064
|
+
}
|
|
1065
|
+
]
|
|
1152
1066
|
}
|
|
1153
1067
|
]
|
|
1154
1068
|
},
|
|
@@ -1162,9 +1076,12 @@ var properties$2 = {
|
|
|
1162
1076
|
},
|
|
1163
1077
|
{
|
|
1164
1078
|
type: "array",
|
|
1165
|
-
items:
|
|
1166
|
-
|
|
1167
|
-
|
|
1079
|
+
items: false,
|
|
1080
|
+
prefixItems: [
|
|
1081
|
+
{
|
|
1082
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
1083
|
+
}
|
|
1084
|
+
]
|
|
1168
1085
|
}
|
|
1169
1086
|
]
|
|
1170
1087
|
},
|
|
@@ -1175,9 +1092,12 @@ var properties$2 = {
|
|
|
1175
1092
|
},
|
|
1176
1093
|
{
|
|
1177
1094
|
type: "array",
|
|
1178
|
-
items:
|
|
1179
|
-
|
|
1180
|
-
|
|
1095
|
+
items: false,
|
|
1096
|
+
prefixItems: [
|
|
1097
|
+
{
|
|
1098
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
1099
|
+
}
|
|
1100
|
+
]
|
|
1181
1101
|
}
|
|
1182
1102
|
]
|
|
1183
1103
|
},
|
|
@@ -1188,9 +1108,12 @@ var properties$2 = {
|
|
|
1188
1108
|
},
|
|
1189
1109
|
{
|
|
1190
1110
|
type: "array",
|
|
1191
|
-
items:
|
|
1192
|
-
|
|
1193
|
-
|
|
1111
|
+
items: false,
|
|
1112
|
+
prefixItems: [
|
|
1113
|
+
{
|
|
1114
|
+
type: "string"
|
|
1115
|
+
}
|
|
1116
|
+
]
|
|
1194
1117
|
}
|
|
1195
1118
|
]
|
|
1196
1119
|
},
|
|
@@ -1204,14 +1127,18 @@ var properties$2 = {
|
|
|
1204
1127
|
type: "string"
|
|
1205
1128
|
}
|
|
1206
1129
|
};
|
|
1207
|
-
var description$5 = "A node object represents zero or more properties of a node in the graph serialized by the JSON-LD document.";
|
|
1208
1130
|
var JsonLdNodeObjectSchema = {
|
|
1131
|
+
$schema: $schema$5,
|
|
1132
|
+
$id: $id$5,
|
|
1133
|
+
description: description$5,
|
|
1209
1134
|
type: type$3,
|
|
1210
1135
|
additionalProperties: additionalProperties$3,
|
|
1211
|
-
properties: properties$2
|
|
1212
|
-
description: description$5
|
|
1136
|
+
properties: properties$2
|
|
1213
1137
|
};
|
|
1214
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.";
|
|
1215
1142
|
var anyOf$1 = [
|
|
1216
1143
|
{
|
|
1217
1144
|
type: "null"
|
|
@@ -1241,12 +1168,16 @@ var anyOf$1 = [
|
|
|
1241
1168
|
$ref: "https://schema.twindev.org/json-ld/JsonLdSetObject"
|
|
1242
1169
|
}
|
|
1243
1170
|
];
|
|
1244
|
-
var description$4 = "A node primitive is a JSON-LD value which is not one of the defined NodeObject properties.";
|
|
1245
1171
|
var JsonLdNodePrimitiveSchema = {
|
|
1246
|
-
|
|
1247
|
-
|
|
1172
|
+
$schema: $schema$4,
|
|
1173
|
+
$id: $id$4,
|
|
1174
|
+
description: description$4,
|
|
1175
|
+
anyOf: anyOf$1
|
|
1248
1176
|
};
|
|
1249
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.";
|
|
1250
1181
|
var type$2 = "object";
|
|
1251
1182
|
var properties$1 = {
|
|
1252
1183
|
"@context": {
|
|
@@ -1259,9 +1190,12 @@ var properties$1 = {
|
|
|
1259
1190
|
},
|
|
1260
1191
|
{
|
|
1261
1192
|
type: "array",
|
|
1262
|
-
items:
|
|
1263
|
-
|
|
1264
|
-
|
|
1193
|
+
items: false,
|
|
1194
|
+
prefixItems: [
|
|
1195
|
+
{
|
|
1196
|
+
type: "string"
|
|
1197
|
+
}
|
|
1198
|
+
]
|
|
1265
1199
|
}
|
|
1266
1200
|
]
|
|
1267
1201
|
},
|
|
@@ -1275,9 +1209,12 @@ var properties$1 = {
|
|
|
1275
1209
|
},
|
|
1276
1210
|
{
|
|
1277
1211
|
type: "array",
|
|
1278
|
-
items:
|
|
1279
|
-
|
|
1280
|
-
|
|
1212
|
+
items: false,
|
|
1213
|
+
prefixItems: [
|
|
1214
|
+
{
|
|
1215
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
1216
|
+
}
|
|
1217
|
+
]
|
|
1281
1218
|
}
|
|
1282
1219
|
]
|
|
1283
1220
|
},
|
|
@@ -1288,9 +1225,12 @@ var properties$1 = {
|
|
|
1288
1225
|
},
|
|
1289
1226
|
{
|
|
1290
1227
|
type: "array",
|
|
1291
|
-
items:
|
|
1292
|
-
|
|
1293
|
-
|
|
1228
|
+
items: false,
|
|
1229
|
+
prefixItems: [
|
|
1230
|
+
{
|
|
1231
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
1232
|
+
}
|
|
1233
|
+
]
|
|
1294
1234
|
}
|
|
1295
1235
|
]
|
|
1296
1236
|
},
|
|
@@ -1301,9 +1241,12 @@ var properties$1 = {
|
|
|
1301
1241
|
},
|
|
1302
1242
|
{
|
|
1303
1243
|
type: "array",
|
|
1304
|
-
items:
|
|
1305
|
-
|
|
1306
|
-
|
|
1244
|
+
items: false,
|
|
1245
|
+
prefixItems: [
|
|
1246
|
+
{
|
|
1247
|
+
type: "string"
|
|
1248
|
+
}
|
|
1249
|
+
]
|
|
1307
1250
|
}
|
|
1308
1251
|
]
|
|
1309
1252
|
},
|
|
@@ -1318,14 +1261,18 @@ var properties$1 = {
|
|
|
1318
1261
|
}
|
|
1319
1262
|
};
|
|
1320
1263
|
var additionalProperties$2 = false;
|
|
1321
|
-
var description$3 = "An object represents the pre-defined properties of the node object in the graph serialized by the JSON-LD document.";
|
|
1322
1264
|
var JsonLdObjectSchema = {
|
|
1265
|
+
$schema: $schema$3,
|
|
1266
|
+
$id: $id$3,
|
|
1267
|
+
description: description$3,
|
|
1323
1268
|
type: type$2,
|
|
1324
1269
|
properties: properties$1,
|
|
1325
|
-
additionalProperties: additionalProperties$2
|
|
1326
|
-
description: description$3
|
|
1270
|
+
additionalProperties: additionalProperties$2
|
|
1327
1271
|
};
|
|
1328
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.";
|
|
1329
1276
|
var type$1 = "object";
|
|
1330
1277
|
var properties = {
|
|
1331
1278
|
"@set": {
|
|
@@ -1335,9 +1282,12 @@ var properties = {
|
|
|
1335
1282
|
},
|
|
1336
1283
|
{
|
|
1337
1284
|
type: "array",
|
|
1338
|
-
items:
|
|
1339
|
-
|
|
1340
|
-
|
|
1285
|
+
items: false,
|
|
1286
|
+
prefixItems: [
|
|
1287
|
+
{
|
|
1288
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdListOrSetItem"
|
|
1289
|
+
}
|
|
1290
|
+
]
|
|
1341
1291
|
}
|
|
1342
1292
|
]
|
|
1343
1293
|
},
|
|
@@ -1349,15 +1299,19 @@ var required = [
|
|
|
1349
1299
|
"@set"
|
|
1350
1300
|
];
|
|
1351
1301
|
var additionalProperties$1 = false;
|
|
1352
|
-
var description$2 = "A set represents an unordered set of values.";
|
|
1353
1302
|
var JsonLdSetObjectSchema = {
|
|
1303
|
+
$schema: $schema$2,
|
|
1304
|
+
$id: $id$2,
|
|
1305
|
+
description: description$2,
|
|
1354
1306
|
type: type$1,
|
|
1355
1307
|
properties: properties,
|
|
1356
1308
|
required: required,
|
|
1357
|
-
additionalProperties: additionalProperties$1
|
|
1358
|
-
description: description$2
|
|
1309
|
+
additionalProperties: additionalProperties$1
|
|
1359
1310
|
};
|
|
1360
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.";
|
|
1361
1315
|
var type = "object";
|
|
1362
1316
|
var additionalProperties = {
|
|
1363
1317
|
anyOf: [
|
|
@@ -1369,13 +1323,17 @@ var additionalProperties = {
|
|
|
1369
1323
|
}
|
|
1370
1324
|
]
|
|
1371
1325
|
};
|
|
1372
|
-
var description$1 = "A type map is used to associate an IRI with a value that allows easy programmatic access.";
|
|
1373
1326
|
var JsonLdTypeMapSchema = {
|
|
1327
|
+
$schema: $schema$1,
|
|
1328
|
+
$id: $id$1,
|
|
1329
|
+
description: description$1,
|
|
1374
1330
|
type: type,
|
|
1375
|
-
additionalProperties: additionalProperties
|
|
1376
|
-
description: description$1
|
|
1331
|
+
additionalProperties: additionalProperties
|
|
1377
1332
|
};
|
|
1378
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.";
|
|
1379
1337
|
var anyOf = [
|
|
1380
1338
|
{
|
|
1381
1339
|
type: "object",
|
|
@@ -1484,10 +1442,11 @@ var anyOf = [
|
|
|
1484
1442
|
]
|
|
1485
1443
|
}
|
|
1486
1444
|
];
|
|
1487
|
-
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.";
|
|
1488
1445
|
var JsonLdValueObjectSchema = {
|
|
1489
|
-
|
|
1490
|
-
|
|
1446
|
+
$schema: $schema,
|
|
1447
|
+
$id: $id,
|
|
1448
|
+
description: description,
|
|
1449
|
+
anyOf: anyOf
|
|
1491
1450
|
};
|
|
1492
1451
|
|
|
1493
1452
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1595,11 +1554,6 @@ class JsonLdDataTypes {
|
|
|
1595
1554
|
type: JsonLdTypes.ExpandedTermDefinition,
|
|
1596
1555
|
jsonSchema: async () => JsonLdExpandedTermDefinitionSchema
|
|
1597
1556
|
}));
|
|
1598
|
-
dataCore.DataTypeHandlerFactory.register(`${JsonLdContexts.ContextRoot}${JsonLdTypes.Keyword}`, () => ({
|
|
1599
|
-
context: JsonLdContexts.ContextRoot,
|
|
1600
|
-
type: JsonLdTypes.Keyword,
|
|
1601
|
-
jsonSchema: async () => JsonLdKeywordSchema
|
|
1602
|
-
}));
|
|
1603
1557
|
dataCore.DataTypeHandlerFactory.register(`${JsonLdContexts.ContextRoot}${JsonLdTypes.ListOrSetItem}`, () => ({
|
|
1604
1558
|
context: JsonLdContexts.ContextRoot,
|
|
1605
1559
|
type: JsonLdTypes.ListOrSetItem,
|