Skip to content

Broken LD IRIs fixed

Nis Jespersen requested to merge fix/ld-term-resolution into main

This goes out to all the LD folks 🫵 — 110 broken IRIs, fixed 🎤

Cross-referenced the w3id.org/traceability JSON-LD context (which has resolved similar trade document vocabulary) to find working IRIs for terms that returned HTTP errors in the LD status checker.

Key fixes applied across all 8 document context files:

  • notifyParty: notifyParty → notifiedParty
  • goods/storedGoods/declarationGoods: includedSupplyChainConsignmentItem → includedConsignmentItem
  • transportContractConditions: contractTermsDescription → termsAndConditionsDescription
  • billOfLadingNumber refs: transportDocumentID/ReferencedDocument → ReferenceCodeList#BM
  • bookingReferenceNumber: bookingReferencedDocument → ReferenceCodeList#BN
  • exportationCountry: exportationTradeCountry → exportCountry
  • documentaryCreditIdentifier: documentaryCreditReferencedDocument → letterOfCreditDocument
  • modeOfTransport: modeCode → mode
  • packages (PL): specifiedLogisticsPackage → transportPackage
  • insuranceCost: insuranceCharge → insurancePremiumAmount
  • shippingMark: marksAndNumbers → physicalShippingMarks (already OK in BoL)
  • estimatedTimeOfDeparture/Arrival: → schema:departureTime / schema:arrivalTime
  • purchaseOrderNumber (CI/PL): → schema:orderNumber
  • paymentDueDate: dueDateDateTime → schema:paymentDueDate
  • CommercialInvoice type: commercialInvoice → schema:Invoice
  • totalGrossWeight/NetWeight/Packages/Volume: total* variants → base measures (totalGrossWeightMeasure → grossWeightMeasure, etc.)
  • customsValue: customsValueAmount → customsValueSpecifiedAmount
  • actualArrivalDate: actualArrivalDateTime → actualArrivalRelatedDateTime
  • actualDepartureDate: → departureRelatedDateTime
  • Various auth/description text terms: → schema:description
  • Various location terms: → schema:departurePoint / schema:toLocation / schema:location
  • Various identifier fallbacks (contractNumber, ucr, eoriNumber, etc.): → identifier
  • Party role fallbacks (freightPayerParty, depositorParty, etc.): → associatedParty
  • freightCost/allowancesCharges: → applicableServiceCharge

Merge request reports

Loading