Bug 40177: Add maxLength to library spec file

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

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 25dfe5e5da)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Jonathan Druart 2025-06-19 11:11:01 +02:00 committed by Paul Derscheid
parent ce61e47580
commit 73e6ebbe75
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,7 @@ properties:
- string
- "null"
description: the postal code of the library
maxLength: 25
city:
type:
- string
@ -84,6 +85,7 @@ properties:
- string
- "null"
description: the IP address for your library or branch
maxLength: 15
notes:
type:
- string
@ -101,6 +103,7 @@ properties:
description: MARC Organization Code, see
http://www.loc.gov/marc/organizations/orgshome.html, when empty defaults
to syspref MARCOrgCode
maxLength: 16
pickup_location:
type: boolean
description: If the library can act as a pickup location