From 2b84f6c8d558d82df1e0a6b10e4acdc23e1de0c6 Mon Sep 17 00:00:00 2001 From: Orie Steele Date: Sun, 11 Aug 2024 17:13:53 -0500 Subject: [PATCH] factored --- .github/workflows/ci.yml | 2 +- package-lock.json | 23 ++++ package.json | 6 +- scripts/build-context.js | 7 +- src/action/args.ts | 4 + ...0c6a0398aeae1f908621625e61477be878579.json | 1 + src/graph/graph/contexts/index.ts | 2 + src/graph/graph/jsongraph.ts | 8 +- src/graph/handler.ts | 115 ++++++++++++++---- src/graph/presentations.ts | 41 +++++++ tests/graph.test.ts | 11 +- 11 files changed, 183 insertions(+), 37 deletions(-) create mode 100644 src/graph/graph/contexts/d7cfce00f08fa1cbd4c58cf5ee60c6a0398aeae1f908621625e61477be878579.json create mode 100644 src/graph/presentations.ts diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c6b5faf..b059d72a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -135,4 +135,4 @@ jobs: neo4j-user: ${{ secrets.NEO4J_USERNAME }} neo4j-password: ${{ secrets.NEO4J_PASSWORD }} transmute: | - vcwg graph ./tests/fixtures/issuer-claims.json --verbose --credential-type application/vc --graph-type application/gql --push + graph assist ./tests/fixtures/issuer-claims.json --verbose --credential-type application/vc --graph-type application/gql --push diff --git a/package-lock.json b/package-lock.json index 19ab3b2d..9a2823a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,8 +12,10 @@ "@actions/core": "^1.10.1", "@transmute/cose": "^0.2.8", "@transmute/edn": "^0.0.5", + "@transmute/sdk": "^0.0.0", "@transmute/verifiable-credentials": "^0.3.3", "axios": "^1.7.3", + "dotenv": "^16.4.5", "jose": "^5.6.3", "jsonld": "^8.3.2", "neo4j-driver": "^5.23.0" @@ -1510,6 +1512,15 @@ "integrity": "sha512-cWeUMvx2qdzJUomiKFs2LZo2ojkOt2Qjqh+3FEPQUIpVOyU/hZwo1nr+dx/p3ETA47lBRUCRFCJI+NtgKB2KAQ==", "license": "Apache-2.0" }, + "node_modules/@transmute/sdk": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/@transmute/sdk/-/sdk-0.0.0.tgz", + "integrity": "sha512-TmHZr10IZSXG4qAvEJ0EEJ4kOHy/aj2pfh5dGhz7+Rl+Aw53qAA5PIHhkDs8TWGTC9rGGYuQyqTH68+E743yEA==", + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.4.0" + } + }, "node_modules/@transmute/vc-jwt-sd": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/@transmute/vc-jwt-sd/-/vc-jwt-sd-0.1.4.tgz", @@ -2713,6 +2724,18 @@ "node": ">=6.0.0" } }, + "node_modules/dotenv": { + "version": "16.4.5", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", + "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, "node_modules/dotenv-cli": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/dotenv-cli/-/dotenv-cli-4.1.1.tgz", diff --git a/package.json b/package.json index 1b2da8d7..985e72ad 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,8 @@ "build": "ncc build -m src/action/run.ts", "transmute": "node dist/index.js", "lint": "eslint ./src --fix", - "test": "dotenv -e .env jest", - "coverage": "dotenv -e .env jest --ci --coverage --runInBand", + "test": "jest", + "coverage": "jest --ci --coverage --runInBand", "prerelease": "npm run build", "release": "npm version patch && git add ./package.json", "postrelease": "git push --tags", @@ -51,8 +51,10 @@ "@actions/core": "^1.10.1", "@transmute/cose": "^0.2.8", "@transmute/edn": "^0.0.5", + "@transmute/sdk": "^0.0.0", "@transmute/verifiable-credentials": "^0.3.3", "axios": "^1.7.3", + "dotenv": "^16.4.5", "jose": "^5.6.3", "jsonld": "^8.3.2", "neo4j-driver": "^5.23.0" diff --git a/scripts/build-context.js b/scripts/build-context.js index d24bd098..cdf6b1e7 100644 --- a/scripts/build-context.js +++ b/scripts/build-context.js @@ -6,7 +6,8 @@ const crypto = require('crypto'); const contextsUrls = [ 'https://www.w3.org/2018/credentials/v1', 'https://www.w3.org/ns/credentials/v2', - 'https://www.w3.org/ns/credentials/examples/v2' + 'https://www.w3.org/ns/credentials/examples/v2', + 'https://w3id.org/traceability/v1' ]; (async () => { @@ -20,7 +21,7 @@ const contextsUrls = [ .createHash('sha256') .update(response.data) .digest('hex') - fs.writeFileSync(`./src/vcwg/graph/contexts/${urlContentHash}.json`, response.data) + fs.writeFileSync(`./src/graph/graph/contexts/${urlContentHash}.json`, response.data) const context = `import { default as c${urlContentHash} } from "./${urlContentHash}.json"` index += `${context}\n` contexts[contextUrl] = `c${urlContentHash}` @@ -30,5 +31,5 @@ const contextsUrls = [ index += ` "${url}": ${urlContentHash},\n` } index += `}\n` - fs.writeFileSync(`./src/vcwg/graph/contexts/index.ts`, index) + fs.writeFileSync(`./src/graph/graph/contexts/index.ts`, index) })() \ No newline at end of file diff --git a/src/action/args.ts b/src/action/args.ts index b21381b9..8cd3d536 100644 --- a/src/action/args.ts +++ b/src/action/args.ts @@ -26,6 +26,7 @@ export type VcwgOptions = { 'credential-type'?: string 'presentation-type'?: string push?: boolean + env?: string } export type ScittOptions = { @@ -61,6 +62,9 @@ export const args = (prompt: string) => { push: { type: 'boolean' as "boolean", }, + env: { + type: 'string' as "string", + }, 'credential-type': { type: 'string' as "string", }, diff --git a/src/graph/graph/contexts/d7cfce00f08fa1cbd4c58cf5ee60c6a0398aeae1f908621625e61477be878579.json b/src/graph/graph/contexts/d7cfce00f08fa1cbd4c58cf5ee60c6a0398aeae1f908621625e61477be878579.json new file mode 100644 index 00000000..42862022 --- /dev/null +++ b/src/graph/graph/contexts/d7cfce00f08fa1cbd4c58cf5ee60c6a0398aeae1f908621625e61477be878579.json @@ -0,0 +1 @@ +{"@context":{"@version":1.1,"@vocab":"https://www.w3.org/ns/credentials/issuer-dependent#","id":"@id","type":"@type","name":"https://schema.org/name","description":"https://schema.org/description","identifier":"https://schema.org/identifier","image":{"@id":"https://schema.org/image","@type":"@id"},"relatedLink":{"@id":"https://w3id.org/traceability#LinkRole"},"manufacturer":"https://vocabulary.uncefact.org/manufacturerParty","manufacturingCountry":"https://vocabulary.uncefact.org/manufactureCountry","product":"https://w3id.org/traceability#SteelProduct","rawMaterial":"https://w3id.org/traceability#rawMaterial","items":"https://schema.org/ItemList","dateOfExport":{"@id":"https://vocabulary.uncefact.org/exportExitDateTime","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"TraceablePresentation":{"@id":"https://w3id.org/traceability#traceable-presentation","@context":{"replace":{"@id":"https://w3id.org/traceability#workflow-replace","@type":"@id"},"workflow":{"@id":"https://w3id.org/traceability#workflow","@context":{"definition":{"@id":"https://w3id.org/traceability#workflow-definition","@type":"@id"},"instance":{"@id":"https://w3id.org/traceability#workflow-instance","@type":"@id"}}}}},"AgricultureActivity":{"@id":"https://w3id.org/traceability#AgricultureActivity","@context":{"business":{"@id":"https://w3id.org/traceability#dfn-entities"},"actor":{"@id":"https://w3id.org/traceability#Person"},"location":{"@id":"https://www.gs1.org/voc/Place"},"activityDate":{"@id":"https://schema.org/endDate"},"activityType":{"@id":"https://schema.org/description"},"agricultureProduct":{"@id":"https://schema.org/ItemList"},"observation":{"@id":"https://w3id.org/traceability#observation"}}},"AgricultureInspectionCommonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo","@context":{"applicant":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"facility":{"@id":"https://www.gs1.org/voc/location"},"inspector":{"@id":"https://w3id.org/traceability#Inspector"},"delegateOf":{"@id":"https://vocabulary.uncefact.org/specifiedLegalOrganization"},"regulatoryAgency":{"@id":"https://vocabulary.uncefact.org/specifiedLegalOrganization"},"inspectionStarted":{"@id":"https://vocabulary.uncefact.org/startDateTime"},"inspectionEnded":{"@id":"https://vocabulary.uncefact.org/endDateTime"}}},"AgricultureInspectionGeneric":{"@id":"https://w3id.org/traceability#AgricultureInspectionGeneric","@context":{"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"inspectionType":{"@id":"https://www.gs1.org/voc/certificationType"},"observation":{"@id":"https://vocabulary.uncefact.org/relatedObservation"},"name":{"@id":"https://schema.org/name"},"status":{"@id":"https://vocabulary.uncefact.org/status"},"productQuantity":{"@id":"https://vocabulary.uncefact.org/Measurement"},"packageSize":{"@id":"https://vocabulary.uncefact.org/Measurement"},"inspectorCounted":{"@id":"https://vocabulary.uncefact.org/applicableSpecifiedAction"}}},"AgriculturePackage":{"@id":"https://w3id.org/traceability#AgriculturePackage","@context":{"packageName":{"@id":"https://schema.org/name"},"grade":{"@id":"https://w3id.org/traceability#grade"},"responsibleParty":{"@id":"https://w3id.org/traceability#responsibleParty"},"voicePickCode":{"@id":"https://w3id.org/traceability#voicePickCode"},"packingDate":{"@id":"https://www.gs1.org/voc/packagingDate"},"harvestDate":{"@id":"https://vocabulary.uncefact.org/harvestDateTime"},"bestByDate":{"@id":"https://vocabulary.uncefact.org/bestBeforeDateTime"},"labelImageUrl":{"@id":"https://schema.org/url"},"labelImageHash":{"@id":"https://schema.org/sha256"},"agricultureProduct":{"@id":"https://schema.org/ItemList"},"harvest":{"@id":"https://w3id.org/traceability#AgricultureActivity"}}},"AgricultureParcelDelivery":{"@id":"https://w3id.org/traceability#AgricultureParcelDelivery","@context":{"deliveryAddress":{"@id":"https://schema.org/deliveryAddress"},"originAddress":{"@id":"https://schema.org/originAddress"},"foreignPortExport":{"@id":"https://schema.org/itinerary"},"portOfEntry":{"@id":"https://schema.org/itinerary"},"deliveryMethod":{"@id":"https://schema.org/hasDeliveryMethod"},"trackingNumber":{"@id":"https://schema.org/trackingNumber"},"expectedArrival":{"@id":"https://schema.org/expectedArrivalFrom"},"specialInstructions":{"@id":"https://schema.org/comment"},"consignee":{"@id":"https://schema.org/Organization"},"agriculturePackage":{"@id":"https://schema.org/itemShipped"},"movementPoints":{"@id":"https://schema.org/itinerary"},"plannedRoute":{"@id":"https://schema.org/itinerary"},"shipper":{"@id":"https://schema.org/seller"},"purchaser":{"@id":"https://schema.org/buyer"},"carrier":{"@id":"https://schema.org/carrier"},"broker":{"@id":"https://schema.org/broker"}}},"AgricultureProduct":{"@id":"https://w3id.org/traceability#AgricultureProduct","@context":{"plu":{"@id":"https://schema.org/identifier"},"product":{"@id":"https://www.gs1.org/voc/Product"},"unitQuantity":{"@id":"https://vocabulary.uncefact.org/actualQuantity"},"scientificName":{"@id":"https://vocabulary.uncefact.org/scientificName"},"plantParts":{},"labelImageUrl":{"@id":"https://schema.org/url"},"labelImageHash":{"@id":"https://schema.org/sha256"},"name":{"@id":"https://schema.org/name"},"variety":{"@id":"https://www.gs1.org/voc/consumerProductVariant"},"commodityDesignation":{"@id":"https://www.gs1.org/voc/additionalProductDescription"},"packType":{"@id":"https://www.gs1.org/voc/packaging"}}},"BankAccount":{"@id":"https://w3id.org/traceability#BankAccount","@context":{"accountId":{"@id":"https://w3id.org/traceability#accountId"},"BIC11":{"@id":"https://w3id.org/traceability#BIC11"},"iban":{"@id":"https://w3id.org/traceability#iban"},"routingInfo":{"@id":"https://w3id.org/traceability#routingInfo"},"familyName":{"@id":"http://schema.org/familyName"},"givenName":{"@id":"http://schema.org/givenName"},"address":{"@id":"https://schema.org/PostalAddress"}}},"BankAccountHolderAffirmation":{"@id":"https://w3id.org/traceability#BankAccountHolderAffirmation","@context":{"affirmingParty":{"@id":"https://w3id.org/traceability#evidenceVerifier"},"bankAccountHolderAffirmationApproach":{"@id":"https://schema.org/name"},"bank":{"@id":"https://schema.org/Organization"}}},"BillOfLading":{"@id":"https://w3id.org/traceability#BillOfLading","@context":{"billOfLadingNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BM"},"bookingNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BN"},"relatedDocuments":{"@id":"https://schema.org/Purchase"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"consignor":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"notify":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"freightForwarder":{"@id":"https://vocabulary.uncefact.org/freightForwarderParty"},"freight":{"@id":"https://schema.org/ParcelDelivery"},"nmfcFreightClass":{"@id":"https://w3id.org/traceability#nmfcFreightClass"},"hazardCode":{"@id":"https://w3id.org/traceability#hazardCode"},"portOfLoading":{"@id":"https://vocabulary.uncefact.org/LocationFunctionCodeList#9"},"portOfDischarge":{"@id":"https://vocabulary.uncefact.org/LocationFunctionCodeList#11"},"particulars":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"}}},"BusinessRegistrationVerification":{"@id":"https://w3id.org/traceability#BusinessRegistrationVerification","@context":{"affirmingParty":{"@id":"https://w3id.org/traceability#affirmingParty"},"registrationUrl":{"@id":"https://schema.org/url"},"taxIdentificationNumber":{"@id":"https://vocabulary.uncefact.org/uncl1153#AHP"},"countryOfRegistration":{"@id":"https://schema.org/country"}}},"CBPEntry":{"@id":"https://w3id.org/traceability#CBPEntry","@context":{"portOfEntry":{"@id":"https://schema.org/Place"},"bondType":{"@id":"https://w3id.org/traceability#bondType"},"importer":{"@id":"https://vocabulary.uncefact.org/importerParty"},"importerOfRecord":{"@id":"https://w3id.org/traceability#importerOfRecord"},"entryNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AQM"},"bondValue":{"@id":"https://schema.org/MonetaryAmount"},"entryValue":{"@id":"https://schema.org/MonetaryAmount"},"centralizedExaminationSite":{"@id":"https://w3id.org/traceability#centralizedExaminationSite"},"entryType":{"@id":"https://w3id.org/traceability#entryType"},"originatingWarehouseEntryNumber":{"@id":"https://w3id.org/traceability#originatingWarehouseEntryNumber"},"suretyCode":{"@id":"https://w3id.org/traceability#suretyCode"},"portOfUnlading":{"@id":"https://schema.org/Place"},"transportMode":{"@id":"https://w3id.org/traceability#transportMode"},"locationOfGoods":{"@id":"https://schema.org/Place"},"generalOrderNumber":{"@id":"https://w3id.org/traceability#generalOrderNumber"},"conveyanceNameOrFreeTradeZoneID":{"@id":"https://w3id.org/traceability#conveyanceNameOrFreeTradeZoneID"},"referenceIDCode":{"@id":"https://w3id.org/traceability#referenceIDCode"},"referenceIDNumber":{"@id":"https://w3id.org/traceability#referenceIDNumber"},"lineItems":{"@id":"https://w3id.org/traceability#lineItems"},"nonAMS":{"@id":"https://w3id.org/traceability#nonAMS"},"splitBill":{"@id":"https://w3id.org/traceability#splitBill"},"bolType":{"@id":"https://w3id.org/traceability#bolType"},"scac":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AAZ"},"inBondNumber":{"@id":"https://w3id.org/traceability#inBondNumber"},"bolNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BM"},"quantity":{"@id":"https://w3id.org/traceability#quantity"},"voyageFlightTrip":{"@id":"https://w3id.org/traceability#voyageFlightTrip"},"conveyanceName":{"@id":"https://w3id.org/traceability#conveyanceName"},"arrivalDate":{"@id":"https://vocabulary.uncefact.org/actualArrivalRelatedDateTime"}}},"CBPEntryEntity":{"@id":"https://w3id.org/traceability#CBPEntryEntity","@context":{"importerOfRecord":{"@id":"https://w3id.org/traceability#importerOfRecord"}}},"CBPEntryLineItem":{"@id":"https://w3id.org/traceability#CBPEntryLineItem","@context":{"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"productDescription":{"@id":"https://schema.org/description"},"itemCount":{"@id":"https://vocabulary.uncefact.org/despatchedQuantity"},"itemParty":{"@id":"https://w3id.org/traceability#itemParty"},"freeTradeZoneFilingDate":{"@id":"https://schema.org/endDate"},"freeTradeZoneStatus":{"@id":"https://w3id.org/traceability#freeTradeZoneStatus"},"countryOfOrigin":{"@id":"https://vocabulary.uncefact.org/originCountry"},"value":{"@id":"https://schema.org/MonetaryAmount"}}},"CBPEntrySummary":{"@id":"https://w3id.org/traceability#CBPEntrySummary","@context":{"entryNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AQM"},"entryType":{"@id":"https://w3id.org/traceability#entryType"},"summaryDate":{"@id":"https://vocabulary.uncefact.org/submissionDateTime"},"suretyCode":{"@id":"https://w3id.org/traceability#suretyCode"},"bondType":{"@id":"https://w3id.org/traceability#bondType"},"portCode":{"@id":"https://schema.org/Place"},"entryDate":{"@id":"https://vocabulary.uncefact.org/jurisdictionEntryDateTime"},"importingCarrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"transportMode":{"@id":"https://w3id.org/traceability#transportMode"},"countryOfOrigin":{"@id":"https://w3id.org/traceability#countryOfOrigin"},"importDate":{"@id":"https://vocabulary.uncefact.org/arrivalRelatedDateTime"},"billOfLadingNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BM"},"manufacturerId":{"@id":"https://schema.org/identifier"},"exportingCountry":{"@id":"https://schema.org/addressCountry"},"exportDate":{"@id":"https://vocabulary.uncefact.org/departureRelatedDateTime"},"immediateTransportationNumber":{"@id":"https://schema.org/identifier"},"immediateTransportationDate":{"@id":"https://vocabulary.uncefact.org/actualOccurrenceDateTime"},"missingDocuments":{"@id":"https://w3id.org/traceability#missingDocuments"},"portOfLoading":{"@id":"https://schema.org/Place"},"portOfUnlading":{"@id":"https://schema.org/Place"},"locationOfGoods":{"@id":"https://schema.org/Place"},"consigneeNumber":{"@id":"https://schema.org/identifier"},"importerNumber":{"@id":"https://w3id.org/traceability#importerOfRecord"},"referenceNumber":{"@id":"https://w3id.org/traceability#referenceNumber"},"ultimateConsignee":{"@id":"https://vocabulary.uncefact.org/shipToParty"},"importerOfRecord":{"@id":"https://vocabulary.uncefact.org/importerParty"},"descriptionOfMerchandise":{"@id":"https://w3id.org/traceability#descriptionOfMerchandise"},"otherFeeSummary":{"@id":"https://w3id.org/traceability#otherFeeSummary"},"totalEnteredValue":{"@id":"https://schema.org/MonetaryAmount"},"declarationOfImporter":{"@id":"https://w3id.org/traceability#declarationOfImporter"},"duty":{"@id":"https://schema.org/MonetaryAmount"},"tax":{"@id":"https://schema.org/MonetaryAmount"},"other":{"@id":"https://schema.org/MonetaryAmount"},"total":{"@id":"https://schema.org/MonetaryAmount"}}},"CBPEntrySummaryLineItem":{"@id":"https://w3id.org/traceability#CBPEntrySummaryLineItem","@context":{"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"adCvdNumber":{"@id":"https://w3id.org/traceability#adCvdNumber"},"categoryNumber":{"@id":"https://w3id.org/traceability#categoryNumber"},"otherFees":{"@id":"https://w3id.org/traceability#otherFees"},"grossWeight":{"@id":"https://schema.org/weight"},"manifestQuantity":{"@id":"https://w3id.org/traceability#manifestQuantity"},"netQuantity":{"@id":"https://schema.org/Quantity"},"enteredValue":{"@id":"https://schema.org/MonetaryAmount"},"charges":{"@id":"https://schema.org/MonetaryAmount"},"relationship":{"@id":"https://schema.org/MonetaryAmount"},"htsRate":{"@id":"https://w3id.org/traceability#htsRate"},"adCvdRate":{"@id":"https://w3id.org/traceability#adCvdRate"},"ircRate":{"@id":"https://w3id.org/traceability#ircRate"},"visaNumber":{"@id":"https://w3id.org/traceability#visaNumber"},"agriculturalLicenseNumber":{"@id":"https://w3id.org/traceability#agriculturalLicenseNumber"},"dutyAndIRTax":{"@id":"https://w3id.org/traceability#dutyAndIRTax"}}},"CBPEntryType86":{"@id":"https://w3id.org/traceability#CBPEntryType86","@context":{"bolNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BM"},"entryNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AQM"},"portOfEntry":{"@id":"https://schema.org/Place"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"countryOfOrigin":{"@id":"https://vocabulary.uncefact.org/originCountry"},"quantity":{"@id":"https://w3id.org/traceability#quantity"},"fairRetailValue":{"@id":"https://schema.org/MonetaryAmount"},"htsusNumber":{"@id":"https://w3id.org/traceability#commodityCode"},"importerOfRecord":{"@id":"https://w3id.org/traceability#importerOfRecord"}}},"CBPImporterOfRecord":{"@id":"https://w3id.org/traceability#CBPImporterOfRecord","@context":{"number":{"@id":"https://w3id.org/traceability#CBPImporterOfRecordNumber"},"identifierType":{"@id":"https://w3id.org/traceability#CBPImporterOfRecordType"}}},"CTPAT":{"@id":"https://w3id.org/traceability#CTPAT","@context":{"sviNumber":{"@id":"https://w3id.org/traceability#sviNumber"},"ctpatAccountNumber":{"@id":"https://w3id.org/traceability#ctpatAccountNumber"},"tradeSector":{"@id":"https://schema.org/industry"},"tier":{"@id":"https://w3id.org/traceability#ctpatTier"},"dateOfLastValidation":{"@id":"https://schema.org/endDate"},"issuingCountry":{"@id":"https://schema.org/addressCountry"}}},"CTPATEIPApplication":{"@id":"https://w3id.org/traceability#CTPAT","@context":{"applicant":{"@id":"https://w3id.org/traceability#applicant"},"applicantType":{"@id":"https://w3id.org/traceability#applicantType"}}},"CTPATMember":{"@id":"https://schema.org/Organization","@context":{"name":{"@id":"https://schema.org/name"},"scac":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AAZ"},"iataCarrierCode":{"@id":"https://onerecord.iata.org/cargo/Company#airlineCode"},"importerOfRecord":{"@id":"https://w3id.org/traceability#importerOfRecord"},"faxNumber":{"@id":"https://schema.org/faxNumber"},"url":{"@id":"https://schema.org/url"},"logo":{"@id":"https://schema.org/logo"}}},"CargoItem":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/cargoItem","@context":{"cargoLineItems":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/cargoLineItem"},"carrierBookingReference":{"@id":"https://vocabulary.uncefact.org/carrierAssignedId"},"weight":{"@id":"https://schema.org/weight"},"volume":{"@id":"https://vocabulary.uncefact.org/grossVolumeMeasure"},"weightUnit":{"@id":"https://schema.org/unitCode"},"volumeUnit":{"@id":"https://schema.org/unitCode"},"numberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"packageCode":{"@id":"https://vocabulary.uncefact.org/packageTypeCode"}}},"CargoLineItem":{"@id":"https://w3id.org/traceability#CargoLineItem","@context":{"cargoLineItemID":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/cargoLineItemID"},"shippingMarks":{"@id":"https://vocabulary.uncefact.org/physicalShippingMarks"},"descriptionOfGoods":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/descriptionOfGoods"},"HSCode":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/HSCode"}}},"ChargeDeclaration":{"@id":"https://w3id.org/traceability#ChargeDeclaration","@context":{"weightCharge":{"@id":"https://schema.org/price"},"valuationCharge":{"@id":"https://schema.org/price"},"tax":{"@id":"https://schema.org/price"},"dueAgent":{"@id":"https://schema.org/price"},"dueCarrier":{"@id":"https://schema.org/price"},"total":{"@id":"https://schema.org/totalPrice"}}},"ChemicalProperty":{"@id":"https://w3id.org/traceability#ChemicalProperty","@context":{"identifier":{"@id":"https://schema.org/identifier"},"name":{"@id":"https://schema.org/name"},"description":{"@id":"https://schema.org/description"},"formula":{"@id":"https://purl.obolibrary.org/obo/chebi/formula"},"inchi":{"@id":"https://purl.obolibrary.org/obo/chebi/inchi"},"inchikey":{"@id":"https://purl.obolibrary.org/obo/chebi/inchikey"}}},"CommissionEvent":{"@id":"https://w3id.org/traceability#CommissionEvent","@context":{"place":{"@id":"https://schema.org/Place"},"organization":{"@id":"https://w3id.org/traceability#Organization"},"products":{"@id":"https://schema.org/Product"}}},"Commodity":{"@id":"https://w3id.org/traceability#Commodity","@context":{"commodityCode":{"@id":"https://w3id.org/traceability#commodityCode"},"commodityCodeType":{"@id":"https://w3id.org/traceability#commodityCodeType"},"description":{"@id":"https://schema.org/description"}}},"ConsignmentItem":{"@id":"https://vocabulary.uncefact.org/ConsignmentItem","@context":{"marksAndNumbers":{"@id":"https://vocabulary.uncefact.org/ShippingMarks"},"descriptionOfPackagesAndGoods":{"@id":"https://vocabulary.uncefact.org/natureIdentificationCargo"},"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"packageQuantity":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"netWeight":{"@id":"https://schema.org/weight"},"grossWeight":{"@id":"https://schema.org/weight"},"grossVolume":{"@id":"https://vocabulary.uncefact.org/grossVolumeMeasure"},"countryOfOrigin":{"@id":"https://vocabulary.uncefact.org/originCountry"},"manufacturer":{"@id":"https://vocabulary.uncefact.org/manufacturerParty"},"transportPackages":{"@id":"https://vocabulary.uncefact.org/transportPackage"}}},"ConsignmentRatingDetail":{"@id":"https://w3id.org/traceability#ConsignmentRatingDetail","@context":{"numberOfPieces":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"grossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"grossWeightUnit":{"@id":"https://schema.org/unitCode"},"rateClass":{"@id":"https://vocabulary.uncefact.org/freightChargeTariffClassCode"},"commodityItemNumber":{"@id":"https://vocabulary.uncefact.org/discountIndicator"},"chargeableWeight":{"@id":"https://schema.org/weight"},"rateCharge":{"@id":"https://schema.org/price"},"total":{"@id":"https://schema.org/totalPrice"},"natureAndVolumeOfGoods":{"@id":"https://schema.org/description"}}},"ContactPoint":{"@id":"https://schema.org/ContactPoint","@context":{"name":{"@id":"https://schema.org/name"},"place":{"@id":"https://w3id.org/traceability#place"},"email":{"@id":"https://schema.org/email"},"phoneNumber":{"@id":"https://schema.org/telephone"},"jobTitle":{"@id":"https://schema.org/jobTitle"}}},"Customer":{"@id":"https://w3id.org/traceability#Customer","@context":{"name":{"@id":"https://schema.org/name"},"address":{"@id":"https://schema.org/PostalAddress"},"telephone":{"@id":"https://schema.org/telephone"},"email":{"@id":"https://schema.org/email"}}},"DCSAShippingInstruction":{"@id":"https://vocabulary.uncefact.org/TransportInstructions","@context":{"shippingInstructionID":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#TIN"},"transportDocumentType":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/transportDocumentType"},"preCarriageUnderShippersResponsibility":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/preCarriageUnderShippersResponsibility"},"invoicePayableAt":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/invoicePayableAt"},"carrierBookingReference":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BN"},"cargoItems":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"utilizedTransportEquipments":{"@id":"https://vocabulary.uncefact.org/utilizedTransportEquipment"},"shipmentLocations":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DOCUMENTATION_DOMAIN/1.0.0#/components/schemas/shipmentLocation"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"invoicePayerShipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"invoicePayerConsignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"firstNotify":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"secondNotify":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"otherNotify":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"shippersFreightForwarder":{"@id":"https://vocabulary.uncefact.org/freightForwarderParty"},"consigneesFreightForwarder":{"@id":"https://vocabulary.uncefact.org/freightForwarderParty"}}},"DCSATransportDocument":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/transportDocument","@context":{"transportDocumentReference":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BM"},"placeOfIssue":{"@id":"https://vocabulary.uncefact.org/issueLocation"},"issueDate":{"@id":"https://vocabulary.uncefact.org/issueDateTime"},"shippedOnBoardDate":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/shippedOnBoardDate"},"receivedForShipmentDate":{"@id":"https://vocabulary.uncefact.org/availabilityDueDateTime"},"termsAndConditions":{"@id":"https://vocabulary.uncefact.org/termsAndConditionsDescription"},"issuerCode":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AAZ"},"issuerCodeListProvider":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/issuerCodeListProvider"},"declaredValueCurrency":{"@id":"https://schema.org/currency"},"cargoMovementTypeAtOrigin":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/cargoMovementTypeAtOrigin"},"cargoMovementTypeAtDestination":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/cargoMovementTypeAtDestination"},"receiptDeliveryTypeAtOrigin":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/receiptDeliveryTypeAtOrigin"},"receiptDeliveryTypeAtDestination":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/receiptDeliveryTypeAtDestination"},"serviceContractReference":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.2#/components/schemas/serviceContractReference"},"shippingInstruction":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/shippingInstruction"},"charges":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/charges"},"clauses":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/clauses"},"transports":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/transports"}}},"DeMinimisShipment":{"@id":"https://w3id.org/traceability#DeMinimisShipment","@context":{"originatorCode":{"@id":"https://w3id.org/traceability#originatorCode"},"participantFilerType":{"@id":"https://w3id.org/traceability#participantFilerType"},"shipmentTrackingNumber":{"@id":"https://vocabulary.uncefact.org/MarkingInstructionCodeList#37"},"houseBillOfLadingNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BH"},"masterBillOfLadingNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BM"},"modeOfTransportation":{"@id":"https://vocabulary.uncefact.org/mode"},"shipmentInitiator":{"@id":"https://w3id.org/traceability#shipmentInitiator"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"finalDeliverTo":{"@id":"https://vocabulary.uncefact.org/shipToParty"},"enhancedProductDescription":{"@id":"https://w3id.org/traceability#enhancedProductDescription"},"shipmentSecurityScan":{"@id":"https://w3id.org/traceability#shipmentSecurityScan"},"knownCarrierCustomerFlag":{"@id":"https://w3id.org/traceability#knownCarrierCustomerFlag"},"knownMarketplaceSellerFlag":{"@id":"https://w3id.org/traceability#knownMarketplaceSellerFlag"},"marketplaceSellerAccountNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#ADE"},"productPicture":{"@id":"https://schema.org/image"},"listedPriceOnMarketplace":{"@id":"https://schema.org/price"}}},"DeliverySchedule":{"@id":"https://w3id.org/traceability#DeliverySchedule","@context":{"transporter":{"@id":"https://schema.org/agent"},"batchNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BT"},"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"place":{"@id":"https://schema.org/toLocation"},"consignor":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"scheduledVolume":{"@id":"https://w3id.org/traceability#QuantitativeValue"},"scheduledDate":{"@id":"https://schema.org/departureTime"},"injectionVolume":{"@id":"https://w3id.org/traceability#QuantitativeValue"},"injectionDate":{"@id":"https://schema.org/departureTime"},"injectionEndDate":{"@id":"https://schema.org/departureTime"},"deliveryDate":{"@id":"https://schema.org/arrivalTime"},"deliveryEndDate":{"@id":"https://schema.org/arrivalTime"},"portOfEntry":{"@id":"https://w3id.org/traceability#Place"},"portOfDestination":{"@id":"https://w3id.org/traceability#Place"},"portOfArrival":{"@id":"https://w3id.org/traceability#Place"},"addressCountry":{"@id":"https://schema.org/addressCountry"}}},"DeliveryStatement":{"@id":"https://w3id.org/traceability#DeliveryStatement","@context":{"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"deliveredDate":{"@id":"https://schema.org/endDate"},"deliveredVolume":{"@id":"https://schema.org/MeasuredValue"},"observation":{"@id":"https://w3id.org/traceability#observation"}}},"EDDShape":{"@id":"https://w3id.org/traceability#EDDShape","@context":{"meta":{"@id":"https://w3id.org/traceability#EDDShapeMeta"},"reporter":{"@id":"https://schema.org/name"},"scientificName":{"@id":"http://rs.tdwg.org/dwc/terms/scientificName"},"commonName":{"@id":"http://rs.tdwg.org/dwc/terms/vernacularName"},"subjectNativity":{"@id":"http://rs.tdwg.org/dwc/terms/establishmentMeans"},"occurrenceStatus":{"@id":"http://rs.tdwg.org/dwc/iri/measurementValue"},"status":{"@id":"https://schema.org/description"},"observationDate":{"@id":"http://rs.tdwg.org/dwc/terms/eventDate"},"dateEntered":{"@id":"http://rs.tdwg.org/dwc/terms/eventDate"},"dateUpdated":{"@id":"http://rs.tdwg.org/dwc/terms/eventDate"},"location":{"@id":"https://schema.org/location"},"mapResources":{"@id":"https://w3id.org/traceability#MapResource"},"naDatum":{"@id":"http://rs.tdwg.org/dwc/terms/geodeticDatum"},"coordinateUncertainty":{"@id":"http://rs.tdwg.org/dwc/terms/coordinateUncertaintyInMeters"},"centroidType":{"@id":"https://schema.org/polygon"},"abundance":{"@id":"https://schema.org/description"},"infestedAreaAcres":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"grossAreaAcres":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"percentCover":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"density":{"@id":"http://rs.tdwg.org/dwc/terms/measurementRemarks"},"quantity":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"quantityUnits":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantityType"},"approximateQuantity":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"incidence":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"severity":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"managementStatus":{"@id":"https://schema.org/status"},"habitat":{"@id":"http://rs.tdwg.org/dwc/terms/habitat"},"siteName":{"@id":"http://rs.tdwg.org/dwc/terms/locationID"},"recordBasis":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"},"surveyor":{"@id":"http://rs.tdwg.org/dwc/terms/recordedBy"},"dateUncertaintyDays":{"@id":"http://rs.tdwg.org/dwc/terms/measurementAccuracy"},"visitType":{"@id":"https://schema.org/description"},"persistentId":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceID"},"uuid":{"@id":"http://rs.tdwg.org/dwc/terms/dateIdentified"},"reviewer":{"@id":"http://rs.tdwg.org/dwc/terms/identifiedBy"},"verificationMethod":{"@id":"http://rs.tdwg.org/dwc/terms/identificationRemarks"},"verified":{"@id":"http://rs.tdwg.org/dwc/terms/identificationVerificationStatus"},"identificationCredibility":{"@id":"http://rs.tdwg.org/dwc/terms/identificationRemarks"}}},"EDDShapeMeta":{"@id":"https://w3id.org/traceability#EDDShapeMeta","@context":{"recordOwner":{"@id":"https://schema.org/name"},"shapeType":{"@id":"https://schema.org/description"},"method":{"@id":"http://rs.tdwg.org/dwc/terms/locationRemarks"},"numberCollected":{"@id":"http://rs.tdwg.org/dwc/terms/measurementRemarks"},"populationStatus":{"@id":"http://rs.tdwg.org/dwc/terms/degreeOfEstablishment"},"smallestOrganismSampled":{"@id":"https://schema.org/size"},"largestOrganismSampled":{"@id":"https://schema.org/size"},"hostScientificName":{"@id":"http://rs.tdwg.org/dwc/terms/scientificName"},"hostName":{"@id":"http://rs.tdwg.org/dwc/terms/vernacularName"},"hostPhenology":{"@id":"http://rs.tdwg.org/dwc/terms/lifeStage"},"hostDamage":{"@id":"https://schema.org/description"},"localOwnership":{"@id":"http://rs.tdwg.org/dwc/terms/locality"},"museum":{"@id":"https://schema.org/name"},"museumRecord":{"@id":"http://rs.tdwg.org/dwc/terms/catalogNumber"},"voucher":{"@id":"http://rs.tdwg.org/dwc/terms/disposition"},"observationId":{"@id":"http://rs.tdwg.org/dwc/terms/identifiedBy"},"collectionTimeMinutes":{"@id":"https://schema.org/activityDuration"},"originalRecordId":{"@id":"http://rs.tdwg.org/dwc/terms/recordNumber"},"originalReportedName":{"@id":"http://rs.tdwg.org/dwc/terms/verbatimIdentification"},"recordSourceType":{"@id":"http://rs.tdwg.org/dwc/terms/measurementRemarks"},"dataCollectionMethod":{"@id":"http://rs.tdwg.org/dwc/terms/measurementMethod"},"trapType":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"},"numberTraps":{"@id":"http://rs.tdwg.org/dwc/terms/samplingEffort"},"targetName":{"@id":"http://rs.tdwg.org/dwc/terms/organismName"},"targetCount":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"targetRange":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"phenology":{"@id":"http://rs.tdwg.org/dwc/terms/organismRemarks"},"lifeStatus":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"sex":{"@id":"http://rs.tdwg.org/dwc/terms/sex"},"waterBodyName":{"@id":"http://rs.tdwg.org/dwc/terms/waterBody"},"waterBodyType":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"substrate":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"treatmentArea":{"@id":"http://rs.tdwg.org/dwc/iri/measurementValue"},"plantsTreated":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"treatmentComments":{"@id":"http://rs.tdwg.org/dwc/terms/eventRemarks"},"reference":{"@id":"http://rs.tdwg.org/dwc/terms/associatedReferences"},"locality":{"@id":"http://rs.tdwg.org/dwc/terms/locationRemarks"},"comments":{"@id":"http://rs.tdwg.org/dwc/terms/eventRemarks"},"publicReviewerComments":{"@id":"http://rs.tdwg.org/dwc/terms/identificationRemarks"}}},"Entity":{"@id":"https://w3id.org/traceability#Entity","@context":{"entityType":{"@id":"https://schema.org/additionalType"},"name":{"@id":"https://schema.org/name"},"legalName":{"@id":"https://schema.org/legalName"},"url":{"@id":"https://schema.org/url"},"taxId":{"@id":"https://schema.org/taxID"},"address":{"@id":"https://schema.org/PostalAddress"},"email":{"@id":"https://schema.org/email"},"phoneNumber":{"@id":"https://schema.org/telephone"},"faxNumber":{"@id":"https://schema.org/faxNumber"}}},"EntryNumber":{"@id":"https://w3id.org/traceability#EntryNumber","@context":{"entryNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AQM"}}},"Event":{"@id":"https://w3id.org/traceability#EventCredential","@context":{}},"ExternalResource":{"@id":"https://w3id.org/traceability#ExternalResource","@context":{"uri":{"@id":"https://schema.org/contentUrl"},"hash":{"@id":"https://schema.org/sha256"}}},"FSMAAbstractKDE":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE","@context":{"name":{"@id":"https://schema.org/propertyID"},"value":{"@id":"https://schema.org/value"}}},"FSMACreatingCTE":{"@id":"https://w3id.org/traceability#FSMACreatingCTE","@context":{"food":{"@id":"https://w3id.org/traceability#FSMAProduct"},"location":{"@id":"https://schema.org/location"},"dateCompleted":{"@id":"https://vocabulary.uncefact.org/creationDateTime"},"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"}}},"FSMAFirstReceiverData":{"@id":"https://w3id.org/traceability#FSMAFirstReceiverData","@context":{"traceabilityLot":{"@id":"https://w3id.org/traceability#FSMATraceabilityLot"},"originatorLocation":{"@id":"https://schema.org/location"},"harvestDate":{"@id":"https://vocabulary.uncefact.org/harvestDateTime"},"coolingLocation":{"@id":"https://schema.org/location"},"coolingDate":{"@id":"https://vocabulary.uncefact.org/actualOccurrenceDateTime"},"packingLocation":{"@id":"https://schema.org/location"},"packingDate":{"@id":"https://www.gs1.org/voc/packagingDate"},"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"}}},"FSMAGrowingCTE":{"@id":"https://w3id.org/traceability#FSMAGrowingCTE","@context":{"traceabilityLot":{"@id":"https://w3id.org/traceability#FSMATraceabilityLot"},"growingAreaCoordinates":{"@id":"https://w3id.org/traceability#GeoCoordinates"},"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"}}},"FSMAProduct":{"@id":"https://w3id.org/traceability#FSMAProduct","@context":{"traceabilityLot":{"@id":"https://w3id.org/traceability#FSMATraceabilityLot"},"quantity":{"@id":"https://vocabulary.uncefact.org/applicableQuantity"},"unit":{"@id":"https://vocabulary.uncefact.org/applicableQuantityUnitTypeCode"},"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"}}},"FSMAReceivingCTE":{"@id":"https://w3id.org/traceability#FSMAReceivingCTE","@context":{"shipment":{"@id":"https://w3id.org/traceability#FSMAShipment"},"dateReceived":{"@id":"https://vocabulary.uncefact.org/receivedDateTime"},"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"}}},"FSMAShipment":{"@id":"https://w3id.org/traceability#FSMAShipment","@context":{"product":{"@id":"https://w3id.org/traceability#FSMAProduct"},"from":{"@id":"https://schema.org/fromLocation"},"to":{"@id":"https://schema.org/toLocation"},"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"}}},"FSMAShippingCTE":{"@id":"https://w3id.org/traceability#FSMAShippingCTE","@context":{"shipment":{"@id":"https://w3id.org/traceability#FSMAShipment"},"dateShipped":{"@id":"https://schema.org/startDate"},"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"}}},"FSMATraceabilityLot":{"@id":"https://w3id.org/traceability#FSMATraceabilityLot","@context":{"lotCode":{"@id":"https://www.gs1.org/voc/hasBatchLotNumber"},"lotCodeAssignmentMethod":{"@id":"https://schema.org/description"},"lotCodeGeneratorLocation":{"@id":"https://schema.org/location"},"lotCodeGeneratorPOC":{"@id":"https://schema.org/contactPoint"},"lotType":{"@id":"https://schema.org/additionalType"},"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"}}},"FSMATransformingCTE":{"@id":"https://w3id.org/traceability#FSMATransformingCTE","@context":{"foodUsed":{"@id":"https://w3id.org/traceability#FSMAProduct"},"foodProduced":{"@id":"https://w3id.org/traceability#FSMAProduct"},"locationTransformed":{"@id":"https://schema.org/location"},"dateCompleted":{"@id":"https://vocabulary.uncefact.org/occurrenceDateTime"},"additionalData":{"@id":"https://w3id.org/traceability#FSMAAbstractKDE"}}},"FoodDefenseDeficiency":{"@id":"https://w3id.org/traceability#FoodDefenseDeficiency","@context":{"number":{"@id":"https://schema.org/identifier"},"description":{"@id":"https://schema.org/description"},"proposedCorrectionDate":{"@id":"https://vocabulary.uncefact.org/occurrenceDateTime"},"dateCorrected":{"@id":"https://vocabulary.uncefact.org/occurrenceDateTime"}}},"FoodDefenseInspection":{"@id":"https://w3id.org/traceability#FoodDefenseInspection","@context":{"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"questions":{"@id":"https://w3id.org/traceability#FoodDefenseQuestion"},"deficiencies":{"@id":"https://w3id.org/traceability#FoodDefenseDeficiency"}}},"FoodDefenseQuestion":{"@id":"https://w3id.org/traceability#FoodDefenseQuestion","@context":{"number":{"@id":"https://schema.org/identifier"},"facility":{"@id":"https://schema.org/location"},"response":{"@id":"https://vocabulary.uncefact.org/assertion"},"rating":{"@id":"https://vocabulary.uncefact.org/assertion"}}},"FoodGradeInspection":{"@id":"https://w3id.org/traceability#FoodGradeInspection","@context":{"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"loadingStatus":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"carrierTypeName":{"@id":"https://vocabulary.uncefact.org/utilizedTransportEquipment"},"refrigerationUnitOn":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"doorsOpen":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"lots":{"@id":"https://w3id.org/traceability#FoodGradeInspectionLot"},"generalRemarks":{"@id":"https://vocabulary.uncefact.org/remarks"},"estimatedCharges":{"@id":"https://vocabulary.uncefact.org/applicableServiceCharge"}}},"FoodGradeInspectionDefect":{"@id":"https://w3id.org/traceability#FoodGradeInspectionDefect","@context":{"offsizeDefect":{"@id":"https://vocabulary.uncefact.org/damageRemarks"},"averageDefects":{"@id":"https://qudt.org/vocab/unit/PERCENT"},"damage":{"@id":"https://qudt.org/vocab/unit/PERCENT"},"seriousDamage":{"@id":"https://qudt.org/vocab/unit/PERCENT"},"verySeriousDamage":{"@id":"https://qudt.org/vocab/unit/PERCENT"}}},"FoodGradeInspectionLot":{"@id":"https://w3id.org/traceability#FoodGradeInspectionLot","@context":{"agricultureProduct":{"@id":"https://w3id.org/traceability#AgricultureProduct"},"lotIdentifier":{"@id":"https://www.gs1.org/voc/hasBatchLotNumber"},"numberContainers":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"countInspected":{"@id":"https://vocabulary.uncefact.org/remark"},"brandMarkings":{"@id":"https://vocabulary.uncefact.org/brandName"},"samples":{"@id":"https://w3id.org/traceability#FoodGradeInspectionSample"},"defects":{"@id":"https://w3id.org/traceability#FoodGradeInspectionDefect"},"grade":{"@id":"https://w3id.org/traceability#FoodGradeInspectionResult"},"remarks":{"@id":"https://vocabulary.uncefact.org/remark"},"minTemperature":{"@id":"https://schema.org/measuredValue"},"maxTemperature":{"@id":"https://schema.org/measuredValue"}}},"FoodGradeInspectionResult":{"@id":"https://w3id.org/traceability#FoodGradeInspectionResult","@context":{"gradeInspected":{"@id":"https://vocabulary.uncefact.org/standard"},"requirementsMet":{"@id":"https://vocabulary.uncefact.org/assertion"},"details":{"@id":"https://vocabulary.uncefact.org/additionalInformationNote"}}},"FoodGradeInspectionSample":{"@id":"https://w3id.org/traceability#FoodGradeInspectionSample","@context":{"sampleSizeValue":{"@id":"https://vocabulary.uncefact.org/applicableQuantity"},"sampleSizeUnits":{"@id":"https://vocabulary.uncefact.org/applicableQuantityUnitTypeCode"},"sampleProperties":{"@id":"https://w3id.org/traceability#FoodGradeInspectionSampleProperty"}}},"FoodGradeInspectionSampleProperty":{"@id":"https://w3id.org/traceability#FoodGradeInspectionSampleProperty","@context":{"propertyName":{"@id":"https://vocabulary.uncefact.org/parameterValue"},"propertyValue":{"@id":"https://vocabulary.uncefact.org/measuredValue"}}},"ForeignChargeDeclaration":{"@id":"https://w3id.org/traceability#ForeignChargeDeclaration","@context":{"foreignCurrencyConvertionRate":{"@id":"https://schema.org/currentExchangeRate"},"foreignChargesCurrency":{"@id":"https://schema.org/currency"},"foreignCharges":{"@id":"https://schema.org/price"}}},"FreightManifest":{"@id":"https://vocabulary.uncefact.org/manifestRelatedDocument","@context":{"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"carrierCode":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AAZ"},"transportMeans":{"@id":"https://vocabulary.uncefact.org/transportMeans"},"transportMeansId":{"@id":"https://schema.org/identifier"},"voyage":{"@id":"https://vocabulary.uncefact.org/TransportMovement"},"billsOfLading":{"@id":"https://vocabulary.uncefact.org/manifestRelatedDocument"}}},"GAPCorrectiveActionReport":{"@id":"https://w3id.org/traceability#GAPCorrectiveActionReport","@context":{"nonconformityDescription":{"@id":"https://schema.org/description"},"notifiedCompanyStaff":{"@id":"https://schema.org/actionStatus"},"correctiveAction":{"@id":"https://schema.org/potentialAction"},"affirmingRepresentative":{"@id":"https://vocabulary.uncefact.org/associatedParty"}}},"GAPInspection":{"@id":"https://w3id.org/traceability#GAPInspection","@context":{"GAPPlus":{"@id":"https://vocabulary.uncefact.org/documentTypeCode"},"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"usesLogo":{"@id":"https://vocabulary.uncefact.org/assertion"},"subjectToRule":{"@id":"https://vocabulary.uncefact.org/regulationConformityId"},"operationDescription":{"@id":"https://schema.org/description"},"harvestCompany":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"otherContractors":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"commoditiesCovered":{"@id":"https://schema.org/ItemList"},"commoditiesProduced":{"@id":"https://schema.org/ItemList"},"totalArea":{"@id":"https://www.gs1.org/voc/grossArea"},"fieldOpsHarvestingScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"postHarvestOpsScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"logoUseScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"tomatoProdHarvestingScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"tomatoPackinghouseScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"tomatoGreenhouseScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"tomatoPackingDistributionScope":{"@id":"https://www.gs1.org/voc/certificationStatement"},"personsInterviewed":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"requestedBy":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"distributeTo":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"additionalComments":{"@id":"https://vocabulary.uncefact.org/remarks"},"reviewingOfficial":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"dateReviewed":{"@id":"https://www.gs1.org/voc/certificationAuditDate"},"meetsCriteria":{"@id":"https://www.gs1.org/voc/certificationStatus"},"requirementResults":{"@id":"https://w3id.org/traceability#GAPRequirementResult"}}},"GAPLocationCertification":{"@id":"https://w3id.org/traceability#GAPLocationCertification","@context":{"location":{"@id":"https://www.gs1.org/voc/certificationSubject"},"gapInspection":{"@id":"https://www.gs1.org/voc/certification"},"isCertified":{"@id":"https://www.gs1.org/voc/certificationStatus"}}},"GAPRequirementResult":{"@id":"https://w3id.org/traceability#GAPRequirementResult","@context":{"requirementNumber":{"@id":"https://vocabulary.uncefact.org/standard"},"resultCode":{"@id":"https://vocabulary.uncefact.org/assertionCode"},"auditorComments":{"@id":"https://vocabulary.uncefact.org/remarks"},"correctiveActionReport":{"@id":"https://w3id.org/traceability#GAPCorrectiveActionReport"}}},"GeoCoordinates":{"@id":"https://schema.org/GeoCoordinates","@context":{"latitude":{"@id":"https://schema.org/latitude"},"longitude":{"@id":"https://schema.org/longitude"}}},"HouseBillOfLading":{"@id":"https://w3id.org/traceability#HouseBillOfLading","@context":{"billOfLadingNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BM"},"bookingNumber":{"@id":"https://vocabulary.uncefact.org/carrierAssignedId"},"shippersReferences":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#FF"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"notifyParty":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"preCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/preCarriageTransportMovement"},"mainCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/mainCarriageTransportMovement"},"onCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/onCarriageTransportMovement"},"placeOfReceipt":{"@id":"https://schema.org/Place"},"portOfLoading":{"@id":"https://vocabulary.uncefact.org/transshipmentLocation"},"placeOfDelivery":{"@id":"https://schema.org/Place"},"portOfDischarge":{"@id":"https://vocabulary.uncefact.org/unloadingLocation"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"transportEquipmentQuantity":{"@id":"https://vocabulary.uncefact.org/transportEquipmentQuantity"},"includedConsignmentItems":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"freightAndCharges":{"@id":"https://vocabulary.uncefact.org/applicableServiceCharge"},"declaredValue":{"@id":"https://vocabulary.uncefact.org/declaredValueForCarriageAmount"},"termsAndConditions":{"@id":"https://vocabulary.uncefact.org/termsAndConditionsDescription"}}},"IATAAirWaybill":{"@id":"https://w3id.org/traceability#IATAAirWaybill","@context":{"airWaybillNumber":{"@id":"https://schema.org/orderNumber"},"waybillType":{"@id":"https://schema.org/DigitalDocument"},"airlineCodeNumber":{"@id":"https://onerecord.iata.org/cargo/Company#airlineCode"},"serialNumber":{"@id":"https://schema.org/serialNumber"},"airportOfDeparture":{"@id":"https://onerecord.iata.org/cargo/Location#code"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"conditionsOfContract":{"@id":"https://schema.org/termsOfService"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"shippersAccountNumber":{"@id":"https://schema.org/accountId"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"consigneesAccountNumber":{"@id":"https://schema.org/accountId"},"issuingCarrierAgent":{"@id":"https://vocabulary.uncefact.org/carrierAgentParty"},"agentIATACode":{"@id":"https://onerecord.iata.org/cargo/Company#iataCargoAgentCode"},"agentAccountNumber":{"@id":"https://schema.org/accountId"},"requestedRouting":{"@id":"https://schema.org/Trip"},"destinationAirport":{"@id":"https://onerecord.iata.org/cargo/Company#airlineCode"},"requestedFlight":{"@id":"https://schema.org/Flight"},"requestedDate":{"@id":"https://w3id.org/traceability#requestDate"},"accountingInformation":{"@id":"https://vocabulary.uncefact.org/typeCode"},"currency":{"@id":"https://schema.org/currency"},"chargeCodes":{"@id":"https://vocabulary.uncefact.org/chargeCategoryCode"},"weightValuationChargesType":{"@id":"https://vocabulary.uncefact.org/chargeCategoryCode"},"otherChargesType":{"@id":"https://vocabulary.uncefact.org/chargeCategoryCode"},"declaredValueForCarriage":{"@id":"https://vocabulary.uncefact.org/declaredValueForCarriageAmount"},"declaredValueForCustoms":{"@id":"https://vocabulary.uncefact.org/customsValueSpecifiedAmount"},"amountOfInsurance":{"@id":"https://vocabulary.uncefact.org/insuranceValueAmount"},"insuranceClauses":{"@id":"https://vocabulary.uncefact.org/contractualClause"},"handlingInformation":{"@id":"https://vocabulary.uncefact.org/handlingInstructions"},"specialCustomsInformation":{"@id":"https://vocabulary.uncefact.org/SpecifiedDeclaration"},"consignmentRatingDetails":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"totalNumberOfPieces":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"totalGrossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"totalCharge":{"@id":"https://schema.org/totalPrice"},"otherCharges":{"@id":"https://schema.org/price"},"prepaidChargeDeclaration":{"@id":"https://w3id.org/traceability#PrepaidChargeDeclaration"},"prepaidTotal":{"@id":"https://schema.org/totalPrice"},"collectChargeDeclaration":{"@id":"https://w3id.org/traceability#CollectChargeDeclaration"},"destinationCollectChargeDeclaration":{"@id":"https://w3id.org/traceability#DestinationCollectChargeDeclaration"},"collectTotal":{"@id":"https://schema.org/totalPrice"},"shippersCertificationBox":{"@id":"https://vocabulary.uncefact.org/CertificateTypeCodeList#2"},"executedOn":{"@id":"https://w3id.org/traceability#executionTime"},"executedAt":{"@id":"https://schema.org/Place"}}},"ImporterSecurityFiling":{"@id":"https://w3id.org/traceability#ImporterSecurityFiling","@context":{"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"importer":{"@id":"https://vocabulary.uncefact.org/importerParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"shipToParty":{"@id":"https://vocabulary.uncefact.org/shipToParty"},"filingItems":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"containerStuffingLocation":{"@id":"https://w3id.org/traceability#containerStuffingLocation"},"consolidator":{"@id":"https://vocabulary.uncefact.org/consolidatorParty"}}},"Inbond":{"@id":"https://w3id.org/traceability#Inbond","@context":{"product":{"@id":"https://www.gs1.org/voc/Product"},"shipment":{"@id":"https://schema.org/ParcelDelivery"},"inBondNumber":{"@id":"https://schema.org/identifier"},"entryId":{"@id":"https://schema.org/identifier"},"ftzNo":{"@id":"https://schema.org/identifier"},"inBondType":{"@id":"https://schema.org/identifier"},"portOfEntry":{"@id":"https://www.gs1.org/voc/Place"},"portOfDestination":{"@id":"https://www.gs1.org/voc/Place"},"portOfArrival":{"@id":"https://www.gs1.org/voc/Place"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"irsNumber":{"@id":"https://schema.org/identifier"},"recipient":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"billOfLadingNumber":{"@id":"https://schema.org/identifier"},"expectedDeliveryDate":{"@id":"https://schema.org/endDate"},"valuePerItem":{"@id":"https://schema.org/PriceSpecification"},"totalOrderValue":{"@id":"https://schema.org/PriceSpecification"}}},"InspectionReport":{"@id":"https://w3id.org/traceability#InspectionReport","@context":{"comment":{"@id":"https://schema.org/comment"},"inspectors":{"@id":"https://schema.org/Person"},"place":{"@id":"https://schema.org/Place"},"chemicalObservation":{"@id":"https://schema.org/ItemList"},"mechanicalObservation":{"@id":"https://schema.org/ItemList"}}},"Inspector":{"@id":"https://w3id.org/traceability#Inspector","@context":{"person":{"@id":"https://schema.org/Person"},"qualification":{"@id":"https://w3id.org/traceability#qualification"}}},"Instructions":{"@id":"https://vocabulary.uncefact.org/TransportInstructions","@context":{"description":{"@id":"https://schema.org/description"}}},"IntellectualPropertyRights":{"@id":"https://w3id.org/traceability#IntellectualPropertyRights","@context":{"intellectualPropertyRightsOwner":{"@id":"https://w3id.org/traceability#intellectualPropertyRightsOwner"},"intellectualPropertyRightsType":{"@id":"https://w3id.org/traceability#intellectualPropertyRightsType"},"intellectualPropertyRightsProduct":{"@id":"https://w3id.org/traceability#intellectualPropertyRightsProduct"}}},"IntellectualPropertyRightsAffirmation":{"@id":"https://w3id.org/traceability#IntellectualPropertyRightsAffirmation","@context":{"affirmingParty":{"@id":"https://w3id.org/traceability#affirmingParty"},"intellectualPropertyRightsType":{"@id":"https://w3id.org/traceability#intellectualPropertyRightsType"},"evidenceDocumentUrl":{"@id":"https://schema.org/url"}}},"IntellectualPropertyRightsLicense":{"@id":"https://w3id.org/traceability#IntellectualPropertyRightsLicense","@context":{}},"IntentToImport":{"@id":"https://w3id.org/traceability#IntentToImport","@context":{"exporter":{"@id":"https://vocabulary.uncefact.org/exporterParty"},"importer":{"@id":"https://vocabulary.uncefact.org/importerParty"},"product":{"@id":"https://www.gs1.org/voc/Product"},"declarationDate":{"@id":"https://schema.org/startDate"}}},"Invoice":{"@id":"https://schema.org/Invoice","@context":{"identifier":{"@id":"https://schema.org/identifier"},"invoiceNumber":{"@id":"https://vocabulary.uncefact.org/invoiceIssuerReference"},"customerReferenceNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#CR"},"referencesOrder":{"@id":"https://schema.org/referencesOrder"},"billOfLadingNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BM"},"letterOfCreditNumber":{"@id":"https://vocabulary.uncefact.org/letterOfCreditDocument"},"portOfEntry":{"@id":"https://schema.org/Place"},"originCountry":{"@id":"https://vocabulary.uncefact.org/originCountry"},"destinationCountry":{"@id":"https://vocabulary.uncefact.org/destinationCountry"},"invoiceDate":{"@id":"https://vocabulary.uncefact.org/invoiceDateTime"},"purchaseDate":{"@id":"https://schema.org/paymentDueDate"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"itemsShipped":{"@id":"https://schema.org/itemShipped"},"comments":{"@id":"https://schema.org/Comment"},"packageQuantity":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"totalWeight":{"@id":"https://schema.org/weight"},"termsOfDelivery":{"@id":"https://vocabulary.uncefact.org/specifiedDeliveryTerms"},"termsOfPayment":{"@id":"https://vocabulary.uncefact.org/specifiedPaymentTerms"},"termsOfSettlement":{"@id":"https://schema.org/currency"},"totalPaymentDue":{"@id":"https://schema.org/totalPaymentDue"},"discounts":{"@id":"https://schema.org/discount"},"deductions":{"@id":"https://vocabulary.uncefact.org/deductionAmount"},"tax":{"@id":"https://vocabulary.uncefact.org/taxTotalAmount"},"freightCost":{"@id":"https://schema.org/DeliveryChargeSpecification"},"insuranceCost":{"@id":"https://vocabulary.uncefact.org/insuranceChargeTotalAmount"}}},"LEIAddress":{"@id":"https://www.gleif.org/ontology/Base/PhysicalAddress","@context":{"language":{"@id":"https://schema.org/inLanguage"},"firstAddressLine":{"@id":"https://www.gleif.org/ontology/Base/hasFirstAddressLine"},"addressNumberWithinBuilding":{"@id":"https://www.gleif.org/ontology/Base/hasAddressNumberWithinBuilding"},"mailRouting":{"@id":"https://www.gleif.org/ontology/Base/hasMailRouting"},"city":{"@id":"https://www.gleif.org/ontology/Base/hasCity"},"region":{"@id":"https://schema.org/addressRegion"},"country":{"@id":"https://schema.org/addressCountry"},"postalCode":{"@id":"https://www.gleif.org/ontology/Base/hasPostalCode"}}},"LEIAuthority":{"@id":"https://w3id.org/traceability#LEIAuthority","@context":{"validationAuthorityID":{"@id":"https://schema.org/identifier"},"otherValidationAuthorityID":{"@id":"https://schema.org/taxID"},"validationAuthorityEntityID":{"@id":"https://schema.org/leiCode"}}},"LEIEntity":{"@id":"https://w3id.org/traceability#LEIEntity","@context":{"legalName":{"@id":"https://schema.org/legalName"},"legalNameLanguage":{"@id":"https://schema.org/Language"},"legalAddress":{"@id":"https://www.gleif.org/ontology/Base/hasAddressLegal"},"headquartersAddress":{"@id":"https://www.gleif.org/ontology/Base/hasAddressHeadquarters"},"registrationAuthority":{"@id":"https://w3id.org/traceability#LEIAuthority"},"legalJurisdiction":{"@id":"https://schema.org/countryOfOrigin"},"entityCategory":{"@id":"https://schema.org/category"},"legalForm":{"@id":"https://schema.org/additionalType"},"associatedEntity":{"@id":"https://schema.org/Organization"},"status":{"@id":"https://schema.org/status"},"expirationDate":{"@id":"https://schema.org/expires"},"expirationReason":{"@id":"https://schema.org/Answer"},"successorEntity":{"@id":"https://schema.org/Corporation"},"otherAddresses":{"@id":"https://schema.org/Place"}}},"LEIRegistration":{"@id":"https://w3id.org/traceability#LEIRegistration","@context":{"initialRegistrationDate":{"@id":"https://schema.org/dateIssued"},"lastUpdateDate":{"@id":"https://schema.org/dateModified"},"status":{"@id":"https://schema.org/status"},"nextRenewalDate":{"@id":"https://schema.org/validThrough"},"managingLou":{"@id":"https://www.gleif.org/en/about-lei/iso-17442-the-lei-code-structure#"},"validationSources":{"@id":"https://schema.org/eventStatus"},"validationAuthority":{"@id":"https://w3id.org/traceability#LEIAuthority"}}},"LaceyActProductDeclaration":{"@id":"https://w3id.org/traceability#LaceyActProductDeclaration","@context":{"htsNumber":{"@id":"https://vocabulary.uncefact.org/applicableRegulatoryProcedure"},"enteredValue":{"@id":"https://vocabulary.uncefact.org/customsValueSpecifiedAmount"},"articleOrComponent":{"@id":"https://vocabulary.uncefact.org/procedureCode"},"plantScientificNames":{"@id":"https://w3id.org/traceability#Taxonomy"},"countryOfHarvest":{"@id":"https://vocabulary.uncefact.org/originCountry"},"quantityOfPlantMaterial":{"@id":"https://vocabulary.uncefact.org/totalPackageSpecifiedQuantity"},"percentRecycled":{"@id":"https://qudt.org/vocab/unit/PERCENT"}}},"LinkRole":{"@id":"https://schema.org/LinkRole","@context":{"target":{"@id":"https://schema.org/target"},"linkRelationship":{"@id":"https://schema.org/linkRelationship"}}},"MapResource":{"@id":"https://w3id.org/traceability#MapResource","@context":{"resourceType":{"@id":"https://schema.org/additionalType"},"external":{"@id":"https://w3id.org/traceability#ExternalResource"},"geoJson":{"@id":"https://schema.org/geo"}}},"MasterBillOfLading":{"@id":"https://w3id.org/traceability#MasterBillOfLading","@context":{"billOfLadingNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BM"},"bookingNumber":{"@id":"https://vocabulary.uncefact.org/carrierAssignedId"},"shippersReferences":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#FF"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"forwardingAgent":{"@id":"https://vocabulary.uncefact.org/freightForwarderParty"},"notifyParty":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"preCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/preCarriageTransportMovement"},"mainCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/mainCarriageTransportMovement"},"onCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/onCarriageTransportMovement"},"placeOfReceipt":{"@id":"https://schema.org/Place"},"portOfLoading":{"@id":"https://vocabulary.uncefact.org/transshipmentLocation"},"placeOfDelivery":{"@id":"https://schema.org/Place"},"portOfDischarge":{"@id":"https://vocabulary.uncefact.org/unloadingLocation"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"transportEquipmentQuantity":{"@id":"https://vocabulary.uncefact.org/transportEquipmentQuantity"},"includedConsignmentItems":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"utilizedTransportEquipment":{"@id":"https://vocabulary.uncefact.org/utilizedTransportEquipment"},"freightAndCharges":{"@id":"https://vocabulary.uncefact.org/applicableServiceCharge"},"declaredValue":{"@id":"https://vocabulary.uncefact.org/declaredValueForCarriageAmount"},"shippedOnBoardDate":{"@id":"https://schema.org/endDate"},"termsAndConditions":{"@id":"https://vocabulary.uncefact.org/termsAndConditionsDescription"}}},"MeasuredProperty":{"@id":"https://w3id.org/traceability#MeasuredProperty","@context":{}},"MeasuredValue":{"@id":"https://schema.org/QuantitativeValue","@context":{"value":{"@id":"https://schema.org/value"},"unitCode":{"@id":"https://schema.org/unitCode"}}},"MechanicalProperty":{"@id":"https://w3id.org/traceability#MechanicalProperty","@context":{"identifier":{"@id":"https://schema.org/identifier"},"name":{"@id":"https://schema.org/name"},"description":{"@id":"https://schema.org/description"}}},"MonetaryAmount":{"@id":"https://schema.org/MonetaryAmount","@context":{"value":{"@id":"https://schema.org/value"},"currency":{"@id":"https://schema.org/currency"}}},"MonthlyAdvanceManifest":{"@id":"https://w3id.org/traceability#MonthlyAdvanceManifest","@context":{"date":{"@id":"https://schema.org/endDate"}}},"MonthlyDeliveryStatement":{"@id":"https://w3id.org/traceability#MonthlyDeliveryStatement","@context":{"itemsDelivered":{"@id":"https://w3id.org/traceability#DeliveryStatement"}}},"MultiModalBillOfLading":{"@id":"https://w3id.org/traceability#MultiModalBillOfLading","@context":{"billOfLadingNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BM"},"bookingNumber":{"@id":"https://vocabulary.uncefact.org/carrierAssignedId"},"shippersReferences":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#SI"},"freightForwardersReferences":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#FF"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"forwardingAgent":{"@id":"https://vocabulary.uncefact.org/freightForwarderParty"},"notifyParty":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"carrier":{"@id":"https://vocabulary.uncefact.org/carrierParty"},"preCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/preCarriageTransportMovement"},"mainCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/mainCarriageTransportMovement"},"onCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/onCarriageTransportMovement"},"placeOfReceipt":{"@id":"https://schema.org/Place"},"portOfLoading":{"@id":"https://vocabulary.uncefact.org/loadingLocation"},"transshipmentLocation":{"@id":"https://vocabulary.uncefact.org/transshipmentLocation"},"placeOfDelivery":{"@id":"https://schema.org/Place"},"portOfDischarge":{"@id":"https://vocabulary.uncefact.org/unloadingLocation"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"transportEquipmentQuantity":{"@id":"https://vocabulary.uncefact.org/transportEquipmentQuantity"},"particulars":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"utilizedTransportEquipment":{"@id":"https://vocabulary.uncefact.org/utilizedTransportEquipment"},"freightAndCharges":{"@id":"https://vocabulary.uncefact.org/applicableServiceCharge"},"declaredValue":{"@id":"https://vocabulary.uncefact.org/declaredValueForCarriageAmount"},"shippedOnBoardDate":{"@id":"https://schema.org/endDate"},"termsAndConditions":{"@id":"https://vocabulary.uncefact.org/termsAndConditionsDescription"}}},"NAISMADateTime":{"@id":"https://w3id.org/traceability#NAISMADateTime","@context":{"collectionDate":{"@id":"http://rs.tdwg.org/dwc/terms/endDate"},"dateAccuracyDays":{"@id":"http://rs.tdwg.org/dwc/iri/measurementMethod"}}},"NAISMAInfestation":{"@id":"https://w3id.org/traceability#NAISMAInfestation","@context":{"infestedArea":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"areaSurveyed":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"incidence":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"severity":{"@id":"http://rs.tdwg.org/dwc/terms/measurementValue"},"severityUnits":{"@id":"https://schema.org/unitText"},"organismQuantity":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"organismQuantityUnits":{"@id":"https://schema.org/unitText"}}},"NAISMAInformationSource":{"@id":"https://w3id.org/traceability#NAISMAInformationSource","@context":{"reference":{"@id":"http://rs.tdwg.org/dwc/terms/associatedReferences"},"examiner":{"@id":"http://rs.tdwg.org/dwc/terms/recordedBy"},"dataSource":{"@id":"https://w3id.org/traceability#Entity"}}},"NAISMALocation":{"@id":"https://w3id.org/traceability#NAISMALocation","@context":{"location":{"@id":"https://w3id.org/traceability#Place"},"description":{"@id":"https://schema.org/description"},"datum":{"@id":"http://rs.tdwg.org/dwc/terms/geodeticDatum"},"wellKnownText":{"@id":"http://rs.tdwg.org/dwc/terms/footprintWKT"},"centroidType":{"@id":"https://schema.org/polygon"},"dataType":{"@id":"https://schema.org/additionalType"},"coordinateUncertainty":{"@id":"http://rs.tdwg.org/dwc/terms/coordinateUncertaintyInMeters"},"sourceOfLocation":{"@id":"http://rs.tdwg.org/dwc/terms/georeferenceProtocol"},"ecosystem":{"@id":"http://rs.tdwg.org/dwc/terms/locationRemarks"}}},"NAISMARecordLevelIdentifiers":{"@id":"https://w3id.org/traceability#NAISMARecordLevelIdentifiers","@context":{"uuid":{"@id":"http://rs.tdwg.org/dwc/terms/resourceID"},"pid":{"@id":"https://schema.org/identifier"},"catalogNumber":{"@id":"http://rs.tdwg.org/dwc/terms/catalogNumber"}}},"NAISMARecordStatus":{"@id":"https://w3id.org/traceability#NAISMARecordStatus","@context":{"occurrenceStatus":{"@id":"https://schema.org/status"},"populationStatus":{"@id":"http://rs.tdwg.org/dwc/terms/degreeOfEstablishment"},"managementStatus":{"@id":"https://schema.org/status"},"recordBasis":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"},"recordType":{"@id":"https://schema.org/description"},"method":{"@id":"http://rs.tdwg.org/dwc/terms/measurementMethod"},"verificationMethod":{"@id":"http://rs.tdwg.org/dwc/terms/identificationRemarks"}}},"NAISMASubject":{"@id":"https://w3id.org/traceability#NAISMASubject","@context":{"lifeStage":{"@id":"http://rs.tdwg.org/dwc/terms/lifeStage"},"sex":{"@id":"http://rs.tdwg.org/dwc/terms/sex"},"hostSpecies":{"@id":"https://w3id.org/traceability#Taxonomy"},"comments":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"}}},"NAISMATaxonomy":{"@id":"https://w3id.org/traceability#NAISMATaxonomy","@context":{"speciesName":{"@id":"https://w3id.org/traceability#Taxonomy"},"commonName":{"@id":"http://rs.tdwg.org/dwc/terms/vernacularName"},"taxonomicSerialNumber":{"@id":"http://rs.tdwg.org/dwc/terms/taxonID"}}},"Observation":{"@id":"https://schema.org/Observation","@context":{"property":{"@id":"https://schema.org/measuredProperty"},"measurement":{"@id":"https://w3id.org/traceability#MeasuredValue"},"date":{"@id":"https://schema.org/observationDate"}}},"OilAndGasDeliveryTicket":{"@id":"https://w3id.org/traceability#OilAndGasDeliveryTicket","@context":{"createdDate":{"@id":"https://schema.org/dateIssued"},"openDate":{"@id":"https://schema.org/startDate"},"closeDate":{"@id":"https://schema.org/endDate"},"transporter":{"@id":"https://schema.org/agent"},"consignor":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"ticketControlNumber":{"@id":"https://schema.org/ticketNumber"},"batchNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BT"},"place":{"@id":"https://schema.org/toLocation"},"product":{"@id":"https://www.gs1.org/voc/Product"},"observation":{"@id":"https://w3id.org/traceability#observation"}}},"OilAndGasProduct":{"@id":"https://w3id.org/traceability#OilAndGasProduct","@context":{"product":{"@id":"https://www.gs1.org/voc/Product"},"facility":{"@id":"https://www.gs1.org/voc/Place"},"UWI":{"@id":"https://schema.org/identifier"},"productionDate":{"@id":"https://schema.org/endDate"},"observation":{"@id":"https://w3id.org/traceability#observation"}}},"Order":{"@id":"https://schema.org/Order","@context":{"orderNumber":{"@id":"https://schema.org/orderNumber"},"orderedItems":{"@id":"https://schema.org/orderedItem"}}},"OrderItem":{"@id":"https://schema.org/OrderItem","@context":{"marketplace":{"@id":"https://vocabulary.uncefact.org/Marketplace"},"fulfillmentCenter":{"@id":"https://vocabulary.uncefact.org/logisticsServiceProviderParty"},"orderedItem":{"@id":"https://schema.org/orderedItem"},"orderedQuantity":{"@id":"https://schema.org/orderQuantity"}}},"OrganicCertificate":{"@id":"https://w3id.org/traceability#OrganicCertificate","@context":{"countryOfIssuance":{"@id":"https://www.gs1.org/voc/countryCode"},"certifiedOperation":{"@id":"https://www.gs1.org/voc/certificationSubject"},"certifyingAgent":{"@id":"https://www.gs1.org/voc/certificationAgency"},"effectiveDate":{"@id":"https://www.gs1.org/voc/certificationStartDate"},"issueDate":{"@id":"https://www.gs1.org/voc/initialCertificationDate"},"anniversaryDate":{"@id":"https://www.gs1.org/voc/certificationEndDate"},"operationCategory":{"@id":"https://www.gs1.org/voc/certificationStatement"},"organicProducts":{"@id":"https://www.gs1.org/voc/certificationStatement"}}},"OrganicInspection":{"@id":"https://w3id.org/traceability#OrganicInspection","@context":{"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"applicantCertificationNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"authorizedOperationContacts":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"peoplePresent":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"newApplicant":{"@id":"https://vocabulary.uncefact.org/information"},"continuingCertification":{"@id":"https://vocabulary.uncefact.org/information"},"newLocationActivity":{"@id":"https://vocabulary.uncefact.org/information"},"reinstatement":{"@id":"https://vocabulary.uncefact.org/information"},"announcedInspection":{"@id":"https://vocabulary.uncefact.org/information"},"estimatedHarvestDate":{"@id":"https://www.gs1.org/voc/harvestDate"},"pesticideResidueSampling":{"@id":"https://vocabulary.uncefact.org/information"},"samplingDetails":{"@id":"https://vocabulary.uncefact.org/content"},"introductionOperationDescription":{"@id":"https://schema.org/description"},"resolutionIssuesActionItems":{"@id":"https://schema.org/description"},"issuesRequests":{"@id":"https://vocabulary.uncefact.org/additionalDescription"},"attachments":{"@id":"https://vocabulary.uncefact.org/additionalDocument"},"OSPSectionReviews":{"@id":"https://w3id.org/traceability#OrganicOSPSectionReview"}}},"OrganicOSPSectionReview":{"@id":"https://w3id.org/traceability#OrganicOSPSectionReview","@context":{"OSPSectionCode":{"@id":"https://vocabulary.uncefact.org/standard"},"resultCode":{"@id":"https://vocabulary.uncefact.org/assertionCode"},"verificationExplanations":{"@id":"https://vocabulary.uncefact.org/remarks"},"attachments":{"@id":"https://vocabulary.uncefact.org/additionalDocument"}}},"OrganicProductCertificate":{"@id":"https://w3id.org/traceability#OrganicProductCertificate","@context":{"agricultureProduct":{"@id":"https://www.gs1.org/voc/certificationSubject"},"organicCertificate":{"@id":"https://www.gs1.org/voc/certification"},"isCertified":{"@id":"https://www.gs1.org/voc/certificationStatus"}}},"OrganicReview":{"@id":"https://w3id.org/traceability#OrganicReview","@context":{"inspectionReport":{"@id":"https://w3id.org/traceability#OrganicInspection"},"reviewer":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"decisionMaker":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"certificationDecision":{"@id":"https://www.gs1.org/voc/certificationStatus"},"additionalInformation":{"@id":"https://vocabulary.uncefact.org/content"}}},"Organization":{"@id":"https://schema.org/Organization","@context":{"name":{"@id":"https://schema.org/name"},"legalName":{"@id":"https://schema.org/legalName"},"leiCode":{"@id":"https://schema.org/leiCode"},"url":{"@id":"https://schema.org/url"},"description":{"@id":"https://schema.org/description"},"globalLocationNumber":{"@id":"https://schema.org/globalLocationNumber"},"location":{"@id":"https://schema.org/location"},"email":{"@id":"https://schema.org/email"},"phoneNumber":{"@id":"https://schema.org/telephone"},"logo":{"@id":"https://schema.org/logo"},"faxNumber":{"@id":"https://schema.org/faxNumber"},"contactPoint":{"@id":"https://schema.org/ContactPoint"},"taxId":{"@id":"https://schema.org/taxID"},"iataCarrierCode":{"@id":"https://onerecord.iata.org/cargo/Company#airlineCode"},"scac":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AAZ"}}},"PGAShipmentStatus":{"@id":"https://w3id.org/traceability#PGAShipmentStatus","@context":{"recordNo":{"@id":"https://w3id.org/traceability#recordNo"},"entryNo":{"@id":"https://w3id.org/traceability#entryNo"},"entryLineSequence":{"@id":"https://w3id.org/traceability#entryLineSequence"},"statusCode":{"@id":"https://w3id.org/traceability#statusCode"},"statusCodeDescription":{"@id":"https://w3id.org/traceability#statusCodeDescription"},"validCodeReason":{"@id":"https://w3id.org/traceability#validCodeReason"},"validCodeReasonDescription":{"@id":"https://w3id.org/traceability#validCodeReasonDescription"},"subReasonCode":{"@id":"https://w3id.org/traceability#subReasonCode"},"subReasonCodeDescription":{"@id":"https://w3id.org/traceability#subReasonCodeDescription"}}},"PGAShipmentStatusList":{"@id":"https://w3id.org/traceability#PGAShipmentStatusList","@context":{"pgaShipmentStatusItems":{"@id":"https://schema.org/ItemList"}}},"Package":{"@id":"https://vocabulary.uncefact.org/Package","@context":{"physicalShippingMarks":{"@id":"https://vocabulary.uncefact.org/physicalShippingMarks"},"packagingType":{"@id":"https://www.gs1.org/voc/packagingMaterial"},"perPackageUnitQuantity":{"@id":"https://vocabulary.uncefact.org/perPackageUnitQuantity"},"includedTradeLineItems":{"@id":"https://vocabulary.uncefact.org/specifiedTradeLineItem"},"netWeight":{"@id":"https://vocabulary.uncefact.org/netWeightMeasure"},"grossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"height":{"@id":"https://schema.org/height"},"width":{"@id":"https://schema.org/width"},"depth":{"@id":"https://schema.org/depth"},"grossVolume":{"@id":"https://vocabulary.uncefact.org/grossVolumeMeasure"}}},"PackingList":{"@id":"https://w3id.org/traceability#PackingList","@context":{"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"shipFromParty":{"@id":"https://vocabulary.uncefact.org/shipFromParty"},"shipToParty":{"@id":"https://vocabulary.uncefact.org/shipToParty"},"orderNumber":{"@id":"https://schema.org/orderNumber"},"invoiceId":{"@id":"https://schema.org/identifier"},"billOfLadingNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BM"},"trackingNumber":{"@id":"https://schema.org/trackingNumber"},"deliveryStatus":{"@id":"https://schema.org/deliveryStatus"},"estimatedTimeOfArrival":{"@id":"https://schema.org/arrivalTime"},"hasDeliveryMethod":{"@id":"https://schema.org/hasDeliveryMethod"},"handlingInstructions":{"@id":"https://vocabulary.uncefact.org/handlingInstructions"},"items":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"totalNetWeight":{"@id":"https://vocabulary.uncefact.org/netWeightMeasure"},"totalGrossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"totalGrossVolume":{"@id":"https://vocabulary.uncefact.org/grossVolumeMeasure"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"totalItemQuantity":{"@id":"https://vocabulary.uncefact.org/tradeLineItemQuantity"}}},"ParcelDelivery":{"@id":"https://schema.org/ParcelDelivery","@context":{"deliveryAddress":{"@id":"https://schema.org/deliveryAddress"},"originAddress":{"@id":"https://schema.org/originAddress"},"deliveryMethod":{"@id":"https://schema.org/DeliveryMethod"},"trackingNumber":{"@id":"https://schema.org/trackingNumber"},"expectedArrival":{"@id":"https://schema.org/expectedArrivalFrom"},"specialInstructions":{"@id":"https://schema.org/comment"},"consignee":{"@id":"https://schema.org/Organization"},"item":{"@id":"https://schema.org/itemShipped"},"partOfOrder":{"@id":"https://schema.org/partOfOrder"}}},"PartOfOrder":{"@id":"https://schema.org/OrderItem","@context":{"manufacturer":{"@id":"https://schema.org/Organization"},"orderNumber":{"@id":"https://schema.org/orderNumber"},"transportPackages":{"@id":"https://vocabulary.uncefact.org/Package"},"netWeight":{"@id":"https://vocabulary.uncefact.org/netWeightMeasure"},"grossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"grossVolume":{"@id":"https://vocabulary.uncefact.org/grossVolumeMeasure"},"packageQuantity":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"itemQuantity":{"@id":"https://vocabulary.uncefact.org/tradeLineItemQuantity"}}},"Person":{"@id":"https://schema.org/Person","@context":{"firstName":{"@id":"https://schema.org/givenName"},"lastName":{"@id":"https://schema.org/familyName"},"email":{"@id":"https://schema.org/email"},"phoneNumber":{"@id":"https://schema.org/telephone"},"worksFor":{"@id":"https://schema.org/worksFor"},"jobTitle":{"@id":"https://schema.org/jobTitle"},"taxId":{"@id":"https://schema.org/taxID"}}},"PestDetermination":{"@id":"https://w3id.org/traceability#PestDetermination","@context":{"final":{"@id":"https://dwc.tdwg.org/list/#dwc_identificationVerificationStatus"},"determination":{"@id":"https://w3id.org/traceability#Taxonomy"},"notes":{"@id":"https://dwc.tdwg.org/list/#dwc_identificationRemarks"},"method":{"@id":"https://dwc.tdwg.org/list/#dwc_measurementMethod"},"reportable":{"@id":"https://dwc.tdwg.org/list/#dwc_occurrenceStatus"},"determinedBy":{"@id":"https://dwc.tdwg.org/list/#dwc_identifiedBy"},"date":{"@id":"https://dwc.tdwg.org/list/#dwc_dateIdentified"}}},"PestSample":{"@id":"https://w3id.org/traceability#PestSample","@context":{"hostName":{"@id":"https://w3id.org/traceability#Taxonomy"},"hostQuantity":{"@id":"http://rs.tdwg.org/dwc/terms/organismQuantity"},"affected":{"@id":"https://dwc.tdwg.org/list/#dwc_measurementValue"},"plantDistribution":{"@id":"http://rs.tdwg.org/dwc/terms/degreeOfEstablishment"},"plantPartsAffected":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"pestDistribution":{"@id":"http://rs.tdwg.org/dwc/terms/degreeOfEstablishment"},"pestProximity":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"pestType":{"@id":"http://rs.tdwg.org/dwc/terms/occurrenceRemarks"},"aliveLarvae":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"alivePupae":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"aliveAdults":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"aliveEggs":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"aliveNymphs":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"aliveJuveniles":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"aliveCysts":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadLarvae":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadPupae":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadAdults":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadEggs":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadNymphs":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadJuveniles":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"deadCysts":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"castSkins":{"@id":"http://rs.tdwg.org/dwc/terms/individualCount"},"samplingMethod":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"},"trapLureType":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"},"trapNumber":{"@id":"http://rs.tdwg.org/dwc/terms/samplingProtocol"}}},"Phytosanitary":{"@id":"https://w3id.org/traceability/Phytosanitary","@context":{"certificateNumber":{"@id":"https://schema.org/identifier"},"plantOrg":{"@id":"https://www.gs1.org/voc/Organization"},"distinguishingMarks":{"@id":"https://www.gs1.org/voc/variantDescription"},"portOfEntry":{"@id":"https://w3id.org/traceability#portOfEntry"},"additionalDeclaration":{"@id":"https://schema.org/Comment"},"disinfectionDate":{"@id":"https://schema.org/validFrom"},"disinfectionTreatment":{"@id":"https://w3id.org/traceability#disinfectionTreatment"},"disinfectionChemical":{"@id":"https://schema.org/activeIngredient"},"disinfectionDuration":{"@id":"https://schema.org/duration"},"disinfectionTemperature":{"@id":"https://schema.org/MeasuredValue"},"disinfectionConcentration":{"@id":"https://w3id.org/traceability#disinfectionConcentration"},"signatureDate":{"@id":"https://vocabulary.uncefact.org/signedDateTime"},"facility":{"@id":"https://www.gs1.org/voc/Place"},"inspector":{"@id":"https://w3id.org/traceability#Inspector"},"shipment":{"@id":"https://schema.org/AgricultureParcelDelivery"},"agriculturePackage":{"@id":"https://w3id.org/traceability#AgriculturePackage"},"applicant":{"@id":"https://w3c-ccg.github.io/traceability-vocab/#dfn-entities"},"inspectionDate":{"@id":"https://vocabulary.uncefact.org/inspectionDateTime"},"inspectionType":{"@id":"https://vocabulary.uncefact.org/inspectionStandard"},"notes":{"@id":"https://schema.org/Comment"},"observation":{"@id":"https://schema.org/ItemList"}}},"Place":{"@id":"https://schema.org/Place","@context":{"globalLocationNumber":{"@id":"https://schema.org/globalLocationNumber"},"geo":{"@id":"https://schema.org/GeoCoordinates"},"address":{"@id":"https://schema.org/PostalAddress"},"unLocode":{"@id":"https://vocabulary.uncefact.org/Location"},"iataAirportCode":{"@id":"https://onerecord.iata.org/cargo/Location#code"},"locationName":{"@id":"https://schema.org/name"},"usPortCode":{"@id":"https://w3id.org/traceability#usPortCode"},"firmsCode":{"@id":"https://w3id.org/traceability#firmsCode"}}},"PlantSystemsInspection":{"@id":"https://w3id.org/traceability#PlantSystemsInspection","@context":{"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"productsPacked":{"@id":"https://vocabulary.uncefact.org/specifiedProduct"},"summaryOfDeficiencies":{"@id":"https://schema.org/description"},"observationsImprovements":{"@id":"https://schema.org/description"},"questions":{"@id":"https://w3id.org/traceability#PlantSystemsQuestion"},"additionalViolations":{"@id":"https://schema.org/description"}}},"PlantSystemsQuestion":{"@id":"https://w3id.org/traceability#PlantSystemsQuestion","@context":{"code":{"@id":"https://schema.org/identifier"},"pointsWorth":{"@id":"https://schema.org/ratingValue"},"pointsDeducted":{"@id":"https://schema.org/ratingValue"}}},"PostalAddress":{"@id":"https://schema.org/PostalAddress","@context":{"name":{"@id":"https://schema.org/name"},"streetAddress":{"@id":"https://schema.org/streetAddress"},"addressLocality":{"@id":"https://schema.org/addressLocality"},"addressRegion":{"@id":"https://schema.org/addressRegion"},"addressCountry":{"@id":"https://schema.org/addressCountry"},"crossStreet":{"@id":"https://gs1.org/voc/crossStreet"},"countyCode":{"@id":"https://gs1.org/voc/countyCode"},"postalCode":{"@id":"https://schema.org/postalCode"},"postOfficeBoxNumber":{"@id":"https://schema.org/postOfficeBoxNumber"},"plantOrSiteName":{"@id":"https://vocabulary.uncefact.org/buildingName"}}},"PostmanCollection":{"@id":"https://w3id.org/traceability#PostmanCollection","@context":{}},"PriceSpecification":{"@id":"https://schema.org/PriceSpecification","@context":{"price":{"@id":"https://schema.org/price"},"priceCurrency":{"@id":"https://schema.org/priceCurrency"}}},"Product":{"@id":"https://schema.org/Product","@context":{"gtin":{"@id":"https://schema.org/gtin"},"manufacturer":{"@id":"https://schema.org/manufacturer"},"countryOfOrigin":{"@id":"https://vocabulary.uncefact.org/originCountry"},"name":{"@id":"https://schema.org/name"},"description":{"@id":"https://schema.org/description"},"category":{"@id":"https://schema.org/category"},"weight":{"@id":"https://schema.org/weight"},"depth":{"@id":"https://schema.org/depth"},"width":{"@id":"https://schema.org/width"},"height":{"@id":"https://schema.org/height"},"productPrice":{"@id":"https://schema.org/priceSpecification"},"sku":{"@id":"https://schema.org/sku"},"batchNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BT"},"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"images":{"@id":"https://schema.org/image"},"imageUrl":{"@id":"https://schema.org/url"},"imageHash":{"@id":"https://schema.org/sha256"},"htsCode":{"@id":"https://service.unece.org/trade/uncefact/vocabulary/uncefact/#applicableTax"}}},"Purchase":{"@id":"https://w3id.org/traceability#Purchase","@context":{"customer":{"@id":"https://w3id.org/traceability#Entity"},"invoice":{"@id":"https://w3id.org/traceability#Invoice"},"invoiceNo":{"@id":"https://schema.org/identifier"},"internalCertificateNo":{"@id":"https://schema.org/identifier"},"purchaseOrderNo":{"@id":"https://schema.org/identifier"}}},"PurchaseOrder":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#105","@context":{"purchaseOrderNo":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AUJ"},"orderDate":{"@id":"https://vocabulary.uncefact.org/buyerOrderDateTime"},"buyer":{"@id":"https://vocabulary.uncefact.org/buyerParty"},"seller":{"@id":"https://vocabulary.uncefact.org/sellerParty"},"shipToParty":{"@id":"https://vocabulary.uncefact.org/shipToParty"},"itemsOrdered":{"@id":"https://vocabulary.uncefact.org/SupplyChainTradeLineItem"},"comments":{"@id":"https://schema.org/Comment"},"totalWeight":{"@id":"https://schema.org/weight"},"termsOfDelivery":{"@id":"https://vocabulary.uncefact.org/specifiedDeliveryTerms"},"termsOfPayment":{"@id":"https://vocabulary.uncefact.org/specifiedPaymentTerms"},"totalPaymentDue":{"@id":"https://schema.org/totalPaymentDue"},"discounts":{"@id":"https://vocabulary.uncefact.org/deductionAmount"},"tax":{"@id":"https://vocabulary.uncefact.org/taxTotalAmount"},"freightCost":{"@id":"https://schema.org/DeliveryChargeSpecification"},"insuranceCost":{"@id":"https://vocabulary.uncefact.org/insuranceChargeTotalAmount"},"totalOrderAmount":{"@id":"https://vocabulary.uncefact.org/grandTotalAmount"}}},"Qualification":{"@id":"https://schema.org/qualifications","@context":{"qualificationCategory":{"@id":"https://schema.org/credentialCategory"},"qualificationValue":{"@id":"https://schema.org/hasCredential"}}},"QuantitativeValue":{"@id":"https://schema.org/QuantitativeValue","@context":{"unitCode":{"@id":"https://schema.org/unitCode"},"value":{"@id":"https://schema.org/value"}}},"RawMaterial":{"@id":"https://w3id.org/traceability#RawMaterial","@context":{"name":{"@id":"https://schema.org/name"},"inchiKey":{"@id":"https://w3id.org/traceability#inchiKey"}}},"RevocationList2020Status":{"@id":"https://w3id.org/traceability#RevocationList2020Status","@context":{"revocationListIndex":{"@id":"https://schema.org/itemListElement"},"revocationListCredential":{"@id":"https://schema.org/LinkRole"}}},"RoutingInfo":{"@id":"https://w3id.org/traceability#RoutingInfo","@context":{"code":{"@id":"https://w3id.org/traceability#routingInfoCode"},"value":{"@id":"https://w3id.org/traceability#routingInfoValue"}}},"SIMASteelImportLicense":{"@id":"https://w3id.org/traceability#SIMASteelImportLicense","@context":{"licenseNumber":{"@id":"https://schema.org/identifier"},"licensedCompany":{"@id":"https://vocabulary.uncefact.org/grantedParty"},"customsEntryNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AQM"},"importer":{"@id":"https://vocabulary.uncefact.org/importerParty"},"exporter":{"@id":"https://vocabulary.uncefact.org/exporterParty"},"manufacturer":{"@id":"https://vocabulary.uncefact.org/manufacturerParty"},"countryOfOrigin":{"@id":"https://vocabulary.uncefact.org/originCountry"},"countryOfExportation":{"@id":"https://vocabulary.uncefact.org/exportCountry"},"expectedPortOfEntry":{"@id":"https://vocabulary.uncefact.org/LocationFunctionCodeList#24"},"expectedDateOfExport":{"@id":"https://vocabulary.uncefact.org/DateTimePeriodFunctionCodeList#129"},"expectedDateOfImport":{"@id":"https://vocabulary.uncefact.org/DateTimePeriodFunctionCodeList#151"},"productInformation":{"@id":"https://w3id.org/traceability#productInformation"}}},"SIMASteelImportProductSpecifier":{"@id":"https://w3id.org/traceability#SIMASteelImportProductSpecifier","@context":{"productCategory":{"@id":"https://w3id.org/traceability#ProductCategory"},"countryOfMeltAndPour":{"@id":"https://w3id.org/traceability#countryOfMeltAndPour"},"customsValue":{"@id":"https://vocabulary.uncefact.org/declaredValueForCustomsAmount"}}},"OssfScorecard":{"@id":"https://w3id.org/traceability#OssfScorecard","@context":{}},"SeaCargoManifest":{"@id":"https://w3id.org/traceability#SeaCargoManifest","@context":{"vesselName":{"@id":"https://vocabulary.uncefact.org/transportMeans"},"vesselNumber":{"@id":"https://schema.org/identifier"},"voyageNumber":{"@id":"https://vocabulary.uncefact.org/TransportMovement"},"registrationCountry":{"@id":"https://vocabulary.uncefact.org/registrationCountry"},"plannedDepartureDateTime":{"@id":"https://vocabulary.uncefact.org/scheduledDepartureRelatedDateTime"},"plannedArrivalDateTime":{"@id":"https://vocabulary.uncefact.org/scheduledArrivalRelatedDateTime"},"portOfDeparture":{"@id":"https://schema.org/Place"},"portOfArrival":{"@id":"https://schema.org/Place"},"netTonnage":{"@id":"https://vocabulary.uncefact.org/netWeightMeasure"},"grossTonnage":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"totalNumberOfTransportDocuments":{"@id":"https://vocabulary.uncefact.org/loadingListQuantity"},"transportEquipmentQuantity":{"@id":"https://vocabulary.uncefact.org/transportEquipmentQuantity"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"transportDocumentInformation":{"@id":"https://vocabulary.uncefact.org/transportContractDocument"}}},"Seal":{"@id":"https://vocabulary.uncefact.org/Seal","@context":{"sealNumber":{"@id":"https://vocabulary.uncefact.org/identifier"},"sealSource":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/sealSource"},"sealType":{"@id":"https://vocabulary.uncefact.org/logisticsSealTypeCode"}}},"ServiceCharge":{"@id":"https://vocabulary.uncefact.org/ServiceCharge","@context":{"chargeCode":{"@id":"https://vocabulary.uncefact.org/chargeCategoryCode"},"paymentTerm":{"@id":"https://vocabulary.uncefact.org/PaymentTerms"},"chargeText":{"@id":"https://schema.org/description"},"rate":{"@id":"https://vocabulary.uncefact.org/unitPrice"},"calculationBasis":{"@id":"https://vocabulary.uncefact.org/calculationBasis"},"appliedAmount":{"@id":"https://vocabulary.uncefact.org/appliedAmount"}}},"ShippingDetails":{"@id":"https://w3id.org/traceability#ShippingDetails","@context":{"containerNumber":{"@id":"https://w3id.org/traceability#containerNumber"},"masterBillOfLadingNumber":{"@id":"https://vocabulary.uncefact.org/uncl1153#MB"},"manufacturerAddress":{"@id":"https://w3id.org/traceability#manufacturerAddress"},"customerAddress":{"@id":"https://w3id.org/traceability#customerAddress"}}},"ShippingInstructions":{"@id":"https://w3id.org/traceability#ShippingInstructions","@context":{"billOfLadingNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#BM"},"bookingNumber":{"@id":"https://vocabulary.uncefact.org/carrierAssignedId"},"shippersReferences":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#FF"},"shipper":{"@id":"https://vocabulary.uncefact.org/consignorParty"},"consignee":{"@id":"https://vocabulary.uncefact.org/consigneeParty"},"notifyParty":{"@id":"https://vocabulary.uncefact.org/notifiedParty"},"preCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/preCarriageTransportMovement"},"mainCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/mainCarriageTransportMovement"},"onCarriageTransportMovement":{"@id":"https://vocabulary.uncefact.org/onCarriageTransportMovement"},"placeOfReceipt":{"@id":"https://schema.org/Place"},"portOfLoading":{"@id":"https://vocabulary.uncefact.org/transshipmentLocation"},"placeOfDelivery":{"@id":"https://schema.org/Place"},"portOfDischarge":{"@id":"https://vocabulary.uncefact.org/unloadingLocation"},"totalNumberOfPackages":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"transportEquipmentQuantity":{"@id":"https://vocabulary.uncefact.org/transportEquipmentQuantity"},"includedConsignmentItems":{"@id":"https://vocabulary.uncefact.org/includedConsignmentItem"},"utilizedTransportEquipment":{"@id":"https://vocabulary.uncefact.org/utilizedTransportEquipment"},"declaredValue":{"@id":"https://vocabulary.uncefact.org/declaredValueForCarriageAmount"}}},"SoftwareBillOfMaterials":{"@id":"https://w3id.org/traceability#SoftwareBillOfMaterials","@context":{}},"SteelProduct":{"@id":"https://w3id.org/traceability#SteelProduct","@context":{"heatNumber":{"@id":"https://schema.org/identifier"},"specification":{"@id":"https://schema.org/identifier"},"grade":{"@id":"https://schema.org/Rating"},"weight":{"@id":"https://schema.org/weight"},"weightUnit":{"@id":"http://qudt.org/schema/qudt/Unit"},"originalCountryOfMeltAndPour":{"@id":"https://schema.org/addressCountry"},"commodity":{"@id":"https://w3id.org/traceability#Commodity"},"inspection":{"@id":"https://w3id.org/traceability#Inspection"}}},"TSCACertification":{"@id":"https://w3id.org/traceability/TSCACertification","@context":{"certificationType":{"@id":"https://schema.org/DefinedTerm"},"certifierDetails":{"@id":"https://w3id.org/traceability#certifierDetails"}}},"Taxonomy":{"@id":"https://w3id.org/traceability#Taxonomy","@context":{"kingdom":{"@id":"http://rs.tdwg.org/dwc/terms/kingdom"},"phylum":{"@id":"http://rs.tdwg.org/dwc/terms/phylum"},"class":{"@id":"http://rs.tdwg.org/dwc/terms/class"},"order":{"@id":"http://rs.tdwg.org/dwc/terms/order"},"family":{"@id":"http://rs.tdwg.org/dwc/terms/family"},"genus":{"@id":"http://rs.tdwg.org/dwc/terms/genus"},"species":{"@id":"http://rs.tdwg.org/dwc/terms/specificEpithet"},"subspecies":{"@id":"http://rs.tdwg.org/dwc/terms/infraspecificEpithet"},"variety":{"@id":"http://rs.tdwg.org/dwc/terms/cultivarEpithet"}}},"TemperatureReading":{"@id":"https://w3id.org/traceability#TemperatureReading","@context":{"bulbNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"tests":{"@id":"https://vocabulary.uncefact.org/actualMeasure"}}},"Template":{"@id":"https://w3id.org/traceability#Template","@context":{"image":{"@id":"https://schema.org/image"}}},"Thing":{"@id":"https://schema.org/Thing","@context":{}},"TraceabilityAPI":{"@id":"https://w3id.org/traceability#TraceabilityAPI","@context":{}},"TradeLineItem":{"@id":"https://vocabulary.uncefact.org/SupplyChainTradeLineItem","@context":{"name":{"@id":"https://schema.org/name"},"purchaseOrderNumber":{"@id":"https://schema.org/orderNumber"},"itemCount":{"@id":"https://vocabulary.uncefact.org/despatchedQuantity"},"description":{"@id":"https://schema.org/description"},"packageQuantity":{"@id":"https://vocabulary.uncefact.org/packageQuantity"},"product":{"@id":"https://schema.org/Product"},"countryOfOrigin":{"@id":"https://vocabulary.uncefact.org/originCountry"},"shipToParty":{"@id":"https://vocabulary.uncefact.org/shipToParty"},"netWeight":{"@id":"https://vocabulary.uncefact.org/netWeightMeasure"},"grossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"priceSpecification":{"@id":"https://schema.org/priceSpecification"}}},"TransferEvent":{"@id":"https://w3id.org/traceability#TransferEvent","@context":{"place":{"@id":"https://schema.org/Place"},"price":{"@id":"https://schema.org/price"},"products":{"@id":"https://schema.org/Product"},"organization":{"@id":"https://w3id.org/traceability#Organization"},"identifier":{"@id":"https://schema.org/identifier"},"addressCountry":{"@id":"https://schema.org/addressCountry"}}},"TransformEvent":{"@id":"https://w3id.org/traceability#TransformEvent","@context":{"place":{"@id":"https://schema.org/Place"},"organization":{"@id":"https://w3id.org/traceability#Organization"},"newProducts":{"@id":"https://w3c-ccg.github.io/hashlink/#hl-url-params"},"consumedProducts":{"@id":"https://w3c-ccg.github.io/hashlink/#hl-url-params"}}},"Transport":{"@id":"https://w3id.org/traceability#Transport","@context":{"arrivalLocation":{"@id":"https://schema.org/toLocation"},"departureDate":{"@id":"https://schema.org/departureTime"},"arrivalDate":{"@id":"https://schema.org/arrivalTime"},"modeOfTransport":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/modeOfTransport"},"carrier":{"@id":"https://schema.org/carrier"},"vesselNumber":{"@id":"https://vocabulary.uncefact.org/identifier"},"voyageNumber":{"@id":"https://vocabulary.uncefact.org/identifier"},"path":{"@id":"https://schema.org/line"}}},"TransportDocument":{"@id":"https://w3id.org/traceability#TransportDocument","@context":{}},"TransportEquipment":{"@id":"https://vocabulary.uncefact.org/LogisticsTransportEquipment","@context":{"equipmentReference":{"@id":"https://vocabulary.uncefact.org/identification"},"ISOEquipmentCode":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/ISOEquipmentCode"},"tareWeight":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/tareWeight"},"tareWeightUnit":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/weightUnit"},"cargoGrossWeight":{"@id":"https://vocabulary.uncefact.org/grossWeightMeasure"},"cargoGrossWeightUnit":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/weightUnit"},"isShipperOwned":{"@id":"https://api.swaggerhub.com/domains/dcsaorg/DCSA_DOMAIN/1.0.1#/components/schemas/isShipperOwned"},"seals":{"@id":"https://vocabulary.uncefact.org/affixedSeal"}}},"TransportEvent":{"@id":"https://w3id.org/traceability#TransportEvent","@context":{"place":{"@id":"https://schema.org/Place"},"organization":{"@id":"https://w3id.org/traceability#Organization"},"products":{"@id":"https://schema.org/Product"},"deliveryMethod":{"@id":"https://schema.org/DeliveryMethod"},"trackingNumber":{"@id":"https://schema.org/trackingNumber"}}},"USDAPPQ203ForeignSiteInspection":{"@id":"https://w3id.org/traceability#USDAPPQ203ForeignSiteInspection","@context":{"certificateNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"commonInfo":{"@id":"https://w3id.org/traceability#AgricultureInspectionCommonInfo"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"signatureDate":{"@id":"https://www.gs1.org/voc/certificationAuditDate"},"inspectionType":{"@id":"https://www.gs1.org/voc/certificationType"},"observations":{"@id":"https://vocabulary.uncefact.org/relatedObservation"}}},"USDAPPQ309APestInterceptionRecord":{"@id":"https://w3id.org/traceability#USDAPPQ309APestInterceptionRecord","@context":{"interceptionNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"shippingStop":{"@id":"https://vocabulary.uncefact.org/itineraryStopEvent"},"forwardTo":{"@id":"https://vocabulary.uncefact.org/recipientAssignedId"},"priority":{"@id":"https://vocabulary.uncefact.org/priorityCode"},"interceptionDate":{"@id":"https://vocabulary.uncefact.org/actualOccurrenceDateTime"},"inspector":{"@id":"https://vocabulary.uncefact.org/inspectionParty"},"overtime":{"@id":"https://vocabulary.uncefact.org/information"},"pathway":{"@id":"https://vocabulary.uncefact.org/mode"},"modeOfTransportation":{"@id":"https://vocabulary.uncefact.org/mode"},"materialFor":{"@id":"https://vocabulary.uncefact.org/intendedUse"},"narp":{"@id":"https://vocabulary.uncefact.org/statementNote"},"importedAs":{"@id":"https://schema.org/description"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"whereIntercepted":{"@id":"https://vocabulary.uncefact.org/AttachedTransportEquipment"},"PestSample":{"@id":"http://rs.tdwg.org/dwc/terms/materialSampleID"},"pestDeterminations":{"@id":"https://dwc.tdwg.org/list/#dwc_identificationID"},"quarantineStatus":{"@id":"https://vocabulary.uncefact.org/conditionCode"},"remarks":{"@id":"https://vocabulary.uncefact.org/remark"}}},"USDAPPQ368NoticeOfArrival":{"@id":"https://w3id.org/traceability#USDAPPQ368NoticeOfArrival","@context":{"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"arrivalDate":{"@id":"https://vocabulary.uncefact.org/actualArrivalRelatedDateTime"},"permitNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"customsEntryNumber":{"@id":"https://vocabulary.uncefact.org/customsId"},"presentLocation":{"@id":"https://vocabulary.uncefact.org/consignmentDestinationSpecifiedLocation"},"locationGrown":{"@id":"https://vocabulary.uncefact.org/originLocation"},"ITNumber":{"@id":"https://vocabulary.uncefact.org/customsId"},"productDisposition":{"@id":"https://vocabulary.uncefact.org/dispositionDocument"},"ppqOfficial":{"@id":"https://vocabulary.uncefact.org/inspectionParty"},"signatureDate":{"@id":"https://vocabulary.uncefact.org/occurrenceDateTime"}}},"USDAPPQ391SpecimensForDetermination":{"@id":"https://w3id.org/traceability#USDAPPQ391SpecimensForDetermination","@context":{"priority":{"@id":"https://vocabulary.uncefact.org/priorityCode"},"priorityExplanation":{"@id":"https://vocabulary.uncefact.org/remarks"},"collectionNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"submissionDate":{"@id":"https://vocabulary.uncefact.org/reportSubmissionDateTime"},"collectionDate":{"@id":"https://vocabulary.uncefact.org/actualOccurrenceDateTime"},"submittingAgency":{"@id":"https://vocabulary.uncefact.org/agencyId"},"submitter":{"@id":"https://vocabulary.uncefact.org/PartyRoleCodeList#TB"},"collector":{"@id":"https://vocabulary.uncefact.org/inspectionParty"},"interceptionSite":{"@id":"https://vocabulary.uncefact.org/occurrenceLocation"},"identificationReason":{"@id":"https://vocabulary.uncefact.org/reasonCode"},"remarks":{"@id":"https://vocabulary.uncefact.org/remarks"},"tentativeDetermination":{"@id":"https://dwc.tdwg.org/list/#dwc_identificationID"},"finalDetermination":{"@id":"https://dwc.tdwg.org/list/#dwc_identificationID"},"sampleDisposition":{"@id":"https://dwc.tdwg.org/list/#dwc_disposition"},"signatureDate":{"@id":"https://vocabulary.uncefact.org/occurrenceDateTime"},"lab":{"@id":"https://vocabulary.uncefact.org/lodgementLocation"},"labConformationNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"dateReceived":{"@id":"https://vocabulary.uncefact.org/acceptanceDateTime"}}},"USDAPPQ429FumigationRecord":{"@id":"https://w3id.org/traceability#USDAPPQ429FumigationRecord","@context":{"tarpaulin":{"@id":"https://vocabulary.uncefact.org/value"},"stationReporting":{"@id":"https://vocabulary.uncefact.org/relevantLocation"},"pest":{"@id":"https://schema.org/description"},"interceptionRecord":{"@id":"https://w3id.org/traceability#USDAPPQ309APestInterceptionRecord.yml"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"fumigationContractor":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"dateFumigationOrdered":{"@id":"https://vocabulary.uncefact.org/actualDateTime"},"fumigationSite":{"@id":"https://vocabulary.uncefact.org/occurrenceLocation"},"dateFumigated":{"@id":"https://vocabulary.uncefact.org/actualOccurrenceDateTime"},"fumigantAndTreatmentSchedule":{"@id":"https://vocabulary.uncefact.org/regulationName"},"temperatureOfSpace":{"@id":"https://vocabulary.uncefact.org/actualReportedMeasurement"},"temperatureOfCommodity":{"@id":"https://vocabulary.uncefact.org/actualReportedMeasurement"},"gasAnalyzer":{"@id":"https://schema.org/description"},"enclosure":{"@id":"https://schema.org/description"},"weatherConditions":{"@id":"https://schema.org/description"},"cubicCapacity":{"@id":"https://vocabulary.uncefact.org/actualReportedMeasurement"},"section18Exemption":{"@id":"https://vocabulary.uncefact.org/value"},"numberOfFans":{"@id":"https://vocabulary.uncefact.org/unitQuantity"},"totalCFMOfFans":{"@id":"https://vocabulary.uncefact.org/actualReportedMeasurement"},"timeFansOperated":{"@id":"https://vocabulary.uncefact.org/durationMeasure"},"foodOrFeedCommodity":{"@id":"https://vocabulary.uncefact.org/functionDescription"},"gasIntroductionStart":{"@id":"https://vocabulary.uncefact.org/startDateTime"},"gasIntroductionFinish":{"@id":"https://vocabulary.uncefact.org/endDateTime"},"totalGasIntroduced":{"@id":"https://vocabulary.uncefact.org/actualReportedMeasurement"},"residueSampleTaken":{"@id":"https://vocabulary.uncefact.org/value"},"residueSampleNumber":{"@id":"https://schema.org/description"},"gasConcentrations":{"@id":"https://vocabulary.uncefact.org/relatedObservation"},"detectorTubeReadings":{"@id":"https://vocabulary.uncefact.org/relatedObservation"},"remarks":{"@id":"https://vocabulary.uncefact.org/remark"},"inspector":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"reviewer":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"fumigatorMaterials":{"@id":"https://schema.org/description"},"ppqMaterials":{"@id":"https://schema.org/description"},"preparationProcedures":{"@id":"https://schema.org/description"}}},"USDAPPQ449RTemperatureCalibration":{"@id":"https://w3id.org/traceability#USDAPPQ449RTemperatureCalibration","@context":{"vesselName":{"@id":"https://vocabulary.uncefact.org/name"},"ppqDutyStation":{"@id":"https://vocabulary.uncefact.org/transitCustomsOfficeSpecifiedLocation"},"inspectionDate":{"@id":"https://vocabulary.uncefact.org/inspectionDateTime"},"inspectionPoint":{"@id":"https://vocabulary.uncefact.org/transitLocation"},"hullNumberDockyard":{"@id":"https://vocabulary.uncefact.org/identification"},"imoNumber":{"@id":"https://vocabulary.uncefact.org/identification"},"flagCode":{"@id":"https://vocabulary.uncefact.org/identification"},"shipsOfficer":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"ownerOperator":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"instrument1MakeModel":{"@id":"https://vocabulary.uncefact.org/AttachedTransportEquipment"},"instrument2MakeModel":{"@id":"https://vocabulary.uncefact.org/AttachedTransportEquipment"},"locationsDiagramMatchSatisfactory":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"sensorsBoxesLabelingSatisfactory":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"cableLengthSatisfactory":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"reactionTimeSatisfactory":{"@id":"https://vocabulary.uncefact.org/DocumentCodeList#287"},"temperatureReadings":{"@id":"https://vocabulary.uncefact.org/transportTemperature"},"participatingOfficials":{"@id":"https://vocabulary.uncefact.org/specifiedContactPerson"},"remarks":{"@id":"https://vocabulary.uncefact.org/remarks"},"company":{"@id":"https://vocabulary.uncefact.org/specifiedOrganization"},"signatureDate":{"@id":"https://vocabulary.uncefact.org/performanceDateTime"}}},"USDAPPQ505PlantDeclaration":{"@id":"https://w3id.org/traceability#USDAPPQ505PlantDeclaration","@context":{"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"productDeclarations":{"@id":"https://w3id.org/traceability#LaceyActProductDeclaration"},"preparer":{"@id":"https://vocabulary.uncefact.org/declarantParty"},"date":{"@id":"https://vocabulary.uncefact.org/issueDateTime"}}},"USDAPPQ519ComplianceAgreement":{"@id":"https://w3id.org/traceability#USDAPPQ519ComplianceAgreement","@context":{"person":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"firm":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"regulatedArticles":{"@id":"https://www.gs1.org/voc/regulatedProductName"},"quarantinesRegulations":{"@id":"https://vocabulary.uncefact.org/applicableRegulatoryProcedure"},"agreement":{"@id":"https://vocabulary.uncefact.org/guarantee"},"signatureDate":{"@id":"https://vocabulary.uncefact.org/issueDateTime"},"ppqCbpOfficial":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"usAgencyOfficial":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"agreementNumber":{"@id":"https://vocabulary.uncefact.org/ReferenceCodeList#AJS"},"agreementDate":{"@id":"https://vocabulary.uncefact.org/issueDateTime"}}},"USDAPPQ587PlantImportApplication":{"@id":"https://w3id.org/traceability#USDAPPQ587PlantImportApplication","@context":{"applicant":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"shipment":{"@id":"https://vocabulary.uncefact.org/transportPackage"},"intendedUse":{"@id":"https://vocabulary.uncefact.org/intendedUse"},"signatureDate":{"@id":"https://vocabulary.uncefact.org/issueDateTime"}}},"USDASC6ExemptCommodityForm":{"@id":"https://w3id.org/traceability#USDASC6ExemptCommodityForm","@context":{"serialNumber":{"@id":"https://w3id.org/traceability#serialNumber"},"customsEntryNumber":{"@id":"https://w3id.org/traceability#customsEntryNumber"},"tariffCodeNumber":{"@id":"https://w3id.org/traceability#tariffCodeNumber"},"carrierId":{"@id":"https://w3id.org/traceability#carrierId"},"lotId":{"@id":"https://w3id.org/traceability#lotId"},"dateOfEntry":{"@id":"https://w3id.org/traceability#dateOfEntry"},"signatureDate":{"@id":"https://w3id.org/traceability#signatureDate"},"facility":{"@id":"https://www.gs1.org/voc/Place"},"inspector":{"@id":"https://w3id.org/traceability#Inspector"},"shipment":{"@id":"https://w3id.org/traceability#AgricultureParcelDelivery"},"applicant":{"@id":"https://w3id.org/traceability#applicant"},"importerSignatureDate":{"@id":"https://w3id.org/traceability#importerSignatureDate"},"inspectionDate":{"@id":"https://vocabulary.uncefact.org/inspectionDateTime"},"intendedUse":{"@id":"https://w3id.org/traceability#intendedUse"},"intendedUseCert":{"@id":"https://w3id.org/traceability#intendedUseCert"}}},"USDASpecialtyCrops237AForm":{"@id":"https://w3id.org/traceability#USDASpecialtyCrops237AForm","@context":{"requestDate":{"@id":"https://vocabulary.uncefact.org/reportSubmissionDateTime"},"anticipatedAuditDate":{"@id":"https://www.gs1.org/voc/certificationAuditDate"},"auditee":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"applicant":{"@id":"https://vocabulary.uncefact.org/associatedParty"},"billingAccountNumber":{"@id":"https://schema.org/accountId"},"locations":{"@id":"https://schema.org/location"},"totalArea":{"@id":"https://www.gs1.org/voc/grossArea"},"commoditiesCovered":{"@id":"https://www.gs1.org/voc/certificationSubject"},"auditProgramsRequested":{"@id":"https://www.gs1.org/voc/certificationType"},"countByInspector":{"@id":"https://vocabulary.uncefact.org/applicableSpecifiedAction"},"additionalRemarks":{"@id":"https://vocabulary.uncefact.org/remarks"}}},"USMCACertifier":{"@id":"https://w3id.org/traceability/USMCACertifier","@context":{"role":{"@id":"https://w3id.org/traceability#certifierRole"},"certifierDetails":{"@id":"https://w3id.org/traceability#certifierDetails"}}},"USMCAClaims":{"@id":"https://w3id.org/traceability/USMCAClaims","@context":{"producerDetails":{"@id":"https://schema.org/manufacturer"},"producerConfidential":{"@id":"https://w3id.org/traceability#producerConfidential"},"importerDetails":{"@id":"https://w3id.org/traceability#importerDetails"},"importerUnknown":{"@id":"https://w3id.org/traceability#importerUnknown"},"exporterDetails":{"@id":"https://w3id.org/traceability#exporterDetails"},"goods":{"@id":"https://schema.org/Product"}}},"USMCAProduct":{"@id":"https://w3id.org/traceability/USMCAProduct","@context":{"commodityCode":{"@id":"https://w3id.org/traceability#commodityCode"},"commodityCodeType":{"@id":"https://w3id.org/traceability#commodityCodeType"},"originCriterion":{"@id":"https://w3id.org/traceability#originCriterion"},"countryOfOrigin":{"@id":"https://w3id.org/traceability#countryOfOrigin"}}},"WebLEI":{"@id":"https://w3id.org/traceability#WebLEI","@context":{"lei":{"@id":"https://www.gleif.org/en/about-lei/iso-17442-the-lei-code-structure#"},"entity":{"@id":"https://w3id.org/traceability#LEIEntity"},"registration":{"@id":"https://w3id.org/traceability#LEIRegistration"}}},"ActivityPubActorCard":{"@id":"https://w3id.org/traceability#ActivityPubActorCard","@context":{}},"AgricultureCanineCard":{"@id":"https://w3id.org/traceability#AgricultureCanineCard","@context":{}},"BankAccountCredential":{"@id":"https://w3id.org/traceability#BankAccountCredential","@context":{}},"BillOfLadingCredential":{"@id":"https://w3id.org/traceability#BillOfLadingCredential","@context":{}},"CBP3461EntryCredential":{"@id":"https://w3id.org/traceability#CBP3461EntryCredential","@context":{}},"CBP7501EntrySummaryCredential":{"@id":"https://w3id.org/traceability#CBP7501EntrySummaryCredential","@context":{}},"CBPEntryType86Credential":{"@id":"https://w3id.org/traceability#CBPEntryType86Credential","@context":{}},"CBPSection321DeMinimisDeMinimisCredential":{"@id":"https://w3id.org/traceability#CBPSection321DeMinimisCredential","@context":{}},"CTPATCertificate":{"@id":"https://w3id.org/traceability#CTPATCertificate","@context":{}},"CertificationOfOrigin":{"@id":"https://w3id.org/traceability#CertificationOfOrigin","@context":{}},"CommercialInvoiceCredential":{"@id":"https://w3id.org/traceability#CommercialInvoiceCredential","@context":{}},"DCSAShippingInstructionCredential":{"@id":"https://w3id.org/traceability#DCSAShippingInstructionCredential","@context":{}},"DCSATransportDocumentCredential":{"@id":"https://w3id.org/traceability#DCSATransportDocumentCredential","@context":{}},"DeliveryScheduleCredential":{"@id":"https://w3id.org/traceability#DeliveryScheduleCredential","@context":{}},"DeliveryStatementCredential":{"@id":"https://w3id.org/traceability#DeliveryStatementCredential","@context":{}},"DigitalProductPassportCredential":{"@id":"https://w3id.org/traceability#DigitalProductPassportCredential","@context":{}},"DigitalProductPassportDataCarrierCredential":{"@id":"https://w3id.org/traceability#DigitalProductPassportDataCarrierCredential","@context":{}},"EPA35401PesticidesCredential":{"@id":"https://w3id.org/traceability#EPA35401PesticidesCredential","@context":{}},"EPA35401PesticidesPart2Credential":{"@id":"https://w3id.org/traceability#EPA35401PesticidesPart2Credential","@context":{}},"EPA35401PesticidesPart3Credential":{"@id":"https://w3id.org/traceability#EPA35401PesticidesPart3Credential","@context":{}},"EntryNumberCredential":{"@id":"https://w3id.org/traceability#EntryNumberCredential","@context":{}},"FSMACreatingCTECredential":{"@id":"https://w3id.org/traceability#FSMACreatingCTECredential","@context":{}},"FSMAFirstReceiverDataCredential":{"@id":"https://w3id.org/traceability#FSMAFirstReceiverDataCredential","@context":{}},"FSMAGrowingCTECredential":{"@id":"https://w3id.org/traceability#FSMAGrowingCTECredential","@context":{}},"FSMAReceivingCTECredential":{"@id":"https://w3id.org/traceability#FSMAReceivingCTECredential","@context":{}},"FSMAShippingCTECredential":{"@id":"https://w3id.org/traceability#FSMAShippingCTECredential","@context":{}},"FSMATransformingCTECredential":{"@id":"https://w3id.org/traceability#FSMATransformingCTECredential","@context":{}},"FoodDefenseInspectionCredential":{"@id":"https://w3id.org/traceability#FoodDefenseInspectionCredential","@context":{}},"FoodGradeInspectionCredential":{"@id":"https://w3id.org/traceability#FoodGradeInspectionCredential","@context":{}},"FreightManifestCredential":{"@id":"https://w3id.org/traceability#FreightManifestCredential","@context":{}},"GAPInspectionCredential":{"@id":"https://w3id.org/traceability#GAPInspectionCredential","@context":{}},"GS18PrefixLicenseCredential":{"@id":"https://w3id.org/traceability#GS18PrefixLicenseCredential","@context":{}},"GS1CompanyPrefixLicenseCredential":{"@id":"https://w3id.org/traceability#GS1CompanyPrefixLicenseCredential","@context":{}},"GS1DataCredential":{"@id":"https://w3id.org/traceability#GS1DataCredential","@context":{}},"GS1DelegationCredential":{"@id":"https://w3id.org/traceability#GS1DelegationCredential","@context":{}},"GS1IdentificationKeyLicenseCredential":{"@id":"https://w3id.org/traceability#GS1IdentificationKeyLicenseCredential","@context":{}},"GS1KeyCredential":{"@id":"https://w3id.org/traceability#GS1KeyCredential","@context":{}},"GS1PrefixLicenseCredential":{"@id":"https://w3id.org/traceability#GS1PrefixLicenseCredential","@context":{}},"HouseBillOfLadingCredential":{"@id":"https://w3id.org/traceability#HouseBillOfLadingCredential","@context":{}},"IATAAirWaybillCredential":{"@id":"https://w3id.org/traceability#IATAAirWaybillCredential","@context":{}},"ImporterSecurityFilingCredential":{"@id":"https://w3id.org/traceability#ImporterSecurityFilingCredential","@context":{}},"IntellectualPropertyRightsCredential":{"@id":"https://w3id.org/traceability#IntellectualPropertyRightsCredential","@context":{}},"IntellectualPropertyRightsLicenseCredential":{"@id":"https://w3id.org/traceability#IntellectualPropertyRightsLicenseCredential","@context":{}},"IntentToImportCredential":{"@id":"https://w3id.org/traceability#IntentToImportCredential","@context":{}},"InventoryRegistrationCredential":{"@id":"https://w3id.org/traceability#InventoryRegistrationCredential","@context":{}},"MasterBillOfLadingCredential":{"@id":"https://w3id.org/traceability#MasterBillOfLadingCredential","@context":{}},"MexicoEInvoiceCredential":{"@id":"https://w3id.org/traceability#MexicoEInvoiceCredential","@context":{}},"MillTestReportCredential":{"@id":"https://w3id.org/traceability#MillTestReportCredential","@context":{}},"MonthlyAdvanceManifestCredential":{"@id":"https://w3id.org/traceability#MonthlyAdvanceManifestCredential","@context":{}},"MonthlyAggregateDeliveryStatementCredential":{"@id":"https://w3id.org/traceability#MonthlyAggregateDeliveryStatementCredential","@context":{}},"MultiModalBillOfLadingCredential":{"@id":"https://w3id.org/traceability#MultiModalBillOfLadingCredential","@context":{}},"OilAndGasDeliveryTicketCredential":{"@id":"https://w3id.org/traceability#OilAndGasDeliveryTicketCredential","@context":{}},"OilAndGasProductCredential":{"@id":"https://w3id.org/traceability#OilAndGasProductCredential","@context":{}},"OrderConfirmationCredential":{"@id":"https://w3id.org/traceability#OrderConfirmationCredential","@context":{}},"OrganicCertificateCredential":{"@id":"https://w3id.org/traceability#OrganicCertificateCredential","@context":{}},"PGAShipmentStatusCredential":{"@id":"https://w3id.org/traceability#PGAShipmentStatusCredential","@context":{}},"PackingListCredential":{"@id":"https://w3id.org/traceability#PackingListCredential","@context":{}},"PlantSystemsInspectionCredential":{"@id":"https://w3id.org/traceability#PlantSystemsInspectionCredential","@context":{}},"PowerOfAttorneyCredential":{"@id":"https://spec.edmcouncil.org/fibo/ontology/BE/LegalEntities/LegalPersons/PowerOfAttorney","@context":{}},"ProductRegistrationCredential":{"@id":"https://w3id.org/traceability#ProductRegistrationCredential","@context":{}},"PurchaseOrderCredential":{"@id":"https://w3id.org/traceability#PurchaseOrderCredential","@context":{}},"SIMASteelImportLicenseApplicationCredential":{"@id":"https://w3id.org/traceability#SIMASteelImportLicenseApplicationCredential","@context":{}},"SIMASteelImportLicenseCredential":{"@id":"https://w3id.org/traceability#SIMASteelImportLicenseCredential","@context":{}},"SeaCargoManifestCredential":{"@id":"https://w3id.org/traceability#SeaCargoManifestCredential","@context":{}},"ShippingInstructionsCredential":{"@id":"https://w3id.org/traceability#ShippingInstructionsCredential","@context":{}},"SoftwareBillofMaterialsCredential":{"@id":"https://w3id.org/traceability#SoftwareBillOfMaterialsCredential","@context":{}},"TSCACertificationCredential":{"@id":"https://w3id.org/traceability#TSCACertificationCredential","@context":{}},"ThingCredential":{"@id":"https://w3id.org/traceability#ThingCredential","@context":{}},"USMCACertificationOfOrigin":{"@id":"https://w3id.org/traceability#USMCACertificationOfOrigin","@context":{}},"VerifiableBusinessCard":{"@id":"https://w3id.org/traceability#VerifiableBusinessCard","@context":{}},"VerifiablePostmanCollection":{"@id":"https://w3id.org/traceability#VerifiablePostmanCollection","@context":{}},"VerifiableScorecard":{"@id":"https://w3id.org/traceability#VerifiableScorecard","@context":{}},"environmentalImpactCredential":{"@id":"https://w3id.org/traceability#environmentalImpactCredential","@context":{}}}} \ No newline at end of file diff --git a/src/graph/graph/contexts/index.ts b/src/graph/graph/contexts/index.ts index b2b04917..6785fdd2 100644 --- a/src/graph/graph/contexts/index.ts +++ b/src/graph/graph/contexts/index.ts @@ -1,8 +1,10 @@ import { default as cab4ddd9a531758807a79a5b450510d61ae8d147eab966cc9a200c07095b0cdcc } from "./ab4ddd9a531758807a79a5b450510d61ae8d147eab966cc9a200c07095b0cdcc.json" import { default as c24a18c90e9856d526111f29376e302d970b2bd10182e33959995b0207d7043b9 } from "./24a18c90e9856d526111f29376e302d970b2bd10182e33959995b0207d7043b9.json" import { default as c57393fbc69d6efb9b9b5dc9cb6b9880b0944360abfe2eaf459c9e58cf2279d7c } from "./57393fbc69d6efb9b9b5dc9cb6b9880b0944360abfe2eaf459c9e58cf2279d7c.json" +import { default as cd7cfce00f08fa1cbd4c58cf5ee60c6a0398aeae1f908621625e61477be878579 } from "./d7cfce00f08fa1cbd4c58cf5ee60c6a0398aeae1f908621625e61477be878579.json" export const contexts = { "https://www.w3.org/2018/credentials/v1": cab4ddd9a531758807a79a5b450510d61ae8d147eab966cc9a200c07095b0cdcc, "https://www.w3.org/ns/credentials/v2": c24a18c90e9856d526111f29376e302d970b2bd10182e33959995b0207d7043b9, "https://www.w3.org/ns/credentials/examples/v2": c57393fbc69d6efb9b9b5dc9cb6b9880b0944360abfe2eaf459c9e58cf2279d7c, + "https://w3id.org/traceability/v1": cd7cfce00f08fa1cbd4c58cf5ee60c6a0398aeae1f908621625e61477be878579, } diff --git a/src/graph/graph/jsongraph.ts b/src/graph/graph/jsongraph.ts index 50683cf3..2480ab86 100644 --- a/src/graph/graph/jsongraph.ts +++ b/src/graph/graph/jsongraph.ts @@ -125,13 +125,13 @@ const fromPresentation = async (document: any) => { const normalizeToTypeArray = Array.isArray(verifiableCredential.type) ? verifiableCredential.type : [verifiableCredential.type] let credentialGraph = undefined as any; if (normalizeToTypeArray.includes('EnvelopedVerifiableCredential')) { - if (verifiableCredential.id && verifiableCredential.id.startsWith('data:application/vc-ld+sd-jwt;')) { - const token = verifiableCredential.id.replace('data:application/vc-ld+sd-jwt;', '') + if (verifiableCredential.id && verifiableCredential.id.includes('+sd-jwt;')) { + const token = verifiableCredential.id.split('+sd-jwt;').pop() const payload = jose.decodeJwt(token) credentialGraph = await fromCredential(payload) } - if (verifiableCredential.id && verifiableCredential.id.startsWith('data:application/vc-ld+jwt;')) { - const token = verifiableCredential.id.replace('data:application/vc-ld+jwt;', '') + if (verifiableCredential.id && verifiableCredential.id.includes('+jwt;')) { + const token = verifiableCredential.id.split('+jwt;').pop() const payload = jose.decodeJwt(token) credentialGraph = await fromCredential(payload) } diff --git a/src/graph/handler.ts b/src/graph/handler.ts index 15fe287c..0fc74152 100644 --- a/src/graph/handler.ts +++ b/src/graph/handler.ts @@ -7,47 +7,114 @@ import { jsongraph } from './graph/jsongraph' import { query, injection } from './graph/gql' import { driver, push } from './graph/driver' +import dotenv from 'dotenv' + +import VerifiableDataPlatform from '@transmute/sdk' +import { getPresentations } from './presentations' + export const handler = async function ({ positionals, values }: Arguments) { positionals = positionals.slice(1) const operation = positionals.shift() + const encoder = new TextEncoder() switch (operation) { case 'assist': { - const graphType = values['graph-type'] || 'application/vnd.jgf+json' const output = values.output + const graphType = values['graph-type'] || 'application/vnd.jgf+json' const contentType: any = values['credential-type'] || values['presentation-type'] const verbose = values.verbose || false const [pathToContent] = positionals - const content = new Uint8Array(fs.readFileSync(pathToContent)) - const graph = await jsongraph.graph(content, contentType) - let graphText = JSON.stringify(graph, null, 2) if (verbose) { const message = `🕸️ ${graphType}` debug(message) } - if (graphType === 'application/gql') { - const components = await query(graph) - const dangerousQuery = await injection(components) - graphText = dangerousQuery - if (values.push) { - const d = await driver() - const session = d.session() - await push(session, components) - await d.close() - } - } - if (output) { - fs.writeFileSync(output, JSON.stringify(graphText, null, 2)) + const envFile = values.env + if (envFile) { + dotenv.config({ path: envFile }) } - if (env.github()) { - if (graphType === 'application/gql') { - setOutput('gql', graphText) + let graph + let graphText + if (!pathToContent) { + let allGraphText = '' + const allGraphs = [] as any[] + const api = await VerifiableDataPlatform.fromEnv({ + CLIENT_ID: process.env.CLIENT_ID as string, + CLIENT_SECRET: process.env.CLIENT_SECRET as string, + API_BASE_URL: process.env.API_BASE_URL as string, + TOKEN_AUDIENCE: process.env.TOKEN_AUDIENCE as string, + }) + const { items } = await getPresentations({ sent: true, received: true, api }) + const d = await driver() + for (const item of items) { + try { + const content = encoder.encode(item.content) + graph = await jsongraph.graph(content, 'application/vp-ld+sd-jwt') + allGraphs.push(graph) + const components = await query(graph) + const dangerousQuery = await injection(components) + allGraphText += dangerousQuery + '\n' + if (verbose) { + const message = `\n${dangerousQuery}\n` + console.log(message) + } + const session = d.session() + await push(session, components) + } catch (e) { + if (verbose) { + const message = `⛔ ${item.id}` + console.error(message) + console.error(e) + } + } } - if (graphType === 'application/vnd.jgf+json') { - setOutput('json', graph) + if (output) { + fs.writeFileSync(output, allGraphText) } + if (env.github()) { + if (graphType === 'application/gql') { + setOutput('gql', allGraphText) + } + if (graphType === 'application/vnd.jgf+json') { + setOutput('json', allGraphs) + } + } else { + if (!output) { + console.log(allGraphText) + } + } + + + await d.close() + } else { - if (!output) { - console.log(graphText) + // single file + const content = new Uint8Array(fs.readFileSync(pathToContent)) + graph = await jsongraph.graph(content, contentType) + graphText = JSON.stringify(graph, null, 2) + if (graphType === 'application/gql') { + const components = await query(graph) + const dangerousQuery = await injection(components) + graphText = dangerousQuery + if (values.push) { + const d = await driver() + const session = d.session() + await push(session, components) + await d.close() + } + } + if (output) { + fs.writeFileSync(output, graphText) + } + if (env.github()) { + if (graphType === 'application/gql') { + setOutput('gql', graphText) + } + if (graphType === 'application/vnd.jgf+json') { + setOutput('json', graph) + } + } else { + if (!output) { + console.log(graphText) + } } } break diff --git a/src/graph/presentations.ts b/src/graph/presentations.ts new file mode 100644 index 00000000..caea8d58 --- /dev/null +++ b/src/graph/presentations.ts @@ -0,0 +1,41 @@ + +export const getPresentations = async ({ sent, received, api }: any) => { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const results: any = { items: [] } + if (received) { + const response = await api.presentations.getPresentationsSharedWithMe() + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const data = response.data as any + if (response.data) { + results.page = data.page + results.count = data.count + results.items = [ + ...results.items, + ...data.items.map((p) => { + return { id: p.id, content: p.verifiablePresentation } + }), + ] + } + } + if (sent) { + const response = await api.presentations.getPresentationsSharedWithOthers() + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const data = response.data as any + if (response.data) { + results.page = data.page + results.count = data.count + results.items = [ + ...results.items, + ...data.items.map((p) => { + return { id: p.id, content: p.verifiablePresentation } + }), + ] + } + // in case both are passed, these values don't make sense... + if (received) { + delete results.page + delete results.count + } + } + return results +} \ No newline at end of file diff --git a/tests/graph.test.ts b/tests/graph.test.ts index e3ffaf21..89bb8593 100644 --- a/tests/graph.test.ts +++ b/tests/graph.test.ts @@ -16,21 +16,26 @@ beforeEach(() => { // Graph -it('graph json', async () => { +it('graph assist json', async () => { await facade(`graph assist ./tests/fixtures/issuer-claims.json --verbose --credential-type application/vc --graph-type application/vnd.jgf+json`) expect(debug).toHaveBeenCalledTimes(1) expect(output).toHaveBeenCalledTimes(1) }) -it('graph gql', async () => { +it.skip('graph assist gql', async () => { await facade(`graph assist ./tests/fixtures/issuer-claims.json --verbose --credential-type application/vc --graph-type application/gql`) expect(debug).toHaveBeenCalledTimes(1) expect(output).toHaveBeenCalledTimes(1) }) -it.skip('graph gql neo4j', async () => { +it.skip('graph assist gql neo4j', async () => { await facade(`graph assist ./tests/fixtures/issuer-claims.json --verbose --credential-type application/vc --graph-type application/gql --push`) expect(debug).toHaveBeenCalledTimes(1) expect(output).toHaveBeenCalledTimes(1) }) +it.skip('graph assist vdp', async () => { + await facade(`graph assist --verbose --credential-type application/vc --graph-type application/gql --push --env ./.env`) + expect(debug).toHaveBeenCalledTimes(1) + expect(output).toHaveBeenCalledTimes(1) +})