@twin.org/document-management-service 0.0.1-next.16 → 0.0.1-next.17

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/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @twin.org/document-management-service - Changelog
2
2
 
3
+ ## [0.0.1-next.17](https://github.com/twinfoundation/document-management/compare/document-management-service-v0.0.1-next.16...document-management-service-v0.0.1-next.17) (2025-06-12)
4
+
5
+
6
+ ### Features
7
+
8
+ * update dependencies ([f9d8641](https://github.com/twinfoundation/document-management/commit/f9d86417dba24027699225ec7473296e361dcb00))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/document-management-models bumped from 0.0.1-next.16 to 0.0.1-next.17
16
+
3
17
  ## [0.0.1-next.16](https://github.com/twinfoundation/document-management/compare/document-management-service-v0.0.1-next.15...document-management-service-v0.0.1-next.16) (2025-06-03)
4
18
 
5
19
 
@@ -1975,7 +1975,7 @@
1975
1975
  "@graph",
1976
1976
  "@type"
1977
1977
  ],
1978
- "description": "Helper Types"
1978
+ "description": "JSON-LD container types."
1979
1979
  },
1980
1980
  "JsonLdContainerTypeArray": {
1981
1981
  "anyOf": [
@@ -2152,7 +2152,7 @@
2152
2152
  "maxItems": 2
2153
2153
  }
2154
2154
  ],
2155
- "description": "Helper Types."
2155
+ "description": "JSON-LD container type array."
2156
2156
  },
2157
2157
  "JsonLdContextDefinition": {
2158
2158
  "type": "object",
@@ -2407,13 +2407,23 @@
2407
2407
  ]
2408
2408
  },
2409
2409
  "@index": {
2410
- "$ref": "#/components/schemas/JsonLdKeyword"
2410
+ "type": "string"
2411
2411
  },
2412
2412
  "@id": {
2413
- "$ref": "#/components/schemas/JsonLdKeyword"
2413
+ "anyOf": [
2414
+ {
2415
+ "type": "string"
2416
+ },
2417
+ {
2418
+ "type": "array",
2419
+ "items": {
2420
+ "type": "string"
2421
+ }
2422
+ }
2423
+ ]
2414
2424
  },
2415
2425
  "@context": {
2416
- "$ref": "#/components/schemas/JsonLdKeyword"
2426
+ "$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
2417
2427
  }
2418
2428
  },
2419
2429
  "required": [
@@ -2533,215 +2543,6 @@
2533
2543
  ],
2534
2544
  "description": "JSON Value."
2535
2545
  },
