优化
This commit is contained in:
@@ -5,6 +5,25 @@ info:
|
||||
paths: {}
|
||||
components:
|
||||
schemas:
|
||||
FirstLegLoadingPlanCompletedV3:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/FirstLegLoadingPlanCompletedV2'
|
||||
- type: object
|
||||
required: [loadingEvidence]
|
||||
properties:
|
||||
loadingEvidence:
|
||||
type: array
|
||||
minItems: 5
|
||||
maxItems: 5
|
||||
description: Exactly one active domestic loading photo reference for each of PHOTO_STEP_1 through PHOTO_STEP_4 and SEAL.
|
||||
items: {$ref: '#/components/schemas/FirstLegLoadingEvidenceV3'}
|
||||
FirstLegLoadingEvidenceV3:
|
||||
type: object
|
||||
required: [evidenceType, fileId, fileName]
|
||||
properties:
|
||||
evidenceType: {type: string, enum: [PHOTO_STEP_1, PHOTO_STEP_2, PHOTO_STEP_3, PHOTO_STEP_4, SEAL]}
|
||||
fileId: {type: integer, format: int64, minimum: 1, description: Domestic File service identity; never exposed to PDA clients}
|
||||
fileName: {type: string, minLength: 1, maxLength: 255}
|
||||
FirstLegLoadingPlanCompletedV2:
|
||||
type: object
|
||||
required: [loadingPlanId, sourceContainerBookingId, containerNo, estimatedPortArrivalAt, actualPortArrivalAt, estimatedWarehouseArrivalAt, orders]
|
||||
|
||||
Reference in New Issue
Block a user