@digdir/dialogporten-schema 1.7.1-576560d → 1.7.1-c19f47a

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.7.1-576560d",
3
+ "version": "1.7.1-c19f47a",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "author": "DigDir",
6
6
  "repository": {
@@ -17,7 +17,7 @@ type Activity {
17
17
  type: ActivityType!
18
18
  relatedActivityId: UUID
19
19
  dialogElementId: UUID
20
- performedBy: [Localization!]
20
+ performedBy: String
21
21
  description: [Localization!]!
22
22
  }
23
23
 
@@ -115,7 +115,7 @@ type Element {
115
115
  type ElementUrl {
116
116
  id: UUID!
117
117
  url: URL!
118
- mimeType: String
118
+ mediaType: String
119
119
  consumerType: ElementUrlConsumer!
120
120
  }
121
121
 
@@ -289,4 +289,4 @@ scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time"
289
289
 
290
290
  scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986")
291
291
 
292
- scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
292
+ scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
@@ -266,7 +266,7 @@
266
266
  {
267
267
  "Id": "858177cb-8584-4d10-a086-3a5defa7a6c3",
268
268
  "Url": "http://example.com/some-url",
269
- "MimeType": "application/json",
269
+ "MediaType": "application/json",
270
270
  "ConsumerType": 0
271
271
  }
272
272
  ]
@@ -322,16 +322,7 @@
322
322
  "Type": 3,
323
323
  "RelatedActivityId": null,
324
324
  "DialogElementId": null,
325
- "PerformedBy": [
326
- {
327
- "Value": "Some performer",
328
- "CultureCode": "en-us"
329
- },
330
- {
331
- "Value": "En utfører",
332
- "CultureCode": "nb-no"
333
- }
334
- ],
325
+ "PerformedBy": "Some performed",
335
326
  "Description": [
336
327
  {
337
328
  "Value": "Some description",
@@ -2604,7 +2595,7 @@
2604
2595
  "type": "string",
2605
2596
  "format": "uri"
2606
2597
  },
2607
- "mimeType": {
2598
+ "mediaType": {
2608
2599
  "type": "string",
2609
2600
  "nullable": true
2610
2601
  },
@@ -2809,10 +2800,8 @@
2809
2800
  "nullable": true
2810
2801
  },
2811
2802
  "performedBy": {
2812
- "type": "array",
2813
- "items": {
2814
- "$ref": "#/components/schemas/LocalizationDto"
2815
- }
2803
+ "type": "string",
2804
+ "nullable": true
2816
2805
  },
2817
2806
  "description": {
2818
2807
  "type": "array",
@@ -3159,7 +3148,7 @@
3159
3148
  "type": "string",
3160
3149
  "format": "uri"
3161
3150
  },
3162
- "mimeType": {
3151
+ "mediaType": {
3163
3152
  "type": "string",
3164
3153
  "nullable": true
3165
3154
  },
@@ -3308,11 +3297,8 @@
3308
3297
  "nullable": true
3309
3298
  },
3310
3299
  "performedBy": {
3311
- "type": "array",
3312
- "nullable": true,
3313
- "items": {
3314
- "$ref": "#/components/schemas/LocalizationDto"
3315
- }
3300
+ "type": "string",
3301
+ "nullable": true
3316
3302
  },
3317
3303
  "description": {
3318
3304
  "type": "array",
@@ -3504,7 +3490,7 @@
3504
3490
  "type": "string",
3505
3491
  "format": "uri"
3506
3492
  },
3507
- "mimeType": {
3493
+ "mediaType": {
3508
3494
  "type": "string",
3509
3495
  "nullable": true
3510
3496
  },
@@ -3642,10 +3628,8 @@
3642
3628
  "nullable": true
3643
3629
  },
3644
3630
  "performedBy": {
3645
- "type": "array",
3646
- "items": {
3647
- "$ref": "#/components/schemas/LocalizationDto"
3648
- }
3631
+ "type": "string",
3632
+ "nullable": true
3649
3633
  },
3650
3634
  "description": {
3651
3635
  "type": "array",
@@ -3761,10 +3745,8 @@
3761
3745
  "nullable": true
3762
3746
  },
3763
3747
  "performedBy": {
3764
- "type": "array",
3765
- "items": {
3766
- "$ref": "#/components/schemas/LocalizationDto"
3767
- }
3748
+ "type": "string",
3749
+ "nullable": true
3768
3750
  },
3769
3751
  "description": {
3770
3752
  "type": "array",
@@ -3997,11 +3979,8 @@
3997
3979
  "nullable": true
3998
3980
  },
3999
3981
  "performedBy": {
4000
- "type": "array",
4001
- "nullable": true,
4002
- "items": {
4003
- "$ref": "#/components/schemas/LocalizationDto"
4004
- }
3982
+ "type": "string",
3983
+ "nullable": true
4005
3984
  },
4006
3985
  "description": {
4007
3986
  "type": "array",
@@ -4225,7 +4204,7 @@
4225
4204
  "type": "string",
4226
4205
  "format": "uri"
4227
4206
  },
4228
- "mimeType": {
4207
+ "mediaType": {
4229
4208
  "type": "string",
4230
4209
  "nullable": true
4231
4210
  },
@@ -4380,11 +4359,8 @@
4380
4359
  "nullable": true
4381
4360
  },
4382
4361
  "performedBy": {
4383
- "type": "array",
4384
- "nullable": true,
4385
- "items": {
4386
- "$ref": "#/components/schemas/LocalizationDto"
4387
- }
4362
+ "type": "string",
4363
+ "nullable": true
4388
4364
  },
4389
4365
  "description": {
4390
4366
  "type": "array",
@@ -4474,4 +4450,4 @@
4474
4450
  }
4475
4451
  }
4476
4452
  }
4477
- }
4453
+ }