@nmshd/runtime 6.36.0 → 6.37.0

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.
@@ -332,6 +332,9 @@ exports.CanCreateOutgoingRequestRequest = {
332
332
  {
333
333
  "$ref": "#/definitions/FreeTextRequestItemJSON"
334
334
  },
335
+ {
336
+ "$ref": "#/definitions/FormFieldRequestItemJSON"
337
+ },
335
338
  {
336
339
  "$ref": "#/definitions/RegisterAttributeListenerRequestItemJSON"
337
340
  },
@@ -2807,22 +2810,11 @@ exports.CanCreateOutgoingRequestRequest = {
2807
2810
  "type": "string"
2808
2811
  },
2809
2812
  "owner": {
2810
- "anyOf": [
2811
- {
2812
- "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryOwner"
2813
- },
2814
- {
2815
- "type": "string",
2816
- "const": "thirdParty"
2817
- },
2818
- {
2819
- "type": "string",
2820
- "const": "recipient"
2821
- },
2822
- {
2823
- "type": "string",
2824
- "const": ""
2825
- }
2813
+ "type": "string",
2814
+ "enum": [
2815
+ "thirdParty",
2816
+ "recipient",
2817
+ ""
2826
2818
  ]
2827
2819
  },
2828
2820
  "thirdParty": {
@@ -2846,14 +2838,6 @@ exports.CanCreateOutgoingRequestRequest = {
2846
2838
  ],
2847
2839
  "additionalProperties": false
2848
2840
  },
2849
- "ThirdPartyRelationshipAttributeQueryOwner": {
2850
- "type": "string",
2851
- "enum": [
2852
- "thirdParty",
2853
- "recipient",
2854
- ""
2855
- ]
2856
- },
2857
2841
  "ConsentRequestItemJSON": {
2858
2842
  "type": "object",
2859
2843
  "properties": {
@@ -2988,6 +2972,260 @@ exports.CanCreateOutgoingRequestRequest = {
2988
2972
  ],
2989
2973
  "additionalProperties": false
2990
2974
  },
2975
+ "FormFieldRequestItemJSON": {
2976
+ "type": "object",
2977
+ "properties": {
2978
+ "@type": {
2979
+ "type": "string",
2980
+ "const": "FormFieldRequestItem"
2981
+ },
2982
+ "@context": {
2983
+ "type": "string"
2984
+ },
2985
+ "@version": {
2986
+ "type": "string"
2987
+ },
2988
+ "title": {
2989
+ "type": "string",
2990
+ "description": "The human-readable title of this item."
2991
+ },
2992
+ "description": {
2993
+ "type": "string",
2994
+ "description": "The human-readable description of this item."
2995
+ },
2996
+ "metadata": {
2997
+ "type": "object",
2998
+ "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."
2999
+ },
3000
+ "mustBeAccepted": {
3001
+ "type": "boolean",
3002
+ "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."
3003
+ },
3004
+ "requireManualDecision": {
3005
+ "type": "boolean",
3006
+ "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."
3007
+ },
3008
+ "settings": {
3009
+ "$ref": "#/definitions/FormFieldSettingsJSONDerivations"
3010
+ }
3011
+ },
3012
+ "required": [
3013
+ "@type",
3014
+ "mustBeAccepted",
3015
+ "settings",
3016
+ "title"
3017
+ ],
3018
+ "additionalProperties": false
3019
+ },
3020
+ "FormFieldSettingsJSONDerivations": {
3021
+ "anyOf": [
3022
+ {
3023
+ "$ref": "#/definitions/StringFormFieldSettingsJSON"
3024
+ },
3025
+ {
3026
+ "$ref": "#/definitions/IntegerFormFieldSettingsJSON"
3027
+ },
3028
+ {
3029
+ "$ref": "#/definitions/DoubleFormFieldSettingsJSON"
3030
+ },
3031
+ {
3032
+ "$ref": "#/definitions/BooleanFormFieldSettingsJSON"
3033
+ },
3034
+ {
3035
+ "$ref": "#/definitions/DateFormFieldSettingsJSON"
3036
+ },
3037
+ {
3038
+ "$ref": "#/definitions/SelectionFormFieldSettingsJSON"
3039
+ },
3040
+ {
3041
+ "$ref": "#/definitions/RatingFormFieldSettingsJSON"
3042
+ }
3043
+ ]
3044
+ },
3045
+ "StringFormFieldSettingsJSON": {
3046
+ "type": "object",
3047
+ "properties": {
3048
+ "@type": {
3049
+ "type": "string",
3050
+ "const": "StringFormFieldSettings"
3051
+ },
3052
+ "@context": {
3053
+ "type": "string"
3054
+ },
3055
+ "@version": {
3056
+ "type": "string"
3057
+ },
3058
+ "allowNewlines": {
3059
+ "type": "boolean",
3060
+ "const": true
3061
+ },
3062
+ "min": {
3063
+ "type": "number"
3064
+ },
3065
+ "max": {
3066
+ "type": "number"
3067
+ }
3068
+ },
3069
+ "required": [
3070
+ "@type"
3071
+ ],
3072
+ "additionalProperties": false
3073
+ },
3074
+ "IntegerFormFieldSettingsJSON": {
3075
+ "type": "object",
3076
+ "properties": {
3077
+ "@type": {
3078
+ "type": "string",
3079
+ "const": "IntegerFormFieldSettings"
3080
+ },
3081
+ "@context": {
3082
+ "type": "string"
3083
+ },
3084
+ "@version": {
3085
+ "type": "string"
3086
+ },
3087
+ "unit": {
3088
+ "type": "string"
3089
+ },
3090
+ "min": {
3091
+ "type": "number"
3092
+ },
3093
+ "max": {
3094
+ "type": "number"
3095
+ }
3096
+ },
3097
+ "required": [
3098
+ "@type"
3099
+ ],
3100
+ "additionalProperties": false
3101
+ },
3102
+ "DoubleFormFieldSettingsJSON": {
3103
+ "type": "object",
3104
+ "properties": {
3105
+ "@type": {
3106
+ "type": "string",
3107
+ "const": "DoubleFormFieldSettings"
3108
+ },
3109
+ "@context": {
3110
+ "type": "string"
3111
+ },
3112
+ "@version": {
3113
+ "type": "string"
3114
+ },
3115
+ "unit": {
3116
+ "type": "string"
3117
+ },
3118
+ "min": {
3119
+ "type": "number"
3120
+ },
3121
+ "max": {
3122
+ "type": "number"
3123
+ }
3124
+ },
3125
+ "required": [
3126
+ "@type"
3127
+ ],
3128
+ "additionalProperties": false
3129
+ },
3130
+ "BooleanFormFieldSettingsJSON": {
3131
+ "type": "object",
3132
+ "properties": {
3133
+ "@type": {
3134
+ "type": "string",
3135
+ "const": "BooleanFormFieldSettings"
3136
+ },
3137
+ "@context": {
3138
+ "type": "string"
3139
+ },
3140
+ "@version": {
3141
+ "type": "string"
3142
+ }
3143
+ },
3144
+ "required": [
3145
+ "@type"
3146
+ ],
3147
+ "additionalProperties": false
3148
+ },
3149
+ "DateFormFieldSettingsJSON": {
3150
+ "type": "object",
3151
+ "properties": {
3152
+ "@type": {
3153
+ "type": "string",
3154
+ "const": "DateFormFieldSettings"
3155
+ },
3156
+ "@context": {
3157
+ "type": "string"
3158
+ },
3159
+ "@version": {
3160
+ "type": "string"
3161
+ }
3162
+ },
3163
+ "required": [
3164
+ "@type"
3165
+ ],
3166
+ "additionalProperties": false
3167
+ },
3168
+ "SelectionFormFieldSettingsJSON": {
3169
+ "type": "object",
3170
+ "properties": {
3171
+ "@type": {
3172
+ "type": "string",
3173
+ "const": "SelectionFormFieldSettings"
3174
+ },
3175
+ "@context": {
3176
+ "type": "string"
3177
+ },
3178
+ "@version": {
3179
+ "type": "string"
3180
+ },
3181
+ "options": {
3182
+ "type": "array",
3183
+ "items": {
3184
+ "type": "string"
3185
+ }
3186
+ },
3187
+ "allowMultipleSelection": {
3188
+ "type": "boolean",
3189
+ "const": true
3190
+ }
3191
+ },
3192
+ "required": [
3193
+ "@type",
3194
+ "options"
3195
+ ],
3196
+ "additionalProperties": false
3197
+ },
3198
+ "RatingFormFieldSettingsJSON": {
3199
+ "type": "object",
3200
+ "properties": {
3201
+ "@type": {
3202
+ "type": "string",
3203
+ "const": "RatingFormFieldSettings"
3204
+ },
3205
+ "@context": {
3206
+ "type": "string"
3207
+ },
3208
+ "@version": {
3209
+ "type": "string"
3210
+ },
3211
+ "maxRating": {
3212
+ "type": "number",
3213
+ "enum": [
3214
+ 5,
3215
+ 6,
3216
+ 7,
3217
+ 8,
3218
+ 9,
3219
+ 10
3220
+ ]
3221
+ }
3222
+ },
3223
+ "required": [
3224
+ "@type",
3225
+ "maxRating"
3226
+ ],
3227
+ "additionalProperties": false
3228
+ },
2991
3229
  "RegisterAttributeListenerRequestItemJSON": {
2992
3230
  "type": "object",
2993
3231
  "properties": {
@@ -3375,6 +3613,9 @@ exports.CompleteOutgoingRequestRequest = {
3375
3613
  },
3376
3614
  {
3377
3615
  "$ref": "#/definitions/FreeTextAcceptResponseItemJSON"
3616
+ },
3617
+ {
3618
+ "$ref": "#/definitions/FormFieldAcceptResponseItemJSON"
3378
3619
  }
3379
3620
  ]
3380
3621
  },
@@ -5578,15 +5819,12 @@ exports.CompleteOutgoingRequestRequest = {
5578
5819
  ],
5579
5820
  "additionalProperties": false
5580
5821
  },
5581
- "RejectResponseItemJSONDerivations": {
5582
- "$ref": "#/definitions/RejectResponseItemJSON"
5583
- },
5584
- "RejectResponseItemJSON": {
5822
+ "FormFieldAcceptResponseItemJSON": {
5585
5823
  "type": "object",
5586
5824
  "properties": {
5587
5825
  "@type": {
5588
5826
  "type": "string",
5589
- "const": "RejectResponseItem"
5827
+ "const": "FormFieldAcceptResponseItem"
5590
5828
  },
5591
5829
  "@context": {
5592
5830
  "type": "string"
@@ -5596,15 +5834,62 @@ exports.CompleteOutgoingRequestRequest = {
5596
5834
  },
5597
5835
  "result": {
5598
5836
  "type": "string",
5599
- "const": "Rejected"
5600
- },
5601
- "code": {
5602
- "type": "string"
5837
+ "const": "Accepted"
5603
5838
  },
5604
- "message": {
5605
- "type": "string"
5606
- }
5607
- },
5839
+ "response": {
5840
+ "anyOf": [
5841
+ {
5842
+ "type": "string"
5843
+ },
5844
+ {
5845
+ "type": "number"
5846
+ },
5847
+ {
5848
+ "type": "boolean"
5849
+ },
5850
+ {
5851
+ "type": "array",
5852
+ "items": {
5853
+ "type": "string"
5854
+ }
5855
+ }
5856
+ ]
5857
+ }
5858
+ },
5859
+ "required": [
5860
+ "@type",
5861
+ "response",
5862
+ "result"
5863
+ ],
5864
+ "additionalProperties": false
5865
+ },
5866
+ "RejectResponseItemJSONDerivations": {
5867
+ "$ref": "#/definitions/RejectResponseItemJSON"
5868
+ },
5869
+ "RejectResponseItemJSON": {
5870
+ "type": "object",
5871
+ "properties": {
5872
+ "@type": {
5873
+ "type": "string",
5874
+ "const": "RejectResponseItem"
5875
+ },
5876
+ "@context": {
5877
+ "type": "string"
5878
+ },
5879
+ "@version": {
5880
+ "type": "string"
5881
+ },
5882
+ "result": {
5883
+ "type": "string",
5884
+ "const": "Rejected"
5885
+ },
5886
+ "code": {
5887
+ "type": "string"
5888
+ },
5889
+ "message": {
5890
+ "type": "string"
5891
+ }
5892
+ },
5608
5893
  "required": [
5609
5894
  "@type",
5610
5895
  "result"
@@ -5810,6 +6095,9 @@ exports.CreateAndCompleteOutgoingRequestFromRelationshipTemplateResponseRequest
5810
6095
  },
5811
6096
  {
5812
6097
  "$ref": "#/definitions/FreeTextAcceptResponseItemJSON"
6098
+ },
6099
+ {
6100
+ "$ref": "#/definitions/FormFieldAcceptResponseItemJSON"
5813
6101
  }
5814
6102
  ]
5815
6103
  },
@@ -8013,6 +8301,50 @@ exports.CreateAndCompleteOutgoingRequestFromRelationshipTemplateResponseRequest
8013
8301
  ],
8014
8302
  "additionalProperties": false
8015
8303
  },
