gbv / paia

Specification of Patrons Account Information API (PAIA)
http://gbv.github.io/paia
15 stars 12 forks source link

Sum of all fees can be negative but simple datatype money does not allow negative values #82

Closed dmj closed 2 months ago

dmj commented 3 months ago

The fees method described in section 3.7 returns a response that contains the sum of all fees. This sum is of type money can be negative.

The simple datatype money is defined in section 2.8 to be a string matching the regular expression [0-9]+\.[0-9][0-9] [A-Z][A-Z][A-Z], thus not allowing for negative values.