Skip to content

Commit

Permalink
Update submission api specs v 6.7.3 (#52)
Browse files Browse the repository at this point in the history
* Update CHANGELOG.md

* Update submission-api-data.yaml
  • Loading branch information
pwadonInterhyp authored Apr 16, 2024
1 parent e12e129 commit 7f593e1
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Submission Data API
## v6.7.3
* removed redundant required: [] property from ShortTimeWork
* added status to PreSubmissionCheck

## v6.7.2
* changed remark in RejectSubmissionCounterOfferCommand to required
* added mainEmployment flag to occupation
Expand Down
54 changes: 52 additions & 2 deletions submission-api-data/submission-api-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.2
x-guideline-version: v1
info:
title: Interhyp Submission API
version: 6.7.2
version: 6.7.3
contact:
name: Interhyp AG (Team Provider Excellence)
email: [email protected]
Expand Down Expand Up @@ -3274,6 +3274,17 @@ components:
- ANSWER_PRE_SUBMISSION_CHECK
discriminator:
propertyName: operation
BasePreSubmissionCheckStatus:
type: object
required:
- status
properties:
changedOn:
$ref: '#/components/schemas/ISODateTime'
status:
$ref: '#/components/schemas/Status'
discriminator:
propertyName: status
BaseProductCalculation:
type: object
required:
Expand Down Expand Up @@ -9759,6 +9770,21 @@ components:
$ref: '#/components/schemas/PreSubmissionCheckOverview'
originInfo:
$ref: '#/components/schemas/OriginInfo'
status:
$ref: '#/components/schemas/PreSubmissionCheckStatus'
PreSubmissionCheckAnsweredStatus:
type: object
allOf:
- $ref: '#/components/schemas/BasePreSubmissionCheckStatus'
properties:
remarks:
type: array
items:
$ref: '#/components/schemas/PreSubmissionCheckRemark'
score:
$ref: '#/components/schemas/PreSubmissionCheckScore'
externalIdentifier:
type: string
PreSubmissionCheckConsultation:
writeOnly: true
type: object
Expand All @@ -9768,6 +9794,10 @@ components:
properties:
advisory:
$ref: '#/components/schemas/AdvisoryDetails'
PreSubmissionCheckCreatedStatus:
type: object
allOf:
- $ref: '#/components/schemas/BasePreSubmissionCheckStatus'
PreSubmissionCheckFinancialStandings:
type: object
required:
Expand Down Expand Up @@ -9846,19 +9876,35 @@ components:
type: string
description:
type: string
value:
type: string
PreSubmissionCheckScore:
type: object
required:
- key
properties:
key:
$ref: '#/components/schemas/PreSubmissionCheckScoreKey'
x-extensible-enum:
- GREEN
- YELLOW
- RED
- UNKNOWN
PreSubmissionCheckScoreKey:
type: string
x-extensible-enum:
- GREEN
- YELLOW
- RED
PreSubmissionCheckStatus:
oneOf:
- $ref: '#/components/schemas/PreSubmissionCheckAnsweredStatus'
- $ref: '#/components/schemas/PreSubmissionCheckCreatedStatus'
discriminator:
propertyName: status
mapping:
CREATED: '#/components/schemas/PreSubmissionCheckCreatedStatus'
ANSWERED: '#/components/schemas/PreSubmissionCheckAnsweredStatus'
PreSubmissionCheckTimeline:
type: object
description: |
Expand Down Expand Up @@ -11377,7 +11423,6 @@ components:
ShortTimeWork:
type: object
description: "DE: Kurzarbeit<br/> \nEN: Short time work.\n"
required: []
properties:
from:
description: |
Expand Down Expand Up @@ -11593,6 +11638,11 @@ components:
- RDM_SPIEGEL
- ON_GEO
- VDP_RESEARCH
Status:
type: string
x-extensible-enum:
- CREATED
- ANSWERED
Submission:
type: object
description: |
Expand Down

0 comments on commit 7f593e1

Please sign in to comment.