@twin.org/node 0.0.3-next.29 → 0.0.3-next.30

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.
@@ -969,14 +969,25 @@
969
969
  "identityRetrievalFailed": "Failed to retrieve identity \"{id}\" information for policy id: \"{policyId}\""
970
970
  },
971
971
  "defaultPolicyArbiter": {
972
- "jsonPathOperandMissingTarget": "The operand \"{operand}\" is missing a JSONPath target after the twin:jsonpath: prefix.",
973
- "informationTargetMissing": "The permission target references information key \"{key}\" but it does not exist.",
972
+ "ruleTargetNotSupported": "Rule target \"{target}\" is not supported. Only twin:<object>:<jsonPath> targets are currently supported.",
974
973
  "multipleTargetsNotSupported": "Multiple targets in a single permission are not supported.",
975
974
  "circularInheritanceDetected": "Circular inheritance detected: policy \"{policyId}\" inherits from \"{inheritFromId}\" which creates a cycle.",
976
975
  "logicalConstraintOperandNotUnique": "Logical constraint operand is not unique within the policy, each operand must be unique.",
977
976
  "inheritedPolicyNotFound": "The inherited policy with id \"{inheritFromId}\" could not be found in the Policy Administration Point.",
977
+ "assetCollectionSourceNotSupported": "AssetCollection source \"{source}\" is not supported. It must be a twin:jsonpath target.",
978
+ "partyCollectionSourceNotSupported": "PartyCollection source \"{source}\" is not supported.",
979
+ "assetHasPolicyNotSupported": "Asset hasPolicy is not supported. Policies must be referenced through the agreement directly.",
980
+ "assetPartOfNotSupported": "Asset partOf is not supported. AssetCollection membership is resolved through the agreement directly.",
981
+ "partyAssignerOfNotSupported": "Party assignerOf is not supported. Assigner roles must be specified directly on individual rules or the agreement.",
982
+ "partyAssigneeOfNotSupported": "Party assigneeOf is not supported. Assignee roles must be specified directly on individual rules or the agreement.",
983
+ "partyPartOfNotSupported": "Party partOf is not supported. PartyCollection membership is resolved through the agreement directly.",
978
984
  "noObligationEnforcersRegistered": "No Policy Obligation Enforcers are registered and they are required to enforce duties.",
979
- "maxInheritanceDepthExceeded": "The maximum inheritance depth of {maxInheritanceDepth} has been exceeded when processing policy \"{policyId}\"."
985
+ "maxInheritanceDepthExceeded": "The maximum inheritance depth of {maxInheritanceDepth} has been exceeded when processing policy \"{policyId}\".",
986
+ "rightOperandReferenceNotSupported": "Constraint rightOperandReference is not supported. Use rightOperand with a typed JSONPath value instead.",
987
+ "constraintDataTypeNotSupported": "Constraint dataType is not supported. Value coercion based on dataType is not implemented.",
988
+ "constraintUnitNotSupported": "Constraint unit is not supported. Unit-aware comparison is not implemented.",
989
+ "constraintStatusNotSupported": "Constraint status is not supported. State-based evaluation is not implemented.",
990
+ "policyProfileNotSupported": "Policy \"{policyId}\" declares a profile. Profile-specific semantics are not supported."
980
991
  },
