{
  "@context": {
    "@version": 1.1,
    "@protected": true,
    "id": "@id",
    "type": "@type",

    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "schema": "https://schema.org/",
    "trade": "https://vocabulary.uncefact.org/",
    "cred": "https://www.w3.org/2018/credentials#",

    "VerifiableCredential": "cred:VerifiableCredential",
    "PreferentialCertificateOfOrigin": "trade:PreferentialCertificateOfOrigin",

    "validFrom": {
      "@id": "cred:validFrom",
      "@type": "xsd:dateTime"
    },
    "validTo": {
      "@id": "cred:validTo",
      "@type": "xsd:dateTime"
    },
    "issuer": {
      "@id": "cred:issuer",
      "@type": "@id"
    },
    "credentialSubject": {
      "@id": "cred:credentialSubject",
      "@type": "@id"
    },
    "credentialSchema": "cred:credentialSchema",

    "name": "schema:name",
    "street": "schema:streetAddress",
    "city": "schema:addressLocality",
    "state": "schema:addressRegion",
    "zip": "schema:postalCode",
    "country": "schema:addressCountry",

    "certificateNumber": "trade:identifier",
    "goodsDeclarationNumber": "trade:identifier",
    "issueDate": {
      "@id": "trade:issueDateTime",
      "@type": "xsd:date"
    },
    "tradeAgreement": "trade:applicableTradeAgreement",

    "Exporter": "trade:TradeParty",
    "exporter": "trade:exporterTradeParty",
    "Importer": "trade:TradeParty",
    "importer": "trade:importerTradeParty",
    "Consignee": "trade:TradeParty",
    "consignee": "trade:consigneeTradeParty",
    "Consignor": "trade:TradeParty",
    "consignor": "trade:consignorParty",

    "placeOfIssue": "trade:issueLogisticsLocation",
    "placeOfDeparture": "trade:departureLogisticsLocation",
    "originCountry": "trade:originCountry",
    "destinationCountry": "trade:finalDestinationCountry",

    "transportContractNumber": "trade:transportContractDocument",
    "invoiceNumber": "trade:invoiceReferencedDocument",
    "contractNumber": "trade:contractReferencedDocument",

    "IssuingAuthority": "trade:TradeParty",
    "issuingAuthority": "trade:issuingAuthorityTradeParty",
    "CompetentAuthority": "trade:GovernmentRegistration",
    "competentAuthority": "trade:competentGovernmentBody",
    "numberOfPackages": "trade:packageQuantity",
    "certification": "trade:certificationText",
    "authentication": "trade:authenticationText",

    "goods": "trade:includedSupplyChainConsignmentItem",
    "description": "trade:description",
    "hsCode": {
      "@id": "https://vocabulary.uncefact.org/ReferenceCodeList#HS"
    },
    "originCriteria": "trade:originCriteriaText",
    "quantity": "trade:grossVolumeMeasure",
    "netWeight": "trade:netWeightMeasure",
    "grossWeight": "trade:grossWeightMeasure",
    "value": "trade:declaredValueForCustomsAmount",
    "countryOfOrigin": "trade:originCountry",

    "amount": {
      "@id": "schema:value",
      "@type": "xsd:decimal"
    },
    "unit": "schema:unitCode",
    "currency": "schema:currency",

    "unlocode": {
      "@id": "trade:identifier",
      "@type": "@id"
    }
  }
}