8304
+ "FormFieldAcceptResponseItemJSON": {
8305
+ "type": "object",
8306
+ "properties": {
8307
+ "@type": {
8308
+ "type": "string",
8309
+ "const": "FormFieldAcceptResponseItem"
8310
+ },
8311
+ "@context": {
8312
+ "type": "string"
8313
+ },
8314
+ "@version": {
8315
+ "type": "string"
8316
+ },
8317
+ "result": {
8318
+ "type": "string",
8319
+ "const": "Accepted"
8320
+ },
8321
+ "response": {
8322
+ "anyOf": [
8323
+ {
8324
+ "type": "string"
8325
+ },
8326
+ {
8327
+ "type": "number"
8328
+ },
8329
+ {
8330
+ "type": "boolean"
8331
+ },
8332
+ {
8333
+ "type": "array",
8334
+ "items": {
8335
+ "type": "string"
8336
+ }
8337
+ }
8338
+ ]
8339
+ }
8340
+ },
8341
+ "required": [
8342
+ "@type",
8343
+ "response",
8344
+ "result"
8345
+ ],
8346
+ "additionalProperties": false
8347
+ },
8016
8348
  "RejectResponseItemJSONDerivations": {
8017
8349
  "$ref": "#/definitions/RejectResponseItemJSON"
8018
8350
  },
