fix(calendar): include dispatch container numbers in calendar
This commit is contained in:
@@ -359,7 +359,7 @@ components:
|
||||
schemas:
|
||||
TripCalendarEntry:
|
||||
type: object
|
||||
required: [sourceType, dispatchNo, status, plannedDepartureAt, expectedDriverEndAt, stops, incompleteReasons]
|
||||
required: [sourceType, dispatchNo, status, plannedDepartureAt, expectedDriverEndAt, stops, containerNumbers, incompleteReasons]
|
||||
properties:
|
||||
sourceType: {type: string, enum: [DISPATCH]}
|
||||
dispatchNo: {type: string, description: 真实整车主单排车号,用于排车详情路由}
|
||||
@@ -375,6 +375,11 @@ components:
|
||||
departedAt: {type: string, format: date-time, nullable: true}
|
||||
completedAt: {type: string, format: date-time, nullable: true}
|
||||
stops: {type: array, items: {$ref: '#/components/schemas/Stop'}}
|
||||
containerNumbers:
|
||||
type: array
|
||||
description: 本车全部货物正式来源快照中的真实柜号,去空去重;多客户、多柜保留完整数组,无柜号为空数组,不推测或补造。
|
||||
items: {type: string}
|
||||
uniqueItems: true
|
||||
incompleteReasons:
|
||||
type: array
|
||||
items: {type: string, enum: [ORIGIN_WAREHOUSE_UNKNOWN, ORIGIN_COUNTRY_UNKNOWN, ORIGIN_TIMEZONE_UNKNOWN, ROUTE_INCOMPLETE]}
|
||||
|
||||
Reference in New Issue
Block a user