@digdir/dialogporten-schema 1.8.1-51eb898 → 1.8.1-c9b50e9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digdir/dialogporten-schema",
3
- "version": "1.8.1-51eb898",
3
+ "version": "1.8.1-c9b50e9",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "author": "DigDir",
6
6
  "repository": {
@@ -57,6 +57,7 @@ type AuthorizedParty {
57
57
  type Content {
58
58
  type: ContentType!
59
59
  value: [Localization!]!
60
+ mediaType: String
60
61
  }
61
62
 
62
63
  type Dialog {
@@ -115,7 +116,6 @@ type Element {
115
116
  type ElementUrl {
116
117
  id: UUID!
117
118
  url: URL!
118
- mediaType: String
119
119
  consumerType: ElementUrlConsumer!
120
120
  }
121
121
 
@@ -229,7 +229,8 @@
229
229
  "Value": "Some Title",
230
230
  "CultureCode": "en-us"
231
231
  }
232
- ]
232
+ ],
233
+ "MediaType": null
233
234
  },
234
235
  {
235
236
  "Type": 3,
@@ -238,7 +239,8 @@
238
239
  "Value": "Some Summary",
239
240
  "CultureCode": "en-us"
240
241
  }
241
- ]
242
+ ],
243
+ "MediaType": null
242
244
  }
243
245
  ],
244
246
  "SearchTags": [
@@ -252,7 +254,7 @@
252
254
  "Elements": [
253
255
  {
254
256
  "Id": "02a72809-eddd-4192-864d-8f1755d72f4e",
255
- "Type": "http://example.com/some-type",
257
+ "Type": "https://example.com/some-type",
256
258
  "ExternalReference": null,
257
259
  "AuthorizationAttribute": null,
258
260
  "RelatedDialogElementId": null,
@@ -265,8 +267,7 @@
265
267
  "Urls": [
266
268
  {
267
269
  "Id": "858177cb-8584-4d10-a086-3a5defa7a6c3",
268
- "Url": "http://example.com/some-url",
269
- "MediaType": "application/json",
270
+ "Url": "https://example.com/some-url",
270
271
  "ConsumerType": 0
271
272
  }
272
273
  ]
@@ -2301,6 +2302,10 @@
2301
2302
  "items": {
2302
2303
  "$ref": "#/components/schemas/LocalizationDto"
2303
2304
  }
2305
+ },
2306
+ "mediaType": {
2307
+ "type": "string",
2308
+ "nullable": true
2304
2309
  }
2305
2310
  }
2306
2311
  },
@@ -2312,14 +2317,16 @@
2312
2317
  "SenderName",
2313
2318
  "Summary",
2314
2319
  "AdditionalInfo",
2315
- "ExtendedStatus"
2320
+ "ExtendedStatus",
2321
+ "MainContentReference"
2316
2322
  ],
2317
2323
  "enum": [
2318
2324
  "Title",
2319
2325
  "SenderName",
2320
2326
  "Summary",
2321
2327
  "AdditionalInfo",
2322
- "ExtendedStatus"
2328
+ "ExtendedStatus",
2329
+ "MainContentReference"
2323
2330
  ]
2324
2331
  },
2325
2332
  "LocalizationDto": {
@@ -2397,10 +2404,6 @@
2397
2404
  "type": "string",
2398
2405
  "format": "uri"
2399
2406
  },
2400
- "mediaType": {
2401
- "type": "string",
2402
- "nullable": true
2403
- },
2404
2407
  "consumerType": {
2405
2408
  "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
2406
2409
  }
@@ -2902,6 +2905,10 @@
2902
2905
  "items": {
2903
2906
  "$ref": "#/components/schemas/LocalizationDto"
2904
2907
  }
2908
+ },
2909
+ "mediaType": {
2910
+ "type": "string",
2911
+ "nullable": true
2905
2912
  }
2906
2913
  }
2907
2914
  },
@@ -2962,10 +2969,6 @@
2962
2969
  "type": "string",
2963
2970
  "format": "uri"
2964
2971
  },
2965
- "mediaType": {
2966
- "type": "string",
2967
- "nullable": true
2968
- },
2969
2972
  "consumerType": {
2970
2973
  "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
2971
2974
  }
@@ -3250,6 +3253,10 @@
3250
3253
  "items": {
3251
3254
  "$ref": "#/components/schemas/LocalizationDto"
3252
3255
  }
3256
+ },
3257
+ "mediaType": {
3258
+ "type": "string",
3259
+ "nullable": true
3253
3260
  }
3254
3261
  }
3255
3262
  },
@@ -3311,10 +3318,6 @@
3311
3318
  "type": "string",
3312
3319
  "format": "uri"
3313
3320
  },
3314
- "mediaType": {
3315
- "type": "string",
3316
- "nullable": true
3317
- },
3318
3321
  "consumerType": {
3319
3322
  "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
3320
3323
  }
@@ -3947,6 +3950,10 @@
3947
3950
  "items": {
3948
3951
  "$ref": "#/components/schemas/LocalizationDto"
3949
3952
  }
3953
+ },
3954
+ "mediaType": {
3955
+ "type": "string",
3956
+ "nullable": true
3950
3957
  }
3951
3958
  }
3952
3959
  },
@@ -4005,10 +4012,6 @@
4005
4012
  "type": "string",
4006
4013
  "format": "uri"
4007
4014
  },
4008
- "mediaType": {
4009
- "type": "string",
4010
- "nullable": true
4011
- },
4012
4015
  "consumerType": {
4013
4016
  "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
4014
4017
  }