[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [ubl] Code lists in UBL 1.0
Jon Greetings We do use AllowanceChargeReasonCode but as a datatype, rsn:AllowanceChargeReasonCodeType, for a BBIE called just ReasonCode (it is used inside 'container' AllowanceCharge so it doesn't need the extra qualification). re: "Unenumerated codes referenced in maindoc: <xsd:element name="DespatchAdviceTypeCode" type="udt:CodeType" ...> <xsd:element name="InvoiceCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="InvoiceTypeCode" type="udt:CodeType" ...> <xsd:element name="PricingCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="TaxCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="TransactionCurrencyCode" type="cur:CurrencyCodeType" ...> " note that a lot of these codes do actually use enumerated datatypes cur:CurrencyCodeType and likewise re: "################################################################## Codes referenced in UBL 1.0 for which values are NOT enumerated in the code list schemas included in UBL 1.0 ################################################################## Unenumerated codes referenced in UBL-CommonAggregateComponents-1.0.xsd (cardinalities truncated and multiple citations removed for clarity): <xsd:element name="AccountTypeCode" type="udt:CodeType" ...> ... <xsd:element name="IdentificationCode" type="cnt:CountryIdentificationCodeType" ...> ... <xsd:element name="ReasonCode" type="rsn:AllowanceChargeReasonCodeType" ...> <xsd:element name="ReferenceEventCode" type="udt:CodeType" ...> " where cnt:CountryIdentificationCodeType and, as said above, rsn:AllowanceChargeReasonCodeType are enumerated but the datatype names, and hence the enumerated codelist names, are again hidden by element names which are not fully qualified in their names but further qualified in their containing ABIE element/type names (a kind of truncation/reduction of qualifier redundancy). All the best Steve >>> <jon.bosak@sun.com> 14/09/05 20:12:22 >>> Hello UBL TC, To aid in our code list work, here are the code lists provided in UBL 1.0 and the code lists referenced in UBL 1.0. According to my count, UBL 1.0 references 61 code lists (not counting the ones specified as core component types), of which 12, or just under 20 percent, are actually provided as schema modules. (There is also one schema module, AllowanceChargeReasonCode, that is provided in xsd/codelist but apparently not referenced anywhere.) Jon ################################################################## Code list schema modules included in UBL 1.0 (in xsd/codelist) ################################################################## UBL-CodeList-AcknowledgementResponseCode-1.0.xsd UBL-CodeList-AllowanceChargeReasonCode-1.0.xsd UBL-CodeList-ChannelCode-1.0.xsd UBL-CodeList-ChipCode-1.0.xsd UBL-CodeList-CountryIdentificationCode-1.0.xsd UBL-CodeList-CurrencyCode-1.0.xsd UBL-CodeList-DocumentStatusCode-1.0.xsd UBL-CodeList-LatitudeDirectionCode-1.0.xsd UBL-CodeList-LineStatusCode-1.0.xsd UBL-CodeList-LongitudeDirectionCode-1.0.xsd UBL-CodeList-OperatorCode-1.0.xsd UBL-CodeList-PaymentMeansCode-1.0.xsd UBL-CodeList-SubstitutionStatusCode-1.0.xsd ################################################################## Code list schema modules referenced in UBL 1.0 (all xsd/) ################################################################## Code list schema modules referenced in xsd/common: UBL-CommonAggregateComponents-1.0.xsd: UBL-CodeList-AllowanceChargeReasonCode-1.0.xsd UBL-CodeList-ChannelCode-1.0.xsd UBL-CodeList-ChipCode-1.0.xsd UBL-CodeList-CountryIdentificationCode-1.0.xsd UBL-CodeList-CurrencyCode-1.0.xsd UBL-CodeList-DocumentStatusCode-1.0.xsd UBL-CodeList-LatitudeDirectionCode-1.0.xsd UBL-CodeList-LineStatusCode-1.0.xsd UBL-CodeList-LongitudeDirectionCode-1.0.xsd UBL-CodeList-PaymentMeansCode-1.0.xsd UBL-CodeList-SubstitutionStatusCode-1.0.xsd UBL-CodeList-OperatorCode-1.0.xsd UBL-SpecializedDatatypes-1.0.xsd: UBL-CodeList-CurrencyCode-1.0.xsd ================================================================== Code list schema modules referenced in xsd/maindoc: UBL-DespatchAdvice-1.0.xsd: UBL-CodeList-DocumentStatusCode-1.0.xsd UBL-Invoice-1.0.xsd: UBL-CodeList-CurrencyCode-1.0.xsd UBL-Order-1.0.xsd: UBL-CodeList-AcknowledgementResponseCode-1.0.xsd UBL-CodeList-CurrencyCode-1.0.xsd UBL-OrderCancellation-1.0.xsd: UBL-CodeList-DocumentStatusCode-1.0.xsd UBL-OrderChange-1.0.xsd: UBL-CodeList-AcknowledgementResponseCode-1.0.xsd UBL-CodeList-DocumentStatusCode-1.0.xsd UBL-CodeList-CurrencyCode-1.0.xsd UBL-OrderResponse-1.0.xsd: UBL-CodeList-DocumentStatusCode-1.0.xsd UBL-CodeList-CurrencyCode-1.0.xsd UBL-OrderResponseSimple-1.0.xsd: UBL-CodeList-DocumentStatusCode-1.0.xsd UBL-ReceiptAdvice-1.0.xsd: UBL-CodeList-DocumentStatusCode-1.0.xsd ================================================================== Code list schema modules provided but not referenced anywhere (!!!): UBL-CodeList-AllowanceChargeReasonCode-1.0.xsd ################################################################## Codes referenced in UBL 1.0 (whether provided as schemas or not) ################################################################## Codes referenced in UBL-CommonAggregateComponents-1.0.xsd (cardinalities truncated and multiple citations removed for clarity): <xsd:element name="AccountTypeCode" type="udt:CodeType" ...> <xsd:element name="ActionCode" type="udt:CodeType" ...> <xsd:element name="CardTypeCode" type="udt:CodeType" ...> <xsd:element name="CargoTypeCode" type="udt:CodeType" ...> <xsd:element name="ChannelCode" type="chn:ChannelCodeType" ...> <xsd:element name="ChipCode" type="chc:ChipCodeType" ...> <xsd:element name="CommodityCode" type="udt:CodeType" ...> <xsd:element name="ContractTypeCode" type="udt:CodeType" ...> <xsd:element name="CoordinateSystemCode" type="udt:CodeType" ...> <xsd:element name="CountrySubentityCode" type="udt:CodeType" ...> <xsd:element name="CurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="DescriptionCode" type="udt:CodeType" ...> <xsd:element name="DispositionCode" type="udt:CodeType" ...> <xsd:element name="DocumentStatusCode" type="stat:DocumentStatusCodeType" ...> <xsd:element name="EmergencyProceduresCode" type="udt:CodeType" ...> <xsd:element name="FullnessIndicationCode" type="udt:CodeType" ...> <xsd:element name="HandlingCode" type="udt:CodeType" ...> <xsd:element name="IdentificationCode" type="cnt:CountryIdentificationCodeType" ...> <xsd:element name="InhalationToxicityZoneCode" type="udt:CodeType" ...> <xsd:element name="IssuerTypeCode" type="udt:CodeType" ...> <xsd:element name="LatitudeDirectionCode" type="lat:LatitudeDirectionCodeType" ...> <xsd:element name="LineStatusCode" type="lstat:LineStatusCodeType" ...> <xsd:element name="LocaleCode" type="udt:CodeType" ...> <xsd:element name="LongitudeDirectionCode" type="lon:LongitudeDirectionCodeType" ...> <xsd:element name="LossRiskResponsibilityCode" type="udt:CodeType" ...> <xsd:element name="MedicalFirstAidGuideCode" type="udt:CodeType" ...> <xsd:element name="NatureCode" type="udt:CodeType" ...> <xsd:element name="OperatorCode" type="ero:OperatorCodeType" ...> <xsd:element name="OwnerTypeCode" type="udt:CodeType" ...> <xsd:element name="PackingCriteriaCode" type="udt:CodeType" ...> <xsd:element name="PaymentChannelCode" type="udt:CodeType" ...> <xsd:element name="PaymentMeansCode" type="pty:PaymentMeansCodeType" ...> <xsd:element name="PositionCode" type="udt:CodeType" ...> <xsd:element name="PriorityLevelCode" type="udt:CodeType" ...> <xsd:element name="ProviderTypeCode" type="udt:CodeType" ...> <xsd:element name="ReasonCode" type="rsn:AllowanceChargeReasonCodeType" ...> <xsd:element name="ReferenceEventCode" type="udt:CodeType" ...> <xsd:element name="RegulationCode" type="udt:CodeType" ...> <xsd:element name="RejectActionCode" type="udt:CodeType" ...> <xsd:element name="RejectReasonCode" type="udt:CodeType" ...> <xsd:element name="SealStatusCode" type="udt:CodeType" ...> <xsd:element name="ShortageActionCode" type="udt:CodeType" ...> <xsd:element name="SizeTypeCode" type="udt:CodeType" ...> <xsd:element name="SourceCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="SubstitutionStatusCode" type="sst:SubstitutionStatusCodeType" ...> <xsd:element name="TargetCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="TaxLevelCode" type="udt:CodeType" ...> <xsd:element name="TaxTypeCode" type="udt:CodeType" ...> <xsd:element name="TimingComplaintCode" type="udt:CodeType" ...> <xsd:element name="TransitDirectionCode" type="udt:CodeType" ...> <xsd:element name="TransportEmergencyCardCode" type="udt:CodeType" ...> <xsd:element name="TransportMeansTypeCode" type="udt:CodeType" ...> <xsd:element name="TransportModeCode" type="udt:CodeType" ...> <xsd:element name="UNDGCode" type="udt:CodeType" ...> <xsd:element name="UnitTypeCode" type="udt:CodeType" ...> Codes referenced in UBL-CommonBasicComponents-1.0.xsd: None Codes referenced in UBL-CoreComponentParameters-1.0.xsd: None Codes referenced in UBL-CoreComponentTypes-1.0.xsd: <xsd:attribute name="characterSetCode" type="xsd:normalizedString" use="optional"/> <xsd:attribute name="encodingCode" type="xsd:normalizedString" use="optional"/> <xsd:attribute name="measureUnitCode" type="xsd:normalizedString" use="optional"/> <xsd:attribute name="mimeCode" type="xsd:normalizedString" use="optional"/> <xsd:attribute name="quantityUnitCode" type="xsd:normalizedString" use="optional"/> Codes referenced in UBL-SpecializedDatatypes-1.0.xsd: None Codes referenced in UBL-UnspecializedDatatypes-1.0.xsd: <xsd:attribute name="characterSetCode" type="xsd:normalizedString" use="optional"/> <xsd:attribute name="measureUnitCode" type="xsd:normalizedString" use="required"/> <xsd:attribute name="quantityUnitCode" type="xsd:normalizedString" use="required"/> ================================================================== Codes referenced in xsd/maindoc (cardinalities truncated for clarity): * = duplicates a code referenced in the cac Codes referenced in UBL-DespatchAdvice-1.0.xsd: <xsd:element name="DespatchAdviceTypeCode" type="udt:CodeType" ...> <xsd:element name="DocumentStatusCode" type="stat:DocumentStatusCodeType" ...>* Codes referenced in UBL-Invoice-1.0.xsd: <xsd:element name="InvoiceCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="InvoiceTypeCode" type="udt:CodeType" ...> <xsd:element name="PricingCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="TaxCurrencyCode" type="cur:CurrencyCodeType" ...> Codes referenced in UBL-Order-1.0.xsd: <xsd:element name="AcknowledgementResponseCode" type="res:AcknowledgementResponseCodeType" ...> <xsd:element name="PricingCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="TransactionCurrencyCode" type="cur:CurrencyCodeType" ...> Codes referenced in UBL-OrderCancellation-1.0.xsd: <xsd:element name="DocumentStatusCode" type="stat:DocumentStatusCodeType" ...>* Codes referenced in UBL-OrderChange-1.0.xsd: <xsd:element name="AcknowledgementResponseCode" type="res:AcknowledgementResponseCodeType" ...> <xsd:element name="DocumentStatusCode" type="stat:DocumentStatusCodeType" ...>* <xsd:element name="PricingCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="TransactionCurrencyCode" type="cur:CurrencyCodeType" ...> Codes referenced in UBL-OrderResponse-1.0.xsd: <xsd:element name="DocumentStatusCode" type="stat:DocumentStatusCodeType" ...>* <xsd:element name="PricingCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="TransactionCurrencyCode" type="cur:CurrencyCodeType" ...> Codes referenced in UBL-OrderResponseSimple-1.0.xsd: <xsd:element name="DocumentStatusCode" type="stat:DocumentStatusCodeType" ...>* Codes referenced in UBL-ReceiptAdvice-1.0.xsd: <xsd:element name="DocumentStatusCode" type="stat:DocumentStatusCodeType" ...>* ================================================================== Codes referenced in maindoc that are not also referenced in cac: <xsd:element name="AcknowledgementResponseCode" type="res:AcknowledgementResponseCodeType" ...> <xsd:element name="DespatchAdviceTypeCode" type="udt:CodeType" ...> <xsd:element name="InvoiceCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="InvoiceTypeCode" type="udt:CodeType" ...> <xsd:element name="PricingCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="TaxCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="TransactionCurrencyCode" type="cur:CurrencyCodeType" ...> ################################################################## Codes referenced in UBL 1.0 for which values are NOT enumerated in the code list schemas included in UBL 1.0 ################################################################## Unenumerated codes referenced in UBL-CommonAggregateComponents-1.0.xsd (cardinalities truncated and multiple citations removed for clarity): <xsd:element name="AccountTypeCode" type="udt:CodeType" ...> <xsd:element name="ActionCode" type="udt:CodeType" ...> <xsd:element name="CardTypeCode" type="udt:CodeType" ...> <xsd:element name="CargoTypeCode" type="udt:CodeType" ...> <xsd:element name="CommodityCode" type="udt:CodeType" ...> <xsd:element name="ContractTypeCode" type="udt:CodeType" ...> <xsd:element name="CoordinateSystemCode" type="udt:CodeType" ...> <xsd:element name="CountrySubentityCode" type="udt:CodeType" ...> <xsd:element name="DescriptionCode" type="udt:CodeType" ...> <xsd:element name="DispositionCode" type="udt:CodeType" ...> <xsd:element name="EmergencyProceduresCode" type="udt:CodeType" ...> <xsd:element name="FullnessIndicationCode" type="udt:CodeType" ...> <xsd:element name="HandlingCode" type="udt:CodeType" ...> <xsd:element name="IdentificationCode" type="cnt:CountryIdentificationCodeType" ...> <xsd:element name="InhalationToxicityZoneCode" type="udt:CodeType" ...> <xsd:element name="IssuerTypeCode" type="udt:CodeType" ...> <xsd:element name="LocaleCode" type="udt:CodeType" ...> <xsd:element name="LossRiskResponsibilityCode" type="udt:CodeType" ...> <xsd:element name="MedicalFirstAidGuideCode" type="udt:CodeType" ...> <xsd:element name="NatureCode" type="udt:CodeType" ...> <xsd:element name="OwnerTypeCode" type="udt:CodeType" ...> <xsd:element name="PackingCriteriaCode" type="udt:CodeType" ...> <xsd:element name="PaymentChannelCode" type="udt:CodeType" ...> <xsd:element name="PositionCode" type="udt:CodeType" ...> <xsd:element name="PriorityLevelCode" type="udt:CodeType" ...> <xsd:element name="ProviderTypeCode" type="udt:CodeType" ...> <xsd:element name="ReasonCode" type="rsn:AllowanceChargeReasonCodeType" ...> <xsd:element name="ReferenceEventCode" type="udt:CodeType" ...> <xsd:element name="RegulationCode" type="udt:CodeType" ...> <xsd:element name="RejectActionCode" type="udt:CodeType" ...> <xsd:element name="RejectReasonCode" type="udt:CodeType" ...> <xsd:element name="SealStatusCode" type="udt:CodeType" ...> <xsd:element name="ShortageActionCode" type="udt:CodeType" ...> <xsd:element name="SizeTypeCode" type="udt:CodeType" ...> <xsd:element name="SourceCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="TargetCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="TaxLevelCode" type="udt:CodeType" ...> <xsd:element name="TaxTypeCode" type="udt:CodeType" ...> <xsd:element name="TimingComplaintCode" type="udt:CodeType" ...> <xsd:element name="TransitDirectionCode" type="udt:CodeType" ...> <xsd:element name="TransportEmergencyCardCode" type="udt:CodeType" ...> <xsd:element name="TransportMeansTypeCode" type="udt:CodeType" ...> <xsd:element name="TransportModeCode" type="udt:CodeType" ...> <xsd:element name="UNDGCode" type="udt:CodeType" ...> <xsd:element name="UnitTypeCode" type="udt:CodeType" ...> Unenumerated codes referenced in UBL-CoreComponentParameters-1.0.xsd: None Unenumerated codes referenced in UBL-CoreComponentTypes-1.0.xsd: <xsd:attribute name="characterSetCode" type="xsd:normalizedString" use="optional"/> <xsd:attribute name="encodingCode" type="xsd:normalizedString" use="optional"/> <xsd:attribute name="measureUnitCode" type="xsd:normalizedString" use="optional"/> <xsd:attribute name="mimeCode" type="xsd:normalizedString" use="optional"/> <xsd:attribute name="quantityUnitCode" type="xsd:normalizedString" use="optional"/> Unenumerated codes referenced in UBL-SpecializedDatatypes-1.0.xsd: None Unenumerated codes referenced in UBL-UnspecializedDatatypes-1.0.xsd: <xsd:attribute name="characterSetCode" type="xsd:normalizedString" use="optional"/> Unenumerated codes referenced in maindoc: <xsd:element name="DespatchAdviceTypeCode" type="udt:CodeType" ...> <xsd:element name="InvoiceCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="InvoiceTypeCode" type="udt:CodeType" ...> <xsd:element name="PricingCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="TaxCurrencyCode" type="cur:CurrencyCodeType" ...> <xsd:element name="TransactionCurrencyCode" type="cur:CurrencyCodeType" ...> --------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. You may a link to this group and all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]