@makakwastaken/ts-edifact
Version:
Edifact parser library
1,968 lines (1,967 loc) • 58.3 kB
JSON
{
"ALI": {
"requires": 0,
"elements": [
{
"id": "3239",
"name": "countryOfOriginNameCode",
"requires": 0,
"components": [
{ "id": "3239", "name": "countryOfOriginNameCode", "format": "an..3" }
]
},
{
"id": "9213",
"name": "dutyRegimeTypeCode",
"requires": 0,
"components": [
{ "id": "9213", "name": "dutyRegimeTypeCode", "format": "an..3" }
]
},
{
"id": "4183",
"name": "specialConditionCode",
"requires": 0,
"components": [
{ "id": "4183", "name": "specialConditionCode", "format": "an..3" }
]
}
]
},
"BGM": {
"requires": 0,
"elements": [
{
"id": "C002",
"name": "documentMessageName",
"requires": 0,
"components": [
{ "id": "1001", "name": "documentNameCode", "format": "an..3" },
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{ "id": "1000", "name": "documentName", "format": "an..35" }
]
},
{
"id": "C106",
"name": "documentMessageIdentification",
"requires": 0,
"components": [
{ "id": "1004", "name": "documentIdentifier", "format": "an..35" },
{ "id": "1056", "name": "versionIdentifier", "format": "an..9" },
{ "id": "1060", "name": "revisionIdentifier", "format": "an..6" }
]
},
{
"id": "1225",
"name": "messageFunctionCode",
"requires": 0,
"components": [
{ "id": "1225", "name": "messageFunctionCode", "format": "an..3" }
]
},
{
"id": "4343",
"name": "responseTypeCode",
"requires": 0,
"components": [
{ "id": "4343", "name": "responseTypeCode", "format": "an..3" }
]
}
]
},
"CNT": {
"requires": 1,
"elements": [
{
"id": "C270",
"name": "control",
"requires": 2,
"components": [
{
"id": "6069",
"name": "controlTotalTypeCodeQualifier",
"format": "an..3"
},
{ "id": "6066", "name": "controlTotalValue", "format": "n..18" },
{ "id": "6411", "name": "measurementUnitCode", "format": "an..3" }
]
}
]
},
"COD": {
"requires": 0,
"elements": [
{
"id": "C823",
"name": "typeOfUnitComponent",
"requires": 0,
"components": [
{
"id": "7505",
"name": "unitOrComponentTypeDescriptionCode",
"format": "an..3"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{
"id": "7504",
"name": "unitOrComponentTypeDescription",
"format": "an..35"
}
]
},
{
"id": "C824",
"name": "componentMaterial",
"requires": 0,
"components": [
{
"id": "7507",
"name": "componentMaterialDescriptionCode",
"format": "an..3"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{
"id": "7506",
"name": "componentMaterialDescription",
"format": "an..35"
}
]
}
]
},
"COM": {
"requires": 1,
"elements": [
{
"id": "C076",
"name": "communicationContact",
"requires": 2,
"components": [
{
"id": "3148",
"name": "communicationAddressIdentifier",
"format": "an..512"
},
{
"id": "3155",
"name": "communicationAddressCodeQualifier",
"format": "an..3"
}
]
}
]
},
"CPS": {
"requires": 1,
"elements": [
{
"id": "7164",
"name": "hierarchicalStructureLevelIdentifier",
"requires": 1,
"components": [
{
"id": "7164",
"name": "hierarchicalStructureLevelIdentifier",
"format": "an..35"
}
]
},
{
"id": "7166",
"name": "hierarchicalStructureParentIdentifier",
"requires": 0,
"components": [
{
"id": "7166",
"name": "hierarchicalStructureParentIdentifier",
"format": "an..35"
}
]
},
{
"id": "7075",
"name": "packagingLevelCode",
"requires": 0,
"components": [
{ "id": "7075", "name": "packagingLevelCode", "format": "an..3" }
]
}
]
},
"CTA": {
"requires": 0,
"elements": [
{
"id": "3139",
"name": "contactFunctionCode",
"requires": 0,
"components": [
{ "id": "3139", "name": "contactFunctionCode", "format": "an..3" }
]
},
{
"id": "C056",
"name": "departmentOrEmployeeDetails",
"requires": 0,
"components": [
{
"id": "3413",
"name": "departmentOrEmployeeNameCode",
"format": "an..17"
},
{
"id": "3412",
"name": "departmentOrEmployeeName",
"format": "an..35"
}
]
}
]
},
"CUX": {
"requires": 0,
"elements": [
{
"id": "C504",
"name": "currencyDetails",
"requires": 1,
"components": [
{
"id": "6347",
"name": "currencyUsageCodeQualifier",
"format": "an..3"
},
{
"id": "6345",
"name": "currencyIdentificationCode",
"format": "an..3"
},
{
"id": "6343",
"name": "currencyTypeCodeQualifier",
"format": "an..3"
},
{ "id": "6348", "name": "currencyRateValue", "format": "n..4" }
]
},
{
"id": "C504",
"name": "currencyDetails",
"requires": 1,
"components": [
{
"id": "6347",
"name": "currencyUsageCodeQualifier",
"format": "an..3"
},
{
"id": "6345",
"name": "currencyIdentificationCode",
"format": "an..3"
},
{
"id": "6343",
"name": "currencyTypeCodeQualifier",
"format": "an..3"
},
{ "id": "6348", "name": "currencyRateValue", "format": "n..4" }
]
},
{
"id": "5402",
"name": "currencyExchangeRate",
"requires": 0,
"components": [
{ "id": "5402", "name": "currencyExchangeRate", "format": "n..12" }
]
},
{
"id": "6341",
"name": "exchangeRateCurrencyMarketIdentifier",
"requires": 0,
"components": [
{
"id": "6341",
"name": "exchangeRateCurrencyMarketIdentifier",
"format": "an..3"
}
]
}
]
},
"DGS": {
"requires": 0,
"elements": [
{
"id": "8273",
"name": "dangerousGoodsRegulationsCode",
"requires": 0,
"components": [
{
"id": "8273",
"name": "dangerousGoodsRegulationsCode",
"format": "an..3"
}
]
},
{
"id": "C205",
"name": "hazardCode",
"requires": 1,
"components": [
{
"id": "8351",
"name": "hazardIdentificationCode",
"format": "an..7"
},
{
"id": "8078",
"name": "additionalHazardClassificationIdentifier",
"format": "an..7"
},
{
"id": "8092",
"name": "hazardCodeVersionIdentifier",
"format": "an..10"
}
]
},
{
"id": "C234",
"name": "undgInformation",
"requires": 0,
"components": [
{
"id": "7088",
"name": "dangerousGoodsFlashpointValue",
"format": "an..8"
}
]
},
{
"id": "C223",
"name": "dangerousGoodsShipmentFlashpoint",
"requires": 0,
"components": [
{ "id": "7106", "name": "shipmentFlashpointValue", "format": "n3" },
{ "id": "6411", "name": "measurementUnitCode", "format": "an..3" }
]
},
{
"id": "8339",
"name": "packagingDangerLevelCode",
"requires": 0,
"components": [
{
"id": "8339",
"name": "packagingDangerLevelCode",
"format": "an..3"
}
]
},
{
"id": "8364",
"name": "emergencyProcedureForShipsIdentifier",
"requires": 0,
"components": [
{
"id": "8364",
"name": "emergencyProcedureForShipsIdentifier",
"format": "an..6"
}
]
},
{
"id": "8410",
"name": "hazardMedicalFirstAidGuideIdentifier",
"requires": 0,
"components": [
{
"id": "8410",
"name": "hazardMedicalFirstAidGuideIdentifier",
"format": "an..4"
}
]
},
{
"id": "8126",
"name": "transportEmergencyCardIdentifier",
"requires": 0,
"components": [
{
"id": "8126",
"name": "transportEmergencyCardIdentifier",
"format": "an..10"
}
]
},
{
"id": "C235",
"name": "hazardIdentificationPlacardDetails",
"requires": 0,
"components": [
{
"id": "8158",
"name": "orangeHazardPlacardUpperPartIdentifier",
"format": "an..4"
},
{
"id": "8186",
"name": "orangeHazardPlacardLowerPartIdentifier",
"format": "an4"
}
]
},
{
"id": "C236",
"name": "dangerousGoodsLabel",
"requires": 0,
"components": [
{
"id": "8246",
"name": "dangerousGoodsMarkingIdentifier",
"format": "an..4"
},
{
"id": "8246",
"name": "dangerousGoodsMarkingIdentifier2",
"format": "an..4"
},
{
"id": "8246",
"name": "dangerousGoodsMarkingIdentifier3",
"format": "an..4"
}
]
},
{
"id": "8255",
"name": "packingInstructionTypeCode",
"requires": 0,
"components": [
{
"id": "8255",
"name": "packingInstructionTypeCode",
"format": "an..3"
}
]
},
{
"id": "8325",
"name": "hazardousMeansOfTransportCategoryCode",
"requires": 0,
"components": [
{
"id": "8325",
"name": "hazardousMeansOfTransportCategoryCode",
"format": "an..3"
}
]
},
{
"id": "8211",
"name": "hazardousCargoTransportAuthorisationCode",
"requires": 0,
"components": [
{
"id": "8211",
"name": "hazardousCargoTransportAuthorisationCode",
"format": "an..3"
}
]
}
]
},
"DLM": {
"requires": 0,
"elements": [
{
"id": "4455",
"name": "backOrderArrangementTypeCode",
"requires": 0,
"components": [
{
"id": "4455",
"name": "backOrderArrangementTypeCode",
"format": "an..3"
}
]
},
{
"id": "C522",
"name": "instruction",
"requires": 1,
"components": [
{
"id": "4403",
"name": "instructionTypeCodeQualifier",
"format": "an..3"
},
{
"id": "4401",
"name": "instructionDescriptionCode",
"format": "an..3"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{ "id": "4400", "name": "instructionDescription", "format": "an..35" }
]
},
{
"id": "C214",
"name": "specialServicesIdentification",
"requires": 0,
"components": [
{
"id": "7161",
"name": "specialServiceDescriptionCode",
"format": "an..3"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{
"id": "7160",
"name": "specialServiceDescription",
"format": "an..35"
},
{
"id": "7160",
"name": "specialServiceDescription2",
"format": "an..35"
}
]
},
{
"id": "4457",
"name": "substitutionConditionCode",
"requires": 0,
"components": [
{
"id": "4457",
"name": "substitutionConditionCode",
"format": "an..3"
}
]
}
]
},
"DTM": {
"requires": 1,
"elements": [
{
"id": "C507",
"name": "dateTimePeriod",
"requires": 1,
"components": [
{
"id": "2005",
"name": "dateOrTimeOrPeriodFunctionCodeQualifier",
"format": "an..3"
},
{
"id": "2380",
"name": "dateOrTimeOrPeriodValue",
"format": "an..35"
},
{
"id": "2379",
"name": "dateOrTimeOrPeriodFormatCode",
"format": "an..3"
}
]
}
]
},
"EQA": {
"requires": 1,
"elements": [
{
"id": "8053",
"name": "equipmentTypeCodeQualifier",
"requires": 1,
"components": [
{
"id": "8053",
"name": "equipmentTypeCodeQualifier",
"format": "an..3"
}
]
},
{
"id": "C237",
"name": "equipmentIdentification",
"requires": 0,
"components": [
{ "id": "8260", "name": "equipmentIdentifier", "format": "an..17" },
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{ "id": "3207", "name": "countryNameCode", "format": "an..3" }
]
}
]
},
"EQD": {
"requires": 1,
"elements": [
{
"id": "8053",
"name": "equipmentTypeCodeQualifier",
"requires": 1,
"components": [
{
"id": "8053",
"name": "equipmentTypeCodeQualifier",
"format": "an..3"
}
]
},
{
"id": "C237",
"name": "equipmentIdentification",
"requires": 0,
"components": [
{ "id": "8260", "name": "equipmentIdentifier", "format": "an..17" },
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{ "id": "3207", "name": "countryNameCode", "format": "an..3" }
]
},
{
"id": "C224",
"name": "equipmentSizeAndType",
"requires": 0,
"components": [
{
"id": "8155",
"name": "equipmentSizeAndTypeDescriptionCode",
"format": "an..10"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{
"id": "8154",
"name": "equipmentSizeAndTypeDescription",
"format": "an..35"
}
]
},
{
"id": "8077",
"name": "equipmentSupplierCode",
"requires": 0,
"components": [
{ "id": "8077", "name": "equipmentSupplierCode", "format": "an..3" }
]
},
{
"id": "8249",
"name": "equipmentStatusCode",
"requires": 0,
"components": [
{ "id": "8249", "name": "equipmentStatusCode", "format": "an..3" }
]
},
{
"id": "8169",
"name": "fullOrEmptyIndicatorCode",
"requires": 0,
"components": [
{
"id": "8169",
"name": "fullOrEmptyIndicatorCode",
"format": "an..3"
}
]
}
]
},
"FTX": {
"requires": 1,
"elements": [
{
"id": "4451",
"name": "textSubjectCodeQualifier",
"requires": 1,
"components": [
{
"id": "4451",
"name": "textSubjectCodeQualifier",
"format": "an..3"
}
]
},
{
"id": "4453",
"name": "freeTextFunctionCode",
"requires": 0,
"components": [
{ "id": "4453", "name": "freeTextFunctionCode", "format": "an..3" }
]
},
{
"id": "C107",
"name": "textReference",
"requires": 1,
"components": [
{ "id": "4441", "name": "freeTextValueCode", "format": "an..17" },
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
}
]
},
{
"id": "C108",
"name": "textLiteral",
"requires": 1,
"components": [
{ "id": "4440", "name": "freeTextValue", "format": "an..512" },
{ "id": "4440", "name": "freeTextValue2", "format": "an..512" },
{ "id": "4440", "name": "freeTextValue3", "format": "an..512" },
{ "id": "4440", "name": "freeTextValue4", "format": "an..512" },
{ "id": "4440", "name": "freeTextValue5", "format": "an..512" }
]
},
{
"id": "3453",
"name": "languageNameCode",
"requires": 0,
"components": [
{ "id": "3453", "name": "languageNameCode", "format": "an..3" }
]
},
{
"id": "4447",
"name": "freeTextFormatCode",
"requires": 0,
"components": [
{ "id": "4447", "name": "freeTextFormatCode", "format": "an..3" }
]
}
]
},
"GIN": {
"requires": 2,
"elements": [
{
"id": "7405",
"name": "objectIdentificationCodeQualifier",
"requires": 1,
"components": [
{
"id": "7405",
"name": "objectIdentificationCodeQualifier",
"format": "an..3"
}
]
},
{
"id": "C208",
"name": "identityNumberRange",
"requires": 1,
"components": [
{ "id": "7402", "name": "objectIdentifier", "format": "an..35" },
{ "id": "7402", "name": "objectIdentifier2", "format": "an..35" }
]
},
{
"id": "C208",
"name": "identityNumberRange",
"requires": 1,
"components": [
{ "id": "7402", "name": "objectIdentifier", "format": "an..35" },
{ "id": "7402", "name": "objectIdentifier2", "format": "an..35" }
]
},
{
"id": "C208",
"name": "identityNumberRange",
"requires": 1,
"components": [
{ "id": "7402", "name": "objectIdentifier", "format": "an..35" },
{ "id": "7402", "name": "objectIdentifier2", "format": "an..35" }
]
},
{
"id": "C208",
"name": "identityNumberRange",
"requires": 1,
"components": [
{ "id": "7402", "name": "objectIdentifier", "format": "an..35" },
{ "id": "7402", "name": "objectIdentifier2", "format": "an..35" }
]
},
{
"id": "C208",
"name": "identityNumberRange",
"requires": 1,
"components": [
{ "id": "7402", "name": "objectIdentifier", "format": "an..35" },
{ "id": "7402", "name": "objectIdentifier2", "format": "an..35" }
]
}
]
},
"GIR": {
"requires": 2,
"elements": [
{
"id": "7297",
"name": "setTypeCodeQualifier",
"requires": 1,
"components": [
{ "id": "7297", "name": "setTypeCodeQualifier", "format": "an..3" }
]
},
{
"id": "C206",
"name": "identificationNumber",
"requires": 1,
"components": [
{ "id": "7402", "name": "objectIdentifier", "format": "an..35" },
{
"id": "7405",
"name": "objectIdentificationCodeQualifier",
"format": "an..3"
},
{ "id": "4405", "name": "statusDescriptionCode", "format": "an..3" }
]
},
{
"id": "C206",
"name": "identificationNumber",
"requires": 1,
"components": [
{ "id": "7402", "name": "objectIdentifier", "format": "an..35" },
{
"id": "7405",
"name": "objectIdentificationCodeQualifier",
"format": "an..3"
},
{ "id": "4405", "name": "statusDescriptionCode", "format": "an..3" }
]
},
{
"id": "C206",
"name": "identificationNumber",
"requires": 1,
"components": [
{ "id": "7402", "name": "objectIdentifier", "format": "an..35" },
{
"id": "7405",
"name": "objectIdentificationCodeQualifier",
"format": "an..3"
},
{ "id": "4405", "name": "statusDescriptionCode", "format": "an..3" }
]
},
{
"id": "C206",
"name": "identificationNumber",
"requires": 1,
"components": [
{ "id": "7402", "name": "objectIdentifier", "format": "an..35" },
{
"id": "7405",
"name": "objectIdentificationCodeQualifier",
"format": "an..3"
},
{ "id": "4405", "name": "statusDescriptionCode", "format": "an..3" }
]
},
{
"id": "C206",
"name": "identificationNumber",
"requires": 1,
"components": [
{ "id": "7402", "name": "objectIdentifier", "format": "an..35" },
{
"id": "7405",
"name": "objectIdentificationCodeQualifier",
"format": "an..3"
},
{ "id": "4405", "name": "statusDescriptionCode", "format": "an..3" }
]
}
]
},
"HAN": {
"requires": 0,
"elements": [
{
"id": "C524",
"name": "handlingInstructions",
"requires": 0,
"components": [
{
"id": "4079",
"name": "handlingInstructionDescriptionCode",
"format": "an..3"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{
"id": "4078",
"name": "handlingInstructionDescription",
"format": "an..70"
}
]
},
{
"id": "C218",
"name": "hazardousMaterial",
"requires": 0,
"components": [
{
"id": "7419",
"name": "hazardousMaterialCategoryNameCode",
"format": "an..7"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{
"id": "7418",
"name": "hazardousMaterialCategoryName",
"format": "an..35"
}
]
}
]
},
"IMD": {
"requires": 0,
"elements": [
{
"id": "7077",
"name": "descriptionFormatCode",
"requires": 0,
"components": [
{ "id": "7077", "name": "descriptionFormatCode", "format": "an..3" }
]
},
{
"id": "C272",
"name": "itemCharacteristic",
"requires": 0,
"components": [
{ "id": "7081", "name": "itemCharacteristicCode", "format": "an..3" },
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
}
]
},
{
"id": "C273",
"name": "itemDescription",
"requires": 0,
"components": [
{ "id": "7009", "name": "itemDescriptionCode", "format": "an..17" },
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{ "id": "7008", "name": "itemDescription", "format": "an..256" },
{ "id": "7008", "name": "itemDescription2", "format": "an..256" },
{ "id": "3453", "name": "languageNameCode", "format": "an..3" }
]
},
{
"id": "7383",
"name": "surfaceOrLayerCode",
"requires": 0,
"components": [
{ "id": "7383", "name": "surfaceOrLayerCode", "format": "an..3" }
]
}
]
},
"LIN": {
"requires": 0,
"elements": [
{
"id": "1082",
"name": "lineItemIdentifier",
"requires": 0,
"components": [
{ "id": "1082", "name": "lineItemIdentifier", "format": "an..6" }
]
},
{
"id": "1229",
"name": "actionRequestNotificationDescriptionCode",
"requires": 0,
"components": [
{
"id": "1229",
"name": "actionRequestNotificationDescriptionCode",
"format": "an..3"
}
]
},
{
"id": "C212",
"name": "itemNumberIdentification",
"requires": 0,
"components": [
{ "id": "7140", "name": "itemIdentifier", "format": "an..35" },
{
"id": "7143",
"name": "itemTypeIdentificationCode",
"format": "an..3"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
}
]
},
{
"id": "C829",
"name": "subLineInformation",
"requires": 0,
"components": [
{ "id": "5495", "name": "subLineIndicatorCode", "format": "an..3" },
{ "id": "1082", "name": "lineItemIdentifier", "format": "an..6" }
]
},
{
"id": "1222",
"name": "configurationLevelNumber",
"requires": 0,
"components": [
{ "id": "1222", "name": "configurationLevelNumber", "format": "n..2" }
]
},
{
"id": "7083",
"name": "configurationOperationCode",
"requires": 0,
"components": [
{
"id": "7083",
"name": "configurationOperationCode",
"format": "an..3"
}
]
}
]
},
"LOC": {
"requires": 1,
"elements": [
{
"id": "3227",
"name": "locationFunctionCodeQualifier",
"requires": 1,
"components": [
{
"id": "3227",
"name": "locationFunctionCodeQualifier",
"format": "an..3"
}
]
},
{
"id": "C517",
"name": "locationIdentification",
"requires": 0,
"components": [
{ "id": "3225", "name": "locationNameCode", "format": "an..25" },
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{ "id": "3224", "name": "locationName", "format": "an..256" }
]
},
{
"id": "C519",
"name": "relatedLocationOneIdentification",
"requires": 0,
"components": [
{
"id": "3223",
"name": "firstRelatedLocationNameCode",
"format": "an..25"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{
"id": "3222",
"name": "firstRelatedLocationName",
"format": "an..70"
}
]
},
{
"id": "C553",
"name": "relatedLocationTwoIdentification",
"requires": 0,
"components": [
{
"id": "3233",
"name": "secondRelatedLocationNameCode",
"format": "an..25"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{
"id": "3232",
"name": "secondRelatedLocationName",
"format": "an..70"
}
]
},
{
"id": "5479",
"name": "relationCode",
"requires": 0,
"components": [
{ "id": "5479", "name": "relationCode", "format": "an..3" }
]
}
]
},
"MEA": {
"requires": 1,
"elements": [
{
"id": "6311",
"name": "measurementPurposeCodeQualifier",
"requires": 1,
"components": [
{
"id": "6311",
"name": "measurementPurposeCodeQualifier",
"format": "an..3"
}
]
},
{
"id": "C502",
"name": "measurementDetails",
"requires": 0,
"components": [
{ "id": "6313", "name": "measuredAttributeCode", "format": "an..3" },
{
"id": "6321",
"name": "measurementSignificanceCode",
"format": "an..3"
},
{
"id": "6155",
"name": "nonDiscreteMeasurementNameCode",
"format": "an..17"
},
{
"id": "6154",
"name": "nonDiscreteMeasurementName",
"format": "an..70"
}
]
},
{
"id": "C174",
"name": "valueRange",
"requires": 1,
"components": [
{ "id": "6411", "name": "measurementUnitCode", "format": "an..3" },
{ "id": "6314", "name": "measurementValue", "format": "an..18" },
{ "id": "6162", "name": "rangeMinimumValue", "format": "n..18" },
{ "id": "6152", "name": "rangeMaximumValue", "format": "n..18" },
{
"id": "6432",
"name": "significantDigitsQuantity",
"format": "n..2"
}
]
},
{
"id": "7383",
"name": "surfaceOrLayerCode",
"requires": 0,
"components": [
{ "id": "7383", "name": "surfaceOrLayerCode", "format": "an..3" }
]
}
]
},
"MOA": {
"requires": 1,
"elements": [
{
"id": "C516",
"name": "monetaryAmount",
"requires": 1,
"components": [
{
"id": "5025",
"name": "monetaryAmountTypeCodeQualifier",
"format": "an..3"
},
{ "id": "5004", "name": "monetaryAmount", "format": "n..35" },
{
"id": "6345",
"name": "currencyIdentificationCode",
"format": "an..3"
},
{
"id": "6343",
"name": "currencyTypeCodeQualifier",
"format": "an..3"
},
{ "id": "4405", "name": "statusDescriptionCode", "format": "an..3" }
]
}
]
},
"NAD": {
"requires": 1,
"elements": [
{
"id": "3035",
"name": "partyFunctionCodeQualifier",
"requires": 1,
"components": [
{
"id": "3035",
"name": "partyFunctionCodeQualifier",
"format": "an..3"
}
]
},
{
"id": "C082",
"name": "partyIdentificationDetails",
"requires": 1,
"components": [
{ "id": "3039", "name": "partyIdentifier", "format": "an..35" },
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
}
]
},
{
"id": "C058",
"name": "nameAndAddress",
"requires": 1,
"components": [
{
"id": "3124",
"name": "nameAndAddressDescription",
"format": "an..35"
},
{
"id": "3124",
"name": "nameAndAddressDescription2",
"format": "an..35"
},
{
"id": "3124",
"name": "nameAndAddressDescription3",
"format": "an..35"
},
{
"id": "3124",
"name": "nameAndAddressDescription4",
"format": "an..35"
},
{
"id": "3124",
"name": "nameAndAddressDescription5",
"format": "an..35"
}
]
},
{
"id": "C080",
"name": "partyName",
"requires": 1,
"components": [
{ "id": "3036", "name": "partyName", "format": "an..35" },
{ "id": "3036", "name": "partyName2", "format": "an..35" },
{ "id": "3036", "name": "partyName3", "format": "an..35" },
{ "id": "3036", "name": "partyName4", "format": "an..35" },
{ "id": "3036", "name": "partyName5", "format": "an..35" },
{ "id": "3045", "name": "partyNameFormatCode", "format": "an..3" }
]
},
{
"id": "C059",
"name": "street",
"requires": 1,
"components": [
{
"id": "3042",
"name": "streetAndNumberOrPostOfficeBoxIdentifier",
"format": "an..35"
},
{
"id": "3042",
"name": "streetAndNumberOrPostOfficeBoxIdentifier2",
"format": "an..35"
},
{
"id": "3042",
"name": "streetAndNumberOrPostOfficeBoxIdentifier3",
"format": "an..35"
},
{
"id": "3042",
"name": "streetAndNumberOrPostOfficeBoxIdentifier4",
"format": "an..35"
}
]
},
{
"id": "3164",
"name": "cityName",
"requires": 0,
"components": [{ "id": "3164", "name": "cityName", "format": "an..35" }]
},
{
"id": "C819",
"name": "countrySubEntityDetails",
"requires": 0,
"components": [
{
"id": "3229",
"name": "countrySubEntityNameCode",
"format": "an..9"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{ "id": "3228", "name": "countrySubEntityName", "format": "an..70" }
]
},
{
"id": "3251",
"name": "postalIdentificationCode",
"requires": 0,
"components": [
{
"id": "3251",
"name": "postalIdentificationCode",
"format": "an..17"
}
]
},
{
"id": "3207",
"name": "countryNameCode",
"requires": 0,
"components": [
{ "id": "3207", "name": "countryNameCode", "format": "an..3" }
]
}
]
},
"PAC": {
"requires": 0,
"elements": [
{
"id": "7224",
"name": "packageQuantity",
"requires": 0,
"components": [
{ "id": "7224", "name": "packageQuantity", "format": "n..8" }
]
},
{
"id": "C531",
"name": "packagingDetails",
"requires": 0,
"components": [
{ "id": "7075", "name": "packagingLevelCode", "format": "an..3" },
{
"id": "7233",
"name": "packagingRelatedDescriptionCode",
"format": "an..3"
},
{
"id": "7073",
"name": "packagingTermsAndConditionsCode",
"format": "an..3"
}
]
},
{
"id": "C202",
"name": "packageType",
"requires": 0,
"components": [
{
"id": "7065",
"name": "packageTypeDescriptionCode",
"format": "an..17"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{ "id": "7064", "name": "typeOfPackages", "format": "an..35" }
]
},
{
"id": "C402",
"name": "packageTypeIdentification",
"requires": 2,
"components": [
{ "id": "7077", "name": "descriptionFormatCode", "format": "an..3" },
{ "id": "7064", "name": "typeOfPackages", "format": "an..35" },
{
"id": "7143",
"name": "itemTypeIdentificationCode",
"format": "an..3"
},
{ "id": "7064", "name": "typeOfPackages2", "format": "an..35" },
{
"id": "7143",
"name": "itemTypeIdentificationCode2",
"format": "an..3"
}
]
},
{
"id": "C532",
"name": "returnablePackageDetails",
"requires": 0,
"components": [
{
"id": "8395",
"name": "returnablePackageFreightPaymentResponsibilityCode",
"format": "an..3"
},
{
"id": "8393",
"name": "returnablePackageLoadContentsCode",
"format": "an..3"
}
]
}
]
},
"PCD": {
"requires": 1,
"elements": [
{
"id": "C501",
"name": "percentageDetails",
"requires": 1,
"components": [
{
"id": "5245",
"name": "percentageTypeCodeQualifier",
"format": "an..3"
},
{ "id": "5482", "name": "percentage", "format": "n..10" },
{
"id": "5249",
"name": "percentageBasisIdentificationCode",
"format": "an..3"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
}
]
},
{
"id": "4405",
"name": "statusDescriptionCode",
"requires": 0,
"components": [
{ "id": "4405", "name": "statusDescriptionCode", "format": "an..3" }
]
}
]
},
"PCI": {
"requires": 0,
"elements": [
{
"id": "4233",
"name": "markingInstructionsCode",
"requires": 0,
"components": [
{ "id": "4233", "name": "markingInstructionsCode", "format": "an..3" }
]
},
{
"id": "C210",
"name": "marksLabels",
"requires": 1,
"components": [
{
"id": "7102",
"name": "shippingMarksDescription",
"format": "an..35"
},
{
"id": "7102",
"name": "shippingMarksDescription2",
"format": "an..35"
},
{
"id": "7102",
"name": "shippingMarksDescription3",
"format": "an..35"
},
{
"id": "7102",
"name": "shippingMarksDescription4",
"format": "an..35"
},
{
"id": "7102",
"name": "shippingMarksDescription5",
"format": "an..35"
},
{
"id": "7102",
"name": "shippingMarksDescription6",
"format": "an..35"
},
{
"id": "7102",
"name": "shippingMarksDescription7",
"format": "an..35"
},
{
"id": "7102",
"name": "shippingMarksDescription8",
"format": "an..35"
},
{
"id": "7102",
"name": "shippingMarksDescription9",
"format": "an..35"
},
{
"id": "7102",
"name": "shippingMarksDescription10",
"format": "an..35"
}
]
},
{
"id": "8275",
"name": "containerOrPackageContentsIndicatorCode",
"requires": 0,
"components": [
{
"id": "8275",
"name": "containerOrPackageContentsIndicatorCode",
"format": "an..3"
}
]
},
{
"id": "C827",
"name": "typeOfMarking",
"requires": 1,
"components": [
{ "id": "7511", "name": "markingTypeCode", "format": "an..3" },
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
}
]
}
]
},
"PIA": {
"requires": 2,
"elements": [
{
"id": "4347",
"name": "productIdentifierCodeQualifier",
"requires": 1,
"components": [
{
"id": "4347",
"name": "productIdentifierCodeQualifier",
"format": "an..3"
}
]
},
{
"id": "C212",
"name": "itemNumberIdentification",
"requires": 0,
"components": [
{ "id": "7140", "name": "itemIdentifier", "format": "an..35" },
{
"id": "7143",
"name": "itemTypeIdentificationCode",
"format": "an..3"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
}
]
},
{
"id": "C212",
"name": "itemNumberIdentification",
"requires": 0,
"components": [
{ "id": "7140", "name": "itemIdentifier", "format": "an..35" },
{
"id": "7143",
"name": "itemTypeIdentificationCode",
"format": "an..3"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
}
]
},
{
"id": "C212",
"name": "itemNumberIdentification",
"requires": 0,
"components": [
{ "id": "7140", "name": "itemIdentifier", "format": "an..35" },
{
"id": "7143",
"name": "itemTypeIdentificationCode",
"format": "an..3"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
}
]
},
{
"id": "C212",
"name": "itemNumberIdentification",
"requires": 0,
"components": [
{ "id": "7140", "name": "itemIdentifier", "format": "an..35" },
{
"id": "7143",
"name": "itemTypeIdentificationCode",
"format": "an..3"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
}
]
},
{
"id": "C212",
"name": "itemNumberIdentification",
"requires": 0,
"components": [
{ "id": "7140", "name": "itemIdentifier", "format": "an..35" },
{
"id": "7143",
"name": "itemTypeIdentificationCode",
"format": "an..3"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
}
]
}
]
},
"QTY": {
"requires": 1,
"elements": [
{
"id": "C186",
"name": "quantityDetails",
"requires": 2,
"components": [
{
"id": "6063",
"name": "quantityTypeCodeQualifier",
"format": "an..3"
},
{ "id": "6060", "name": "quantity", "format": "an..35" },
{ "id": "6411", "name": "measurementUnitCode", "format": "an..3" }
]
}
]
},
"QVR": {
"requires": 0,
"elements": [
{
"id": "C279",
"name": "quantityDifferenceInformation",
"requires": 1,
"components": [
{ "id": "6064", "name": "quantityVarianceValue", "format": "n..15" },
{
"id": "6063",
"name": "quantityTypeCodeQualifier",
"format": "an..3"
}
]
},
{
"id": "4221",
"name": "discrepancyNatureIdentificationCode",
"requires": 0,
"components": [
{
"id": "4221",
"name": "discrepancyNatureIdentificationCode",
"format": "an..3"
}
]
},
{
"id": "C960",
"name": "reasonForChange",
"requires": 0,
"components": [
{
"id": "4295",
"name": "changeReasonDescriptionCode",
"format": "an..3"
},
{
"id": "1131",
"name": "codeListIdentificationCode",
"format": "an..17"
},
{
"id": "3055",
"name": "codeListResponsibleAgencyCode",
"format": "an..3"
},
{
"id": "4294",
"name": "changeReasonDescription",
"format": "an..35"
}
]
}
]
},
"RFF": {
"requires": 1,
"elements": [
{
"id": "C506",
"name": "reference",
"requires": 1,
"components": [
{ "id": "1153", "name": "referenceCodeQualifier", "format": "an..3" },
{ "id": "1154", "name": "referenceIdentifier", "format": "an..70" },
{ "id": "1156", "name": "documentLineIdentifier", "format": "an..6" },
{
"id": "4000",
"name": "referenceVersionIdentifier",
"format": "an..35"
},
{ "id": "1060", "name": "revisionIdentifier", "format": "an..6" }
]
}
]
},
"SEL": {
"requires": 0,
"elements": [