Skip to content

Commit aa2cbc9

Browse files
authored
Merge pull request #924 from Mavennet/AdvanceMonthlyManifest_update
monthlyAdvanceManifestupdate
2 parents ecf0528 + 918d87b commit aa2cbc9

File tree

2 files changed

+61
-4
lines changed

2 files changed

+61
-4
lines changed

docs/openapi/components/schemas/common/MonthlyAdvanceManifest.yml

+43-3
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,25 @@ properties:
4747
type: string
4848
title: Port Code
4949
description: The code of the port of arrival to which the product(s) were transferred. These codes are outlined in https://www.cbp.gov/sites/default/files/assets/documents/2020-Jan/ACE%20Appendix%20E%20Schedule%20D%20January%202020%20%281%29.pdf
50+
portOfArrival:
51+
title: Port Of Arrival
52+
$ref: ./Place.yml
53+
$linkedData:
54+
term: portOfArrival
55+
'@id': https://schema.org/Place
56+
portOfDestination:
57+
title: Port Of Destination
58+
$ref: ./Place.yml
59+
$linkedData:
60+
term: portOfDestination
61+
'@id': https://schema.org/Place
62+
transporter:
63+
title: Transporter
64+
description: The organization that carries out the transportation event
65+
$ref: ./Organization.yml
66+
$linkedData:
67+
term: transporter
68+
'@id': https://schema.org/agent
5069
deliveryLocation:
5170
type: string
5271
title: deliveryLocation
@@ -61,9 +80,13 @@ properties:
6180
term: sumOfScheduledDeliveries
6281
'@id': https://schema.org/QuantitativeValue
6382
numberOfBatches:
64-
type: string
83+
type: number
6584
title: Number of Batches
66-
description: Number of batches scheduled for the delivery location in one month
85+
description: Number of batches scheduled for the delivery location in one month
86+
countOfShippers:
87+
type: number
88+
title: Count of Shippers
89+
description: Number of shippers that shipped the commodity to a given destination.
6790

6891

6992
additionalProperties: false
@@ -78,6 +101,22 @@ example: |-
78101
"scheduledDeliveries": [
79102
{
80103
"portCode": "3901",
104+
"portOfArrival":
105+
{
106+
"type": ["Place"],
107+
"locationName": "Morgan",
108+
"usPortCode": "3319"
109+
},
110+
"portOfDestination":
111+
{
112+
"type": ["Place"],
113+
"locationName": "Pembina ND",
114+
"usPortCode": "3401"
115+
},
116+
"transporter": {
117+
"type": ["Organization"],
118+
"name": "Gas Transmission Northwest (GTN)"
119+
},
81120
"deliveryLocation": "Chicago",
82121
"sumOfScheduledDeliveries": [
83122
{
@@ -91,7 +130,8 @@ example: |-
91130
"value": "114294.96"
92131
}
93132
],
94-
"numberOfBatches": "1"
133+
"numberOfBatches": 1,
134+
"countOfShippers": 7
95135
}
96136
]
97137
}

docs/openapi/components/schemas/credentials/MonthlyAdvanceManifestCredential.yml

+18-1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,22 @@ example: |-
103103
"scheduledDeliveries": [
104104
{
105105
"portCode": "3901",
106+
"portOfArrival":
107+
{
108+
"type": ["Place"],
109+
"locationName": "Morgan",
110+
"usPortCode": "3319"
111+
},
112+
"portOfDestination":
113+
{
114+
"type": ["Place"],
115+
"locationName": "Pembina ND",
116+
"usPortCode": "3401"
117+
},
118+
"transporter": {
119+
"type": ["Organization"],
120+
"name": "Gas Transmission Northwest (GTN)"
121+
},
106122
"deliveryLocation": "Chicago",
107123
"sumOfScheduledDeliveries": [
108124
{
@@ -120,7 +136,8 @@ example: |-
120136
"value": "114294.96"
121137
}
122138
],
123-
"numberOfBatches": "1"
139+
"numberOfBatches": 1,
140+
"countOfShippers": 7
124141
}
125142
]
126143
}

0 commit comments

Comments
 (0)