uncefact / spec-jsonld

Exposing the UN/CEFACT vocabulary as web semantics
https://service.unece.org/trade/uncefact/vocabulary/uncefact/
13 stars 5 forks source link

Fix: adjust properties names when the type is different #159

Closed kshychko closed 1 year ago

kshychko commented 1 year ago

fixes #139

Some properties were grouped by the same name when they had different type (rangeIncludes). That caused the problem described in #139 issue

Diff report for the outputs produced by this fix against the currently published version:

Classes that exists in set1 but missing in set2 (were removed from set2) - 0:
Classes that exists in set2 but missing in set1 (were added to set2) - 0:
Properties that exists in set1 but missing in set2 (were removed from set2) - 0:
Properties that exists in set2 but missing in set1 (were added to set2) - 37:
unece:applicableLineTradeAgreement
unece:applicableLineTradeDelivery
unece:applicableReturnableAssetInstructions
unece:applicableTransportSettingTemperature
unece:associatedDocumentLineDocument
unece:associatedFinancingRequestResultDocument
unece:attachedAttachedTransportEquipment
unece:categoryAppliedTax
unece:definedOperationalParameter
unece:deliverySupplyChainEvent
unece:emailURIEmailCommunication
unece:faxTelecommunicationCommunication
unece:previousDeliveryTransportEvent
unece:providerTradeParty
unece:specifiedAdvancePayment
unece:specifiedAuthoritativeSignatoryPerson
unece:specifiedCancellationStatus
unece:specifiedDebtorFinancialAccount
unece:specifiedDeliveryInstructions
unece:specifiedEmployerIdentity
unece:specifiedFinancialIdentity
unece:specifiedFinancingStatus
unece:specifiedGovernmentRegistration
unece:specifiedLineTradeAgreement
unece:specifiedLineTradeSettlement
unece:specifiedPersonIdentity
unece:specifiedProjectPerson
unece:specifiedSubordinateLineTradeDelivery
unece:specifiedSubordinateLineTradeSettlement
unece:specifiedSupplyChainEvent
unece:specifiedTradeSettlementLineMonetarySummation
unece:specifiedTradeSettlementPaymentMonetarySummation
unece:specifiedTransportInstructions
unece:specifiedTransportPerson
unece:specifiedValidationStatus
unece:subordinateSubordinateSubordinateLocation
unece:telephoneTelecommunicationCommunication

That also reduced the number of classes without references from 32 to 9, because the property type was assigned correctly.