@twin.org/auditable-item-graph-models 0.0.1-next.41 → 0.0.1-next.42

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.
@@ -52,6 +52,9 @@ const AuditableItemGraphTypes = {
52
52
  PatchOperation: "AuditableItemGraphPatchOperation"
53
53
  };
54
54
 
55
+ var $schema$5 = "https://json-schema.org/draft/2020-12/schema";
56
+ var $id$5 = "https://schema.twindev.org/aig/AuditableItemGraphAlias";
57
+ var description$5 = "Interface describing an alias for a vertex.";
55
58
  var type$5 = "object";
56
59
  var properties$5 = {
57
60
  id: {
@@ -79,15 +82,15 @@ var properties$5 = {
79
82
  {
80
83
  type: "array",
81
84
  minItems: 1,
82
- items: [
85
+ items: {
86
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
87
+ },
88
+ prefixItems: [
83
89
  {
84
90
  type: "string",
85
91
  "const": "https://schema.twindev.org/aig/"
86
92
  }
87
- ],
88
- additionalItems: {
89
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
90
- }
93
+ ]
91
94
  }
92
95
  ],
93
96
  description: "JSON-LD Context."
@@ -112,21 +115,29 @@ var required$5 = [
112
115
  "type"
113
116
  ];
114
117
  var additionalProperties$5 = false;
115
- var description$5 = "Interface describing an alias for a vertex.";
116
118
  var AuditableItemGraphAliasSchema = {
119
+ $schema: $schema$5,
120
+ $id: $id$5,
121
+ description: description$5,
117
122
  type: type$5,
118
123
  properties: properties$5,
119
124
  required: required$5,
120
- additionalProperties: additionalProperties$5,
121
- description: description$5
125
+ additionalProperties: additionalProperties$5
122
126
  };
123
127
 
128
+ var $schema$4 = "https://json-schema.org/draft/2020-12/schema";
129
+ var $id$4 = "https://schema.twindev.org/aig/AuditableItemGraphChangeset";
130
+ var description$4 = "Interface describing a set of changes to the vertex.";
124
131
  var type$4 = "object";
125
132
  var properties$4 = {
126
133
  "@context": {
127
134
  type: "array",
128
135
  minItems: 2,
129
- items: [
136
+ items: {
137
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
138
+ },
139
+ description: "JSON-LD Context.",
140
+ prefixItems: [
130
141
  {
131
142
  type: "string",
132
143
  "const": "https://schema.twindev.org/aig/"
@@ -135,11 +146,7 @@ var properties$4 = {
135
146
  type: "string",
136
147
  "const": "https://schema.twindev.org/common/"
137
148
  }
138
- ],
139
- additionalItems: {
140
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
141
- },
142
- description: "JSON-LD Context."
149
+ ]
143
150
  },
144
151
  type: {
145
152
  type: "string",
@@ -160,10 +167,13 @@ var properties$4 = {
160
167
  },
161
168
  patches: {
162
169
  type: "array",
163
- items: {
164
- $ref: "https://schema.twindev.org/aig/AuditableItemGraphPatchOperation"
165
- },
166
- description: "The patches in the changeset."
170
+ items: false,
171
+ description: "The patches in the changeset.",
172
+ prefixItems: [
173
+ {
174
+ $ref: "https://schema.twindev.org/aig/AuditableItemGraphPatchOperation"
175
+ }
176
+ ]
167
177
  },
168
178
  proofId: {
169
179
  type: "string",
@@ -183,15 +193,19 @@ var required$4 = [
183
193
  "patches"
184
194
  ];
185
195
  var additionalProperties$4 = false;
186
- var description$4 = "Interface describing a set of changes to the vertex.";
187
196
  var AuditableItemGraphChangesetSchema = {
197
+ $schema: $schema$4,
198
+ $id: $id$4,
199
+ description: description$4,
188
200
  type: type$4,
189
201
  properties: properties$4,
190
202
  required: required$4,
191
- additionalProperties: additionalProperties$4,
192
- description: description$4
203
+ additionalProperties: additionalProperties$4
193
204
  };
194
205
 
206
+ var $schema$3 = "https://json-schema.org/draft/2020-12/schema";
207
+ var $id$3 = "https://schema.twindev.org/aig/AuditableItemGraphEdge";
208
+ var description$3 = "Interface describing an edge between two vertices in an auditable item graph.";
195
209
  var type$3 = "object";
196
210
  var properties$3 = {
197
211
  id: {
@@ -219,15 +233,15 @@ var properties$3 = {
219
233
  {
220
234
  type: "array",
221
235
  minItems: 1,
222
- items: [
236
+ items: {
237
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
238
+ },
239
+ prefixItems: [
223
240
  {
224
241
  type: "string",
225
242
  "const": "https://schema.twindev.org/aig/"
226
243
  }
227
- ],
228
- additionalItems: {
229
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
230
- }
244
+ ]
231
245
  }
232
246
  ],
233
247
  description: "JSON-LD Context."
@@ -243,10 +257,13 @@ var properties$3 = {
243
257
  },
244
258
  edgeRelationships: {
245
259
  type: "array",
246
- items: {
247
- type: "string"
248
- },
249
- description: "The relationships between the two vertices."
260
+ items: false,
261
+ description: "The relationships between the two vertices.",
262
+ prefixItems: [
263
+ {
264
+ type: "string"
265
+ }
266
+ ]
250
267
  }
251
268
  };
252
269
  var required$3 = [
@@ -256,15 +273,19 @@ var required$3 = [
256
273
  "edgeRelationships"
257
274
  ];
258
275
  var additionalProperties$3 = false;
259
- var description$3 = "Interface describing an edge between two vertices in an auditable item graph.";
260
276
  var AuditableItemGraphEdgeSchema = {
277
+ $schema: $schema$3,
278
+ $id: $id$3,
279
+ description: description$3,
261
280
  type: type$3,
262
281
  properties: properties$3,
263
282
  required: required$3,
264
- additionalProperties: additionalProperties$3,
265
- description: description$3
283
+ additionalProperties: additionalProperties$3
266
284
  };
267
285
 
286
+ var $schema$2 = "https://json-schema.org/draft/2020-12/schema";
287
+ var $id$2 = "https://schema.twindev.org/aig/AuditableItemGraphPatchOperation";
288
+ var description$2 = "The patch operation for JSON diffs.";
268
289
  var type$2 = "object";
269
290
  var properties$2 = {
270
291
  "@context": {
@@ -276,15 +297,15 @@ var properties$2 = {
276
297
  {
277
298
  type: "array",
278
299
  minItems: 1,
279
- items: [
300
+ items: {
301
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
302
+ },
303
+ prefixItems: [
280
304
  {
281
305
  type: "string",
282
306
  "const": "https://schema.twindev.org/aig/"
283
307
  }
284
- ],
285
- additionalItems: {
286
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
287
- }
308
+ ]
288
309
  }
289
310
  ],
290
311
  description: "JSON-LD Context."
@@ -325,15 +346,19 @@ var required$2 = [
325
346
  "patchPath"
326
347
  ];
327
348
  var additionalProperties$2 = false;
328
- var description$2 = "The patch operation for JSON diffs.";
329
349
  var AuditableItemGraphPatchOperationSchema = {
350
+ $schema: $schema$2,
351
+ $id: $id$2,
352
+ description: description$2,
330
353
  type: type$2,
331
354
  properties: properties$2,
332
355
  required: required$2,
333
- additionalProperties: additionalProperties$2,
334
- description: description$2
356
+ additionalProperties: additionalProperties$2
335
357
  };
336
358
 
359
+ var $schema$1 = "https://json-schema.org/draft/2020-12/schema";
360
+ var $id$1 = "https://schema.twindev.org/aig/AuditableItemGraphResource";
361
+ var description$1 = "Interface describing an auditable item graph vertex resource.";
337
362
  var type$1 = "object";
338
363
  var properties$1 = {
339
364
  id: {
@@ -361,15 +386,15 @@ var properties$1 = {
361
386
  {
362
387
  type: "array",
363
388
  minItems: 1,
364
- items: [
389
+ items: {
390
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
391
+ },
392
+ prefixItems: [
365
393
  {
366
394
  type: "string",
367
395
  "const": "https://schema.twindev.org/aig/"
368
396
  }
369
- ],
370
- additionalItems: {
371
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
372
- }
397
+ ]
373
398
  }
374
399
  ],
375
400
  description: "JSON-LD Context."
@@ -389,15 +414,19 @@ var required$1 = [
389
414
  "type"
390
415
  ];
391
416
  var additionalProperties$1 = false;
392
- var description$1 = "Interface describing an auditable item graph vertex resource.";
393
417
  var AuditableItemGraphResourceSchema = {
418
+ $schema: $schema$1,
419
+ $id: $id$1,
420
+ description: description$1,
394
421
  type: type$1,
395
422
  properties: properties$1,
396
423
  required: required$1,
397
- additionalProperties: additionalProperties$1,
398
- description: description$1
424
+ additionalProperties: additionalProperties$1
399
425
  };
400
426
 
427
+ var $schema = "https://json-schema.org/draft/2020-12/schema";
428
+ var $id = "https://schema.twindev.org/aig/AuditableItemGraphVertex";
429
+ var description = "Interface describing an auditable item graph vertex.";
401
430
  var type = "object";
402
431
  var properties = {
403
432
  id: {
@@ -419,7 +448,11 @@ var properties = {
419
448
  "@context": {
420
449
  type: "array",
421
450
  minItems: 2,
422
- items: [
451
+ items: {
452
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
453
+ },
454
+ description: "JSON-LD Context.",
455
+ prefixItems: [
423
456
  {
424
457
  type: "string",
425
458
  "const": "https://schema.twindev.org/aig/"
@@ -428,11 +461,7 @@ var properties = {
428
461
  type: "string",
429
462
  "const": "https://schema.twindev.org/common/"
430
463
  }
431
- ],
432
- additionalItems: {
433
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
434
- },
435
- description: "JSON-LD Context."
464
+ ]
436
465
  },
437
466
  type: {
438
467
  type: "string",
@@ -449,31 +478,43 @@ var properties = {
449
478
  },
450
479
  aliases: {
451
480
  type: "array",
452
- items: {
453
- $ref: "https://schema.twindev.org/aig/AuditableItemGraphAlias"
454
- },
455
- description: "Alternative aliases that can be used to identify the vertex."
481
+ items: false,
482
+ description: "Alternative aliases that can be used to identify the vertex.",
483
+ prefixItems: [
484
+ {
485
+ $ref: "https://schema.twindev.org/aig/AuditableItemGraphAlias"
486
+ }
487
+ ]
456
488
  },
457
489
  resources: {
458
490
  type: "array",
459
- items: {
460
- $ref: "https://schema.twindev.org/aig/AuditableItemGraphResource"
461
- },
462
- description: "The resources attached to the vertex."
491
+ items: false,
492
+ description: "The resources attached to the vertex.",
493
+ prefixItems: [
494
+ {
495
+ $ref: "https://schema.twindev.org/aig/AuditableItemGraphResource"
496
+ }
497
+ ]
463
498
  },
464
499
  edges: {
465
500
  type: "array",
466
- items: {
467
- $ref: "https://schema.twindev.org/aig/AuditableItemGraphEdge"
468
- },
469
- description: "Edges connected to the vertex."
501
+ items: false,
502
+ description: "Edges connected to the vertex.",
503
+ prefixItems: [
504
+ {
505
+ $ref: "https://schema.twindev.org/aig/AuditableItemGraphEdge"
506
+ }
507
+ ]
470
508
  },
471
509
  changesets: {
472
510
  type: "array",
473
- items: {
474
- $ref: "https://schema.twindev.org/aig/AuditableItemGraphChangeset"
475
- },
476
- description: "Changesets for the vertex."
511
+ items: false,
512
+ description: "Changesets for the vertex.",
513
+ prefixItems: [
514
+ {
515
+ $ref: "https://schema.twindev.org/aig/AuditableItemGraphChangeset"
516
+ }
517
+ ]
477
518
  },
478
519
  verified: {
479
520
  type: "boolean",
@@ -486,13 +527,14 @@ var required = [
486
527
  "type"
487
528
  ];
488
529
  var additionalProperties = false;
489
- var description = "Interface describing an auditable item graph vertex.";
490
530
  var AuditableItemGraphVertexSchema = {
531
+ $schema: $schema,
532
+ $id: $id,
533
+ description: description,
491
534
  type: type,
492
535
  properties: properties,
493
536
  required: required,
494
- additionalProperties: additionalProperties,
495
- description: description
537
+ additionalProperties: additionalProperties
496
538
  };
497
539
 
498
540
  // Copyright 2024 IOTA Stiftung.
@@ -50,6 +50,9 @@ const AuditableItemGraphTypes = {
50
50
  PatchOperation: "AuditableItemGraphPatchOperation"
51
51
  };
52
52
 
53
+ var $schema$5 = "https://json-schema.org/draft/2020-12/schema";
54
+ var $id$5 = "https://schema.twindev.org/aig/AuditableItemGraphAlias";
55
+ var description$5 = "Interface describing an alias for a vertex.";
53
56
  var type$5 = "object";
54
57
  var properties$5 = {
55
58
  id: {
@@ -77,15 +80,15 @@ var properties$5 = {
77
80
  {
78
81
  type: "array",
79
82
  minItems: 1,
80
- items: [
83
+ items: {
84
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
85
+ },
86
+ prefixItems: [
81
87
  {
82
88
  type: "string",
83
89
  "const": "https://schema.twindev.org/aig/"
84
90
  }
85
- ],
86
- additionalItems: {
87
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
88
- }
91
+ ]
89
92
  }
90
93
  ],
91
94
  description: "JSON-LD Context."
@@ -110,21 +113,29 @@ var required$5 = [
110
113
  "type"
111
114
  ];
112
115
  var additionalProperties$5 = false;
113
- var description$5 = "Interface describing an alias for a vertex.";
114
116
  var AuditableItemGraphAliasSchema = {
117
+ $schema: $schema$5,
118
+ $id: $id$5,
119
+ description: description$5,
115
120
  type: type$5,
116
121
  properties: properties$5,
117
122
  required: required$5,
118
- additionalProperties: additionalProperties$5,
119
- description: description$5
123
+ additionalProperties: additionalProperties$5
120
124
  };
121
125
 
126
+ var $schema$4 = "https://json-schema.org/draft/2020-12/schema";
127
+ var $id$4 = "https://schema.twindev.org/aig/AuditableItemGraphChangeset";
128
+ var description$4 = "Interface describing a set of changes to the vertex.";
122
129
  var type$4 = "object";
123
130
  var properties$4 = {
124
131
  "@context": {
125
132
  type: "array",
126
133
  minItems: 2,
127
- items: [
134
+ items: {
135
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
136
+ },
137
+ description: "JSON-LD Context.",
138
+ prefixItems: [
128
139
  {
129
140
  type: "string",
130
141
  "const": "https://schema.twindev.org/aig/"
@@ -133,11 +144,7 @@ var properties$4 = {
133
144
  type: "string",
134
145
  "const": "https://schema.twindev.org/common/"
135
146
  }
136
- ],
137
- additionalItems: {
138
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
139
- },
140
- description: "JSON-LD Context."
147
+ ]
141
148
  },
142
149
  type: {
143
150
  type: "string",
@@ -158,10 +165,13 @@ var properties$4 = {
158
165
  },
159
166
  patches: {
160
167
  type: "array",
161
- items: {
162
- $ref: "https://schema.twindev.org/aig/AuditableItemGraphPatchOperation"
163
- },
164
- description: "The patches in the changeset."
168
+ items: false,
169
+ description: "The patches in the changeset.",
170
+ prefixItems: [
171
+ {
172
+ $ref: "https://schema.twindev.org/aig/AuditableItemGraphPatchOperation"
173
+ }
174
+ ]
165
175
  },
166
176
  proofId: {
167
177
  type: "string",
@@ -181,15 +191,19 @@ var required$4 = [
181
191
  "patches"
182
192
  ];
183
193
  var additionalProperties$4 = false;
184
- var description$4 = "Interface describing a set of changes to the vertex.";
185
194
  var AuditableItemGraphChangesetSchema = {
195
+ $schema: $schema$4,
196
+ $id: $id$4,
197
+ description: description$4,
186
198
  type: type$4,
187
199
  properties: properties$4,
188
200
  required: required$4,
189
- additionalProperties: additionalProperties$4,
190
- description: description$4
201
+ additionalProperties: additionalProperties$4
191
202
  };
192
203
 
204
+ var $schema$3 = "https://json-schema.org/draft/2020-12/schema";
205
+ var $id$3 = "https://schema.twindev.org/aig/AuditableItemGraphEdge";
206
+ var description$3 = "Interface describing an edge between two vertices in an auditable item graph.";
193
207
  var type$3 = "object";
194
208
  var properties$3 = {
195
209
  id: {
@@ -217,15 +231,15 @@ var properties$3 = {
217
231
  {
218
232
  type: "array",
219
233
  minItems: 1,
220
- items: [
234
+ items: {
235
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
236
+ },
237
+ prefixItems: [
221
238
  {
222
239
  type: "string",
223
240
  "const": "https://schema.twindev.org/aig/"
224
241
  }
225
- ],
226
- additionalItems: {
227
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
228
- }
242
+ ]
229
243
  }
230
244
  ],
231
245
  description: "JSON-LD Context."
@@ -241,10 +255,13 @@ var properties$3 = {
241
255
  },
242
256
  edgeRelationships: {
243
257
  type: "array",
244
- items: {
245
- type: "string"
246
- },
247
- description: "The relationships between the two vertices."
258
+ items: false,
259
+ description: "The relationships between the two vertices.",
260
+ prefixItems: [
261
+ {
262
+ type: "string"
263
+ }
264
+ ]
248
265
  }
249
266
  };
250
267
  var required$3 = [
@@ -254,15 +271,19 @@ var required$3 = [
254
271
  "edgeRelationships"
255
272
  ];
256
273
  var additionalProperties$3 = false;
257
- var description$3 = "Interface describing an edge between two vertices in an auditable item graph.";
258
274
  var AuditableItemGraphEdgeSchema = {
275
+ $schema: $schema$3,
276
+ $id: $id$3,
277
+ description: description$3,
259
278
  type: type$3,
260
279
  properties: properties$3,
261
280
  required: required$3,
262
- additionalProperties: additionalProperties$3,
263
- description: description$3
281
+ additionalProperties: additionalProperties$3
264
282
  };
265
283
 
284
+ var $schema$2 = "https://json-schema.org/draft/2020-12/schema";
285
+ var $id$2 = "https://schema.twindev.org/aig/AuditableItemGraphPatchOperation";
286
+ var description$2 = "The patch operation for JSON diffs.";
266
287
  var type$2 = "object";
267
288
  var properties$2 = {
268
289
  "@context": {
@@ -274,15 +295,15 @@ var properties$2 = {
274
295
  {
275
296
  type: "array",
276
297
  minItems: 1,
277
- items: [
298
+ items: {
299
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
300
+ },
301
+ prefixItems: [
278
302
  {
279
303
  type: "string",
280
304
  "const": "https://schema.twindev.org/aig/"
281
305
  }
282
- ],
283
- additionalItems: {
284
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
285
- }
306
+ ]
286
307
  }
287
308
  ],
288
309
  description: "JSON-LD Context."
@@ -323,15 +344,19 @@ var required$2 = [
323
344
  "patchPath"
324
345
  ];
325
346
  var additionalProperties$2 = false;
326
- var description$2 = "The patch operation for JSON diffs.";
327
347
  var AuditableItemGraphPatchOperationSchema = {
348
+ $schema: $schema$2,
349
+ $id: $id$2,
350
+ description: description$2,
328
351
  type: type$2,
329
352
  properties: properties$2,
330
353
  required: required$2,
331
- additionalProperties: additionalProperties$2,
332
- description: description$2
354
+ additionalProperties: additionalProperties$2
333
355
  };
334
356
 
357
+ var $schema$1 = "https://json-schema.org/draft/2020-12/schema";
358
+ var $id$1 = "https://schema.twindev.org/aig/AuditableItemGraphResource";
359
+ var description$1 = "Interface describing an auditable item graph vertex resource.";
335
360
  var type$1 = "object";
336
361
  var properties$1 = {
337
362
  id: {
@@ -359,15 +384,15 @@ var properties$1 = {
359
384
  {
360
385
  type: "array",
361
386
  minItems: 1,
362
- items: [
387
+ items: {
388
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
389
+ },
390
+ prefixItems: [
363
391
  {
364
392
  type: "string",
365
393
  "const": "https://schema.twindev.org/aig/"
366
394
  }
367
- ],
368
- additionalItems: {
369
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
370
- }
395
+ ]
371
396
  }
372
397
  ],
373
398
  description: "JSON-LD Context."
@@ -387,15 +412,19 @@ var required$1 = [
387
412
  "type"
388
413
  ];
389
414
  var additionalProperties$1 = false;
390
- var description$1 = "Interface describing an auditable item graph vertex resource.";
391
415
  var AuditableItemGraphResourceSchema = {
416
+ $schema: $schema$1,
417
+ $id: $id$1,
418
+ description: description$1,
392
419
  type: type$1,
393
420
  properties: properties$1,
394
421
  required: required$1,
395
- additionalProperties: additionalProperties$1,
396
- description: description$1
422
+ additionalProperties: additionalProperties$1
397
423
  };
398
424
 
425
+ var $schema = "https://json-schema.org/draft/2020-12/schema";
426
+ var $id = "https://schema.twindev.org/aig/AuditableItemGraphVertex";
427
+ var description = "Interface describing an auditable item graph vertex.";
399
428
  var type = "object";
400
429
  var properties = {
401
430
  id: {
@@ -417,7 +446,11 @@ var properties = {
417
446
  "@context": {
418
447
  type: "array",
419
448
  minItems: 2,
420
- items: [
449
+ items: {
450
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
451
+ },
452
+ description: "JSON-LD Context.",
453
+ prefixItems: [
421
454
  {
422
455
  type: "string",
423
456
  "const": "https://schema.twindev.org/aig/"
@@ -426,11 +459,7 @@ var properties = {
426
459
  type: "string",
427
460
  "const": "https://schema.twindev.org/common/"
428
461
  }
429
- ],
430
- additionalItems: {
431
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
432
- },
433
- description: "JSON-LD Context."
462
+ ]
434
463
  },
435
464
  type: {
436
465
  type: "string",
@@ -447,31 +476,43 @@ var properties = {
447
476
  },
448
477
  aliases: {
449
478
  type: "array",
450
- items: {
451
- $ref: "https://schema.twindev.org/aig/AuditableItemGraphAlias"
452
- },
453
- description: "Alternative aliases that can be used to identify the vertex."
479
+ items: false,
480
+ description: "Alternative aliases that can be used to identify the vertex.",
481
+ prefixItems: [
482
+ {
483
+ $ref: "https://schema.twindev.org/aig/AuditableItemGraphAlias"
484
+ }
485
+ ]
454
486
  },
455
487
  resources: {
456
488
  type: "array",
457
- items: {
458
- $ref: "https://schema.twindev.org/aig/AuditableItemGraphResource"
459
- },
460
- description: "The resources attached to the vertex."
489
+ items: false,
490
+ description: "The resources attached to the vertex.",
491
+ prefixItems: [
492
+ {
493
+ $ref: "https://schema.twindev.org/aig/AuditableItemGraphResource"
494
+ }
495
+ ]
461
496
  },
462
497
  edges: {
463
498
  type: "array",
464
- items: {
465
- $ref: "https://schema.twindev.org/aig/AuditableItemGraphEdge"
466
- },
467
- description: "Edges connected to the vertex."
499
+ items: false,
500
+ description: "Edges connected to the vertex.",
501
+ prefixItems: [
502
+ {
503
+ $ref: "https://schema.twindev.org/aig/AuditableItemGraphEdge"
504
+ }
505
+ ]
468
506
  },
469
507
  changesets: {
470
508
  type: "array",
471
- items: {
472
- $ref: "https://schema.twindev.org/aig/AuditableItemGraphChangeset"
473
- },
474
- description: "Changesets for the vertex."
509
+ items: false,
510
+ description: "Changesets for the vertex.",
511
+ prefixItems: [
512
+ {
513
+ $ref: "https://schema.twindev.org/aig/AuditableItemGraphChangeset"
514
+ }
515
+ ]
475
516
  },
476
517
  verified: {
477
518
  type: "boolean",
@@ -484,13 +525,14 @@ var required = [
484
525
  "type"
485
526
  ];
486
527
  var additionalProperties = false;
487
- var description = "Interface describing an auditable item graph vertex.";
488
528
  var AuditableItemGraphVertexSchema = {
529
+ $schema: $schema,
530
+ $id: $id,
531
+ description: description,
489
532
  type: type,
490
533
  properties: properties,
491
534
  required: required,
492
- additionalProperties: additionalProperties,
493
- description: description
535
+ additionalProperties: additionalProperties
494
536
  };
495
537
 
496
538
  // Copyright 2024 IOTA Stiftung.
package/docs/changelog.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @twin.org/auditable-item-graph-models - Changelog
2
2
 
3
+ ## [0.0.1-next.42](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-models-v0.0.1-next.41...auditable-item-graph-models-v0.0.1-next.42) (2025-06-12)
4
+
5
+
6
+ ### Features
7
+
8
+ * update dependencies ([6986689](https://github.com/twinfoundation/auditable-item-graph/commit/698668957a1fcb7f85ce2f117914d5980043924f))
9
+
3
10
  ## [0.0.1-next.41](https://github.com/twinfoundation/auditable-item-graph/compare/auditable-item-graph-models-v0.0.1-next.40...auditable-item-graph-models-v0.0.1-next.41) (2025-06-03)
4
11
 
5
12
 
@@ -226,7 +226,7 @@ The optional id to look for.
226
226
 
227
227
  ###### idMode?
228
228
 
229
- `"both"` \| `"id"` \| `"alias"`
229
+ `"id"` \| `"alias"` \| `"both"`
230
230
 
231
231
  Look in id, alias or both, defaults to both.
232
232
 
@@ -30,7 +30,7 @@ The id or alias to try and find.
30
30
 
31
31
  #### idMode?
32
32
 
33
- > `optional` **idMode**: `"both"` \| `"id"` \| `"alias"`
33
+ > `optional` **idMode**: `"id"` \| `"alias"` \| `"both"`
34
34
 
35
35
  Which field to look in with the id, defaults to both.
36
36
 
@@ -22,7 +22,7 @@ JSON-LD Type.
22
22
 
23
23
  ### patchOperation
24
24
 
25
- > **patchOperation**: `"replace"` \| `"add"` \| `"remove"` \| `"copy"` \| `"move"` \| `"test"`
25
+ > **patchOperation**: `"add"` \| `"remove"` \| `"replace"` \| `"move"` \| `"copy"` \| `"test"`
26
26
 
27
27
  The operation that was performed on the item.
28
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/auditable-item-graph-models",
3
- "version": "0.0.1-next.41",
3
+ "version": "0.0.1-next.42",
4
4
  "description": "Models which define the structure of the auditable item graph connectors and services",
5
5
  "repository": {
6
6
  "type": "git",