Skip to content

Commit

Permalink
Merge branch 'master' into olav-fikser-komponenter
Browse files Browse the repository at this point in the history
  • Loading branch information
olavflar authored Dec 6, 2024
2 parents b155aec + 6069920 commit 7ab228d
Showing 1 changed file with 34 additions and 75 deletions.
109 changes: 34 additions & 75 deletions static/swagger/altinn-correspondence-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@
"type": "string"
},
"Correspondence.Sender": {
"pattern": "^\\d{4}:\\d{9}$",
"pattern": "^(?:0192:|urn:altinn:organization:identifier-no):\\d{9}$",
"type": "string"
},
"Correspondence.SendersReference": {
Expand Down Expand Up @@ -591,13 +591,6 @@
"type": "string",
"format": "uuid"
}
},
{
"name": "onBehalfOf",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
Expand Down Expand Up @@ -628,13 +621,6 @@
"type": "string",
"format": "uuid"
}
},
{
"name": "onBehalfOf",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
Expand Down Expand Up @@ -688,13 +674,6 @@
"type": "string",
"format": "uuid"
}
},
{
"name": "onBehalfOf",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
Expand All @@ -718,13 +697,6 @@
"type": "string",
"format": "uuid"
}
},
{
"name": "onBehalfOf",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
Expand All @@ -748,13 +720,6 @@
"type": "string",
"format": "uuid"
}
},
{
"name": "onBehalfOf",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
Expand All @@ -778,13 +743,6 @@
"type": "string",
"format": "uuid"
}
},
{
"name": "onBehalfOf",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
Expand Down Expand Up @@ -817,13 +775,6 @@
"type": "string",
"format": "uuid"
}
},
{
"name": "onBehalfOf",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
Expand All @@ -836,23 +787,6 @@
},
"components": {
"schemas": {
"AtachmentStatusEvent": {
"type": "object",
"properties": {
"status": {
"$ref": "#/components/schemas/AttachmentStatusExt"
},
"statusText": {
"type": "string",
"nullable": true
},
"statusChanged": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"AttachmentDataLocationTypeExt": {
"enum": [
"AltinnCorrespondenceAttachment",
Expand Down Expand Up @@ -909,7 +843,7 @@
},
"sender": {
"minLength": 1,
"pattern": "^\\d{4}:\\d{9}$",
"pattern": "^(?:0192:|urn:altinn:organization:identifier-no):\\d{9}$",
"type": "string"
},
"attachmentId": {
Expand Down Expand Up @@ -938,7 +872,7 @@
"statusHistory": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AtachmentStatusEvent"
"$ref": "#/components/schemas/AttachmentStatusEvent"
},
"nullable": true
}
Expand Down Expand Up @@ -994,7 +928,7 @@
},
"sender": {
"minLength": 1,
"pattern": "^\\d{4}:\\d{9}$",
"pattern": "^(?:0192:|urn:altinn:organization:identifier-no):\\d{9}$",
"type": "string"
},
"attachmentId": {
Expand Down Expand Up @@ -1023,6 +957,27 @@
},
"additionalProperties": false
},
"AttachmentStatusEvent": {
"type": "object",
"properties": {
"status": {
"$ref": "#/components/schemas/AttachmentStatusExt"
},
"statusText": {
"type": "string",
"nullable": true
},
"statusChanged": {
"type": "string",
"format": "date-time"
},
"partyUuid": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
},
"AttachmentStatusExt": {
"enum": [
"Initialized",
Expand All @@ -1048,7 +1003,7 @@
},
"sender": {
"minLength": 1,
"pattern": "^\\d{4}:\\d{9}$",
"pattern": "^(?:0192:|urn:altinn:organization:identifier-no):\\d{9}$",
"type": "string"
},
"sendersReference": {
Expand Down Expand Up @@ -1238,7 +1193,7 @@
},
"sender": {
"minLength": 1,
"pattern": "^\\d{4}:\\d{9}$",
"pattern": "^(?:0192:|urn:altinn:organization:identifier-no):\\d{9}$",
"type": "string"
},
"sendersReference": {
Expand Down Expand Up @@ -1378,7 +1333,7 @@
},
"sender": {
"minLength": 1,
"pattern": "^\\d{4}:\\d{9}$",
"pattern": "^(?:0192:|urn:altinn:organization:identifier-no):\\d{9}$",
"type": "string"
},
"sendersReference": {
Expand Down Expand Up @@ -1509,6 +1464,10 @@
"statusChanged": {
"type": "string",
"format": "date-time"
},
"partyUuid": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -1576,7 +1535,7 @@
"enum": [
"NewCorrespondenceAttachment",
"ExistingCorrespondenceAttachment",
"ExisitingExternalStorage"
"ExistingExternalStorage"
],
"type": "string"
},
Expand Down Expand Up @@ -1624,7 +1583,7 @@
},
"sender": {
"minLength": 1,
"pattern": "^\\d{4}:\\d{9}$",
"pattern": "^(?:0192:|urn:altinn:organization:identifier-no):\\d{9}$",
"type": "string"
}
},
Expand Down

0 comments on commit 7ab228d

Please sign in to comment.