2536
- "JsonLdKeyword": {
2537
- "type": "object",
2538
- "properties": {
2539
- "@base": {
2540
- "type": [
2541
- "string",
2542
- "null"
2543
- ]
2544
- },
2545
- "@container": {
2546
- "anyOf": [
2547
- {
2548
- "type": "string",
2549
- "const": "@list"
2550
- },
2551
- {
2552
- "type": "string",
2553
- "const": "@set"
2554
- },
2555
- {
2556
- "$ref": "#/components/schemas/JsonLdContainerType"
2557
- },
2558
- {
2559
- "type": "array",
2560
- "items": {
2561
- "anyOf": [
2562
- {
2563
- "type": "string",
2564
- "const": "@list"
2565
- },
2566
- {
2567
- "type": "string",
2568
- "const": "@set"
2569
- },
2570
- {
2571
- "$ref": "#/components/schemas/JsonLdContainerType"
2572
- }
2573
- ]
2574
- }
2575
- },
2576
- {
2577
- "$ref": "#/components/schemas/JsonLdContainerTypeArray"
2578
- },
2579
- {
2580
- "type": "null"
2581
- }
2582
- ]
2583
- },
2584
- "@context": {
2585
- "$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
2586
- },
2587
- "@direction": {
2588
- "type": [
2589
- "string",
2590
- "null"
2591
- ],
2592
- "enum": [
2593
- "ltr",
2594
- "rtl",
2595
- null
2596
- ]
2597
- },
2598
- "@graph": {
2599
- "anyOf": [
2600
- {
2601
- "$ref": "#/components/schemas/JsonLdValueObject"
2602
- },
2603
- {
2604
- "$ref": "#/components/schemas/JsonLdNodeObject"
2605
- },
2606
- {
2607
- "type": "array",
2608
- "items": {
2609
- "anyOf": [
2610
- {
2611
- "$ref": "#/components/schemas/JsonLdValueObject"
2612
- },
2613
- {
2614
- "$ref": "#/components/schemas/JsonLdNodeObject"
2615
- }
2616
- ]
2617
- }
2618
- }
2619
- ]
2620
- },
2621
- "@id": {
2622
- "anyOf": [
2623
- {
2624
- "type": "string"
2625
- },
2626
- {
2627
- "type": "array",
2628
- "items": {
2629
- "type": "string"
2630
- }
2631
- }
2632
- ]
2633
- },
2634
- "@import": {
2635
- "type": "string"
2636
- },
2637
- "@included": {
2638
- "$ref": "#/components/schemas/JsonLdIncludedBlock"
2639
- },
2640
- "@index": {
2641
- "type": "string"
2642
- },
2643
- "@json": {
2644
- "type": "string",
2645
- "const": "@json"
2646
- },
2647
- "@language": {
2648
- "type": "string"
2649
- },
2650
- "@list": {
2651
- "anyOf": [
2652
- {
2653
- "$ref": "#/components/schemas/JsonLdListOrSetItem"
2654
- },
2655
- {
2656
- "type": "array",
2657
- "items": {
2658
- "$ref": "#/components/schemas/JsonLdListOrSetItem"
2659
- }
2660
- }
2661
- ]
2662
- },
2663
- "@nest": {
2664
- "type": "object"
2665
- },
2666
- "@none": {
2667
- "type": "string",
2668
- "const": "@none"
2669
- },
2670
- "@prefix": {
2671
- "type": "boolean"
2672
- },
2673
- "@propagate": {
2674
- "type": "boolean"
2675
- },
2676
- "@protected": {
2677
- "type": "boolean"
2678
- },
2679
- "@reverse": {
2680
- "type": "string"
2681
- },
2682
- "@set": {
2683
- "anyOf": [
2684
- {
2685
- "$ref": "#/components/schemas/JsonLdListOrSetItem"
2686
- },
2687
- {
2688
- "type": "array",
2689
- "items": {
2690
- "$ref": "#/components/schemas/JsonLdListOrSetItem"
2691
- }
2692
- }
2693
- ]
2694
- },
2695
- "@type": {
2696
- "type": "string"
2697
- },
2698
- "@value": {
2699
- "type": [
2700
- "null",
2701
- "boolean",
2702
- "number",
2703
- "string"
2704
- ]
2705
- },
2706
- "@version": {
2707
- "type": "string",
2708
- "const": "1.1"
2709
- },
2710
- "@vocab": {
2711
- "type": [
2712
- "string",
2713
- "null"
2714
- ]
2715
- }
2716
- },
2717
- "required": [
2718
- "@base",
2719
- "@container",
2720
- "@context",
2721
- "@direction",
2722
- "@graph",
2723
- "@id",
2724
- "@import",
2725
- "@included",
2726
- "@index",
2727
- "@json",
2728
- "@language",
2729
- "@list",
2730
- "@nest",
2731
- "@none",
2732
- "@prefix",
2733
- "@propagate",
2734
- "@protected",
2735
- "@reverse",
2736
- "@set",
2737
- "@type",
2738
- "@value",
2739
- "@version",
2740
- "@vocab"
2741
- ],
2742
- "additionalProperties": false,
2743
- "description": "A list of keywords and their types. Only used for internal reference; not an actual interface. Not for export."
2744
- },
2745
2546
  "JsonLdLanguageMap": {
2746
2547
  "type": "object",
2747
2548
  "additionalProperties": {
@@ -2766,10 +2567,20 @@
2766
2567
  "type": "object",
2767
2568
  "properties": {
2768
2569
  "@list": {
2769
- "$ref": "#/components/schemas/JsonLdKeyword"
2570
+ "anyOf": [
2571
+ {
2572
+ "$ref": "#/components/schemas/JsonLdListOrSetItem"
2573
+ },
2574
+ {
2575
+ "type": "array",
2576
+ "items": {
2577
+ "$ref": "#/components/schemas/JsonLdListOrSetItem"
2578
+ }
2579
+ }
2580
+ ]
2770
2581
  },
2771
2582
  "@index": {
2772
- "$ref": "#/components/schemas/JsonLdKeyword"
2583
+ "type": "string"
2773
2584
  }
2774
2585
  },
2775
2586
  "required": [
@@ -2830,13 +2641,23 @@
2830
2641
  },
2831
2642
  "properties": {
2832
2643
  "@context": {
2833
- "$ref": "#/components/schemas/JsonLdKeyword"
2644
+ "$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
2834
2645
  },
2835
2646
  "@id": {
2836
- "$ref": "#/components/schemas/JsonLdKeyword"
2647
+ "anyOf": [
2648
+ {
2649
+ "type": "string"
2650
+ },
2651
+ {
2652
+ "type": "array",
2653
+ "items": {
2654
+ "type": "string"
2655
+ }
2656
+ }
2657
+ ]
2837
2658
  },
2838
2659
  "@included": {
2839
- "$ref": "#/components/schemas/JsonLdKeyword"
2660
+ "$ref": "#/components/schemas/JsonLdIncludedBlock"
2840
2661
  },
2841
2662
  "@graph": {
2842
2663
  "anyOf": [
@@ -2867,12 +2688,12 @@
2867
2688
  "@type": {
2868
2689
  "anyOf": [
2869
2690
  {
2870
- "$ref": "#/components/schemas/JsonLdKeyword"
2691
+ "type": "string"
2871
2692
  },
2872
2693
  {
2873
2694
  "type": "array",
2874
2695
  "items": {
2875
- "$ref": "#/components/schemas/JsonLdKeyword"
2696
+ "type": "string"
2876
2697
  }
2877
2698
  }
2878
2699
  ]
@@ -2880,11 +2701,11 @@
2880
2701
  "@reverse": {
2881
2702
  "type": "object",
2882
2703
  "additionalProperties": {
2883
- "$ref": "#/components/schemas/JsonLdKeyword"
2704
+ "type": "string"
2884
2705
  }
2885
2706
  },
2886
2707
  "@index": {
2887
- "$ref": "#/components/schemas/JsonLdKeyword"
2708
+ "type": "string"
2888
2709
  }
2889
2710
  },
2890
2711
  "description": "A node object represents zero or more properties of a node in the graph serialized by the JSON-LD document."
@@ -2925,10 +2746,20 @@
2925
2746
  "type": "object",
2926
2747
  "properties": {
2927
2748
  "@set": {
2928
- "$ref": "#/components/schemas/JsonLdKeyword"
2749
+ "anyOf": [
2750
+ {
2751
+ "$ref": "#/components/schemas/JsonLdListOrSetItem"
2752
+ },
2753
+ {
2754
+ "type": "array",
2755
+ "items": {
2756
+ "$ref": "#/components/schemas/JsonLdListOrSetItem"
2757
+ }
2758
+ }
2759
+ ]
2929
2760
  },
2930
2761
  "@index": {
2931
- "$ref": "#/components/schemas/JsonLdKeyword"
2762
+ "type": "string"
2932
2763
  }
2933
2764
  },
2934
2765
  "required": [
@@ -2958,19 +2789,32 @@
2958
2789
  "additionalProperties": false,
2959
2790
  "properties": {
2960
2791
  "@value": {
2961
- "$ref": "#/components/schemas/JsonLdKeyword"
2792
+ "type": [
2793
+ "null",
2794
+ "boolean",
2795
+ "number",
2796
+ "string"
2797
+ ]
2962
2798
  },
2963
2799
  "@language": {
2964
- "$ref": "#/components/schemas/JsonLdKeyword"
2800
+ "type": "string"
2965
2801
  },
2966
2802
  "@direction": {
2967
- "$ref": "#/components/schemas/JsonLdKeyword"
2803
+ "type": [
2804
+ "string",
2805
+ "null"
2806
+ ],
2807
+ "enum": [
2808
+ "ltr",
2809
+ "rtl",
2810
+ null
2811
+ ]
2968
2812
  },
2969
2813
  "@index": {
2970
- "$ref": "#/components/schemas/JsonLdKeyword"
2814
+ "type": "string"
2971
2815
  },
2972
2816
  "@context": {
2973
- "$ref": "#/components/schemas/JsonLdKeyword"
2817
+ "$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
2974
2818
  }
2975
2819
  },
2976
2820
  "required": [
@@ -2982,16 +2826,21 @@
2982
2826
  "additionalProperties": false,
2983
2827
  "properties": {
2984
2828
  "@value": {
2985
- "$ref": "#/components/schemas/JsonLdKeyword"
2829
+ "type": [
2830
+ "null",
2831
+ "boolean",
2832
+ "number",
2833
+ "string"
2834
+ ]
2986
2835
  },
2987
2836
  "@type": {
2988
- "$ref": "#/components/schemas/JsonLdKeyword"
2837
+ "type": "string"
2989
2838
  },
2990
2839
  "@index": {
2991
- "$ref": "#/components/schemas/JsonLdKeyword"
2840
+ "type": "string"
2992
2841
  },
2993
2842
  "@context": {
2994
- "$ref": "#/components/schemas/JsonLdKeyword"
2843
+ "$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
2995
2844
  }
2996
2845
  },
2997
2846
  "required": [
@@ -3006,7 +2855,16 @@
3006
2855
  "@value": {
3007
2856
  "anyOf": [
3008
2857
  {
3009
- "$ref": "#/components/schemas/JsonLdKeyword"
2858
+ "type": "null"
2859
+ },
2860
+ {
2861
+ "type": "boolean"
2862
+ },
2863
+ {
2864
+ "type": "number"
2865
+ },
2866
+ {
2867
+ "type": "string"
3010
2868
  },
3011
2869
  {
3012
2870
  "$ref": "#/components/schemas/JsonLdJsonObject"
@@ -3021,10 +2879,10 @@
3021
2879
  "const": "@json"
3022
2880
  },
3023
2881
  "@index": {
3024
- "$ref": "#/components/schemas/JsonLdKeyword"
2882
+ "type": "string"
3025
2883
  },
3026
2884
  "@context": {
3027
- "$ref": "#/components/schemas/JsonLdKeyword"
2885
+ "$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
3028
2886
  }
3029
2887
  },
3030
2888
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/document-management-service",
3
- "version": "0.0.1-next.16",
3
+ "version": "0.0.1-next.17",
4
4
  "description": "Document management contract implementation and REST endpoint definitions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,7 +22,7 @@
22
22
  "@twin.org/crypto": "next",
23
23
  "@twin.org/data-json-ld": "next",
24
24
  "@twin.org/data-processing-models": "next",
25
- "@twin.org/document-management-models": "0.0.1-next.16",
25
+ "@twin.org/document-management-models": "0.0.1-next.17",
26
26
  "@twin.org/entity": "next",
27
27
  "@twin.org/entity-storage-models": "next",
28
28
  "@twin.org/nameof": "next",