interledger-deprecated / five-bells-shared

Common elements that are shared between Five Bells components
Other
4 stars 5 forks source link

Schemas: Reject "001" as a debit/credit amount #54

Open vhpoet opened 8 years ago

vhpoet commented 8 years ago

image

alandotcom commented 8 years ago

Probably need to change the regex in this schema https://github.com/interledger/five-bells-shared/blob/master/schemas/Amount.json so that leading zeros can only be followed by a decimal point