Skip to content

Commit

Permalink
deploy: dca6c38
Browse files Browse the repository at this point in the history
  • Loading branch information
nissimsan committed Sep 26, 2023
1 parent 9043ba0 commit b1c1767
Show file tree
Hide file tree
Showing 10 changed files with 1,248 additions and 2,796 deletions.
2 changes: 1 addition & 1 deletion contexts/traceability-v1.jsonld

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion credentials-with-issuer-dependent-terms.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
{
"type": "USMCACertificationOfOrigin",
"count": 7
"count": 4
},
{
"type": "ThingCredential",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,71 +1,21 @@
$linkedData:
term: USMCAProductSpecifier
'@id': https://w3id.org/traceability/USMCAProductSpecifier
title: USMCA Product Specifier
description: USMCA product origin specifier
term: USMCAClaims
'@id': https://w3id.org/traceability/USMCAClaims
title: USMCA Claims
description: Claims for preferential treatment under the USMCA.
type: object
properties:
type:
type: array
readOnly: true
const:
- USMCAProductSpecifier
- USMCAClaims
default:
- USMCAProductSpecifier
- USMCAClaims
items:
type: string
enum:
- USMCAProductSpecifier
product:
title: Product
description: >-
Product details. USMCA mandatory elements include: part/SKU number,
description, and minimum 6-digit HS classification
$ref: ./Product.yml
$linkedData:
term: product
'@id': https://schema.org/Product
originCriterion:
title: Origin Criterion
description: >-
Specify the Origin Criterion under which the good qualifies, as set out in
Chapter 4, Article 4.2 (Originating Goods) of the USMCA/T-MEC/CUSMA
agreement
(https://ustr.gov/sites/default/files/files/agreements/FTA/USMCA/Text/04-Rules-of-Origin.pdf).
Criterion A: The good is wholly obtained or produced entirely in the
territory of one or more of the USMCA/T-MEC/CUSMA countries, as defined in
Article 4.3 of the Agreement; Criterion B: The good is produced entirely
in the territory of one or more of the USMCA/T-MEC/CUSMA countries using
non-originating materials, provided the good satisfies all applicable
requirements of product-specific rules of origin; Criterion C: The good is
produced entirely in the territory of one or more of the USMCA/T-MEC/CUSMA
countries exclusively from originating materials; or Criterion D: The good
is produced entirely in the territory of one or more of the
USMCA/T-MEC/CUSMA countries. It is classified with its materials, or
satisfies the 'unassembled goods' requirement, and meets a regional value
content threshold of not less than 60% if the transaction value method is
used, or not less than 50% if the net cost method is used (not including
RVC for autos); except for goods in Chapter 61-63 of the HTS.
enum:
- A
- B
- C
- D
$linkedData:
term: originCriterion
'@id': https://w3id.org/traceability#originCriterion
countryOfOrigin:
title: Country of Origin
description: >-
Identify the 2-digit ISO country code of the country of production for
each good listed in this certification.
enum:
- CA
- MX
- US
$linkedData:
term: countryOfOrigin
'@id': https://w3id.org/traceability#countryOfOrigin
- USMCAClaims
producerDetails:
title: Producer's Details
description: >-
Expand All @@ -76,9 +26,7 @@ properties:
'Available upon request by the importing authorities.' The address of a
producer shall be the place of production of the good in a Party's
territory.
type: array
items:
$ref: ./Organization.yml
$ref: ./Organization.yml
$linkedData:
term: producerDetails
'@id': https://schema.org/manufacturer
Expand Down Expand Up @@ -125,33 +73,26 @@ properties:
$linkedData:
term: exporterDetails
'@id': https://w3id.org/traceability#exporterDetails
goods:
title: Goods
description: >-
Description of goods. USMCA mandatory elements include: part/SKU number,
description, and minimum 6-digit HS classification
type: array
items:
$ref: ./USMCAProduct.yml
$linkedData:
term: goods
'@id': https://schema.org/Product
additionalProperties: false
required:
- type
- product
- originCriterion
- countryOfOrigin
- goods
- exporterDetails
- producerDetails
example: |-
{
"type": ["USMCAProductSpecifier"],
"product": {
"type": [
"Product"
],
"sku": "323050346937",
"description": "Non-alloy steel rolls",
"commodity": {
"type": [
"Commodity"
],
"commodityCode": "721320",
"commodityCodeType": "HS",
"description": "Steel Coils"
}
},
"originCriterion": "A",
"countryOfOrigin": "MX",
"type": ["USMCAClaims"],
"importerDetails": [{
"type": [
"Organization"
Expand All @@ -162,13 +103,6 @@ example: |-
"type": [
"Place"
],
"geo": {
"type": [
"GeoCoordinates"
],
"latitude": "26.710654",
"longitude": "-103.671937"
},
"address": {
"type": [
"PostalAddress"
Expand All @@ -193,13 +127,6 @@ example: |-
"type": [
"Place"
],
"geo": {
"type": [
"GeoCoordinates"
],
"latitude": "43.655585429184434",
"longitude": "-120.33634354756568"
},
"address": {
"type": [
"PostalAddress"
Expand All @@ -214,34 +141,35 @@ example: |-
"email": "[email protected]",
"phoneNumber": "+1-834-555-9332"
},
"producerDetails": [
{
"producerDetails": {
"type": [
"Organization"
],
"name": "Melt Global, Inc.",
"phoneNumber": "+1-804-555-3340",
"location": {
"type": [
"Organization"
"Place"
],
"name": "Melt Global, Inc.",
"phoneNumber": "+1-804-555-3340",
"location": {
"address": {
"type": [
"Place"
"PostalAddress"
],
"geo": {
"type": [
"GeoCoordinates"
],
"latitude": "30.893066748785927",
"longitude": "-93.80232474809726"
},
"address": {
"type": [
"PostalAddress"
],
"addressLocality": "Hunter Valley",
"addressRegion": "Texas",
"postalCode": "78599",
"addressCountry": "United States"
}
"addressLocality": "Hunter Valley",
"addressRegion": "Texas",
"postalCode": "78599",
"addressCountry": "United States"
}
}
},
"goods": [
{
"type": ["USMCAProduct"],
"description": "Non-alloy steel rolls",
"commodityCode": "721320",
"commodityCodeType": "HS",
"originCriterion": "A",
"countryOfOrigin": "MX"
}
]
}
99 changes: 99 additions & 0 deletions openapi/components/schemas/common/USMCAProduct.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
$linkedData:
term: USMCAProduct
'@id': https://w3id.org/traceability/USMCAProduct
title: USMCA Product
description: USMCA product origin specifier
type: object
properties:
type:
type: array
readOnly: true
const:
- USMCAProduct
default:
- USMCAProduct
items:
type: string
enum:
- USMCAProduct
description:
title: Description of product
type: string
commodityCode:
title: Commodity Code
description: >-
The commodity code at a given granularity, commonly a 6-digit HS or a
10-digit HTS code.
type: string
$linkedData:
term: commodityCode
'@id': https://w3id.org/traceability#commodityCode
commodityCodeType:
title: Commodity Code Type
description: Commodity code type
enum:
- HS
- HTS
default:
- HTS
$linkedData:
term: commodityCodeType
'@id': https://w3id.org/traceability#commodityCodeType
originCriterion:
title: Origin Criterion
description: >-
Specify the Origin Criterion under which the good qualifies, as set out in
Chapter 4, Article 4.2 (Originating Goods) of the USMCA/T-MEC/CUSMA
agreement
(https://ustr.gov/sites/default/files/files/agreements/FTA/USMCA/Text/04-Rules-of-Origin.pdf).
Criterion A: The good is wholly obtained or produced entirely in the
territory of one or more of the USMCA/T-MEC/CUSMA countries, as defined in
Article 4.3 of the Agreement; Criterion B: The good is produced entirely
in the territory of one or more of the USMCA/T-MEC/CUSMA countries using
non-originating materials, provided the good satisfies all applicable
requirements of product-specific rules of origin; Criterion C: The good is
produced entirely in the territory of one or more of the USMCA/T-MEC/CUSMA
countries exclusively from originating materials; or Criterion D: The good
is produced entirely in the territory of one or more of the
USMCA/T-MEC/CUSMA countries. It is classified with its materials, or
satisfies the 'unassembled goods' requirement, and meets a regional value
content threshold of not less than 60% if the transaction value method is
used, or not less than 50% if the net cost method is used (not including
RVC for autos); except for goods in Chapter 61-63 of the HTS.
enum:
- A
- B
- C
- D
$linkedData:
term: originCriterion
'@id': https://w3id.org/traceability#originCriterion
countryOfOrigin:
title: Country of Origin
description: >-
Identify the 2-digit ISO country code of the country of production for
each good listed in this certification.
enum:
- CA
- MX
- US
$linkedData:
term: countryOfOrigin
'@id': https://w3id.org/traceability#countryOfOrigin
additionalProperties: false
required:
- type
- description
- commodityCode
- commodityCodeType
- originCriterion
- countryOfOrigin
example: |-
{
"type": ["USMCAProduct"],
"description": "Non-alloy steel rolls",
"commodityCode": "721320",
"commodityCodeType": "HS",
"originCriterion": "A",
"countryOfOrigin": "MX"
}
Loading

0 comments on commit b1c1767

Please sign in to comment.