diff --git a/src/data/DocumentsData.ts b/src/data/DocumentsData.ts index 0ccc07c..239ba77 100644 --- a/src/data/DocumentsData.ts +++ b/src/data/DocumentsData.ts @@ -25,20 +25,20 @@ const fetchDocument = async (filename: string) => { const loadDocuments = async () => { const filenames = { - coo_default: 'certificate-of-origin-default.json', - coo_redacted: 'certificate-of-origin-redacted.json', - coo_revoked: 'certificate-of-origin-revoked.json', - coo_expired: 'certificate-of-origin-expired.json', - epn_operative: 'electronic-promissory-note-operative.json', - epn_inoperative: 'electronic-promissory-note-inoperative.json', - bol_operative: 'bill-of-lading-operative.json', - bol_inoperative: 'bill-of-lading-inoperative.json', - inv_default: 'invoice-default.json', - inv_redacted: 'invoice-redacted.json', - inv_revoked: 'invoice-revoked.json', - inv_expired: 'invoice-expired.json', - whr_operative: 'warehouse-receipt-operative.json', - whr_inoperative: 'warehouse-receipt-inoperative.json', + coo_default: 'w3c/v2_0/certificate-of-origin-default.json', + coo_redacted: 'w3c/v2_0/certificate-of-origin-redacted.json', + coo_revoked: 'w3c/v2_0/certificate-of-origin-revoked.json', + coo_expired: 'w3c/v2_0/certificate-of-origin-expired.json', + epn_operative: 'w3c/v2_0/electronic-promissory-note-operative.json', + epn_inoperative: 'w3c/v2_0/electronic-promissory-note-inoperative.json', + bol_operative: 'w3c/v2_0/bill-of-lading-operative.json', + bol_inoperative: 'w3c/v2_0/bill-of-lading-inoperative.json', + inv_default: 'w3c/v2_0/invoice-default.json', + inv_redacted: 'w3c/v2_0/invoice-redacted.json', + inv_revoked: 'w3c/v2_0/invoice-revoked.json', + inv_expired: 'w3c/v2_0/invoice-expired.json', + whr_operative: 'w3c/v2_0/warehouse-receipt-operative.json', + whr_inoperative: 'w3c/v2_0/warehouse-receipt-inoperative.json', coo_default_oa: 'OA/certificate-of-origin-default.json', coo_redacted_oa: 'OA/certificate-of-origin-redacted.json', coo_revoked_oa: 'OA/certificate-of-origin-revoked.json',