DCSA Standards Public Reference / Standards / Releases / Arrival Notice / Archive / Arrival Notice v1.0.1
DCSA AN 1.0.1 - Conformance Scenarios
Contents
DCSA AN 1.0.1 - Conformance Scenarios
1. What is Conformance?
Conformance refers to the validation process used to assess whether a carrierâs implementation of the Arrival Notice API adheres to the expected technical and business requirements defined by DCSA.
The objective is to ensure interoperability across carriers and systems by demonstrating that APIs behave correctly in realistic, standards-based scenarios.
2. Conformance Scenarios
POST scenarios
These scenarios measure the conformance of arrival notice publishers who send out arrival notices to the POST endpoints of registered arrival notice subscribers.
-
POST Arrival Notice (BASIC)
- does not need to include charges or free time
-
POST Arrival Notice (FREIGHTED)
- must include charges
-
POST Arrival Notice (FREE_TIME)
- must include free time
GET scenarios
These scenarios measure the conformance of arrival notice publishers who implement the GET endpoint and send out arrival notices in response to GET requests from arrival notice subscribers.
-
Supply parameters (BASIC) + GET Arrival Notice
- does not need to include charges or free time
-
Supply parameters (FREIGHTED) + GET Arrival Notice
- must include charges
-
Supply parameters (FREE_TIME) + GET Arrival Notice
- must include free time
3. Conformance validations
Conformance reports contain the text of each relevant custom validation below, either with a â or with a đ« depending on whether the validation succeeded or failed.
-
Default validations (URL, response code, schema) are included.
-
Custom validations: user-defined rules that check specific business or data requirements on top of the default technical validations during conformance testing.
Custom validations must be identical for the GET and the POST scenarios.
Arrival Notices message validations
-
âAt least one Arrival Notice must be included in a message sent to the sandbox during conformance testingâ
-
âAt least one Arrival Notice must demonstrate the correct use of the âtransportDocumentReferenceâ attribute (not empty or blank)â
-
âAt least one Arrival Notice must demonstrate the correct use of the âcarrierCodeâ attribute (not empty or blank)â
-
âAt least one Arrival Notice must demonstrate the correct use of the âcarrierCodeListProviderâ attribute (âNMFTAâ or âSMDGâ)â
-
âAt least one Arrival Notice must demonstrate the correct use of the âcarrierContactInformationâ objectâ
-
âThe âcarrierContactInformationâ object within at least one Arrival Notice must demonstrate the correct use of the âphoneâ or âemailâ attribute (not empty or blank)â
-
âThe âcarrierContactInformationâ object within at least one Arrival Notice must demonstrate the correct use of the ânameâ attribute (not empty or blank)â
-
-
âAt least one Arrival Notice must demonstrate the correct use of the âdeliveryTypeAtDestinationâ attribute (âCYâ, âSDâ, or âCFSâ)â
-
âAt least one Arrival Notice must demonstrate the correct use of the âdocumentPartiesâ objectâ
-
âThe âdocumentPartiesâ object within at least one Arrival Notice must demonstrate the correct use of the âpartyFunctionâ attribute (âOSâ, âCNâ, âENDâ, âRWâ, âCGâ, âN1â, âN2â, âNIâ, âSCOâ, âDDRâ, âDDSâ, âCOWâ, âCOXâ, âCSâ, âMFâ, or âWHâ)â
-
âThe âdocumentPartiesâ object within at least one Arrival Notice must demonstrate the correct use of the âpartyNameâ attribute (not empty or blank)â
-
âAt least one âdocumentParties.partyContactDetailsâ object within at least one Arrival Notice must demonstrate the correct use of the âphoneâ or âemailâ attribute (not empty or blank)â
-
âAt least one âdocumentParties.partyContactDetailsâ object within at least one Arrival Notice must demonstrate the correct use of the ânameâ attribute (not empty or blank)â
-
-
âThe âdocumentPartiesâ object within at least one Arrival Notice must demonstrate the correct use of the âaddressâ objectâ
- âAt least one âdocumentParties.addressâ object within at least one Arrival Notice must demonstrate the correct use of at least one attribute (not empty or blank)â
-
-
âAt least one Arrival Notice must demonstrate the correct use of the âtransportâ objectâ
-
âThe âtransportâ object within at least one Arrival Notice must demonstrate the correct use of the âportOfDischargeArrivalDate.valueâ or âplaceOfDeliveryArrivalDate.valueâ attributeâ
-
âThe âtransportâ object within at least one Arrival Notice must demonstrate the correct use of the âportOfDischargeââ objectâ
-
âThe âtransport.portOfDischargeâ object within at least one Arrival Notice must demonstrate the correct use of the âUNLocationCodeâ attribute, âfacilityâ object or âaddressâ object (not empty or blank)â
-
(if included) âThe âtransport.portOfDischarge.facilityâ object within at least one Arrival Notice must demonstrate the correct use of the âfacilityCodeâ attribute (not empty or blank) and the âfacilityCodeListProviderâ attribute (âSMDGâ or âBICâ), or the âfacilityNameâ (not empty or blank)â
-
(if included) âThe âtransport.portOfDischarge.addressâ object within at least one Arrival Notice must demonstrate the correct use of at least one attribute (not empty or blank)â
-
-
-
âThe âtransport.legsâ object within at least one Arrival Notice must have at least one elementâ
-
âAt least one âtransport.legsâ list item within at least one Arrival Notice must demonstrate the correct use of the âvesselVoyageââ objectâ
-
âAt least one âtransport.legs.vesselVoyageâ object within at least one Arrival Notice must demonstrate the correct use of the âvesselNameâ attribute (not empty or blank)â
-
âAt least one âtransport.legs.vesselVoyageâ object within at least one Arrival Notice must demonstrate the correct use of the âcarrierImportVoyageNumberâ attribute (not empty or blank)â
-
-
-
-
âAt least one Arrival Notice must demonstrate the correct use of a âutilizedTransportEquipmentsâ list with at least one itemâ
-
âAt least one âutilizedTransportEquipmentsâ list item within at least one Arrival Notice must demonstrate the correct use of the âequipmentââ objectâ
-
âAt least one âutilizedTransportEquipments.equipmentâ object within at least one Arrival Notice must demonstrate the correct use of the âequipmentReferenceââ attribute (not empty or blank)â
-
âAt least one âutilizedTransportEquipments.equipmentâ object within at least one Arrival Notice must demonstrate the correct use of the âISOEquipmentCodeââ attribute (not empty or blank)â
-
-
âAt least one âutilizedTransportEquipmentsâ list item within at least one Arrival Notice must demonstrate the correct use of a âsealsââ list with at least one itemâ
- âAt least one âutilizedTransportEquipments.equipment.sealsâ list item within at least one Arrival Notice must demonstrate the correct use of the ânumberâ attribute (not empty or blank)â
-
-
âAt least one Arrival Notice must demonstrate the correct use of a âconsignmentItemsâ list with at least one itemâ
-
âAt least one âconsignmentItemsâ list item within at least one Arrival Notice must demonstrate the correct use of the âdescriptionOfGoodsââ attribute (not empty or blank)â
-
âAt least one âconsignmentItemsâ list item within at least one Arrival Notice must demonstrate the correct use of a âcargoItemsââ list with at least one itemâ
-
âAt least one âconsignmentItems.cargoItemsâ list item within at least one Arrival Notice must demonstrate the correct use of the âequipmentReferenceââ attribute (not empty or blank)â
-
âAt least one âconsignmentItems.cargoItemsâ list item within at least one Arrival Notice must demonstrate the correct use of the âcargoGrossWeightââ objectâ
-
âAt least one âconsignmentItems.cargoItems.cargoGrossWeightâ object within at least one Arrival Notice must demonstrate the correct use of the âvalueââ attribute (positive number)â
-
âAt least one âconsignmentItems.cargoItems.cargoGrossWeightâ object within at least one Arrival Notice must demonstrate the correct use of the âunitââ attribute (âKGMâ, âLBRâ, âGRMâ, or âONZâ)â
-
-
âAt least one âconsignmentItems.cargoItemsâ list item within at least one Arrival Notice must demonstrate the correct use of the âouterPackagingââ objectâ
-
âAt least one âconsignmentItems.cargoItems.outerPackagingâ object within at least one Arrival Notice must demonstrate the correct use of the âpackageCodeââ or âIMOPackagingCodeââ or âdescriptionââ attribute (not empty or blank)â
-
âAt least one âconsignmentItems.cargoItems.outerPackagingâ object within at least one Arrival Notice must demonstrate the correct use of the ânumberOfPackagesââ attribute (positive number)â
-
-
-
-
(if FREE_TIME scenario) âAt least one Arrival Notice must demonstrate the correct use of a âfreeTimesâ list with at least one itemâ
-
âAt least one âfreeTimesâ list item within at least one Arrival Notice must demonstrate the correct use of the âtypeCodesââ list with at least one value (âDEMâ, âDETâ, or âSTOâ)â
-
âAt least one âfreeTimesâ list item within at least one Arrival Notice must demonstrate the correct use of the âISOEquipmentCodesââ list with at least one value (not empty or blank)â
-
âAt least one âfreeTimesâ list item within at least one Arrival Notice must demonstrate the correct use of the âequipmentReferencesâ list with at least one value (not empty or blank)â
-
âAt least one âfreeTimesâ list item within at least one Arrival Notice must demonstrate the correct use of the âdurationââ attribute (positive number)â
-
âAt least one âfreeTimesâ list item within at least one Arrival Notice must demonstrate the correct use of the âtimeUnitââ attribute (âCDâ, âWDâ, or âHRâ)â
-
-
(if FREIGHTED scenario) âAt least one Arrival Notice must demonstrate the correct use of a âchargesâ list with at least one itemâ
-
âAt least one âchargesâ list item within at least one Arrival Notice must demonstrate the correct use of the âchargeNameââ attribute (not empty or blank)â
-
âAt least one âchargesâ list item within at least one Arrival Notice must demonstrate the correct use of the âcurrencyAmountâ attribute (positive number)â
-
âAt least one âchargesâ list item within at least one Arrival Notice must demonstrate the correct use of the âcurrencyCodeâ attribute (not empty or blank)â
-
âAt least one âchargesâ list item within at least one Arrival Notice must demonstrate the correct use of the âpaymentTermCodeâ attribute (âPREâ, or âCOLâ)â
-
âAt least one âchargesâ list item within at least one Arrival Notice must demonstrate the correct use of the âunitPriceâ attribute (positive number)â
-
âAt least one âchargesâ list item within at least one Arrival Notice must demonstrate the correct use of the âquantityâ attribute (positive number)â
-
Arrival Notice Notifications message validations
No custom validations are needed for Arrival Notice Notifications messages.