@@ -8212,6 +8544,9 @@ exports.CreateOutgoingRequestRequest = {
8212
8544
  {
8213
8545
  "$ref": "#/definitions/FreeTextRequestItemJSON"
8214
8546
  },
8547
+ {
8548
+ "$ref": "#/definitions/FormFieldRequestItemJSON"
8549
+ },
8215
8550
  {
8216
8551
  "$ref": "#/definitions/RegisterAttributeListenerRequestItemJSON"
8217
8552
  },
@@ -10687,22 +11022,11 @@ exports.CreateOutgoingRequestRequest = {
10687
11022
  "type": "string"
10688
11023
  },
10689
11024
  "owner": {
10690
- "anyOf": [
10691
- {
10692
- "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryOwner"
10693
- },
10694
- {
10695
- "type": "string",
10696
- "const": "thirdParty"
10697
- },
10698
- {
10699
- "type": "string",
10700
- "const": "recipient"
10701
- },
10702
- {
10703
- "type": "string",
10704
- "const": ""
10705
- }
11025
+ "type": "string",
11026
+ "enum": [
11027
+ "thirdParty",
11028
+ "recipient",
11029
+ ""
10706
11030
  ]
10707
11031
  },
10708
11032
  "thirdParty": {
@@ -10726,14 +11050,6 @@ exports.CreateOutgoingRequestRequest = {
10726
11050
  ],
10727
11051
  "additionalProperties": false
10728
11052
  },
10729
- "ThirdPartyRelationshipAttributeQueryOwner": {
10730
- "type": "string",
10731
- "enum": [
10732
- "thirdParty",
10733
- "recipient",
10734
- ""
10735
- ]
10736
- },
10737
11053
  "ConsentRequestItemJSON": {
10738
11054
  "type": "object",
10739
11055
  "properties": {
@@ -10868,12 +11184,12 @@ exports.CreateOutgoingRequestRequest = {
10868
11184
  ],
10869
11185
  "additionalProperties": false
10870
11186
  },
10871
- "RegisterAttributeListenerRequestItemJSON": {
11187
+ "FormFieldRequestItemJSON": {
10872
11188
  "type": "object",
10873
11189
  "properties": {
10874
11190
  "@type": {
10875
11191
  "type": "string",
10876
- "const": "RegisterAttributeListenerRequestItem"
11192
+ "const": "FormFieldRequestItem"
10877
11193
  },
10878
11194
  "@context": {
10879
11195
  "type": "string"
@@ -10901,30 +11217,49 @@ exports.CreateOutgoingRequestRequest = {
10901
11217
  "type": "boolean",
10902
11218
  "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."
10903
11219
  },
10904
- "query": {
10905
- "anyOf": [
10906
- {
10907
- "$ref": "#/definitions/IdentityAttributeQueryJSON"
10908
- },
10909
- {
10910
- "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryJSON"
10911
- }
10912
- ]
11220
+ "settings": {
11221
+ "$ref": "#/definitions/FormFieldSettingsJSONDerivations"
10913
11222
  }
10914
11223
  },
10915
11224
  "required": [
10916
11225
  "@type",
10917
11226
  "mustBeAccepted",
10918
- "query"
11227
+ "settings",
11228
+ "title"
10919
11229
  ],
10920
11230
  "additionalProperties": false
10921
11231
  },
10922
- "TransferFileOwnershipRequestItemJSON": {
11232
+ "FormFieldSettingsJSONDerivations": {
11233
+ "anyOf": [
11234
+ {
11235
+ "$ref": "#/definitions/StringFormFieldSettingsJSON"
11236
+ },
11237
+ {
11238
+ "$ref": "#/definitions/IntegerFormFieldSettingsJSON"
11239
+ },
11240
+ {
11241
+ "$ref": "#/definitions/DoubleFormFieldSettingsJSON"
11242
+ },
11243
+ {
11244
+ "$ref": "#/definitions/BooleanFormFieldSettingsJSON"
11245
+ },
11246
+ {
11247
+ "$ref": "#/definitions/DateFormFieldSettingsJSON"
11248
+ },
11249
+ {
11250
+ "$ref": "#/definitions/SelectionFormFieldSettingsJSON"
11251
+ },
11252
+ {
11253
+ "$ref": "#/definitions/RatingFormFieldSettingsJSON"
11254
+ }
11255
+ ]
11256
+ },
11257
+ "StringFormFieldSettingsJSON": {
10923
11258
  "type": "object",
10924
11259
  "properties": {
10925
11260
  "@type": {
10926
11261
  "type": "string",
10927
- "const": "TransferFileOwnershipRequestItem"
11262
+ "const": "StringFormFieldSettings"
10928
11263
  },
10929
11264
  "@context": {
10930
11265
  "type": "string"
@@ -10932,86 +11267,321 @@ exports.CreateOutgoingRequestRequest = {
10932
11267
  "@version": {
10933
11268
  "type": "string"
10934
11269
  },
10935
- "title": {
10936
- "type": "string",
10937
- "description": "The human-readable title of this item."
11270
+ "allowNewlines": {
11271
+ "type": "boolean",
11272
+ "const": true
10938
11273
  },
10939
- "description": {
10940
- "type": "string",
10941
- "description": "The human-readable description of this item."
11274
+ "min": {
11275
+ "type": "number"
10942
11276
  },
10943
- "metadata": {
10944
- "type": "object",
10945
- "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."
11277
+ "max": {
11278
+ "type": "number"
11279
+ }
11280
+ },
11281
+ "required": [
11282
+ "@type"
11283
+ ],
11284
+ "additionalProperties": false
11285
+ },
11286
+ "IntegerFormFieldSettingsJSON": {
11287
+ "type": "object",
11288
+ "properties": {
11289
+ "@type": {
11290
+ "type": "string",
11291
+ "const": "IntegerFormFieldSettings"
10946
11292
  },
10947
- "mustBeAccepted": {
10948
- "type": "boolean",
10949
- "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."
11293
+ "@context": {
11294
+ "type": "string"
10950
11295
  },
10951
- "requireManualDecision": {
10952
- "type": "boolean",
10953
- "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."
11296
+ "@version": {
11297
+ "type": "string"
10954
11298
  },
10955
- "fileReference": {
11299
+ "unit": {
10956
11300
  "type": "string"
11301
+ },
11302
+ "min": {
11303
+ "type": "number"
11304
+ },
11305
+ "max": {
11306
+ "type": "number"
10957
11307
  }
10958
11308
  },
10959
11309
  "required": [
10960
- "@type",
10961
- "fileReference",
10962
- "mustBeAccepted"
11310
+ "@type"
10963
11311
  ],
10964
11312
  "additionalProperties": false
10965
11313
  },
10966
- "AddressString": {
10967
- "type": "string",
10968
- "pattern": "did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}"
10969
- }
10970
- }
10971
- };
10972
- exports.DeleteIncomingRequestRequest = {
10973
- "$schema": "http://json-schema.org/draft-07/schema#",
10974
- "$ref": "#/definitions/DeleteIncomingRequestRequest",
10975
- "definitions": {
10976
- "DeleteIncomingRequestRequest": {
11314
+ "DoubleFormFieldSettingsJSON": {
10977
11315
  "type": "object",
10978
11316
  "properties": {
10979
- "requestId": {
11317
+ "@type": {
11318
+ "type": "string",
11319
+ "const": "DoubleFormFieldSettings"
11320
+ },
11321
+ "@context": {
11322
+ "type": "string"
11323
+ },
11324
+ "@version": {
11325
+ "type": "string"
11326
+ },
11327
+ "unit": {
10980
11328
  "type": "string"
11329
+ },
11330
+ "min": {
11331
+ "type": "number"
11332
+ },
11333
+ "max": {
11334
+ "type": "number"
10981
11335
  }
10982
11336
  },
10983
11337
  "required": [
10984
- "requestId"
11338
+ "@type"
10985
11339
  ],
10986
11340
  "additionalProperties": false
10987
- }
10988
- }
10989
- };
10990
- exports.DiscardOutgoingRequestRequest = {
10991
- "$schema": "http://json-schema.org/draft-07/schema#",
10992
- "$ref": "#/definitions/DiscardOutgoingRequestRequest",
10993
- "definitions": {
10994
- "DiscardOutgoingRequestRequest": {
11341
+ },
11342
+ "BooleanFormFieldSettingsJSON": {
10995
11343
  "type": "object",
10996
11344
  "properties": {
10997
- "id": {
10998
- "$ref": "#/definitions/RequestIdString"
11345
+ "@type": {
11346
+ "type": "string",
11347
+ "const": "BooleanFormFieldSettings"
11348
+ },
11349
+ "@context": {
11350
+ "type": "string"
11351
+ },
11352
+ "@version": {
11353
+ "type": "string"
10999
11354
  }
11000
11355
  },
11001
11356
  "required": [
11002
- "id"
11357
+ "@type"
11003
11358
  ],
11004
11359
  "additionalProperties": false
11005
11360
  },
11006
- "RequestIdString": {
11007
- "type": "string",
11008
- "pattern": "REQ[A-Za-z0-9]{17}"
11009
- }
11010
- }
11011
- };
11012
- exports.GetIncomingRequestRequest = {
11013
- "$schema": "http://json-schema.org/draft-07/schema#",
11014
- "$ref": "#/definitions/GetIncomingRequestRequest",
11361
+ "DateFormFieldSettingsJSON": {
11362
+ "type": "object",
11363
+ "properties": {
11364
+ "@type": {
11365
+ "type": "string",
11366
+ "const": "DateFormFieldSettings"
11367
+ },
11368
+ "@context": {
11369
+ "type": "string"
11370
+ },
11371
+ "@version": {
11372
+ "type": "string"
11373
+ }
11374
+ },
11375
+ "required": [
11376
+ "@type"
11377
+ ],
11378
+ "additionalProperties": false
11379
+ },
11380
+ "SelectionFormFieldSettingsJSON": {
11381
+ "type": "object",
11382
+ "properties": {
11383
+ "@type": {
11384
+ "type": "string",
11385
+ "const": "SelectionFormFieldSettings"
11386
+ },
11387
+ "@context": {
11388
+ "type": "string"
11389
+ },
11390
+ "@version": {
11391
+ "type": "string"
11392
+ },
11393
+ "options": {
11394
+ "type": "array",
11395
+ "items": {
11396
+ "type": "string"
11397
+ }
11398
+ },
11399
+ "allowMultipleSelection": {
11400
+ "type": "boolean",
11401
+ "const": true
11402
+ }
11403
+ },
11404
+ "required": [
11405
+ "@type",
11406
+ "options"
11407
+ ],
11408
+ "additionalProperties": false
11409
+ },
11410
+ "RatingFormFieldSettingsJSON": {
11411
+ "type": "object",
11412
+ "properties": {
11413
+ "@type": {
11414
+ "type": "string",
11415
+ "const": "RatingFormFieldSettings"
11416
+ },
11417
+ "@context": {
11418
+ "type": "string"
11419
+ },
11420
+ "@version": {
11421
+ "type": "string"
11422
+ },
11423
+ "maxRating": {
11424
+ "type": "number",
11425
+ "enum": [
11426
+ 5,
11427
+ 6,
11428
+ 7,
11429
+ 8,
11430
+ 9,
11431
+ 10
11432
+ ]
11433
+ }
11434
+ },
11435
+ "required": [
11436
+ "@type",
11437
+ "maxRating"
11438
+ ],
11439
+ "additionalProperties": false
11440
+ },
11441
+ "RegisterAttributeListenerRequestItemJSON": {
11442
+ "type": "object",
11443
+ "properties": {
11444
+ "@type": {
11445
+ "type": "string",
11446
+ "const": "RegisterAttributeListenerRequestItem"
11447
+ },
11448
+ "@context": {
11449
+ "type": "string"
11450
+ },
11451
+ "@version": {
11452
+ "type": "string"
11453
+ },
11454
+ "title": {
11455
+ "type": "string",
11456
+ "description": "The human-readable title of this item."
11457
+ },
11458
+ "description": {
11459
+ "type": "string",
11460
+ "description": "The human-readable description of this item."
11461
+ },
11462
+ "metadata": {
11463
+ "type": "object",
11464
+ "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."
11465
+ },
11466
+ "mustBeAccepted": {
11467
+ "type": "boolean",
11468
+ "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."
11469
+ },
11470
+ "requireManualDecision": {
11471
+ "type": "boolean",
11472
+ "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."
11473
+ },
11474
+ "query": {
11475
+ "anyOf": [
11476
+ {
11477
+ "$ref": "#/definitions/IdentityAttributeQueryJSON"
11478
+ },
11479
+ {
11480
+ "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryJSON"
11481
+ }
11482
+ ]
11483
+ }
11484
+ },
11485
+ "required": [
11486
+ "@type",
11487
+ "mustBeAccepted",
11488
+ "query"
11489
+ ],
11490
+ "additionalProperties": false
11491
+ },
11492
+ "TransferFileOwnershipRequestItemJSON": {
11493
+ "type": "object",
11494
+ "properties": {
11495
+ "@type": {
11496
+ "type": "string",
11497
+ "const": "TransferFileOwnershipRequestItem"
11498
+ },
11499
+ "@context": {
11500
+ "type": "string"
11501
+ },
11502
+ "@version": {
11503
+ "type": "string"
11504
+ },
11505
+ "title": {
11506
+ "type": "string",
11507
+ "description": "The human-readable title of this item."
11508
+ },
11509
+ "description": {
11510
+ "type": "string",
11511
+ "description": "The human-readable description of this item."
11512
+ },
11513
+ "metadata": {
11514
+ "type": "object",
11515
+ "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."
11516
+ },
11517
+ "mustBeAccepted": {
11518
+ "type": "boolean",
11519
+ "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."
11520
+ },
11521
+ "requireManualDecision": {
11522
+ "type": "boolean",
11523
+ "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."
11524
+ },
11525
+ "fileReference": {
11526
+ "type": "string"
11527
+ }
11528
+ },
11529
+ "required": [
11530
+ "@type",
11531
+ "fileReference",
11532
+ "mustBeAccepted"
11533
+ ],
11534
+ "additionalProperties": false
11535
+ },
11536
+ "AddressString": {
11537
+ "type": "string",
11538
+ "pattern": "did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}"
11539
+ }
11540
+ }
11541
+ };
11542
+ exports.DeleteIncomingRequestRequest = {
11543
+ "$schema": "http://json-schema.org/draft-07/schema#",
11544
+ "$ref": "#/definitions/DeleteIncomingRequestRequest",
11545
+ "definitions": {
11546
+ "DeleteIncomingRequestRequest": {
11547
+ "type": "object",
11548
+ "properties": {
11549
+ "requestId": {
11550
+ "type": "string"
11551
+ }
11552
+ },
11553
+ "required": [
11554
+ "requestId"
11555
+ ],
11556
+ "additionalProperties": false
11557
+ }
11558
+ }
11559
+ };
11560
+ exports.DiscardOutgoingRequestRequest = {
11561
+ "$schema": "http://json-schema.org/draft-07/schema#",
11562
+ "$ref": "#/definitions/DiscardOutgoingRequestRequest",
11563
+ "definitions": {
11564
+ "DiscardOutgoingRequestRequest": {
11565
+ "type": "object",
11566
+ "properties": {
11567
+ "id": {
11568
+ "$ref": "#/definitions/RequestIdString"
11569
+ }
11570
+ },
11571
+ "required": [
11572
+ "id"
11573
+ ],
11574
+ "additionalProperties": false
11575
+ },
11576
+ "RequestIdString": {
11577
+ "type": "string",
11578
+ "pattern": "REQ[A-Za-z0-9]{17}"
11579
+ }
11580
+ }
11581
+ };
11582
+ exports.GetIncomingRequestRequest = {
11583
+ "$schema": "http://json-schema.org/draft-07/schema#",
11584
+ "$ref": "#/definitions/GetIncomingRequestRequest",
11015
11585
  "definitions": {
11016
11586
  "GetIncomingRequestRequest": {
11017
11587
  "type": "object",
@@ -11609,6 +12179,9 @@ exports.ReceivedIncomingRequestRequest = {
11609
12179
  {
11610
12180
  "$ref": "#/definitions/FreeTextRequestItemJSON"
11611
12181
  },
12182
+ {
12183
+ "$ref": "#/definitions/FormFieldRequestItemJSON"
12184
+ },
11612
12185
  {
11613
12186
  "$ref": "#/definitions/RegisterAttributeListenerRequestItemJSON"
11614
12187
  },
@@ -14084,22 +14657,11 @@ exports.ReceivedIncomingRequestRequest = {
14084
14657
  "type": "string"
14085
14658
  },
14086
14659
  "owner": {
14087
- "anyOf": [
14088
- {
14089
- "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryOwner"
14090
- },
14091
- {
14092
- "type": "string",
14093
- "const": "thirdParty"
14094
- },
14095
- {
14096
- "type": "string",
14097
- "const": "recipient"
14098
- },
14099
- {
14100
- "type": "string",
14101
- "const": ""
14102
- }
14660
+ "type": "string",
14661
+ "enum": [
14662
+ "thirdParty",
14663
+ "recipient",
14664
+ ""
14103
14665
  ]
14104
14666
  },
14105
14667
  "thirdParty": {
@@ -14123,14 +14685,6 @@ exports.ReceivedIncomingRequestRequest = {
14123
14685
  ],
14124
14686
  "additionalProperties": false
14125
14687
  },
14126
- "ThirdPartyRelationshipAttributeQueryOwner": {
14127
- "type": "string",
14128
- "enum": [
14129
- "thirdParty",
14130
- "recipient",
14131
- ""
14132
- ]
14133
- },
14134
14688
  "ConsentRequestItemJSON": {
14135
14689
  "type": "object",
14136
14690
  "properties": {
@@ -14265,6 +14819,260 @@ exports.ReceivedIncomingRequestRequest = {
14265
14819
  ],
14266
14820
  "additionalProperties": false
14267
14821
  },
14822
+ "FormFieldRequestItemJSON": {
14823
+ "type": "object",
14824
+ "properties": {
14825
+ "@type": {
14826
+ "type": "string",
14827
+ "const": "FormFieldRequestItem"
14828
+ },
14829
+ "@context": {
14830
+ "type": "string"
14831
+ },
14832
+ "@version": {
14833
+ "type": "string"
14834
+ },
14835
+ "title": {
14836
+ "type": "string",
14837
+ "description": "The human-readable title of this item."
14838
+ },
14839
+ "description": {
14840
+ "type": "string",
14841
+ "description": "The human-readable description of this item."
14842
+ },
14843
+ "metadata": {
14844
+ "type": "object",
14845
+ "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."
14846
+ },
14847
+ "mustBeAccepted": {
14848
+ "type": "boolean",
14849
+ "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."
14850
+ },
14851
+ "requireManualDecision": {
14852
+ "type": "boolean",
14853
+ "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."
14854
+ },
14855
+ "settings": {
14856
+ "$ref": "#/definitions/FormFieldSettingsJSONDerivations"
14857
+ }
14858
+ },
14859
+ "required": [
14860
+ "@type",
14861
+ "mustBeAccepted",
14862
+ "settings",
14863
+ "title"
14864
+ ],
14865
+ "additionalProperties": false
14866
+ },
14867
+ "FormFieldSettingsJSONDerivations": {
14868
+ "anyOf": [
14869
+ {
14870
+ "$ref": "#/definitions/StringFormFieldSettingsJSON"
14871
+ },
14872
+ {
14873
+ "$ref": "#/definitions/IntegerFormFieldSettingsJSON"
14874
+ },
14875
+ {
14876
+ "$ref": "#/definitions/DoubleFormFieldSettingsJSON"
14877
+ },
14878
+ {
14879
+ "$ref": "#/definitions/BooleanFormFieldSettingsJSON"
14880
+ },
14881
+ {
14882
+ "$ref": "#/definitions/DateFormFieldSettingsJSON"
14883
+ },
14884
+ {
14885
+ "$ref": "#/definitions/SelectionFormFieldSettingsJSON"
14886
+ },
14887
+ {
14888
+ "$ref": "#/definitions/RatingFormFieldSettingsJSON"
14889
+ }
14890
+ ]
14891
+ },
14892
+ "StringFormFieldSettingsJSON": {
14893
+ "type": "object",
14894
+ "properties": {
14895
+ "@type": {
14896
+ "type": "string",
14897
+ "const": "StringFormFieldSettings"
14898
+ },
14899
+ "@context": {
14900
+ "type": "string"
14901
+ },
14902
+ "@version": {
14903
+ "type": "string"
14904
+ },
14905
+ "allowNewlines": {
14906
+ "type": "boolean",
14907
+ "const": true
14908
+ },
14909
+ "min": {
14910
+ "type": "number"
14911
+ },
14912
+ "max": {
14913
+ "type": "number"
14914
+ }
14915
+ },
14916
+ "required": [
14917
+ "@type"
14918
+ ],
14919
+ "additionalProperties": false
14920
+ },
14921
+ "IntegerFormFieldSettingsJSON": {
14922
+ "type": "object",
14923
+ "properties": {
14924
+ "@type": {
14925
+ "type": "string",
14926
+ "const": "IntegerFormFieldSettings"
14927
+ },
14928
+ "@context": {
14929
+ "type": "string"
14930
+ },
14931
+ "@version": {
14932
+ "type": "string"
14933
+ },
14934
+ "unit": {
14935
+ "type": "string"
14936
+ },
14937
+ "min": {
14938
+ "type": "number"
14939
+ },
14940
+ "max": {
14941
+ "type": "number"
14942
+ }
14943
+ },
14944
+ "required": [
14945
+ "@type"
14946
+ ],
14947
+ "additionalProperties": false
14948
+ },
14949
+ "DoubleFormFieldSettingsJSON": {
14950
+ "type": "object",
14951
+ "properties": {
14952
+ "@type": {
14953
+ "type": "string",
14954
+ "const": "DoubleFormFieldSettings"
14955
+ },
14956
+ "@context": {
14957
+ "type": "string"
14958
+ },
14959
+ "@version": {
14960
+ "type": "string"
14961
+ },
14962
+ "unit": {
14963
+ "type": "string"
14964
+ },
14965
+ "min": {
14966
+ "type": "number"
14967
+ },
14968
+ "max": {
14969
+ "type": "number"
14970
+ }
14971
+ },
14972
+ "required": [
14973
+ "@type"
14974
+ ],
14975
+ "additionalProperties": false
14976
+ },
14977
+ "BooleanFormFieldSettingsJSON": {
14978
+ "type": "object",
14979
+ "properties": {
14980
+ "@type": {
14981
+ "type": "string",
14982
+ "const": "BooleanFormFieldSettings"
14983
+ },
14984
+ "@context": {
14985
+ "type": "string"
14986
+ },
14987
+ "@version": {
14988
+ "type": "string"
14989
+ }
14990
+ },
14991
+ "required": [
14992
+ "@type"
14993
+ ],
14994
+ "additionalProperties": false
14995
+ },
14996
+ "DateFormFieldSettingsJSON": {
14997
+ "type": "object",
14998
+ "properties": {
14999
+ "@type": {
15000
+ "type": "string",
15001
+ "const": "DateFormFieldSettings"
15002
+ },
15003
+ "@context": {
15004
+ "type": "string"
15005
+ },
15006
+ "@version": {
15007
+ "type": "string"
15008
+ }
15009
+ },
15010
+ "required": [
15011
+ "@type"
15012
+ ],
15013
+ "additionalProperties": false
15014
+ },
15015
+ "SelectionFormFieldSettingsJSON": {
15016
+ "type": "object",
15017
+ "properties": {
15018
+ "@type": {
15019
+ "type": "string",
15020
+ "const": "SelectionFormFieldSettings"
15021
+ },
15022
+ "@context": {
15023
+ "type": "string"
15024
+ },
15025
+ "@version": {
15026
+ "type": "string"
15027
+ },
15028
+ "options": {
15029
+ "type": "array",
15030
+ "items": {
15031
+ "type": "string"
15032
+ }
15033
+ },
15034
+ "allowMultipleSelection": {
15035
+ "type": "boolean",
15036
+ "const": true
15037
+ }
15038
+ },
15039
+ "required": [
15040
+ "@type",
15041
+ "options"
15042
+ ],
15043
+ "additionalProperties": false
15044
+ },
15045
+ "RatingFormFieldSettingsJSON": {
15046
+ "type": "object",
15047
+ "properties": {
15048
+ "@type": {
15049
+ "type": "string",
15050
+ "const": "RatingFormFieldSettings"
15051
+ },
15052
+ "@context": {
15053
+ "type": "string"
15054
+ },
15055
+ "@version": {
15056
+ "type": "string"
15057
+ },
15058
+ "maxRating": {
15059
+ "type": "number",
15060
+ "enum": [
15061
+ 5,
15062
+ 6,
15063
+ 7,
15064
+ 8,
15065
+ 9,
15066
+ 10
15067
+ ]
15068
+ }
15069
+ },
15070
+ "required": [
15071
+ "@type",
15072
+ "maxRating"
15073
+ ],
15074
+ "additionalProperties": false
15075
+ },
14268
15076
  "RegisterAttributeListenerRequestItemJSON": {
14269
15077
  "type": "object",
14270
15078
  "properties": {
@@ -15739,22 +16547,11 @@ exports.ExecuteThirdPartyRelationshipAttributeQueryRequest = {
15739
16547
  "type": "string"
15740
16548
  },
15741
16549
  "owner": {
15742
- "anyOf": [
15743
- {
15744
- "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryOwner"
15745
- },
15746
- {
15747
- "type": "string",
15748
- "const": "thirdParty"
15749
- },
15750
- {
15751
- "type": "string",
15752
- "const": "recipient"
15753
- },
15754
- {
15755
- "type": "string",
15756
- "const": ""
15757
- }
16550
+ "type": "string",
16551
+ "enum": [
16552
+ "thirdParty",
16553
+ "recipient",
16554
+ ""
15758
16555
  ]
15759
16556
  },
15760
16557
  "thirdParty": {
@@ -15777,14 +16574,6 @@ exports.ExecuteThirdPartyRelationshipAttributeQueryRequest = {
15777
16574
  "thirdParty"
15778
16575
  ],
15779
16576
  "additionalProperties": false
15780
- },
15781
- "ThirdPartyRelationshipAttributeQueryOwner": {
15782
- "type": "string",
15783
- "enum": [
15784
- "thirdParty",
15785
- "recipient",
15786
- ""
15787
- ]
15788
16577
  }
15789
16578
  }
15790
16579
  };