From 2c8fa719b9d07827b9557ebfa2567af693e32808 Mon Sep 17 00:00:00 2001 From: Benjamin Collins Date: Fri, 20 Oct 2023 21:41:54 +0900 Subject: [PATCH] feat: fix syntax in document --- .../schemas/credentials/EInvoiceCredential.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/openapi/components/schemas/credentials/EInvoiceCredential.yml b/docs/openapi/components/schemas/credentials/EInvoiceCredential.yml index b21cf8104..ca43ac435 100644 --- a/docs/openapi/components/schemas/credentials/EInvoiceCredential.yml +++ b/docs/openapi/components/schemas/credentials/EInvoiceCredential.yml @@ -197,9 +197,8 @@ properties: additionalProperties: false required: - type - - linkedDocuments + - relatedDocuments - buyer - - consignee type: object properties: type: @@ -350,9 +349,13 @@ properties: title: Items Shipped description: Itemized list of shipped goods. type: array + minItems: 1 + maxItems: 1000 items: type: object - additionalProperties: false + additionalProperties: false + required: + - type properties: type: type: array @@ -400,11 +403,8 @@ properties: - kilogram - tonne - pounds - additionalProperties: false - required: - - type - minItems: 1 - maxItems: 1000 + + shipment: title: Shipment description: Details about the shipment being made @@ -541,6 +541,8 @@ properties: - type minItems: 0 maxItems: 1 + + proof: title: proof description: A JSON Web Signature proof for a credential as defined by the VC data model