@nmshd/runtime 7.0.0-alpha.7 → 7.0.0-alpha.9

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.
@@ -321,6 +321,9 @@ exports.CanCreateOutgoingRequestRequest = {
321
321
  {
322
322
  "$ref": "#/definitions/FreeTextRequestItemJSON"
323
323
  },
324
+ {
325
+ "$ref": "#/definitions/FormFieldRequestItemJSON"
326
+ },
324
327
  {
325
328
  "$ref": "#/definitions/RegisterAttributeListenerRequestItemJSON"
326
329
  },
@@ -2772,22 +2775,11 @@ exports.CanCreateOutgoingRequestRequest = {
2772
2775
  "type": "string"
2773
2776
  },
2774
2777
  "owner": {
2775
- "anyOf": [
2776
- {
2777
- "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryOwner"
2778
- },
2779
- {
2780
- "type": "string",
2781
- "const": "thirdParty"
2782
- },
2783
- {
2784
- "type": "string",
2785
- "const": "recipient"
2786
- },
2787
- {
2788
- "type": "string",
2789
- "const": ""
2790
- }
2778
+ "type": "string",
2779
+ "enum": [
2780
+ "thirdParty",
2781
+ "recipient",
2782
+ ""
2791
2783
  ]
2792
2784
  },
2793
2785
  "thirdParty": {
@@ -2805,14 +2797,6 @@ exports.CanCreateOutgoingRequestRequest = {
2805
2797
  ],
2806
2798
  "additionalProperties": false
2807
2799
  },
2808
- "ThirdPartyRelationshipAttributeQueryOwner": {
2809
- "type": "string",
2810
- "enum": [
2811
- "thirdParty",
2812
- "recipient",
2813
- ""
2814
- ]
2815
- },
2816
2800
  "ConsentRequestItemJSON": {
2817
2801
  "type": "object",
2818
2802
  "properties": {
@@ -2948,6 +2932,260 @@ exports.CanCreateOutgoingRequestRequest = {
2948
2932
  ],
2949
2933
  "additionalProperties": false
2950
2934
  },
2935
+ "FormFieldRequestItemJSON": {
2936
+ "type": "object",
2937
+ "properties": {
2938
+ "@type": {
2939
+ "type": "string",
2940
+ "const": "FormFieldRequestItem"
2941
+ },
2942
+ "@context": {
2943
+ "type": "string"
2944
+ },
2945
+ "@version": {
2946
+ "type": "string"
2947
+ },
2948
+ "title": {
2949
+ "type": "string",
2950
+ "description": "The human-readable title of this item."
2951
+ },
2952
+ "description": {
2953
+ "type": "string",
2954
+ "description": "The human-readable description of this item."
2955
+ },
2956
+ "metadata": {
2957
+ "type": "object",
2958
+ "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response."
2959
+ },
2960
+ "mustBeAccepted": {
2961
+ "type": "boolean",
2962
+ "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not."
2963
+ },
2964
+ "requireManualDecision": {
2965
+ "type": "boolean",
2966
+ "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
2967
+ },
2968
+ "settings": {
2969
+ "$ref": "#/definitions/FormFieldSettingsJSONDerivations"
2970
+ }
2971
+ },
2972
+ "required": [
2973
+ "@type",
2974
+ "mustBeAccepted",
2975
+ "settings",
2976
+ "title"
2977
+ ],
2978
+ "additionalProperties": false
2979
+ },
2980
+ "FormFieldSettingsJSONDerivations": {
2981
+ "anyOf": [
2982
+ {
2983
+ "$ref": "#/definitions/StringFormFieldSettingsJSON"
2984
+ },
2985
+ {
2986
+ "$ref": "#/definitions/IntegerFormFieldSettingsJSON"
2987
+ },
2988
+ {
2989
+ "$ref": "#/definitions/DoubleFormFieldSettingsJSON"
2990
+ },
2991
+ {
2992
+ "$ref": "#/definitions/BooleanFormFieldSettingsJSON"
2993
+ },
2994
+ {
2995
+ "$ref": "#/definitions/DateFormFieldSettingsJSON"
2996
+ },
2997
+ {
2998
+ "$ref": "#/definitions/SelectionFormFieldSettingsJSON"
2999
+ },
3000
+ {
3001
+ "$ref": "#/definitions/RatingFormFieldSettingsJSON"
3002
+ }
3003
+ ]
3004
+ },
3005
+ "StringFormFieldSettingsJSON": {
3006
+ "type": "object",
3007
+ "properties": {
3008
+ "@type": {
3009
+ "type": "string",
3010
+ "const": "StringFormFieldSettings"
3011
+ },
3012
+ "@context": {
3013
+ "type": "string"
3014
+ },
3015
+ "@version": {
3016
+ "type": "string"
3017
+ },
3018
+ "allowNewlines": {
3019
+ "type": "boolean",
3020
+ "const": true
3021
+ },
3022
+ "min": {
3023
+ "type": "number"
3024
+ },
3025
+ "max": {
3026
+ "type": "number"
3027
+ }
3028
+ },
3029
+ "required": [
3030
+ "@type"
3031
+ ],
3032
+ "additionalProperties": false
3033
+ },
3034
+ "IntegerFormFieldSettingsJSON": {
3035
+ "type": "object",
3036
+ "properties": {
3037
+ "@type": {
3038
+ "type": "string",
3039
+ "const": "IntegerFormFieldSettings"
3040
+ },
3041
+ "@context": {
3042
+ "type": "string"
3043
+ },
3044
+ "@version": {
3045
+ "type": "string"
3046
+ },
3047
+ "unit": {
3048
+ "type": "string"
3049
+ },
3050
+ "min": {
3051
+ "type": "number"
3052
+ },
3053
+ "max": {
3054
+ "type": "number"
3055
+ }
3056
+ },
3057
+ "required": [
3058
+ "@type"
3059
+ ],
3060
+ "additionalProperties": false
3061
+ },
3062
+ "DoubleFormFieldSettingsJSON": {
3063
+ "type": "object",
3064
+ "properties": {
3065
+ "@type": {
3066
+ "type": "string",
3067
+ "const": "DoubleFormFieldSettings"
3068
+ },
3069
+ "@context": {
3070
+ "type": "string"
3071
+ },
3072
+ "@version": {
3073
+ "type": "string"
3074
+ },
3075
+ "unit": {
3076
+ "type": "string"
3077
+ },
3078
+ "min": {
3079
+ "type": "number"
3080
+ },
3081
+ "max": {
3082
+ "type": "number"
3083
+ }
3084
+ },
3085
+ "required": [
3086
+ "@type"
3087
+ ],
3088
+ "additionalProperties": false
3089
+ },
3090
+ "BooleanFormFieldSettingsJSON": {
3091
+ "type": "object",
3092
+ "properties": {
3093
+ "@type": {
3094
+ "type": "string",
3095
+ "const": "BooleanFormFieldSettings"
3096
+ },
3097
+ "@context": {
3098
+ "type": "string"
3099
+ },
3100
+ "@version": {
3101
+ "type": "string"
3102
+ }
3103
+ },
3104
+ "required": [
3105
+ "@type"
3106
+ ],
3107
+ "additionalProperties": false
3108
+ },
3109
+ "DateFormFieldSettingsJSON": {
3110
+ "type": "object",
3111
+ "properties": {
3112
+ "@type": {
3113
+ "type": "string",
3114
+ "const": "DateFormFieldSettings"
3115
+ },
3116
+ "@context": {
3117
+ "type": "string"
3118
+ },
3119
+ "@version": {
3120
+ "type": "string"
3121
+ }
3122
+ },
3123
+ "required": [
3124
+ "@type"
3125
+ ],
3126
+ "additionalProperties": false
3127
+ },
3128
+ "SelectionFormFieldSettingsJSON": {
3129
+ "type": "object",
3130
+ "properties": {
3131
+ "@type": {
3132
+ "type": "string",
3133
+ "const": "SelectionFormFieldSettings"
3134
+ },
3135
+ "@context": {
3136
+ "type": "string"
3137
+ },
3138
+ "@version": {
3139
+ "type": "string"
3140
+ },
3141
+ "options": {
3142
+ "type": "array",
3143
+ "items": {
3144
+ "type": "string"
3145
+ }
3146
+ },
3147
+ "allowMultipleSelection": {
3148
+ "type": "boolean",
3149
+ "const": true
3150
+ }
3151
+ },
3152
+ "required": [
3153
+ "@type",
3154
+ "options"
3155
+ ],
3156
+ "additionalProperties": false
3157
+ },
3158
+ "RatingFormFieldSettingsJSON": {
3159
+ "type": "object",
3160
+ "properties": {
3161
+ "@type": {
3162
+ "type": "string",
3163
+ "const": "RatingFormFieldSettings"
3164
+ },
3165
+ "@context": {
3166
+ "type": "string"
3167
+ },
3168
+ "@version": {
3169
+ "type": "string"
3170
+ },
3171
+ "maxRating": {
3172
+ "type": "number",
3173
+ "enum": [
3174
+ 5,
3175
+ 6,
3176
+ 7,
3177
+ 8,
3178
+ 9,
3179
+ 10
3180
+ ]
3181
+ }
3182
+ },
3183
+ "required": [
3184
+ "@type",
3185
+ "maxRating"
3186
+ ],
3187
+ "additionalProperties": false
3188
+ },
2951
3189
  "RegisterAttributeListenerRequestItemJSON": {
2952
3190
  "type": "object",
2953
3191
  "properties": {
@@ -3335,6 +3573,9 @@ exports.CompleteOutgoingRequestRequest = {
3335
3573
  },
3336
3574
  {
3337
3575
  "$ref": "#/definitions/FreeTextAcceptResponseItemJSON"
3576
+ },
3577
+ {
3578
+ "$ref": "#/definitions/FormFieldAcceptResponseItemJSON"
3338
3579
  }
3339
3580
  ]
3340
3581
  },
@@ -5526,15 +5767,12 @@ exports.CompleteOutgoingRequestRequest = {
5526
5767
  ],
5527
5768
  "additionalProperties": false
5528
5769
  },
5529
- "RejectResponseItemJSONDerivations": {
5530
- "$ref": "#/definitions/RejectResponseItemJSON"
5531
- },
5532
- "RejectResponseItemJSON": {
5770
+ "FormFieldAcceptResponseItemJSON": {
5533
5771
  "type": "object",
5534
5772
  "properties": {
5535
5773
  "@type": {
5536
5774
  "type": "string",
5537
- "const": "RejectResponseItem"
5775
+ "const": "FormFieldAcceptResponseItem"
5538
5776
  },
5539
5777
  "@context": {
5540
5778
  "type": "string"
@@ -5544,14 +5782,61 @@ exports.CompleteOutgoingRequestRequest = {
5544
5782
  },
5545
5783
  "result": {
5546
5784
  "type": "string",
5547
- "const": "Rejected"
5548
- },
5549
- "code": {
5550
- "type": "string"
5785
+ "const": "Accepted"
5551
5786
  },
5552
- "message": {
5553
- "type": "string"
5554
- }
5787
+ "response": {
5788
+ "anyOf": [
5789
+ {
5790
+ "type": "string"
5791
+ },
5792
+ {
5793
+ "type": "number"
5794
+ },
5795
+ {
5796
+ "type": "boolean"
5797
+ },
5798
+ {
5799
+ "type": "array",
5800
+ "items": {
5801
+ "type": "string"
5802
+ }
5803
+ }
5804
+ ]
5805
+ }
5806
+ },
5807
+ "required": [
5808
+ "@type",
5809
+ "response",
5810
+ "result"
5811
+ ],
5812
+ "additionalProperties": false
5813
+ },
5814
+ "RejectResponseItemJSONDerivations": {
5815
+ "$ref": "#/definitions/RejectResponseItemJSON"
5816
+ },
5817
+ "RejectResponseItemJSON": {
5818
+ "type": "object",
5819
+ "properties": {
5820
+ "@type": {
5821
+ "type": "string",
5822
+ "const": "RejectResponseItem"
5823
+ },
5824
+ "@context": {
5825
+ "type": "string"
5826
+ },
5827
+ "@version": {
5828
+ "type": "string"
5829
+ },
5830
+ "result": {
5831
+ "type": "string",
5832
+ "const": "Rejected"
5833
+ },
5834
+ "code": {
5835
+ "type": "string"
5836
+ },
5837
+ "message": {
5838
+ "type": "string"
5839
+ }
5555
5840
  },
5556
5841
  "required": [
5557
5842
  "@type",
@@ -5758,6 +6043,9 @@ exports.CreateAndCompleteOutgoingRequestFromRelationshipTemplateResponseRequest
5758
6043
  },
5759
6044
  {
5760
6045
  "$ref": "#/definitions/FreeTextAcceptResponseItemJSON"
6046
+ },
6047
+ {
6048
+ "$ref": "#/definitions/FormFieldAcceptResponseItemJSON"
5761
6049
  }
5762
6050
  ]
5763
6051
  },
@@ -7949,6 +8237,50 @@ exports.CreateAndCompleteOutgoingRequestFromRelationshipTemplateResponseRequest
7949
8237
  ],
7950
8238
  "additionalProperties": false
7951
8239
  },
8240
+ "FormFieldAcceptResponseItemJSON": {
8241
+ "type": "object",
8242
+ "properties": {
8243
+ "@type": {
8244
+ "type": "string",
8245
+ "const": "FormFieldAcceptResponseItem"
8246
+ },
8247
+ "@context": {
8248
+ "type": "string"
8249
+ },
8250
+ "@version": {
8251
+ "type": "string"
8252
+ },
8253
+ "result": {
8254
+ "type": "string",
8255
+ "const": "Accepted"
8256
+ },
8257
+ "response": {
8258
+ "anyOf": [
8259
+ {
8260
+ "type": "string"
8261
+ },
8262
+ {
8263
+ "type": "number"
8264
+ },
8265
+ {
8266
+ "type": "boolean"
8267
+ },
8268
+ {
8269
+ "type": "array",
8270
+ "items": {
8271
+ "type": "string"
8272
+ }
8273
+ }
8274
+ ]
8275
+ }
8276
+ },
8277
+ "required": [
8278
+ "@type",
8279
+ "response",
8280
+ "result"
8281
+ ],
8282
+ "additionalProperties": false
8283
+ },
7952
8284
  "RejectResponseItemJSONDerivations": {
7953
8285
  "$ref": "#/definitions/RejectResponseItemJSON"
7954
8286
  },
@@ -8148,6 +8480,9 @@ exports.CreateOutgoingRequestRequest = {
8148
8480
  {
8149
8481
  "$ref": "#/definitions/FreeTextRequestItemJSON"
8150
8482
  },
8483
+ {
8484
+ "$ref": "#/definitions/FormFieldRequestItemJSON"
8485
+ },
8151
8486
  {
8152
8487
  "$ref": "#/definitions/RegisterAttributeListenerRequestItemJSON"
8153
8488
  },
@@ -10599,22 +10934,11 @@ exports.CreateOutgoingRequestRequest = {
10599
10934
  "type": "string"
10600
10935
  },
10601
10936
  "owner": {
10602
- "anyOf": [
10603
- {
10604
- "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryOwner"
10605
- },
10606
- {
10607
- "type": "string",
10608
- "const": "thirdParty"
10609
- },
10610
- {
10611
- "type": "string",
10612
- "const": "recipient"
10613
- },
10614
- {
10615
- "type": "string",
10616
- "const": ""
10617
- }
10937
+ "type": "string",
10938
+ "enum": [
10939
+ "thirdParty",
10940
+ "recipient",
10941
+ ""
10618
10942
  ]
10619
10943
  },
10620
10944
  "thirdParty": {
@@ -10632,14 +10956,6 @@ exports.CreateOutgoingRequestRequest = {
10632
10956
  ],
10633
10957
  "additionalProperties": false
10634
10958
  },
10635
- "ThirdPartyRelationshipAttributeQueryOwner": {
10636
- "type": "string",
10637
- "enum": [
10638
- "thirdParty",
10639
- "recipient",
10640
- ""
10641
- ]
10642
- },
10643
10959
  "ConsentRequestItemJSON": {
10644
10960
  "type": "object",
10645
10961
  "properties": {
@@ -10775,12 +11091,12 @@ exports.CreateOutgoingRequestRequest = {
10775
11091
  ],
10776
11092
  "additionalProperties": false
10777
11093
  },
10778
- "RegisterAttributeListenerRequestItemJSON": {
11094
+ "FormFieldRequestItemJSON": {
10779
11095
  "type": "object",
10780
11096
  "properties": {
10781
11097
  "@type": {
10782
11098
  "type": "string",
10783
- "const": "RegisterAttributeListenerRequestItem"
11099
+ "const": "FormFieldRequestItem"
10784
11100
  },
10785
11101
  "@context": {
10786
11102
  "type": "string"
@@ -10808,30 +11124,49 @@ exports.CreateOutgoingRequestRequest = {
10808
11124
  "type": "boolean",
10809
11125
  "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
10810
11126
  },
10811
- "query": {
10812
- "anyOf": [
10813
- {
10814
- "$ref": "#/definitions/IdentityAttributeQueryJSON"
10815
- },
10816
- {
10817
- "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryJSON"
10818
- }
10819
- ]
11127
+ "settings": {
11128
+ "$ref": "#/definitions/FormFieldSettingsJSONDerivations"
10820
11129
  }
10821
11130
  },
10822
11131
  "required": [
10823
11132
  "@type",
10824
11133
  "mustBeAccepted",
10825
- "query"
11134
+ "settings",
11135
+ "title"
10826
11136
  ],
10827
11137
  "additionalProperties": false
10828
11138
  },
10829
- "TransferFileOwnershipRequestItemJSON": {
11139
+ "FormFieldSettingsJSONDerivations": {
11140
+ "anyOf": [
11141
+ {
11142
+ "$ref": "#/definitions/StringFormFieldSettingsJSON"
11143
+ },
11144
+ {
11145
+ "$ref": "#/definitions/IntegerFormFieldSettingsJSON"
11146
+ },
11147
+ {
11148
+ "$ref": "#/definitions/DoubleFormFieldSettingsJSON"
11149
+ },
11150
+ {
11151
+ "$ref": "#/definitions/BooleanFormFieldSettingsJSON"
11152
+ },
11153
+ {
11154
+ "$ref": "#/definitions/DateFormFieldSettingsJSON"
11155
+ },
11156
+ {
11157
+ "$ref": "#/definitions/SelectionFormFieldSettingsJSON"
11158
+ },
11159
+ {
11160
+ "$ref": "#/definitions/RatingFormFieldSettingsJSON"
11161
+ }
11162
+ ]
11163
+ },
11164
+ "StringFormFieldSettingsJSON": {
10830
11165
  "type": "object",
10831
11166
  "properties": {
10832
11167
  "@type": {
10833
11168
  "type": "string",
10834
- "const": "TransferFileOwnershipRequestItem"
11169
+ "const": "StringFormFieldSettings"
10835
11170
  },
10836
11171
  "@context": {
10837
11172
  "type": "string"
@@ -10839,86 +11174,321 @@ exports.CreateOutgoingRequestRequest = {
10839
11174
  "@version": {
10840
11175
  "type": "string"
10841
11176
  },
10842
- "title": {
10843
- "type": "string",
10844
- "description": "The human-readable title of this item."
11177
+ "allowNewlines": {
11178
+ "type": "boolean",
11179
+ "const": true
10845
11180
  },
10846
- "description": {
10847
- "type": "string",
10848
- "description": "The human-readable description of this item."
11181
+ "min": {
11182
+ "type": "number"
10849
11183
  },
10850
- "metadata": {
10851
- "type": "object",
10852
- "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response."
11184
+ "max": {
11185
+ "type": "number"
11186
+ }
11187
+ },
11188
+ "required": [
11189
+ "@type"
11190
+ ],
11191
+ "additionalProperties": false
11192
+ },
11193
+ "IntegerFormFieldSettingsJSON": {
11194
+ "type": "object",
11195
+ "properties": {
11196
+ "@type": {
11197
+ "type": "string",
11198
+ "const": "IntegerFormFieldSettings"
10853
11199
  },
10854
- "mustBeAccepted": {
10855
- "type": "boolean",
10856
- "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not."
11200
+ "@context": {
11201
+ "type": "string"
10857
11202
  },
10858
- "requireManualDecision": {
10859
- "type": "boolean",
10860
- "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
11203
+ "@version": {
11204
+ "type": "string"
10861
11205
  },
10862
- "fileReference": {
11206
+ "unit": {
10863
11207
  "type": "string"
11208
+ },
11209
+ "min": {
11210
+ "type": "number"
11211
+ },
11212
+ "max": {
11213
+ "type": "number"
10864
11214
  }
10865
11215
  },
10866
11216
  "required": [
10867
- "@type",
10868
- "fileReference",
10869
- "mustBeAccepted"
11217
+ "@type"
10870
11218
  ],
10871
11219
  "additionalProperties": false
10872
11220
  },
10873
- "AddressString": {
10874
- "type": "string",
10875
- "pattern": "did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}"
10876
- }
10877
- }
10878
- };
10879
- exports.DeleteIncomingRequestRequest = {
10880
- "$schema": "http://json-schema.org/draft-07/schema#",
10881
- "$ref": "#/definitions/DeleteIncomingRequestRequest",
10882
- "definitions": {
10883
- "DeleteIncomingRequestRequest": {
11221
+ "DoubleFormFieldSettingsJSON": {
10884
11222
  "type": "object",
10885
11223
  "properties": {
10886
- "requestId": {
11224
+ "@type": {
11225
+ "type": "string",
11226
+ "const": "DoubleFormFieldSettings"
11227
+ },
11228
+ "@context": {
11229
+ "type": "string"
11230
+ },
11231
+ "@version": {
11232
+ "type": "string"
11233
+ },
11234
+ "unit": {
10887
11235
  "type": "string"
11236
+ },
11237
+ "min": {
11238
+ "type": "number"
11239
+ },
11240
+ "max": {
11241
+ "type": "number"
10888
11242
  }
10889
11243
  },
10890
11244
  "required": [
10891
- "requestId"
11245
+ "@type"
10892
11246
  ],
10893
11247
  "additionalProperties": false
10894
- }
10895
- }
10896
- };
10897
- exports.DiscardOutgoingRequestRequest = {
10898
- "$schema": "http://json-schema.org/draft-07/schema#",
10899
- "$ref": "#/definitions/DiscardOutgoingRequestRequest",
10900
- "definitions": {
10901
- "DiscardOutgoingRequestRequest": {
11248
+ },
11249
+ "BooleanFormFieldSettingsJSON": {
10902
11250
  "type": "object",
10903
11251
  "properties": {
10904
- "id": {
10905
- "$ref": "#/definitions/RequestIdString"
11252
+ "@type": {
11253
+ "type": "string",
11254
+ "const": "BooleanFormFieldSettings"
11255
+ },
11256
+ "@context": {
11257
+ "type": "string"
11258
+ },
11259
+ "@version": {
11260
+ "type": "string"
10906
11261
  }
10907
11262
  },
10908
11263
  "required": [
10909
- "id"
11264
+ "@type"
10910
11265
  ],
10911
11266
  "additionalProperties": false
10912
11267
  },
10913
- "RequestIdString": {
10914
- "type": "string",
10915
- "pattern": "REQ[A-Za-z0-9]{17}"
10916
- }
10917
- }
10918
- };
10919
- exports.GetIncomingRequestRequest = {
10920
- "$schema": "http://json-schema.org/draft-07/schema#",
10921
- "$ref": "#/definitions/GetIncomingRequestRequest",
11268
+ "DateFormFieldSettingsJSON": {
11269
+ "type": "object",
11270
+ "properties": {
11271
+ "@type": {
11272
+ "type": "string",
11273
+ "const": "DateFormFieldSettings"
11274
+ },
11275
+ "@context": {
11276
+ "type": "string"
11277
+ },
11278
+ "@version": {
11279
+ "type": "string"
11280
+ }
11281
+ },
11282
+ "required": [
11283
+ "@type"
11284
+ ],
11285
+ "additionalProperties": false
11286
+ },
11287
+ "SelectionFormFieldSettingsJSON": {
11288
+ "type": "object",
11289
+ "properties": {
11290
+ "@type": {
11291
+ "type": "string",
11292
+ "const": "SelectionFormFieldSettings"
11293
+ },
11294
+ "@context": {
11295
+ "type": "string"
11296
+ },
11297
+ "@version": {
11298
+ "type": "string"
11299
+ },
11300
+ "options": {
11301
+ "type": "array",
11302
+ "items": {
11303
+ "type": "string"
11304
+ }
11305
+ },
11306
+ "allowMultipleSelection": {
11307
+ "type": "boolean",
11308
+ "const": true
11309
+ }
11310
+ },
11311
+ "required": [
11312
+ "@type",
11313
+ "options"
11314
+ ],
11315
+ "additionalProperties": false
11316
+ },
11317
+ "RatingFormFieldSettingsJSON": {
11318
+ "type": "object",
11319
+ "properties": {
11320
+ "@type": {
11321
+ "type": "string",
11322
+ "const": "RatingFormFieldSettings"
11323
+ },
11324
+ "@context": {
11325
+ "type": "string"
11326
+ },
11327
+ "@version": {
11328
+ "type": "string"
11329
+ },
11330
+ "maxRating": {
11331
+ "type": "number",
11332
+ "enum": [
11333
+ 5,
11334
+ 6,
11335
+ 7,
11336
+ 8,
11337
+ 9,
11338
+ 10
11339
+ ]
11340
+ }
11341
+ },
11342
+ "required": [
11343
+ "@type",
11344
+ "maxRating"
11345
+ ],
11346
+ "additionalProperties": false
11347
+ },
11348
+ "RegisterAttributeListenerRequestItemJSON": {
11349
+ "type": "object",
11350
+ "properties": {
11351
+ "@type": {
11352
+ "type": "string",
11353
+ "const": "RegisterAttributeListenerRequestItem"
11354
+ },
11355
+ "@context": {
11356
+ "type": "string"
11357
+ },
11358
+ "@version": {
11359
+ "type": "string"
11360
+ },
11361
+ "title": {
11362
+ "type": "string",
11363
+ "description": "The human-readable title of this item."
11364
+ },
11365
+ "description": {
11366
+ "type": "string",
11367
+ "description": "The human-readable description of this item."
11368
+ },
11369
+ "metadata": {
11370
+ "type": "object",
11371
+ "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response."
11372
+ },
11373
+ "mustBeAccepted": {
11374
+ "type": "boolean",
11375
+ "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not."
11376
+ },
11377
+ "requireManualDecision": {
11378
+ "type": "boolean",
11379
+ "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
11380
+ },
11381
+ "query": {
11382
+ "anyOf": [
11383
+ {
11384
+ "$ref": "#/definitions/IdentityAttributeQueryJSON"
11385
+ },
11386
+ {
11387
+ "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryJSON"
11388
+ }
11389
+ ]
11390
+ }
11391
+ },
11392
+ "required": [
11393
+ "@type",
11394
+ "mustBeAccepted",
11395
+ "query"
11396
+ ],
11397
+ "additionalProperties": false
11398
+ },
11399
+ "TransferFileOwnershipRequestItemJSON": {
11400
+ "type": "object",
11401
+ "properties": {
11402
+ "@type": {
11403
+ "type": "string",
11404
+ "const": "TransferFileOwnershipRequestItem"
11405
+ },
11406
+ "@context": {
11407
+ "type": "string"
11408
+ },
11409
+ "@version": {
11410
+ "type": "string"
11411
+ },
11412
+ "title": {
11413
+ "type": "string",
11414
+ "description": "The human-readable title of this item."
11415
+ },
11416
+ "description": {
11417
+ "type": "string",
11418
+ "description": "The human-readable description of this item."
11419
+ },
11420
+ "metadata": {
11421
+ "type": "object",
11422
+ "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response."
11423
+ },
11424
+ "mustBeAccepted": {
11425
+ "type": "boolean",
11426
+ "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not."
11427
+ },
11428
+ "requireManualDecision": {
11429
+ "type": "boolean",
11430
+ "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
11431
+ },
11432
+ "fileReference": {
11433
+ "type": "string"
11434
+ }
11435
+ },
11436
+ "required": [
11437
+ "@type",
11438
+ "fileReference",
11439
+ "mustBeAccepted"
11440
+ ],
11441
+ "additionalProperties": false
11442
+ },
11443
+ "AddressString": {
11444
+ "type": "string",
11445
+ "pattern": "did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}"
11446
+ }
11447
+ }
11448
+ };
11449
+ exports.DeleteIncomingRequestRequest = {
11450
+ "$schema": "http://json-schema.org/draft-07/schema#",
11451
+ "$ref": "#/definitions/DeleteIncomingRequestRequest",
11452
+ "definitions": {
11453
+ "DeleteIncomingRequestRequest": {
11454
+ "type": "object",
11455
+ "properties": {
11456
+ "requestId": {
11457
+ "type": "string"
11458
+ }
11459
+ },
11460
+ "required": [
11461
+ "requestId"
11462
+ ],
11463
+ "additionalProperties": false
11464
+ }
11465
+ }
11466
+ };
11467
+ exports.DiscardOutgoingRequestRequest = {
11468
+ "$schema": "http://json-schema.org/draft-07/schema#",
11469
+ "$ref": "#/definitions/DiscardOutgoingRequestRequest",
11470
+ "definitions": {
11471
+ "DiscardOutgoingRequestRequest": {
11472
+ "type": "object",
11473
+ "properties": {
11474
+ "id": {
11475
+ "$ref": "#/definitions/RequestIdString"
11476
+ }
11477
+ },
11478
+ "required": [
11479
+ "id"
11480
+ ],
11481
+ "additionalProperties": false
11482
+ },
11483
+ "RequestIdString": {
11484
+ "type": "string",
11485
+ "pattern": "REQ[A-Za-z0-9]{17}"
11486
+ }
11487
+ }
11488
+ };
11489
+ exports.GetIncomingRequestRequest = {
11490
+ "$schema": "http://json-schema.org/draft-07/schema#",
11491
+ "$ref": "#/definitions/GetIncomingRequestRequest",
10922
11492
  "definitions": {
10923
11493
  "GetIncomingRequestRequest": {
10924
11494
  "type": "object",
@@ -11516,6 +12086,9 @@ exports.ReceivedIncomingRequestRequest = {
11516
12086
  {
11517
12087
  "$ref": "#/definitions/FreeTextRequestItemJSON"
11518
12088
  },
12089
+ {
12090
+ "$ref": "#/definitions/FormFieldRequestItemJSON"
12091
+ },
11519
12092
  {
11520
12093
  "$ref": "#/definitions/RegisterAttributeListenerRequestItemJSON"
11521
12094
  },
@@ -13967,22 +14540,11 @@ exports.ReceivedIncomingRequestRequest = {
13967
14540
  "type": "string"
13968
14541
  },
13969
14542
  "owner": {
13970
- "anyOf": [
13971
- {
13972
- "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryOwner"
13973
- },
13974
- {
13975
- "type": "string",
13976
- "const": "thirdParty"
13977
- },
13978
- {
13979
- "type": "string",
13980
- "const": "recipient"
13981
- },
13982
- {
13983
- "type": "string",
13984
- "const": ""
13985
- }
14543
+ "type": "string",
14544
+ "enum": [
14545
+ "thirdParty",
14546
+ "recipient",
14547
+ ""
13986
14548
  ]
13987
14549
  },
13988
14550
  "thirdParty": {
@@ -14000,14 +14562,6 @@ exports.ReceivedIncomingRequestRequest = {
14000
14562
  ],
14001
14563
  "additionalProperties": false
14002
14564
  },
14003
- "ThirdPartyRelationshipAttributeQueryOwner": {
14004
- "type": "string",
14005
- "enum": [
14006
- "thirdParty",
14007
- "recipient",
14008
- ""
14009
- ]
14010
- },
14011
14565
  "ConsentRequestItemJSON": {
14012
14566
  "type": "object",
14013
14567
  "properties": {
@@ -14143,6 +14697,260 @@ exports.ReceivedIncomingRequestRequest = {
14143
14697
  ],
14144
14698
  "additionalProperties": false
14145
14699
  },
14700
+ "FormFieldRequestItemJSON": {
14701
+ "type": "object",
14702
+ "properties": {
14703
+ "@type": {
14704
+ "type": "string",
14705
+ "const": "FormFieldRequestItem"
14706
+ },
14707
+ "@context": {
14708
+ "type": "string"
14709
+ },
14710
+ "@version": {
14711
+ "type": "string"
14712
+ },
14713
+ "title": {
14714
+ "type": "string",
14715
+ "description": "The human-readable title of this item."
14716
+ },
14717
+ "description": {
14718
+ "type": "string",
14719
+ "description": "The human-readable description of this item."
14720
+ },
14721
+ "metadata": {
14722
+ "type": "object",
14723
+ "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response."
14724
+ },
14725
+ "mustBeAccepted": {
14726
+ "type": "boolean",
14727
+ "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not."
14728
+ },
14729
+ "requireManualDecision": {
14730
+ "type": "boolean",
14731
+ "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
14732
+ },
14733
+ "settings": {
14734
+ "$ref": "#/definitions/FormFieldSettingsJSONDerivations"
14735
+ }
14736
+ },
14737
+ "required": [
14738
+ "@type",
14739
+ "mustBeAccepted",
14740
+ "settings",
14741
+ "title"
14742
+ ],
14743
+ "additionalProperties": false
14744
+ },
14745
+ "FormFieldSettingsJSONDerivations": {
14746
+ "anyOf": [
14747
+ {
14748
+ "$ref": "#/definitions/StringFormFieldSettingsJSON"
14749
+ },
14750
+ {
14751
+ "$ref": "#/definitions/IntegerFormFieldSettingsJSON"
14752
+ },
14753
+ {
14754
+ "$ref": "#/definitions/DoubleFormFieldSettingsJSON"
14755
+ },
14756
+ {
14757
+ "$ref": "#/definitions/BooleanFormFieldSettingsJSON"
14758
+ },
14759
+ {
14760
+ "$ref": "#/definitions/DateFormFieldSettingsJSON"
14761
+ },
14762
+ {
14763
+ "$ref": "#/definitions/SelectionFormFieldSettingsJSON"
14764
+ },
14765
+ {
14766
+ "$ref": "#/definitions/RatingFormFieldSettingsJSON"
14767
+ }
14768
+ ]
14769
+ },
14770
+ "StringFormFieldSettingsJSON": {
14771
+ "type": "object",
14772
+ "properties": {
14773
+ "@type": {
14774
+ "type": "string",
14775
+ "const": "StringFormFieldSettings"
14776
+ },
14777
+ "@context": {
14778
+ "type": "string"
14779
+ },
14780
+ "@version": {
14781
+ "type": "string"
14782
+ },
14783
+ "allowNewlines": {
14784
+ "type": "boolean",
14785
+ "const": true
14786
+ },
14787
+ "min": {
14788
+ "type": "number"
14789
+ },
14790
+ "max": {
14791
+ "type": "number"
14792
+ }
14793
+ },
14794
+ "required": [
14795
+ "@type"
14796
+ ],
14797
+ "additionalProperties": false
14798
+ },
14799
+ "IntegerFormFieldSettingsJSON": {
14800
+ "type": "object",
14801
+ "properties": {
14802
+ "@type": {
14803
+ "type": "string",
14804
+ "const": "IntegerFormFieldSettings"
14805
+ },
14806
+ "@context": {
14807
+ "type": "string"
14808
+ },
14809
+ "@version": {
14810
+ "type": "string"
14811
+ },
14812
+ "unit": {
14813
+ "type": "string"
14814
+ },
14815
+ "min": {
14816
+ "type": "number"
14817
+ },
14818
+ "max": {
14819
+ "type": "number"
14820
+ }
14821
+ },
14822
+ "required": [
14823
+ "@type"
14824
+ ],
14825
+ "additionalProperties": false
14826
+ },
14827
+ "DoubleFormFieldSettingsJSON": {
14828
+ "type": "object",
14829
+ "properties": {
14830
+ "@type": {
14831
+ "type": "string",
14832
+ "const": "DoubleFormFieldSettings"
14833
+ },
14834
+ "@context": {
14835
+ "type": "string"
14836
+ },
14837
+ "@version": {
14838
+ "type": "string"
14839
+ },
14840
+ "unit": {
14841
+ "type": "string"
14842
+ },
14843
+ "min": {
14844
+ "type": "number"
14845
+ },
14846
+ "max": {
14847
+ "type": "number"
14848
+ }
14849
+ },
14850
+ "required": [
14851
+ "@type"
14852
+ ],
14853
+ "additionalProperties": false
14854
+ },
14855
+ "BooleanFormFieldSettingsJSON": {
14856
+ "type": "object",
14857
+ "properties": {
14858
+ "@type": {
14859
+ "type": "string",
14860
+ "const": "BooleanFormFieldSettings"
14861
+ },
14862
+ "@context": {
14863
+ "type": "string"
14864
+ },
14865
+ "@version": {
14866
+ "type": "string"
14867
+ }
14868
+ },
14869
+ "required": [
14870
+ "@type"
14871
+ ],
14872
+ "additionalProperties": false
14873
+ },
14874
+ "DateFormFieldSettingsJSON": {
14875
+ "type": "object",
14876
+ "properties": {
14877
+ "@type": {
14878
+ "type": "string",
14879
+ "const": "DateFormFieldSettings"
14880
+ },
14881
+ "@context": {
14882
+ "type": "string"
14883
+ },
14884
+ "@version": {
14885
+ "type": "string"
14886
+ }
14887
+ },
14888
+ "required": [
14889
+ "@type"
14890
+ ],
14891
+ "additionalProperties": false
14892
+ },
14893
+ "SelectionFormFieldSettingsJSON": {
14894
+ "type": "object",
14895
+ "properties": {
14896
+ "@type": {
14897
+ "type": "string",
14898
+ "const": "SelectionFormFieldSettings"
14899
+ },
14900
+ "@context": {
14901
+ "type": "string"
14902
+ },
14903
+ "@version": {
14904
+ "type": "string"
14905
+ },
14906
+ "options": {
14907
+ "type": "array",
14908
+ "items": {
14909
+ "type": "string"
14910
+ }
14911
+ },
14912
+ "allowMultipleSelection": {
14913
+ "type": "boolean",
14914
+ "const": true
14915
+ }
14916
+ },
14917
+ "required": [
14918
+ "@type",
14919
+ "options"
14920
+ ],
14921
+ "additionalProperties": false
14922
+ },
14923
+ "RatingFormFieldSettingsJSON": {
14924
+ "type": "object",
14925
+ "properties": {
14926
+ "@type": {
14927
+ "type": "string",
14928
+ "const": "RatingFormFieldSettings"
14929
+ },
14930
+ "@context": {
14931
+ "type": "string"
14932
+ },
14933
+ "@version": {
14934
+ "type": "string"
14935
+ },
14936
+ "maxRating": {
14937
+ "type": "number",
14938
+ "enum": [
14939
+ 5,
14940
+ 6,
14941
+ 7,
14942
+ 8,
14943
+ 9,
14944
+ 10
14945
+ ]
14946
+ }
14947
+ },
14948
+ "required": [
14949
+ "@type",
14950
+ "maxRating"
14951
+ ],
14952
+ "additionalProperties": false
14953
+ },
14146
14954
  "RegisterAttributeListenerRequestItemJSON": {
14147
14955
  "type": "object",
14148
14956
  "properties": {
@@ -15588,22 +16396,11 @@ exports.ExecuteThirdPartyRelationshipAttributeQueryRequest = {
15588
16396
  "type": "string"
15589
16397
  },
15590
16398
  "owner": {
15591
- "anyOf": [
15592
- {
15593
- "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryOwner"
15594
- },
15595
- {
15596
- "type": "string",
15597
- "const": "thirdParty"
15598
- },
15599
- {
15600
- "type": "string",
15601
- "const": "recipient"
15602
- },
15603
- {
15604
- "type": "string",
15605
- "const": ""
15606
- }
16399
+ "type": "string",
16400
+ "enum": [
16401
+ "thirdParty",
16402
+ "recipient",
16403
+ ""
15607
16404
  ]
15608
16405
  },
15609
16406
  "thirdParty": {
@@ -15620,14 +16417,6 @@ exports.ExecuteThirdPartyRelationshipAttributeQueryRequest = {
15620
16417
  "thirdParty"
15621
16418
  ],
15622
16419
  "additionalProperties": false
15623
- },
15624
- "ThirdPartyRelationshipAttributeQueryOwner": {
15625
- "type": "string",
15626
- "enum": [
15627
- "thirdParty",
15628
- "recipient",
15629
- ""
15630
- ]
15631
16420
  }
15632
16421
  }
15633
16422
  };