981
992
  "defaultPolicyEnforcementProcessor": {
982
993
  "targetNotJsonPath": "The policy decision target \"{target}\" is not a valid JSON-path string, it should be a minimum of $.",
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.30](https://github.com/twinfoundation/node/compare/node-v0.0.3-next.29...node-v0.0.3-next.30) (2026-04-06)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **node:** Synchronize repo versions
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/node-core bumped from 0.0.3-next.29 to 0.0.3-next.30
16
+
3
17
  ## [0.0.3-next.29](https://github.com/twinfoundation/node/compare/node-v0.0.3-next.28...node-v0.0.3-next.29) (2026-03-20)
4
18
 
5
19
 
@@ -3503,7 +3503,7 @@
3503
3503
  "content": {
3504
3504
  "application/json": {
3505
3505
  "schema": {
3506
- "$ref": "#/components/schemas/ConflictResponse"
3506
+ "$ref": "#/components/schemas/Error"
3507
3507
  },
3508
3508
  "examples": {
3509
3509
  "exampleResponse": {
@@ -9603,6 +9603,11 @@
9603
9603
  "examples": {
9604
9604
  "auditableItemGraphCreateRequestExample": {
9605
9605
  "value": {
9606
+ "@context": [
9607
+ "https://schema.twindev.org/aig/",
9608
+ "https://schema.twindev.org/common/"
9609
+ ],
9610
+ "type": "AuditableItemGraphVertex",
9606
9611
  "annotationObject": {
9607
9612
  "@context": "https://schema.org",
9608
9613
  "@type": "Note",
@@ -9610,6 +9615,7 @@
9610
9615
  },
9611
9616
  "aliases": [
9612
9617
  {
9618
+ "type": "AuditableItemGraphAlias",
9613
9619
  "id": "bar456",
9614
9620
  "annotationObject": {
9615
9621
  "@context": "https://schema.org",
@@ -9618,6 +9624,7 @@
9618
9624
  }
9619
9625
  },
9620
9626
  {
9627
+ "type": "AuditableItemGraphAlias",
9621
9628
  "id": "foo321",
9622
9629
  "annotationObject": {
9623
9630
  "@context": "https://schema.org",
@@ -9628,6 +9635,7 @@
9628
9635
  ],
9629
9636
  "resources": [
9630
9637
  {
9638
+ "type": "AuditableItemGraphResource",
9631
9639
  "id": "resource1",
9632
9640
  "resourceObject": {
9633
9641
  "@context": "https://schema.org",
@@ -9636,6 +9644,7 @@
9636
9644
  }
9637
9645
  },
9638
9646
  {
9647
+ "type": "AuditableItemGraphResource",
9639
9648
  "id": "resource2",
9640
9649
  "resourceObject": {
9641
9650
  "@context": "https://schema.org",
@@ -9646,6 +9655,7 @@
9646
9655
  ],
9647
9656
  "edges": [
9648
9657
  {
9658
+ "type": "AuditableItemGraphEdge",
9649
9659
  "targetId": "aig:1234567890",
9650
9660
  "edgeRelationships": [
9651
9661
  "frenemy"
@@ -9657,6 +9667,7 @@
9657
9667
  }
9658
9668
  },
9659
9669
  {
9670
+ "type": "AuditableItemGraphEdge",
9660
9671
  "targetId": "aig:45678901234",
9661
9672
  "edgeRelationships": [
9662
9673
  "end"
@@ -10267,6 +10278,11 @@
10267
10278
  "examples": {
10268
10279
  "auditableItemGraphUpdateRequestExample": {
10269
10280
  "value": {
10281
+ "@context": [
10282
+ "https://schema.twindev.org/aig/",
10283
+ "https://schema.twindev.org/common/"
10284
+ ],
10285
+ "type": "AuditableItemGraphVertex",
10270
10286
  "annotationObject": {
10271
10287
  "@context": "https://schema.org",
10272
10288
  "@type": "Note",
@@ -10274,6 +10290,7 @@
10274
10290
  },
10275
10291
  "aliases": [
10276
10292
  {
10293
+ "type": "AuditableItemGraphAlias",
10277
10294
  "id": "bar456",
10278
10295
  "annotationObject": {
10279
10296
  "@context": "https://schema.org",
@@ -10282,6 +10299,7 @@
10282
10299
  }
10283
10300
  },
10284
10301
  {
10302
+ "type": "AuditableItemGraphAlias",
10285
10303
  "id": "foo321",
10286
10304
  "annotationObject": {
10287
10305
  "@context": "https://schema.org",
@@ -10292,6 +10310,7 @@
10292
10310
  ],
10293
10311
  "resources": [
10294
10312
  {
10313
+ "type": "AuditableItemGraphResource",
10295
10314
  "id": "resource1",
10296
10315
  "resourceObject": {
10297
10316
  "@context": "https://schema.org",
@@ -10300,6 +10319,7 @@
10300
10319
  }
10301
10320
  },
10302
10321
  {
10322
+ "type": "AuditableItemGraphResource",
10303
10323
  "id": "resource2",
10304
10324
  "resourceObject": {
10305
10325
  "@context": "https://schema.org",
@@ -10310,6 +10330,7 @@
10310
10330
  ],
10311
10331
  "edges": [
10312
10332
  {
10333
+ "type": "AuditableItemGraphEdge",
10313
10334
  "id": "edge1",
10314
10335
  "targetId": "aig:1234567890",
10315
10336
  "edgeRelationships": [
@@ -10322,6 +10343,7 @@
10322
10343
  }
10323
10344
  },
10324
10345
  {
10346
+ "type": "AuditableItemGraphEdge",
10325
10347
  "id": "edge2",
10326
10348
  "targetId": "aig:45678901234",
10327
10349
  "edgeRelationships": [
@@ -10943,26 +10965,36 @@
10943
10965
  "content": {
10944
10966
  "application/json": {
10945
10967
  "schema": {
10946
- "$ref": "#/components/schemas/AuditableItemStreamCreateRequest"
10968
+ "$ref": "https://schema.twindev.org/ais/AuditableItemStreamBase"
10947
10969
  },
10948
10970
  "examples": {
10949
10971
  "auditableItemStreamCreateRequestExample": {
10950
10972
  "value": {
10973
+ "@context": [
10974
+ "https://schema.org",
10975
+ "https://schema.twindev.org/ais/",
10976
+ "https://schema.twindev.org/common/"
10977
+ ],
10978
+ "type": "AuditableItemStream",
10951
10979
  "annotationObject": {
10952
10980
  "@context": "https://schema.org",
10953
10981
  "@type": "Note",
10954
10982
  "content": "This is a simple note"
10955
10983
  },
10956
- "entries": [
10957
- {
10958
- "entryObject": {
10959
- "@context": "https://schema.org",
10960
- "@type": "Event",
10961
- "startDate": "2011-04-09T20:00:00Z",
10962
- "description": "A description of the event"
10984
+ "entries": {
10985
+ "type": "ItemList",
10986
+ "itemListElement": [
10987
+ {
10988
+ "type": "AuditableItemStreamEntry",
10989
+ "entryObject": {
10990
+ "@context": "https://schema.org",
10991
+ "@type": "Event",
10992
+ "startDate": "2011-04-09T20:00:00Z",
10993
+ "description": "A description of the event"
10994
+ }
10963
10995
  }
10964
- }
10965
- ]
10996
+ ]
10997
+ }
10966
10998
  }
10967
10999
  }
10968
11000
  }
@@ -11142,6 +11174,7 @@
11142
11174
  "itemListElement": [
11143
11175
  {
11144
11176
  "@context": [
11177
+ "https://schema.org",
11145
11178
  "https://schema.twindev.org/ais/",
11146
11179
  "https://schema.twindev.org/common/"
11147
11180
  ],
@@ -11183,6 +11216,7 @@
11183
11216
  "itemListElement": [
11184
11217
  {
11185
11218
  "@context": [
11219
+ "https://schema.org",
11186
11220
  "https://schema.twindev.org/ais/",
11187
11221
  "https://schema.twindev.org/common/"
11188
11222
  ],
@@ -11315,6 +11349,24 @@
11315
11349
  "style": "simple",
11316
11350
  "example": "ais:1234567890"
11317
11351
  },
11352
+ {
11353
+ "name": "cursor",
11354
+ "description": "Cursor to use for next chunk of entries.",
11355
+ "in": "query",
11356
+ "required": false,
11357
+ "schema": {
11358
+ "type": "string"
11359
+ }
11360
+ },
11361
+ {
11362
+ "name": "limit",
11363
+ "description": "Limit the number of entries to return, only applicable if includeEntries is true.",
11364
+ "in": "query",
11365
+ "required": false,
11366
+ "schema": {
11367
+ "type": "string"
11368
+ }
11369
+ },
11318
11370
  {
11319
11371
  "name": "includeEntries",
11320
11372
  "description": "Whether to include the entries, defaults to false.\nThe entries will be limited to the first page of entries in date descending order.\nIf you want to get more entries you can use the returned cursor with the get entries method.",
@@ -11379,6 +11431,7 @@
11379
11431
  "auditableItemStreamGetResponseExample": {
11380
11432
  "value": {
11381
11433
  "@context": [
11434
+ "https://schema.org",
11382
11435
  "https://schema.twindev.org/ais/",
11383
11436
  "https://schema.twindev.org/common/"
11384
11437
  ],
@@ -11395,25 +11448,28 @@
11395
11448
  "proofId": "0101010101010101010101010101010101010101010101010101010101010101",
11396
11449
  "immutableInterval": 10,
11397
11450
  "numberOfItems": 1,
11398
- "entries": [
11399
- {
11400
- "@context": [
11401
- "https://schema.twindev.org/ais/",
11402
- "https://schema.twindev.org/common/"
11403
- ],
11404
- "type": "AuditableItemStreamEntry",
11405
- "id": "tst:1234567890",
11406
- "dateCreated": "2024-08-22T11:55:16.271Z",
11407
- "proofId": "0101010101010101010101010101010101010101010101010101010101010101",
11408
- "index": 0,
11409
- "entryObject": {
11410
- "@context": "https://schema.org",
11411
- "@type": "Event",
11412
- "startDate": "2011-04-09T20:00:00Z",
11413
- "description": "A description of the event"
11451
+ "entries": {
11452
+ "type": "ItemList",
11453
+ "itemListElement": [
11454
+ {
11455
+ "@context": [
11456
+ "https://schema.twindev.org/ais/",
11457
+ "https://schema.twindev.org/common/"
11458
+ ],
11459
+ "type": "AuditableItemStreamEntry",
11460
+ "id": "tst:1234567890",
11461
+ "dateCreated": "2024-08-22T11:55:16.271Z",
11462
+ "proofId": "0101010101010101010101010101010101010101010101010101010101010101",
11463
+ "index": 0,
11464
+ "entryObject": {
11465
+ "@context": "https://schema.org",
11466
+ "@type": "Event",
11467
+ "startDate": "2011-04-09T20:00:00Z",
11468
+ "description": "A description of the event"
11469
+ }
11414
11470
  }
11415
- }
11416
- ]
11471
+ ]
11472
+ }
11417
11473
  }
11418
11474
  }
11419
11475
  }
@@ -11426,6 +11482,7 @@
11426
11482
  "auditableItemStreamJsonLdGetResponseExample": {
11427
11483
  "value": {
11428
11484
  "@context": [
11485
+ "https://schema.org",
11429
11486
  "https://schema.twindev.org/ais/",
11430
11487
  "https://schema.twindev.org/common/"
11431
11488
  ],
@@ -11442,25 +11499,28 @@
11442
11499
  "proofId": "0101010101010101010101010101010101010101010101010101010101010101",
11443
11500
  "immutableInterval": 10,
11444
11501
  "numberOfItems": 1,
11445
- "entries": [
11446
- {
11447
- "@context": [
11448
- "https://schema.twindev.org/ais/",
11449
- "https://schema.twindev.org/common/"
11450
- ],
11451
- "type": "AuditableItemStreamEntry",
11452
- "id": "tst:1234567890",
11453
- "dateCreated": "2024-08-22T11:55:16.271Z",
11454
- "proofId": "0101010101010101010101010101010101010101010101010101010101010101",
11455
- "index": 0,
11456
- "entryObject": {
11457
- "@context": "https://schema.org",
11458
- "@type": "Event",
11459
- "startDate": "2011-04-09T20:00:00Z",
11460
- "description": "A description of the event"
11502
+ "entries": {
11503
+ "type": "ItemList",
11504
+ "itemListElement": [
11505
+ {
11506
+ "@context": [
11507
+ "https://schema.twindev.org/ais/",
11508
+ "https://schema.twindev.org/common/"
11509
+ ],
11510
+ "type": "AuditableItemStreamEntry",
11511
+ "id": "tst:1234567890",
11512
+ "dateCreated": "2024-08-22T11:55:16.271Z",
11513
+ "proofId": "0101010101010101010101010101010101010101010101010101010101010101",
11514
+ "index": 0,
11515
+ "entryObject": {
11516
+ "@context": "https://schema.org",
11517
+ "@type": "Event",
11518
+ "startDate": "2011-04-09T20:00:00Z",
11519
+ "description": "A description of the event"
11520
+ }
11461
11521
  }
11462
- }
11463
- ]
11522
+ ]
11523
+ }
11464
11524
  }
11465
11525
  }
11466
11526
  }
@@ -11590,6 +11650,12 @@
11590
11650
  "examples": {
11591
11651
  "auditableItemStreamUpdateRequestExample": {
11592
11652
  "value": {
11653
+ "@context": [
11654
+ "https://schema.org",
11655
+ "https://schema.twindev.org/ais/",
11656
+ "https://schema.twindev.org/common/"
11657
+ ],
11658
+ "type": "AuditableItemStream",
11593
11659
  "annotationObject": {
11594
11660
  "@context": "https://schema.org",
11595
11661
  "@type": "Note",
@@ -17679,153 +17745,152 @@
17679
17745
  "description": "The parameters to be used in the transfer."
17680
17746
  },
17681
17747
  "AuditableItemGraphCreateRequest": {
17748
+ "description": "The data to be used in the vertex.",
17682
17749
  "type": "object",
17683
17750
  "properties": {
17751
+ "dateCreated": {
17752
+ "type": "string",
17753
+ "description": "The date/time of when the element was created."
17754
+ },
17755
+ "dateModified": {
17756
+ "type": "string",
17757
+ "description": "The date/time of when the element was modified."
17758
+ },
17759
+ "dateDeleted": {
17760
+ "type": "string",
17761
+ "description": "The date/time of when the element was deleted, as we never actually remove items."
17762
+ },
17763
+ "@context": {
17764
+ "type": "array",
17765
+ "prefixItems": [
17766
+ {
17767
+ "const": "https://schema.twindev.org/aig/"
17768
+ },
17769
+ {
17770
+ "const": "https://schema.twindev.org/common/"
17771
+ }
17772
+ ],
17773
+ "items": {
17774
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
17775
+ },
17776
+ "minItems": 2,
17777
+ "description": "JSON-LD Context."
17778
+ },
17779
+ "type": {
17780
+ "const": "AuditableItemGraphVertex",
17781
+ "description": "JSON-LD Type."
17782
+ },
17783
+ "organizationIdentity": {
17784
+ "type": "string",
17785
+ "description": "The identity of the organization which controls the vertex."
17786
+ },
17684
17787
  "annotationObject": {
17685
17788
  "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
17686
17789
  },
17687
17790
  "aliases": {
17688
17791
  "type": "array",
17689
17792
  "items": {
17690
- "type": "object",
17691
- "properties": {
17692
- "id": {
17693
- "type": "string"
17694
- },
17695
- "aliasFormat": {
17696
- "type": "string"
17697
- },
17698
- "unique": {
17699
- "type": "boolean"
17700
- },
17701
- "annotationObject": {
17702
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
17703
- }
17704
- },
17705
- "required": [
17706
- "id"
17707
- ]
17793
+ "$ref": "https://schema.twindev.org/aig/AuditableItemGraphAlias"
17708
17794
  },
17709
17795
  "description": "Alternative aliases that can be used to identify the vertex."
17710
17796
  },
17711
17797
  "resources": {
17712
17798
  "type": "array",
17713
17799
  "items": {
17714
- "type": "object",
17715
- "properties": {
17716
- "id": {
17717
- "type": "string"
17718
- },
17719
- "resourceObject": {
17720
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
17721
- }
17722
- }
17800
+ "$ref": "https://schema.twindev.org/aig/AuditableItemGraphResource"
17723
17801
  },
17724
17802
  "description": "The resources attached to the vertex."
17725
17803
  },
17726
17804
  "edges": {
17727
17805
  "type": "array",
17728
17806
  "items": {
17729
- "type": "object",
17730
- "properties": {
17731
- "targetId": {
17732
- "type": "string"
17733
- },
17734
- "edgeRelationships": {
17735
- "type": "array",
17736
- "items": {
17737
- "type": "string"
17738
- }
17739
- },
17740
- "annotationObject": {
17741
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
17742
- }
17743
- },
17744
- "required": [
17745
- "targetId",
17746
- "edgeRelationships"
17747
- ]
17807
+ "$ref": "https://schema.twindev.org/aig/AuditableItemGraphEdge"
17748
17808
  },
17749
- "description": "The edges connected to the vertex."
17809
+ "description": "Edges connected to the vertex."
17810
+ },
17811
+ "verified": {
17812
+ "type": "boolean",
17813
+ "description": "Is the vertex verified, will only be populated when verification is requested."
17750
17814
  }
17751
17815
  },
17752
- "description": "The data to be used in the vertex."
17816
+ "required": [
17817
+ "@context",
17818
+ "type"
17819
+ ]
17753
17820
  },
17754
17821
  "AuditableItemGraphUpdateRequest": {
17822
+ "description": "The data to be used in the vertex.",
17755
17823
  "type": "object",
17756
17824
  "properties": {
17825
+ "dateCreated": {
17826
+ "type": "string",
17827
+ "description": "The date/time of when the element was created."
17828
+ },
17829
+ "dateModified": {
17830
+ "type": "string",
17831
+ "description": "The date/time of when the element was modified."
17832
+ },
17833
+ "dateDeleted": {
17834
+ "type": "string",
17835
+ "description": "The date/time of when the element was deleted, as we never actually remove items."
17836
+ },
17837
+ "@context": {
17838
+ "type": "array",
17839
+ "prefixItems": [
17840
+ {
17841
+ "const": "https://schema.twindev.org/aig/"
17842
+ },
17843
+ {
17844
+ "const": "https://schema.twindev.org/common/"
17845
+ }
17846
+ ],
17847
+ "items": {
17848
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
17849
+ },
17850
+ "minItems": 2,
17851
+ "description": "JSON-LD Context."
17852
+ },
17853
+ "type": {
17854
+ "const": "AuditableItemGraphVertex",
17855
+ "description": "JSON-LD Type."
17856
+ },
17857
+ "organizationIdentity": {
17858
+ "type": "string",
17859
+ "description": "The identity of the organization which controls the vertex."
17860
+ },
17757
17861
  "annotationObject": {
17758
17862
  "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
17759
17863
  },
17760
17864
  "aliases": {
17761
17865
  "type": "array",
17762
17866
  "items": {
17763
- "type": "object",
17764
- "properties": {
17765
- "id": {
17766
- "type": "string"
17767
- },
17768
- "aliasFormat": {
17769
- "type": "string"
17770
- },
17771
- "unique": {
17772
- "type": "boolean"
17773
- },
17774
- "annotationObject": {
17775
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
17776
- }
17777
- },
17778
- "required": [
17779
- "id"
17780
- ]
17867
+ "$ref": "https://schema.twindev.org/aig/AuditableItemGraphAlias"
17781
17868
  },
17782
17869
  "description": "Alternative aliases that can be used to identify the vertex."
17783
17870
  },
17784
17871
  "resources": {
17785
17872
  "type": "array",
17786
17873
  "items": {
17787
- "type": "object",
17788
- "properties": {
17789
- "id": {
17790
- "type": "string"
17791
- },
17792
- "resourceObject": {
17793
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
17794
- }
17795
- }
17874
+ "$ref": "https://schema.twindev.org/aig/AuditableItemGraphResource"
17796
17875
  },
17797
17876
  "description": "The resources attached to the vertex."
17798
17877
  },
17799
17878
  "edges": {
17800
17879
  "type": "array",
17801
17880
  "items": {
17802
- "type": "object",
17803
- "properties": {
17804
- "id": {
17805
- "type": "string"
17806
- },
17807
- "targetId": {
17808
- "type": "string"
17809
- },
17810
- "edgeRelationships": {
17811
- "type": "array",
17812
- "items": {
17813
- "type": "string"
17814
- }
17815
- },
17816
- "annotationObject": {
17817
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
17818
- }
17819
- },
17820
- "required": [
17821
- "targetId",
17822
- "edgeRelationships"
17823
- ]
17881
+ "$ref": "https://schema.twindev.org/aig/AuditableItemGraphEdge"
17824
17882
  },
17825
- "description": "The edges connected to the vertex."
17883
+ "description": "Edges connected to the vertex."
17884
+ },
17885
+ "verified": {
17886
+ "type": "boolean",
17887
+ "description": "Is the vertex verified, will only be populated when verification is requested."
17826
17888
  }
17827
17889
  },
17828
- "description": "The data to be used in the vertex."
17890
+ "required": [
17891
+ "@context",
17892
+ "type"
17893
+ ]
17829
17894
  },
17830
17895
  "AuditableItemStreamCreateEntryRequest": {
17831
17896
  "type": "object",
@@ -17839,34 +17904,6 @@
17839
17904
  ],
17840
17905
  "description": "The data to be used in the stream."
17841
17906
  },
17842
- "AuditableItemStreamCreateRequest": {
17843
- "type": "object",
17844
- "properties": {
17845
- "annotationObject": {
17846
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
17847
- },
17848
- "entries": {
17849
- "type": "array",
17850
- "items": {
17851
- "type": "object",
17852
- "properties": {
17853
- "entryObject": {
17854
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
17855
- }
17856
- },
17857
- "required": [
17858
- "entryObject"
17859
- ]
17860
- },
17861
- "description": "The entries for the stream."
17862
- },
17863
- "immutableInterval": {
17864
- "type": "number",
17865
- "description": "After how many entries do we add immutable checks, defaults to service configured value.\nA value of 0 will disable immutable checks, 1 will be every item, or any other integer for an interval."
17866
- }
17867
- },
17868
- "description": "The data to be used in the stream."
17869
- },
17870
17907
  "AuditableItemStreamUpdateEntryRequest": {
17871
17908
  "type": "object",
17872
17909
  "properties": {
@@ -17880,13 +17917,40 @@
17880
17917
  "description": "The data to be used in the entry."
17881
17918
  },
17882
17919
  "AuditableItemStreamUpdateRequest": {
17920
+ "description": "The data to be used in the stream, entries should be updated separately.",
17883
17921
  "type": "object",
17884
17922
  "properties": {
17923
+ "@context": {
17924
+ "type": "array",
17925
+ "prefixItems": [
17926
+ {
17927
+ "const": "https://schema.org"
17928
+ },
17929
+ {
17930
+ "const": "https://schema.twindev.org/ais/"
17931
+ },
17932
+ {
17933
+ "const": "https://schema.twindev.org/common/"
17934
+ }
17935
+ ],
17936
+ "items": {
17937
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
17938
+ },
17939
+ "minItems": 3,
17940
+ "description": "JSON-LD Context."
17941
+ },
17942
+ "type": {
17943
+ "const": "AuditableItemStream",
17944
+ "description": "JSON-LD Type."
17945
+ },
17885
17946
  "annotationObject": {
17886
17947
  "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
17887
17948
  }
17888
17949
  },
17889
- "description": "The data to be used in the stream."
17950
+ "required": [
17951
+ "@context",
17952
+ "type"
17953
+ ]
17890
17954
  },
17891
17955
  "BlobStorageCreateRequest": {
17892
17956
  "type": "object",
@@ -18013,27 +18077,6 @@
18013
18077
  ],
18014
18078
  "description": "Transfer Process (DSP compliant) with state COMPLETED, or error."
18015
18079
  },
18016
- "ConflictResponse": {
18017
- "type": "object",
18018
- "properties": {
18019
- "conflicts": {
18020
- "type": "array",
18021
- "items": {
18022
- "type": "string"
18023
- },
18024
- "description": "The conflicting items."
18025
- }
18026
- },
18027
- "required": [
18028
- "conflicts"
18029
- ],
18030
- "allOf": [
18031
- {
18032
- "$ref": "#/components/schemas/Error"
18033
- }
18034
- ],
18035
- "description": "The body which contains the error."
18036
- },
18037
18080
  "DataAssetItemList": {
18038
18081
  "description": "Interface describing a list of entities that are within a Data Asset.\nPagination is handled via HTTP Link headers.",
18039
18082
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/node",
3
- "version": "0.0.3-next.29",
3
+ "version": "0.0.3-next.30",
4
4
  "description": "TWIN Node serving APIs using the specified configuration",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,7 +14,7 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/node-core": "0.0.3-next.29"
17
+ "@twin.org/node-core": "0.0.3-next.30"
18
18
  },
19
19
  "bugs": {
20
20
  "url": "git+https://github.com/twinfoundation/node/issues"