Wallets: limit maximum description length to 418 characters

418 characters is the current longest description we have.
This commit is contained in:
David A. Harding 2017-05-17 06:08:12 -04:00
parent ab641d7300
commit c09a126439
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7
2 changed files with 15 additions and 3 deletions

View file

@ -20,6 +20,13 @@ properties:
description: The page identifier to use for translations
type: string
max_wallet_text_length:
description: >
The global maximum length for a wallet text description in any
langugage (counted in Unicode characters). Ensures text doesn't
overfill its box.
type: integer
## The wallets array
wallets:
description: The array containing all wallets
@ -102,7 +109,7 @@ properties:
- desktop
properties:
desktop:
description: Wallets than run on desktop operating systems
description: Wallets that run on desktop operating systems
type: object
required: &desktop-required
- text