{ "network": "sepolia", "wallet": { "type": "ENCRYPTED_JSON", "encryptedJson": "" }, "documentStorage": { "apiKey": "randomKey", "url": "https://tradetrust-functions.netlify.app/.netlify/functions/storage" }, "forms": [ { "name": "TradeTrust Bill of Lading v2 (Carrier)", "type": "TRANSFERABLE_RECORD", "defaults": { "$template": { "type": "EMBEDDED_RENDERER", "name": "BILL_OF_LADING_CARRIER", "url": "https://generic-templates.tradetrust.io" }, "issuers": [ { "name": "DEMO TOKEN REGISTRY", "tokenRegistry": "", "identityProof": { "type": "DNS-TXT", "location": "example.com" }, "revocation": { "type": "NONE" } } ] }, "schema": { "type": "object", "additionalProperties": false, "required": [ "blNumber", "scac" ], "properties": { "blNumber": { "type": "string", "title": "BL Number" }, "scac": { "type": "string", "title": "Standard Carrier Alpha Code (SCAC)" }, "carrierName": { "title": "Signed for the Carrier", "type": "string" }, "logo": { "type": "string", "title": "Company Logo" }, "shipper": { "type": "object", "properties": { "name": { "type": "string" }, "address": { "type": "object", "properties": { "street": { "type": "string" }, "country": { "type": "string" } } } } }, "onwardInlandRouting": { "type": "string", "title": "Onward Inland Routing" }, "consignee": { "type": "object", "properties": { "toOrderOfText": { "title": "is consigned to (e.g. TO ORDER OF, TO ORDER, etc..)", "type": "string" }, "name": { "type": "string" } } }, "notifyParty": { "title": "Notify Party", "type": "object", "properties": { "name": { "type": "string" } } }, "vessel": { "type": "string" }, "voyageNo": { "title": "Voyage No.", "type": "string" }, "portOfLoading": { "title": "Port of Loading", "type": "string" }, "portOfDischarge": { "title": "Port of Discharge", "type": "string" }, "placeOfReceipt": { "title": "Place of Receipt", "type": "string" }, "placeOfDelivery": { "title": "Place of Delivery", "type": "string" }, "packages": { "type": "array", "title": "Packages", "items": { "type": "object", "properties": { "description": { "type": "string" }, "measurement": { "type": "string" }, "weight": { "type": "string" } } } }, "carrierReceipt": { "title": "Carrier's Receipt", "type": "string" }, "placeOfIssueBL": { "title": "Place of Issue of B/L", "type": "string" }, "numberOfOriginalBL": { "title": "Number of original B/L", "type": "string" }, "dateOfIssueBL": { "title": "Date of Issue of B/L", "type": "string" }, "shippedOnBoardDate": { "title": "Shipped on Board Date", "type": "string" }, "signForTermsAndCondition": { "title": "Signed for Terms and Conditions", "type": "string" }, "signedForCarrierText": { "title": "Text for signed for carrier", "type": "string" }, "carrierSignature": { "type": "string", "title": "Carrier Signature" }, "termsOfCarriage": { "type": "string", "title": "Terms Of Carriage" } } }, "uiSchema": { "logo": { "ui:widget": "file", "ui:options": { "text": "Upload Company Logo", "accept": ".png, .jpeg, .jpg" } }, "notifyParty": { "name": { "ui:widget": "textarea" } }, "packages": { "items": { "description": { "ui:widget": "textarea" } } }, "carrierReceipt": { "ui:widget": "textarea" }, "placeOfIssueBL": { "ui:widget": "textarea" }, "numberOfOriginalBL": { "ui:widget": "textarea" }, "dateOfIssueBL": { "ui:widget": "date" }, "shippedOnBoardDate": { "ui:widget": "date" }, "signForTermsAndCondition": { "ui:widget": "textarea" }, "carrierSignature": { "ui:widget": "file", "ui:options": { "text": "Upload Carrier Signature", "accept": ".png, .jpeg, .jpg" } }, "termsOfCarriage": { "ui:widget": "textarea" } }, "attachments": { "allow": true, "accept": ".pdf, .json" }, "extension": "tt", "fileName": "bill-<%= blNumber %>" }, { "name": "TradeTrust Bill of Lading v2", "type": "TRANSFERABLE_RECORD", "defaults": { "$template": { "type": "EMBEDDED_RENDERER", "name": "BILL_OF_LADING", "url": "https://generic-templates.tradetrust.io" }, "issuers": [ { "name": "DEMO TOKEN REGISTRY", "tokenRegistry": "", "identityProof": { "type": "DNS-TXT", "location": "example.com" }, "revocation": { "type": "NONE" } } ] }, "schema": { "type": "object", "additionalProperties": false, "required": [ "blNumber", "scac" ], "properties": { "blNumber": { "type": "string", "title": "BL Number" }, "scac": { "type": "string", "title": "Standard Carrier Alpha Code (SCAC)" }, "carrierName": { "title": "Signed for the Carrier", "type": "string" }, "shipper": { "type": "object", "properties": { "name": { "type": "string" }, "address": { "type": "object", "properties": { "street": { "type": "string" }, "country": { "type": "string" } } } } }, "consignee": { "type": "object", "properties": { "name": { "type": "string" } } }, "notifyParty": { "title": "Notify Party", "type": "object", "properties": { "name": { "type": "string" } } }, "vessel": { "type": "string" }, "voyageNo": { "title": "Voyage No.", "type": "string" }, "portOfLoading": { "title": "Port of Loading", "type": "string" }, "portOfDischarge": { "title": "Port of Discharge", "type": "string" }, "placeOfReceipt": { "title": "Place of Receipt", "type": "string" }, "placeOfDelivery": { "title": "Place of Delivery", "type": "string" }, "packages": { "type": "array", "title": "Packages", "items": { "type": "object", "properties": { "description": { "type": "string" }, "measurement": { "type": "string" }, "weight": { "type": "string" } } } } } }, "attachments": { "allow": true, "accept": ".pdf, .json" }, "extension": "tt", "fileName": "bill-<%= blNumber %>" }, { "name": "TradeTrust ChAFTA Certificate of Origin v2", "type": "VERIFIABLE_DOCUMENT", "defaults": { "$template": { "type": "EMBEDDED_RENDERER", "name": "CHAFTA_COO", "url": "https://generic-templates.tradetrust.io" }, "issuers": [ { "name": "Demo Issuer", "documentStore": "", "identityProof": { "type": "DNS-TXT", "location": "example.com" }, "revocation": { "type": "NONE" } } ] }, "schema": { "type": "object", "additionalProperties": false, "properties": { "iD": { "type": "string", "title": "COO ID" }, "issueDateTime": { "type": "string", "title": "Issued Date & Time" }, "firstSignatoryAuthentication": { "title": "Signatory Authentication", "type": "object", "properties": { "signature": { "type": "string", "title": "First Signatory" } } }, "supplyChainConsignment": { "title": "Supply Chain Consignment", "type": "object", "properties": { "iD": { "type": "string", "title": "ID" }, "information": { "type": "string", "title": "Consignment Information" }, "exportCountry": { "title": "Export Country", "type": "object", "properties": { "code": { "type": "string", "title": "Country Code" } } }, "exporter": { "title": "Exporter", "type": "object", "properties": { "iD": { "title": "ID", "type": "string" }, "name": { "title": "Name", "type": "string" }, "postalAddress": { "title": "", "type": "object", "properties": { "line1": { "type": "string", "title": "Address Line 1" }, "line2": { "type": "string", "title": "Address Line 2" }, "cityName": { "type": "string", "title": "City" }, "postcode": { "type": "string", "title": "Postal Code" }, "countrySubDivisionName": { "type": "string", "title": "Country Sub Division Name" }, "countryCode": { "type": "string", "title": "Country Code" } } } } }, "importCountry": { "type": "object", "title": "Import Country", "properties": { "code": { "type": "string", "title": "Country Code" } } }, "importer": { "title": "Importer's Details (if known)", "type": "object", "properties": { "iD": { "title": "Importer ID", "type": "string" }, "name": { "title": "Name", "type": "string" }, "postalAddress": { "title": "", "type": "object", "properties": { "line1": { "type": "string", "title": "Address Line 1" }, "line2": { "type": "string", "title": "Address Line 2" }, "cityName": { "type": "string", "title": "City" }, "postcode": { "type": "string", "title": "Postal Code" }, "countrySubDivisionName": { "type": "string", "title": "Country Sub Division Name" }, "countryCode": { "type": "string", "title": "Country Code" } } } } }, "includedConsignmentItems": { "type": "array", "title": "Included Consignment Items", "items": { "type": "object", "properties": { "iD": { "type": "string", "title": "ID" }, "information": { "type": "string", "title": "Information" }, "crossBorderRegulatoryProcedure": { "type": "object", "title": "", "properties": { "originCriteriaText": { "type": "string", "title": "Origin Criteria Text" } } }, "manufacturer": { "type": "object", "title": "Manufacturer", "properties": { "iD": { "type": "string", "title": "ID" }, "name": { "type": "string", "title": "Name" }, "postalAddress": { "title": "", "type": "object", "properties": { "line1": { "type": "string", "title": "Address Line 1" }, "line2": { "type": "string", "title": "Address Line 2" }, "cityName": { "type": "string", "title": "City" }, "postcode": { "type": "string", "title": "Postal Code" }, "countrySubDivisionName": { "type": "string", "title": "Country Sub Division Name" }, "countryCode": { "type": "string", "title": "Country Code" } } } } }, "tradeLineItems": { "type": "array", "title": "Trade line Items", "items": { "type": "object", "properties": { "sequenceNumber": { "type": "integer", "title": "Sequence Number" }, "invoiceReference": { "type": "object", "title": "Invoice Reference", "properties": { "iD": { "type": "string", "title": "ID" }, "formattedIssueDateTime": { "type": "string", "title": "Formatted Issue Date & Time" }, "attachedBinaryFile": { "type": "object", "title": "", "properties": { "uRI": { "type": "string", "title": "Attached Binary File URI" } } } } }, "tradeProduct": { "type": "object", "title": "Trade Product", "properties": { "iD": { "type": "string", "title": "ID" }, "description": { "type": "string", "title": "Description" }, "harmonisedTariffCode": { "type": "object", "title": "", "properties": { "classCode": { "type": "string", "title": "Harmonised Tariff Class Code" }, "className": { "type": "string", "title": "Harmonised Tariff Class Name" } } }, "originCountry": { "type": "object", "title": "Origin Country", "properties": { "code": { "type": "string", "title": "Code" } } } } }, "transportPackages": { "type": "array", "title": "Transport Packages", "items": { "type": "object", "properties": { "iD": { "type": "string", "title": "ID" }, "grossVolume": { "type": "string", "title": "Gross Volume" }, "grossWeight": { "type": "string", "title": "Gross Weight" } } } } } } } } } }, "loadingBaseportLocation": { "type": "object", "title": "Loading Baseport Location", "properties": { "iD": { "type": "string", "title": "ID" }, "name": { "type": "string", "title": "Name" } } }, "mainCarriageTransportMovement": { "title": "Main Carriage Transport Movement", "type": "object", "properties": { "iD": { "type": "string", "title": "ID" }, "information": { "type": "string", "title": "Information" }, "usedTransportMeans": { "title": "", "type": "object", "properties": { "name": { "type": "string", "title": "Used Transport" }, "iD": { "type": "string", "title": "Used Transport ID" } } }, "departureEvent": { "title": "", "type": "object", "properties": { "departureDateTime": { "type": "string", "title": "Departure Date and Time" } } } } }, "unloadingBaseportLocation": { "type": "object", "title": "Unloading Baseport Location", "properties": { "iD": { "type": "string", "title": "ID" }, "name": { "type": "string", "title": "Name" } } } } } } }, "uiSchema": { "issueDateTime": { "ui:widget": "datetime" }, "firstSignatoryAuthentication": { "signature": { "ui:widget": "file", "ui:options": { "text": "Upload Signature", "accept": ".png, .jpeg, .jpg" } } }, "supplyChainConsignment": { "includedConsignmentItems": { "items": { "tradeLineItems": { "items": { "invoiceReference": { "formattedIssueDateTime": { "ui:widget": "datetime" } } } } } }, "mainCarriageTransportMovement": { "departureEvent": { "departureDateTime": { "ui:widget": "datetime" } } } } }, "attachments": { "allow": true, "accept": ".pdf" }, "extension": "tt" }, { "name": "TradeTrust Simple Certificate of Origin v2", "type": "VERIFIABLE_DOCUMENT", "defaults": { "$template": { "type": "EMBEDDED_RENDERER", "name": "SIMPLE_COO", "url": "https://generic-templates.tradetrust.io" }, "issuers": [ { "name": "Demo Issuer", "documentStore": "", "identityProof": { "type": "DNS-TXT", "location": "example.com" }, "revocation": { "type": "NONE" } } ] }, "schema": { "type": "object", "additionalProperties": false, "required": [ "documentName" ], "properties": { "documentName": { "type": "string", "title": "Document Name" }, "cooId": { "type": "string", "title": "COO ID" }, "issueIn": { "type": "string", "title": "Issued In" }, "issueDateAndTime": { "type": "string", "title": "Issued Date & Time" }, "exporterDetails": { "title": "Exporter Details", "type": "object", "properties": { "exportCountry": { "type": "string", "title": "Export Country" }, "exporterName": { "type": "string", "title": "Exporter Name" }, "exporterAddress": { "title": "Exporter Address", "type": "object", "properties": { "line1": { "type": "string", "title": "Address Line 1" }, "line2": { "type": "string", "title": "Address Line 2" }, "postalCode": { "type": "string", "title": "Postal Code" } } } } }, "importerDetails": { "title": "Importer Details", "type": "object", "properties": { "importCountry": { "type": "string", "title": "Import Country" }, "importerName": { "type": "string", "title": "Importer Name" }, "importerAddress": { "title": "Importer Address", "type": "object", "properties": { "line1": { "type": "string", "title": "Address Line 1" }, "line2": { "type": "string", "title": "Address Line 2" }, "postalCode": { "type": "string", "title": "Postal Code" } } } } }, "descriptionOfGoods": { "type": "object", "title": "Description of Goods", "properties": { "includedConsignments": { "type": "string", "title": "Included Consignments" }, "importerNameMarksAndNumber": { "type": "string", "title": "Importer Name, Marks & Number" }, "numberAndKindOfPackage": { "type": "string", "title": "Number & Kind of Package" }, "hsCode": { "type": "string", "title": "Harmonised System (HS) Code" }, "invoiceNumber": { "type": "string", "title": "Invoice Number" }, "dateOfInvoice": { "type": "string", "title": "Date of Invoice" }, "loadingBaseportLocationName": { "type": "string", "title": "Loading Baseport Location Name" }, "mainCarriageTransportMovementId": { "type": "string", "title": "Main Carriage Transport Movement ID" } } }, "firstSignatoryAuthentication": { "title": "Signatory Authentication", "type": "object", "properties": { "signature": { "type": "string", "title": "First Signatory" }, "actualDate": { "type": "string", "title": "Date" }, "statement": { "type": "string", "title": "Statement" } } } } }, "uiSchema": { "firstSignatoryAuthentication": { "signature": { "ui:widget": "file", "ui:options": { "text": "Upload Signature", "accept": ".png, .jpeg, .jpg" } }, "actualDate": { "ui:widget": "date" } }, "issueDateAndTime": { "ui:widget": "datetime" }, "descriptionOfGoods": { "dateOfInvoice": { "ui:widget": "date" } } }, "extension": "tt" }, { "name": "TradeTrust Covering Letter v2", "type": "VERIFIABLE_DOCUMENT", "defaults": { "$template": { "type": "EMBEDDED_RENDERER", "name": "COVERING_LETTER", "url": "https://generic-templates.tradetrust.io" }, "issuers": [ { "name": "Demo Issuer", "documentStore": "", "identityProof": { "type": "DNS-TXT", "location": "example.com" }, "revocation": { "type": "NONE" } } ] }, "schema": { "type": "object", "additionalProperties": false, "properties": { "logo": { "type": "string", "title": "Document Title" }, "title": { "type": "string", "title": "Document Title" }, "remarks": { "type": "string", "title": "Remarks" }, "backgroundColor": { "type": "string", "title": "Background Color" }, "titleColor": { "type": "string", "title": "Title Color" }, "remarksColor": { "type": "string", "title": "Remarks Color" } } }, "attachments": { "allow": true }, "uiSchema": { "logo": { "ui:widget": "file", "ui:options": { "text": "Upload Cover Letter Logo", "accept": ".png, .jpeg, .jpg" } }, "remarks": { "ui:widget": "textarea" }, "backgroundColor": { "ui:widget": "color", "ui:options": { "emptyValue": "#ffffff" } }, "titleColor": { "ui:widget": "color", "ui:options": { "emptyValue": "#4e4e50" } }, "remarksColor": { "ui:widget": "color", "ui:options": { "emptyValue": "#4e4e50" } } }, "extension": "tt" }, { "name": "TradeTrust Invoice v2 (DNS-DID)", "type": "VERIFIABLE_DOCUMENT", "defaults": { "$template": { "type": "EMBEDDED_RENDERER", "name": "INVOICE", "url": "https://generic-templates.tradetrust.io" }, "issuers": [ { "id": "", "name": "Demo DNS-DID", "identityProof": { "type": "DNS-DID", "location": "example.com", "key": "" }, "revocation": { "type": "NONE" } } ] }, "schema": { "type": "object", "additionalProperties": false, "properties": { "id": { "type": "string", "title": "Invoice ID" }, "date": { "type": "string", "title": "Date" }, "customerId": { "type": "string", "title": "Customer ID" }, "terms": { "type": "string", "title": "Terms" }, "billFrom": { "type": "object", "title": "Bill From", "properties": { "name": { "type": "string", "title": "Name" }, "streetAddress": { "type": "string", "title": "Street Address" }, "city": { "type": "string", "title": "City" }, "postalCode": { "type": "string", "title": "Postal Code" }, "phoneNumber": { "type": "string", "title": "Phone Number" } } }, "billTo": { "type": "object", "title": "Bill To", "properties": { "name": { "type": "string", "title": "Name" }, "email": { "type": "string", "title": "Email" }, "company": { "type": "object", "title": "Bill To Company", "properties": { "name": { "type": "string", "title": "Name" }, "streetAddress": { "type": "string", "title": "Street Address" }, "city": { "type": "string", "title": "City" }, "postalCode": { "type": "string", "title": "Postal Code" }, "phoneNumber": { "type": "string", "title": "Phone Number" } } } } }, "billableItems": { "type": "array", "title": "Billable Items", "items": { "type": "object", "properties": { "description": { "type": "string", "title": "Description" }, "quantity": { "type": "string", "title": "Quantity" }, "unitPrice": { "type": "string", "title": "Unit Price" }, "amount": { "type": "string", "title": "Amount" } } } }, "subtotal": { "type": "string", "title": "Subtotal" }, "tax": { "type": "string", "title": "Tax (%)" }, "taxTotal": { "type": "string", "title": "Tax Total" }, "total": { "type": "string", "title": "Total" } } }, "uiSchema": { "date": { "ui:widget": "date" } }, "extension": "tt" }, { "name": "TradeTrust Invoice v2", "type": "VERIFIABLE_DOCUMENT", "defaults": { "$template": { "type": "EMBEDDED_RENDERER", "name": "INVOICE", "url": "https://generic-templates.tradetrust.io" }, "issuers": [ { "name": "Demo Issuer", "documentStore": "", "identityProof": { "type": "DNS-TXT", "location": "example.com" }, "revocation": { "type": "NONE" } } ] }, "schema": { "type": "object", "additionalProperties": false, "properties": { "id": { "type": "string", "title": "Invoice ID" }, "date": { "type": "string", "title": "Date" }, "customerId": { "type": "string", "title": "Customer ID" }, "terms": { "type": "string", "title": "Terms" }, "billFrom": { "type": "object", "title": "Bill From", "properties": { "name": { "type": "string", "title": "Name" }, "streetAddress": { "type": "string", "title": "Street Address" }, "city": { "type": "string", "title": "City" }, "postalCode": { "type": "string", "title": "Postal Code" }, "phoneNumber": { "type": "string", "title": "Phone Number" } } }, "billTo": { "type": "object", "title": "Bill To", "properties": { "name": { "type": "string", "title": "Name" }, "email": { "type": "string", "title": "Email" }, "company": { "type": "object", "title": "Bill To Company", "properties": { "name": { "type": "string", "title": "Name" }, "streetAddress": { "type": "string", "title": "Street Address" }, "city": { "type": "string", "title": "City" }, "postalCode": { "type": "string", "title": "Postal Code" }, "phoneNumber": { "type": "string", "title": "Phone Number" } } } } }, "billableItems": { "type": "array", "title": "Billable Items", "items": { "type": "object", "properties": { "description": { "type": "string", "title": "Description" }, "quantity": { "type": "string", "title": "Quantity" }, "unitPrice": { "type": "string", "title": "Unit Price" }, "amount": { "type": "string", "title": "Amount" } } } }, "subtotal": { "type": "string", "title": "Subtotal" }, "tax": { "type": "string", "title": "Tax (%)" }, "taxTotal": { "type": "string", "title": "Tax Total" }, "total": { "type": "string", "title": "Total" } } }, "uiSchema": { "date": { "ui:widget": "date" } }, "extension": "tt" }, { "name": "TradeTrust Warehouse Receipt v2", "type": "TRANSFERABLE_RECORD", "defaults": { "$template": { "type": "EMBEDDED_RENDERER", "name": "WAREHOUSE_RECEIPT", "url": "https://generic-templates.tradetrust.io" }, "issuers": [ { "name": "DEMO TOKEN REGISTRY", "tokenRegistry": "", "identityProof": { "type": "DNS-TXT", "location": "example.com" }, "revocation": { "type": "NONE" } } ] }, "schema": { "type": "object", "additionalProperties": false, "properties": { "logo": { "type": "string", "title": "Company logo" }, "spl": { "type": "string", "title": "SPL Number" }, "warehouseReceiptDetails": { "type": "object", "title": "Warehouse Receipt Details", "properties": { "warehouseReceipt": { "type": "string", "title": "Warehouse Receipt Number" }, "issuanceDate": { "type": "string", "title": "Issuance Date" }, "ourRef": { "type": "string", "title": "Our Ref" }, "rentStartDate": { "type": "string", "title": "Rent Start Date" }, "yourRef": { "type": "string", "title": "Your Ref(s)" }, "commodity": { "type": "string", "title": "Commodity" }, "documentType": { "type": "string", "title": "Document Type" }, "order": { "type": "string", "title": "TO THE ORDER OF" }, "account": { "type": "string", "title": "FOR THE ACCOUNT OF" } } }, "goods": { "type": "array", "title": "Goods", "items": { "type": "object", "properties": { "brand": { "type": "string", "title": "Brand / Shape" }, "piles": { "type": "string", "title": "Piles" }, "bundles": { "type": "string", "title": "Bundles" }, "pieces": { "type": "string", "title": "Pieces" }, "netWeight": { "type": "string", "title": "Net Weight (MT)" }, "grossWeight": { "type": "string", "title": "Gross Weight (MT)" } } } }, "totalNetWeight": { "type": "string", "title": "Total Net Weight (MTs)" }, "warehouseAddress": { "type": "string", "title": "Warehouse Address" }, "markings": { "type": "string", "title": "Markings / Remarks" }, "storageAndServicesTerms": { "type": "string", "title": "Storage And Services Terms" }, "signature": { "type": "string", "title": "Issuer Signature" }, "termsAndConditions": { "type": "string", "title": "Terms And Conditions" } } }, "uiSchema": { "logo": { "ui:widget": "file", "ui:options": { "text": "Upload Company Logo", "accept": ".png, .jpeg, .jpg" } }, "warehouseReceiptDetails": { "issuanceDate": { "ui:widget": "date" }, "rentStartDate": { "ui:widget": "date" } }, "storageAndServicesTerms": { "ui:widget": "textarea" }, "signature": { "ui:widget": "file", "ui:options": { "text": "Upload Issuer Signature", "accept": ".png, .jpeg, .jpg" } }, "termsAndConditions": { "ui:widget": "textarea" } }, "extension": "tt" } ] }