Bug 40434: Add maxLength to vendor spec file

Test plan:
Apply the "tests" patch first
  prove xt/api.t
=> fail
Apply this patch
=> pass

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2025-07-17 14:40:51 +02:00 committed by Lucas Gass
parent f3d1f4a585
commit a98fc14148
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 7 additions and 0 deletions

View File

@ -34,11 +34,13 @@ properties:
- string
- "null"
description: Vendor phone number
maxLength: 30
fax:
type:
- string
- "null"
description: Vendor fax number
maxLength: 50
accountnumber:
type:
- string
@ -49,6 +51,7 @@ properties:
- string
- "null"
description: Type of vendor
maxLength: 255
notes:
type:
- string
@ -64,6 +67,7 @@ properties:
- string
- "null"
description: Vendor web address
maxLength: 255
active:
type:
- boolean
@ -74,11 +78,13 @@ properties:
- string
- "null"
description: List prices currency
maxLength: 10
invoice_currency:
type:
- string
- "null"
description: Invoice prices currency
maxLength: 10
gst:
type:
- boolean
@ -114,6 +120,7 @@ properties:
- string
- "null"
description: External id
maxLength: 255
aliases:
type: array
description: List of aliases