Skip to content

Commit

Permalink
debug: remove required type for array
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminMoe committed Oct 24, 2023
1 parent 1688a7c commit 687aea5
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions docs/openapi/components/schemas/credentials/EInvoiceCredential.yml
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,6 @@ properties:
- type
minItems: 0
maxItems: 1

payment:
title: Payment
description: Information about payment
Expand Down Expand Up @@ -659,6 +658,9 @@ properties:
title: Beneficiary Address
description: The postal address of the Beneficiary
type: object
additionalProperties: false
required:
- type
properties:
type:
type: array
Expand Down Expand Up @@ -697,9 +699,6 @@ properties:
title: Postal Code
description: Text specifying the postal code for an address.
type: string
additionalProperties: false
required:
- type
bankName:
title: Bank Name
description: Name of the bank
Expand All @@ -708,6 +707,9 @@ properties:
title: Bank Address
description: The postal address of the bank
type: object
additionalProperties: false
required:
- type
properties:
type:
type: array
Expand Down Expand Up @@ -746,9 +748,6 @@ properties:
title: Postal Code
description: Text specifying the postal code for an address.
type: string
additionalProperties: false
required:
- type
transitNumber:
title: Transit Number
description: A nine-digit number that helps financial institutions identify what institution issued checks or other documents financial documents
Expand All @@ -769,9 +768,6 @@ properties:
title: Routing Number
description: Routing Number for the institution
type: string
additionalProperties: false
required:
- type
minItems: 0
maxItems: 1
discounts:
Expand Down Expand Up @@ -846,6 +842,7 @@ example: |-
"CommercialInvoiceCredential"
],
"id": "urn:uuid:5e45f155-c949-4005-a7e5-26ni58b6a59a",
"taxIdNumber": "88800012345",
"issuanceDate": "2022-02-23T11:55:00Z",
"issuer": {
"type": [
Expand Down Expand Up @@ -928,6 +925,7 @@ example: |-
"name": "Rebar",
"description": "Round Rebar used for Construction",
"productIdentifier": "rn19082-a",
"batchNumber": "010",
"price": 1000,
"count": 5,
"priceCurrency": "USD",
Expand Down

0 comments on commit 687aea5

Please sign in to comment.