@digdir/dialogporten-schema 1.7.1-c19f47a → 1.7.1

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-c19f47a",
3
+ "version": "1.7.1",
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: String
20
+ performedBy: [Localization!]
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
- mediaType: String
118
+ mimeType: 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
- "MediaType": "application/json",
269
+ "MimeType": "application/json",
270
270
  "ConsumerType": 0
271
271
  }
272
272
  ]
@@ -322,7 +322,16 @@
322
322
  "Type": 3,
323
323
  "RelatedActivityId": null,
324
324
  "DialogElementId": null,
325
- "PerformedBy": "Some performed",
325
+ "PerformedBy": [
326
+ {
327
+ "Value": "Some performer",
328
+ "CultureCode": "en-us"
329
+ },
330
+ {
331
+ "Value": "En utfører",
332
+ "CultureCode": "nb-no"
333
+ }
334
+ ],
326
335
  "Description": [
327
336
  {
328
337
  "Value": "Some description",
@@ -2595,7 +2604,7 @@
2595
2604
  "type": "string",
2596
2605
  "format": "uri"
2597
2606
  },
2598
- "mediaType": {
2607
+ "mimeType": {
2599
2608
  "type": "string",
2600
2609
  "nullable": true
2601
2610
  },
@@ -2800,8 +2809,10 @@
2800
2809
  "nullable": true
2801
2810
  },
2802
2811
  "performedBy": {
2803
- "type": "string",
2804
- "nullable": true
2812
+ "type": "array",
2813
+ "items": {
2814
+ "$ref": "#/components/schemas/LocalizationDto"
2815
+ }
2805
2816
  },
2806
2817
  "description": {
2807
2818
  "type": "array",
@@ -3148,7 +3159,7 @@
3148
3159
  "type": "string",
3149
3160
  "format": "uri"
3150
3161
  },
3151
- "mediaType": {
3162
+ "mimeType": {
3152
3163
  "type": "string",
3153
3164
  "nullable": true
3154
3165
  },
@@ -3297,8 +3308,11 @@
3297
3308
  "nullable": true
3298
3309
  },
3299
3310
  "performedBy": {
3300
- "type": "string",
3301
- "nullable": true
3311
+ "type": "array",
3312
+ "nullable": true,
3313
+ "items": {
3314
+ "$ref": "#/components/schemas/LocalizationDto"
3315
+ }
3302
3316
  },
3303
3317
  "description": {
3304
3318
  "type": "array",
@@ -3490,7 +3504,7 @@
3490
3504
  "type": "string",
3491
3505
  "format": "uri"
3492
3506
  },
3493
- "mediaType": {
3507
+ "mimeType": {
3494
3508
  "type": "string",
3495
3509
  "nullable": true
3496
3510
  },
@@ -3628,8 +3642,10 @@
3628
3642
  "nullable": true
3629
3643
  },
3630
3644
  "performedBy": {
3631
- "type": "string",
3632
- "nullable": true
3645
+ "type": "array",
3646
+ "items": {
3647
+ "$ref": "#/components/schemas/LocalizationDto"
3648
+ }
3633
3649
  },
3634
3650
  "description": {
3635
3651
  "type": "array",
@@ -3745,8 +3761,10 @@
3745
3761
  "nullable": true
3746
3762
  },
3747
3763
  "performedBy": {
3748
- "type": "string",
3749
- "nullable": true
3764
+ "type": "array",
3765
+ "items": {
3766
+ "$ref": "#/components/schemas/LocalizationDto"
3767
+ }
3750
3768
  },
3751
3769
  "description": {
3752
3770
  "type": "array",
@@ -3979,8 +3997,11 @@
3979
3997
  "nullable": true
3980
3998
  },
3981
3999
  "performedBy": {
3982
- "type": "string",
3983
- "nullable": true
4000
+ "type": "array",
4001
+ "nullable": true,
4002
+ "items": {
4003
+ "$ref": "#/components/schemas/LocalizationDto"
4004
+ }
3984
4005
  },
3985
4006
  "description": {
3986
4007
  "type": "array",
@@ -4204,7 +4225,7 @@
4204
4225
  "type": "string",
4205
4226
  "format": "uri"
4206
4227
  },
4207
- "mediaType": {
4228
+ "mimeType": {
4208
4229
  "type": "string",
4209
4230
  "nullable": true
4210
4231
  },
@@ -4359,8 +4380,11 @@
4359
4380
  "nullable": true
4360
4381
  },
4361
4382
  "performedBy": {
4362
- "type": "string",
4363
- "nullable": true
4383
+ "type": "array",
4384
+ "nullable": true,
4385
+ "items": {
4386
+ "$ref": "#/components/schemas/LocalizationDto"
4387
+ }
4364
4388
  },
4365
4389
  "description": {
4366
4390
  "type": "array",
@@ -4450,4 +4474,4 @@
4450
4474
  }
4451
4475
  }
4452
4476
  }
4453
- }
4477
+ }