Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UN/CEFACT production term update #726

Merged
merged 5 commits into from
Apr 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ properties:
$ref: ./Organization.yml
$linkedData:
term: applicant
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#associatedParty
'@id': https://vocabulary.uncefact.org/associatedParty
facility:
title: Facility
description: Information on the inspection facility.
Expand All @@ -46,14 +46,14 @@ properties:
$ref: ./Organization.yml
$linkedData:
term: delegateOf
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#specifiedOrganization
'@id': https://vocabulary.uncefact.org/specifiedLegalOrganization
regulatoryAgency:
title: Regulatory Agency
description: The regulatory agency responsible for the regulation (public or private) that mandates or implies the inspection.
$ref: ./Organization.yml
$linkedData:
term: regulatoryAgency
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#specifiedOrganization
'@id': https://vocabulary.uncefact.org/specifiedLegalOrganization
inspectionStarted:
title: Inspection Started
description: Date and time inspection started in 24hr ISO 8601 format (e.g. 1970-01-01T00:00Z for UTC, or 1970:01:01T00:00-5:00 for New York on standard time).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ properties:
$ref: ./AgricultureParcelDelivery.yml
$linkedData:
term: shipment
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#transportPackage
'@id': https://vocabulary.uncefact.org/transportPackage
inspectionType:
title: Inspection Type
description: Type of Inspection.
Expand All @@ -47,7 +47,7 @@ properties:
$ref: ./Observation.yml
$linkedData:
term: observation
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#relatedObservation
'@id': https://vocabulary.uncefact.org/relatedObservation
name:
title: Inspection Name
description: The Data Field Name, or Grouping of data that is closely related.
Expand All @@ -61,21 +61,21 @@ properties:
type: string
$linkedData:
term: status
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#reportedStatus
'@id': https://vocabulary.uncefact.org/status
productQuantity:
title: Product Quantity
description: The type of package (e.g., cartons) and the number of packages present.
$ref: ./QuantitativeValue.yml
$linkedData:
term: productQuantity
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#Measurement
'@id': https://vocabulary.uncefact.org/Measurement
packageSize:
title: Product Size
description: The size of a typical product package.
$ref: ./QuantitativeValue.yml
$linkedData:
term: packageSize
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#Measurement
'@id': https://vocabulary.uncefact.org/Measurement
inspectorCounted:
title: Counted by Inspector
description: The product was physically counted by an inspector.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ properties:
type: string
$linkedData:
term: countryOfOrigin
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#originCountry
'@id': https://vocabulary.uncefact.org/originCountry
product:
title: Product
description: Product details as specified in the Product schema.
Expand All @@ -73,14 +73,14 @@ properties:
type: string
$linkedData:
term: scientificName
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#scientificName
'@id': https://vocabulary.uncefact.org/scientificName
plantParts:
title: Plant Parts
description: If applicable, the type of plant parts this product consists of (seeds, cuttings, rhizomes, plants, bulbs, fruits, etc.).
type: string
$linkedData:
term: plantParts
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#description
'@id': https://schema.org/description
labelImageUrl:
title: Label Image URL
description: Image of the package label.
Expand Down
12 changes: 6 additions & 6 deletions docs/openapi/components/schemas/common/BillOfLading.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ properties:
$linkedData:
term: carrier
'@id': >-
https://service.unece.org/trade/uncefact/vocabulary/uncefact/#carrierParty
https://vocabulary.uncefact.org/carrierParty
consignor:
title: Consignor
description: >-
Expand Down Expand Up @@ -198,7 +198,7 @@ properties:
$linkedData:
term: consignor
'@id': >-
https://service.unece.org/trade/uncefact/vocabulary/uncefact/#consignorParty
https://vocabulary.uncefact.org/consignorParty
consignee:
title: Consignee
description: A party to which goods are consigned.
Expand Down Expand Up @@ -266,7 +266,7 @@ properties:
$linkedData:
term: consignee
'@id': >-
https://service.unece.org/trade/uncefact/vocabulary/uncefact/#consigneeParty
https://vocabulary.uncefact.org/consigneeParty
notify:
title: Notify Party
description: >-
Expand Down Expand Up @@ -337,7 +337,7 @@ properties:
$linkedData:
term: notify
'@id': >-
https://service.unece.org/trade/uncefact/vocabulary/uncefact/#notifyParty
https://vocabulary.uncefact.org/notifiedParty
freightForwarder:
title: Freight Forwarder
description: >-
Expand Down Expand Up @@ -409,7 +409,7 @@ properties:
$linkedData:
term: freightForwarder
'@id': >-
https://service.unece.org/trade/uncefact/vocabulary/uncefact/#freightForwarderParty
https://vocabulary.uncefact.org/freightForwarderParty
freight:
title: Freight
description: Content described by the bill of lading
Expand Down Expand Up @@ -466,7 +466,7 @@ properties:
$ref: ./ConsignmentItem.yml
$linkedData:
term: particulars
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#includedConsignmentItem
'@id': https://vocabulary.uncefact.org/includedConsignmentItem
additionalProperties: false
required:
- type
Expand Down
6 changes: 3 additions & 3 deletions docs/openapi/components/schemas/common/CBPEntry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ properties:
$ref: ./Organization.yml
$linkedData:
term: importer
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#importerParty
'@id': https://vocabulary.uncefact.org/importerParty
importerOfRecord:
title: Importer Of Record
description: US CBP importer of record.
Expand Down Expand Up @@ -171,7 +171,7 @@ properties:
$ref: ./CBPEntryEntity.yml
$linkedData:
term: headerParties
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#Party
'@id': https://schema.org/Organization
lineItems:
title: Line Items
type: array
Expand Down Expand Up @@ -248,7 +248,7 @@ properties:
type: string
$linkedData:
term: arrivalDate
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#actualArrivalRelatedDateTime
'@id': https://vocabulary.uncefact.org/actualArrivalRelatedDateTime
additionalProperties: false
required:
- type
Expand Down
8 changes: 4 additions & 4 deletions docs/openapi/components/schemas/common/CBPEntryEntity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,28 @@ properties:
$ref: ./Organization.yml
$linkedData:
term: importer
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#manufacturerParty
'@id': https://vocabulary.uncefact.org/manufacturerParty
consignee:
title: Consignee
description: Consignee
$ref: ./Organization.yml
$linkedData:
term: consignee
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#consigneeParty
'@id': https://vocabulary.uncefact.org/consigneeParty
seller:
title: Seller
description: An entity which offers (sells / leases / lends / loans) the services / goods. A seller may also be a provider.
$ref: ./Organization.yml
$linkedData:
term: seller
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#sellerParty
'@id': https://vocabulary.uncefact.org/sellerParty
buyer:
title: Buyer
description: Importer of record. Party placing the order or paying the invoice.
$ref: ./Organization.yml
$linkedData:
term: buyer
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#buyerParty
'@id': https://vocabulary.uncefact.org/buyerParty
importerOfRecord:
title: Importer Of Record
description: US CBP importer of record.
Expand Down
4 changes: 2 additions & 2 deletions docs/openapi/components/schemas/common/CBPEntryLineItem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ properties:
$linkedData:
term: itemCount
'@id': >-
https://service.unece.org/trade/uncefact/vocabulary/uncefact/#despatchedQuantity
https://vocabulary.uncefact.org/despatchedQuantity
itemParty:
title: Item Party
$ref: ./CBPEntryEntity.yml
Expand All @@ -62,7 +62,7 @@ properties:
type: string
$linkedData:
term: countryOfOrigin
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#originCountry
'@id': https://vocabulary.uncefact.org/originCountry
value:
title: Value
type: string
Expand Down
6 changes: 3 additions & 3 deletions docs/openapi/components/schemas/common/CBPEntrySummary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ properties:
type: string
$linkedData:
term: importingCarrier
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#carrierParty
'@id': https://vocabulary.uncefact.org/carrierParty
transportMode:
title: Mode Of Transportation
description: The Mode of Transportation from the available options Air, Ocean, Rail, Truck, Hand Carry, Pipeline, or Other.
Expand Down Expand Up @@ -216,14 +216,14 @@ properties:
$ref: ./Organization.yml
$linkedData:
term: ultimateConsignee
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#shipToParty
'@id': https://vocabulary.uncefact.org/shipToParty
importerOfRecord:
title: Importer
description: Record the name and address, including the standard postal two-letter state or territory abbreviation, of the importer of record. The importer of record is defined as the owner or purchaser of the goods, or when designated by the owner, purchaser, or consignee, a licensed customs broker. The importer of record is the individual or firm liable for payment of all duties and meeting all statutory and regulatory requirements incurred as a result of importation, as described in 19 C.F.R. § 141.1(b). The importer of record shown on the invoice should be the same party on the CBP Form 7501, unless the CBP form reflects a licensed customs broker.
$ref: ./Organization.yml
$linkedData:
term: importerOfRecord
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#importerParty
'@id': https://vocabulary.uncefact.org/importerParty
descriptionOfMerchandise:
title: Description of Merchandise
description: A description of the articles in sufficient detail to permit the classification thereof under the proper statistical reporting number in the HTS should be reported at the top of column 28. The standard definitions from the CBP HTS database are acceptable for this requirement.
Expand Down
8 changes: 4 additions & 4 deletions docs/openapi/components/schemas/common/CargoItem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ properties:
$linkedData:
term: carrierBookingReference
'@id': >-
https://service.unece.org/trade/uncefact/vocabulary/uncefact/#carrierAssignedId
https://vocabulary.uncefact.org/carrierAssignedId
weight:
title: Weight
description: >-
Expand All @@ -58,7 +58,7 @@ properties:
$linkedData:
term: volume
'@id': >-
https://service.unece.org/trade/uncefact/vocabulary/uncefact/#grossVolumeMeasure
https://vocabulary.uncefact.org/grossVolumeMeasure
weightUnit:
title: Weight Unit
description: The unit of measure which can be expressed in imperial or metric terms
Expand All @@ -82,15 +82,15 @@ properties:
$linkedData:
term: numberOfPackages
'@id': >-
https://service.unece.org/trade/uncefact/vocabulary/uncefact/#packageQuantity
https://vocabulary.uncefact.org/packageQuantity
packageCode:
title: Package Code
description: The unique identifier for the package type
type: string
$linkedData:
term: packageCode
'@id': >-
https://service.unece.org/trade/uncefact/vocabulary/uncefact/#packageTypeCode
https://vocabulary.uncefact.org/packageTypeCode
required:
- type
example: |-
Expand Down
2 changes: 1 addition & 1 deletion docs/openapi/components/schemas/common/CargoLineItem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ properties:
$linkedData:
term: shippingMarks
'@id': >-
https://service.unece.org/trade/uncefact/vocabulary/uncefact/#physicalShippingMarks
https://vocabulary.uncefact.org/physicalShippingMarks
descriptionOfGoods:
title: Description of Goods
description: >-
Expand Down
14 changes: 7 additions & 7 deletions docs/openapi/components/schemas/common/ConsignmentItem.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$linkedData:
term: ConsignmentItem
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#ConsignmentItem
'@id': https://vocabulary.uncefact.org/ConsignmentItem
title: Consignment Item
description: A separately identifiable collection of goods items to be transported or available to be transported from one consignor to one consignee via one or more modes of transport where each consignment is the subject of one single transport contract.
type: object
Expand All @@ -22,14 +22,14 @@ properties:
type: string
$linkedData:
term: marksAndNumbers
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#ShippingMarks
'@id': https://vocabulary.uncefact.org/ShippingMarks
descriptionOfPackagesAndGoods:
title: Description of Packages and Goods
description: Transport cargo details of the consignment or consignment item sufficient to identify its nature for customs, statistical, or transport purposes.
type: string
$linkedData:
term: descriptionOfPackagesAndGoods
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#natureIdentificationCargo
'@id': https://vocabulary.uncefact.org/natureIdentificationCargo
commodity:
title: Commodity
description: Commodity classification based on either WCO HS or USITS HTS codification.
Expand All @@ -43,7 +43,7 @@ properties:
type: number
$linkedData:
term: packageQuantity
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#packageQuantity
'@id': https://vocabulary.uncefact.org/packageQuantity
netWeight:
title: Net Weight
description: Net weight of the product.
Expand All @@ -64,21 +64,21 @@ properties:
$ref: ./QuantitativeValue.yml
$linkedData:
term: grossVolume
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#grossVolumeMeasure
'@id': https://vocabulary.uncefact.org/grossVolumeMeasure
countryOfOrigin:
title: Country of Origin
description: A country of origin for the consignment, consignment item, or product. The two-letter ISO 3166-1 alpha-2 country code is recommended.
type: string
$linkedData:
term: countryOfOrigin
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#originCountry
'@id': https://vocabulary.uncefact.org/originCountry
manufacturer:
title: Manufacturer
description: The entity manufacturing the product.
$ref: ./Organization.yml
$linkedData:
term: manufacturer
'@id': https://service.unece.org/trade/uncefact/vocabulary/uncefact/#manufacturerParty
'@id': https://vocabulary.uncefact.org/manufacturerParty
required:
- type
example: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ properties:
$linkedData:
term: numberOfPieces
'@id': >-
https://service.unece.org/trade/uncefact/vocabulary/uncefact/#packageQuantity
https://vocabulary.uncefact.org/packageQuantity
grossWeight:
title: Gross Weight
description: The gross weight of the pieces for the applicable rating entry. Box 22B.
type: number
$linkedData:
term: grossWeight
'@id': >-
https://service.unece.org/trade/uncefact/vocabulary/uncefact/#grossWeightMeasure
https://vocabulary.uncefact.org/grossWeightMeasure
grossWeightUnit:
title: Gross Weight Unit
description: 22C
Expand Down Expand Up @@ -60,7 +60,7 @@ properties:
$linkedData:
term: rateClass
'@id': >-
https://service.unece.org/trade/uncefact/vocabulary/uncefact/#freightChargeTariffClassCode
https://vocabulary.uncefact.org/freightChargeTariffClassCode
commodityItemNumber:
title: Commodity Item Number
description: >-
Expand All @@ -80,7 +80,7 @@ properties:
$linkedData:
term: commodityItemNumber
'@id': >-
https://service.unece.org/trade/uncefact/vocabulary/uncefact/#discountIndicator
https://vocabulary.uncefact.org/discountIndicator
chargeableWeight:
title: Chargeable Weight
description: >-
Expand Down
Loading