UNPKG

@makakwastaken/ts-edifact

Version:
1,116 lines (1,115 loc) 28.6 kB
{ "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" } ] } ] }, "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" } ] } ] }, "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" } ] } ] }, "DOC": { "requires": 1, "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": "C503", "name": "documentMessageDetails", "requires": 0, "components": [ { "id": "1004", "name": "documentIdentifier", "format": "an..35" }, { "id": "1373", "name": "documentStatusCode", "format": "an..3" }, { "id": "1366", "name": "documentSourceDescription", "format": "an..70" }, { "id": "3453", "name": "languageNameCode", "format": "an..3" }, { "id": "1056", "name": "versionIdentifier", "format": "an..9" }, { "id": "1060", "name": "revisionIdentifier", "format": "an..6" } ] }, { "id": "3153", "name": "communicationMediumTypeCode", "requires": 0, "components": [ { "id": "3153", "name": "communicationMediumTypeCode", "format": "an..3" } ] }, { "id": "1220", "name": "documentCopiesRequiredQuantity", "requires": 0, "components": [ { "id": "1220", "name": "documentCopiesRequiredQuantity", "format": "n..2" } ] }, { "id": "1218", "name": "documentOriginalsRequiredQuantity", "requires": 0, "components": [ { "id": "1218", "name": "documentOriginalsRequiredQuantity", "format": "n..2" } ] } ] }, "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" } ] } ] }, "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" } ] } ] }, "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" } ] } ] }, "IRQ": { "requires": 1, "elements": [ { "id": "C333", "name": "informationRequest", "requires": 0, "components": [ { "id": "4511", "name": "requestedInformationDescriptionCode", "format": "an..3" }, { "id": "1131", "name": "codeListIdentificationCode", "format": "an..17" }, { "id": "3055", "name": "codeListResponsibleAgencyCode", "format": "an..3" }, { "id": "4510", "name": "requestedInformationDescription", "format": "an..35" } ] } ] }, "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" } ] } ] }, "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" } ] } ] }, "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" } ] } ] }, "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" } ] } ] }, "STS": { "requires": 0, "elements": [ { "id": "C601", "name": "statusCategory", "requires": 1, "components": [ { "id": "9015", "name": "statusCategoryCode", "format": "an..3" }, { "id": "1131", "name": "codeListIdentificationCode", "format": "an..17" }, { "id": "3055", "name": "codeListResponsibleAgencyCode", "format": "an..3" } ] }, { "id": "C555", "name": "status", "requires": 1, "components": [ { "id": "4405", "name": "statusDescriptionCode", "format": "an..3" }, { "id": "1131", "name": "codeListIdentificationCode", "format": "an..17" }, { "id": "3055", "name": "codeListResponsibleAgencyCode", "format": "an..3" }, { "id": "4404", "name": "statusDescription", "format": "an..35" } ] }, { "id": "C556", "name": "statusReason", "requires": 1, "components": [ { "id": "9013", "name": "statusReasonDescriptionCode", "format": "an..3" }, { "id": "1131", "name": "codeListIdentificationCode", "format": "an..17" }, { "id": "3055", "name": "codeListResponsibleAgencyCode", "format": "an..3" }, { "id": "9012", "name": "statusReasonDescription", "format": "an..256" } ] }, { "id": "C556", "name": "statusReason", "requires": 1, "components": [ { "id": "9013", "name": "statusReasonDescriptionCode", "format": "an..3" }, { "id": "1131", "name": "codeListIdentificationCode", "format": "an..17" }, { "id": "3055", "name": "codeListResponsibleAgencyCode", "format": "an..3" }, { "id": "9012", "name": "statusReasonDescription", "format": "an..256" } ] }, { "id": "C556", "name": "statusReason", "requires": 1, "components": [ { "id": "9013", "name": "statusReasonDescriptionCode", "format": "an..3" }, { "id": "1131", "name": "codeListIdentificationCode", "format": "an..17" }, { "id": "3055", "name": "codeListResponsibleAgencyCode", "format": "an..3" }, { "id": "9012", "name": "statusReasonDescription", "format": "an..256" } ] }, { "id": "C556", "name": "statusReason", "requires": 1, "components": [ { "id": "9013", "name": "statusReasonDescriptionCode", "format": "an..3" }, { "id": "1131", "name": "codeListIdentificationCode", "format": "an..17" }, { "id": "3055", "name": "codeListResponsibleAgencyCode", "format": "an..3" }, { "id": "9012", "name": "statusReasonDescription", "format": "an..256" } ] }, { "id": "C556", "name": "statusReason", "requires": 1, "components": [ { "id": "9013", "name": "statusReasonDescriptionCode", "format": "an..3" }, { "id": "1131", "name": "codeListIdentificationCode", "format": "an..17" }, { "id": "3055", "name": "codeListResponsibleAgencyCode", "format": "an..3" }, { "id": "9012", "name": "statusReasonDescription", "format": "an..256" } ] } ] } }