From 1688a7cf44d57593545c5d67087ef95e48018272 Mon Sep 17 00:00:00 2001 From: Benjamin Collins Date: Wed, 25 Oct 2023 02:14:24 +0900 Subject: [PATCH] fix: update example to fill schema --- .../credentials/EInvoiceCredential.yml | 34 ++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/docs/openapi/components/schemas/credentials/EInvoiceCredential.yml b/docs/openapi/components/schemas/credentials/EInvoiceCredential.yml index 6bf125f87..3c7f23f1e 100644 --- a/docs/openapi/components/schemas/credentials/EInvoiceCredential.yml +++ b/docs/openapi/components/schemas/credentials/EInvoiceCredential.yml @@ -990,7 +990,39 @@ example: |- "reason": "First time customer" } ] - } + }, + "paymentDetails" : [ + { + "type":["PaymentDetails"], + "beneficiaryName": "American Prime Steel Inc.", + "beneficiaryAddress": { + "type": [ + "PostalAddress" + ], + "streetAddress": "1551 Keebler Knoll", + "addressLocality": "Vivianeburgh", + "addressRegion": "Oregon", + "postalCode": "47090", + "addressCountry": "US" + }, + "bankName": "Example Bank", + "bankAddress": { + "type": [ + "PostalAddress" + ], + "streetAddress": "17101 SW SUGAR PLUM LN", + "addressLocality": "BEAVERTON", + "addressRegion": "Oregon", + "postalCode": "97007", + "addressCountry": "US" + }, + "transitNumber": "123456789", + "institutionNumber": "000", + "accountNumber": "123456789", + "swiftCode": "AAAA-BB-CC-123", + "routingNumber": "123456789" + } + ] } }, "credentialSchema": {